xenia
xenia copied to clipboard
[UI] Changed default Windows font & Allow loading custom font
- Changed font on Windows to tahoma
- Allowed loading Greek and Cyrillic glyphs
- Unified font size to 12. This causes default UI to look a bit bigger
- Set oversample to 2 to make font more readable (especially custom fonts)
Hello! Can you add more glyph ranges - not only Latin?
Sure (at least on windows), do you know font that looks good and support these glyphs?
SegoeUI, Arial, Times New Roman. There many of them, if some font does not have needed symbols - there will be a question marks. So adding glyphs to sources is safe change. If I talk wrong things - sorry, make edits.
Not sure what's a better idea there. To assume that custom font might include them or to always load another font that will contain them?
What if bundle with emulator some free nice looking font as default, for example Koruri, it could be big - size is an issue? And let user to choose his own font if he wants?
I will suggest similar solution that is used in canary.
Priority of font loading:
- Custom font
- (on windows only) Tahoma from fonts directory
If no font is loaded then load default font.
- at the end always load Japanese font
How Tahoma looks like (with font set to 16)
Brilliant! Thank you very much!!!