4 ms·
TTF and OTF only support 2^16 glyphs per font. Why does the UI framework only allow one font file?
by eschutte2 10y ago
TTF and OTF only support 2^16 glyphs per font. Why does the UI framework only allow one font file?
- seibelj 10y agoI can dynamically change the font if I want, but only 1 font loaded at a time. In this case, I would have to auto-detect which font to use based on the UTF8 code, and swap the font out. Is this how big companies do it? For example, Supercell in the Clash of Clans / Clash Royale games will display text perfectly no matter what language. Latin text will appear intermixed with Korean, Chinese, etc. without any issue.