[Fontconfig] whitespace issue in font names

Werner LEMBERG wl at gnu.org
Mon Jun 4 02:30:23 PDT 2012


>> I think that fontconfig should remove the superfluous space so that
>> the style is `Bold'.
> 
> Though ideally it should be fixed in the font, I'm not sure if it
> should be also fixed in fontconfig, because we picks it up from
> freetype and it still appears as long as applications uses freetype
> APIs.

Hmm.  IMHO, FreeType should return the data in the font without
interpretation, but...

> BTW what the real problem with it? it looks like fontconfig still
> deals with it as Bold though.

...FontConfig should normalize the data, thus I believe that trailing
and leading whitespace should be removed.

BTW, there isn't a real problem; I've accidentally stumbled across
this issue.


    Werner


More information about the Fontconfig mailing list