[Fontconfig] How to block glyph fallback in a QT application?

Behdad Esfahbod behdad at behdad.org
Mon Jan 6 06:57:06 PST 2014


On 14-01-06 10:46 PM, Janusz S. Bien wrote:
> Quote/Cytat - Raimund Steger <rs at mytum.de> (Mon 06 Jan 2014 02:51:29 PM CET):
> 
>> Hi,
>>
>> On Mon, January 6, 2014 07:13, Janusz S. Bien wrote:
>>> [...]
>>> incidentally selects an improper font, then fallback creates quite a
>>> mess.
>>
>> What kind of mess are you seeing --
>>
>> * empty squares showing (= no glyph fallback)
> 
> That's what I would like to have when the user selects a wrong font.

You need to ask Qt then.  Little that can be done in fontconfig.

>> * proper characters showing but from the wrong font (= glyph fallback)
> 
> Usually this is just the case, by the main problem is caused by ligatures.
> The historical texts used a lot of ligatures and it's quite confusing when
> they are split into separate characters.
> 
> Best regards
> 
> Janusz
> 

-- 
behdad
http://behdad.org/


More information about the Fontconfig mailing list