Skip to main content

text_font_of

Function text_font_of 

Source
fn text_font_of(node: &StyledNode<'_>) -> (String, bool)
Expand description

文字ノードの書体指定(font-family のリスト, 太字か)。描画側と同じ判定 (font-weight が bold/bolder/700 以上なら太字)。