[style] Use head->macStyle.isExtended in style fallback
https://github.com/harfbuzz/harfbuzz/issues/3263
This commit is contained in:
parent
f3f848b506
commit
c6557747ef
|
@ -113,7 +113,9 @@ hb_style_get_value (hb_font_t *font, hb_style_tag_t style_tag)
|
|||
case HB_STYLE_TAG_WIDTH:
|
||||
return face->table.OS2->has_data ()
|
||||
? face->table.OS2->get_width ()
|
||||
: (face->table.head->is_condensed () ? 75 : 100);
|
||||
: (face->table.head->is_condensed () ? 75 :
|
||||
face->table.head->is_expanded () ? 125 :
|
||||
100);
|
||||
case HB_STYLE_TAG_WEIGHT:
|
||||
return face->table.OS2->has_data ()
|
||||
? face->table.OS2->usWeightClass
|
||||
|
|
Loading…
Reference in New Issue