[Fontconfig] Problem with bitmap fonts

Behdad Esfahbod behdad at behdad.org
Tue Feb 3 13:04:49 PST 2009


Pat Suwalski wrote:
> Behdad Esfahbod wrote:
>> We should fix that by choosing a better sample string.  I've added all
>> the
>> needed info in Pango, and drafted a spec about how to choose the sample
>> string.  Someone need to go ahead and implement that (hint hint).  In
>> the mean
>> time, turning fallback off in the font dialog certainly helps.
> 
> How does one go about turning off fallback? A define or a user option?

Hardcoded in the code.

> The only reason I can think of keeping it is that (for example) the
> default GNOME settings should be that the fixed-width font is
> "Monospace" and if a user goes to change that, it should be there as a
> default selection.

Disabling fallbacks in pango means: "only use the first font returned".  So it
works as expected for fake aliases too.

> I take it that by sample string improvements, you mean that if the user
> chooses "Sans Serif" they get a sample string that says "Bitstream Vera
> Sans" or something along those lines?

No.  What I mean is that if you choose a font that has Arabic coverage but no
Latin, an Arabic sample string is shown.

behdad

> --Pat



More information about the Fontconfig mailing list