Skip to content

Conversation

ronso0
Copy link
Member

@ronso0 ronso0 commented Sep 19, 2025

For some fonts font.styleName() is empty and the font display doesn't reflect the selected font.
Eg. Open Sans Semibold 12pt would be shown as "Open Sans 12pt"

If the style string is empty, let's compose the style manually from Weight weight() and bool italic().
Now it's Open Sans Semibold Italic 12 pt

The tr strings used in QFontDialog are not available so I made that tr().
Though even untranslated that's better than nothing IMO


IIRC that has been reported but I don't find a matching issue. Maybe it was in the forums or on Zulip

@ronso0 ronso0 added library and removed ui labels Sep 19, 2025
@ronso0 ronso0 added this to the 2.5.4 milestone Sep 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant