You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use the 'BASE' table in OpenType font and the following code returns None for some reason:
letBASE_TABLE_TAG = 0x62736c6e;// The hex code for BASEprintln!("{:?}", font.load_font_table(BASE_TABLE_TAG));// prints None
I am also curious if font_kit supports a better way to determine the baseline for multiple fonts on the same line. Currently I am using the ascent value in font metrics as the shift from the top to the baseline but different fonts have different ascents and I couldn't figure out a way to align these fonts uniformly.
The text was updated successfully, but these errors were encountered:
I am trying to use the 'BASE' table in OpenType font and the following code returns None for some reason:
I am also curious if font_kit supports a better way to determine the baseline for multiple fonts on the same line. Currently I am using the
ascent
value in font metrics as the shift from the top to the baseline but different fonts have different ascents and I couldn't figure out a way to align these fonts uniformly.The text was updated successfully, but these errors were encountered: