Multiple problems with text fonts
Posted: 15 Sep 2021, 22:38
Hey there, we have multiple problems with fonts:
1) Fonts that do not support cyrillic (I suppose) can't be found:
I have two fonts: Montserrat and AlexBrush. In my macos Montserrat shows Russian letters as preview and AlexBrush default latin.
I've tried also more fonts, all, which supports cyrrilic - works.
Works means that in the function of FontProvider::FamilyExists(...) it returns true.
2) Dynamically created text doesn't change font-family:
Example:
Also I've tried
No success. It's not even jumping into the
I've debugged place where RegisterFont is happening and used same uri and font family name.
1) Fonts that do not support cyrillic (I suppose) can't be found:
I have two fonts: Montserrat and AlexBrush. In my macos Montserrat shows Russian letters as preview and AlexBrush default latin.
I've tried also more fonts, all, which supports cyrrilic - works.
Works means that in the function of FontProvider::FamilyExists(...) it returns true.
2) Dynamically created text doesn't change font-family:
Example:
Code: Select all
text_block.SetFontFamily(Noesis::MakePtr<Noesis::FontFamily>("Forum"));
Code: Select all
text_block.SetFontFamily(Noesis::MakePtr<Noesis::FontFamily>("bundles/font_bundle","Forum"));
text_block.SetFontFamily(Noesis::MakePtr<Noesis::FontFamily>("bundles/font_bundle", "#Forum"));
Code: Select all
FontProvider::FamilyExists(...)