[Interest] Glyph fallback

Rutledge Shawn Shawn.Rutledge at digia.com
Wed Nov 20 07:22:25 CET 2013


On 19 Nov 2013, at 4:25 PM, Ender Erel wrote:

> Hi all,
>  
> I am using Qt on Embedded Linux and trying to setup fallback fonts for some glyphs.
>  
> First, let me explain my situation:
> I have three TTF fonts (without any overlap in glyph coverage):
> -FontA: includes Latin, Cyrillic and Greek characters
> -FontB: includes Korean characters
> -FontC: includes Chinese & Japanese characters
>  
> I want to setup my application such that FontA is used for all text but missing characters in FontA are taken from FontB, and if FontB does not contain them, taken from FontC. I tried QFont::insertSubstitution but i think that mechanism is intended for using FontB in case FontA is missing on the system. Is there any way I can achieve this?

That's the sort of thing fontconfig usually does.




More information about the Interest mailing list