Skip to main content

text_font_ascent

Function text_font_ascent 

Source
pub(crate) fn text_font_ascent(node: &StyledNode<'_>, _ch: i32) -> (i32, i32)
Expand description

テキストノードの (1行高さ, margin/top からの ascent)(Ahem フォントは正確な 0.8em)。