-
Notifications
You must be signed in to change notification settings - Fork 219
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
Increase local fonts priority (resvg.exe) #771
Comments
I don't think |
As far as I understand, the first loaded system font of the same name either prevents the local font from loading, or when selecting a font by name, it appears first. |
Technically, having the same font family twice is already a bug. But checking for uniqueness would be expensive, therefore we do not do this. I will think about a proper solution. |
I encountered this situation during testing colored SVG icons font. |
Local fonts may contain a modified version of a font installed in the system. It makes sense to use local fonts first, without refusing to load system fonts.
Change the call sequence
fontdb.load_system_fonts();
and
The text was updated successfully, but these errors were encountered: