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
The styles are ordered in a consistent pattern (normal, italic, bold, bold italic), except for Arial, which swaps italic and bold. In the Python wrapper's API, family and style constants are mapped to a font ID and vice versa with a simple calculation, but for now I have to add a special workaround to swap these two IDs. Would it be possible to fix this? As far as I can see, the overlay font menus are automatically generated from this array, and the values are taken from these menus, so the only effect would be that the items would be swapped in the menus.
The text was updated successfully, but these errors were encountered:
This is how the mapping of numeric font IDs to font families and styles is defined in
post.ts
:The styles are ordered in a consistent pattern (normal, italic, bold, bold italic), except for Arial, which swaps italic and bold. In the Python wrapper's API, family and style constants are mapped to a font ID and vice versa with a simple calculation, but for now I have to add a special workaround to swap these two IDs. Would it be possible to fix this? As far as I can see, the overlay font menus are automatically generated from this array, and the values are taken from these menus, so the only effect would be that the items would be swapped in the menus.
The text was updated successfully, but these errors were encountered: