Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX: qt.qpa.fonts: Populating font family aliases took 149 ms. Replace uses of missing font family "Open Sans Semibold" with one that exists to avoid this cost. #11876

Closed
DonLakeFlyer opened this issue Sep 13, 2024 · 1 comment · Fixed by #11908
Assignees

Comments

@DonLakeFlyer
Copy link
Contributor

You get this on every startup

@DonLakeFlyer
Copy link
Contributor Author

DonLakeFlyer commented Sep 19, 2024

This is because the usage of font.family: ScreenTools.demiboldFontFamily is incorrect. It should just be font.bold: true. The Open Sans Semebold font which is loaded just has the "Open Sans" font family name with bold style support. It doesn't change the name of the font family. This must have worked sometime in the past with older versions of Qt. But it doesn't work any more. All the place which use font.family for bold don't end up being bold in the ui. They all need to be changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant