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
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.
main.rs
...
fn load_fonts
Change the call sequence
fontdb.load_system_fonts(); and
for path in &args.font_dirs {
fontdb.load_fonts_dir(path);
...
The text was updated successfully, but these errors were encountered:
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.
I encountered this situation during testing colored SVG icons font.
I wanted to have a local version of the font having game icons aligned with the text. When working with resvg.dll, I changed the font loading order. It seems to me that this is a logical option for an executable file as well.
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: