[Fontconfig] whitespace issue in font names

Akira TAGOH akira at tagoh.org
Wed May 30 23:21:27 PDT 2012

On Thu, May 31, 2012 at 3:09 PM, Werner LEMBERG <wl at gnu.org> wrote:
> [This is fontconfig 2.8, but looking into the README file of the
>  current git, I can't find something related, so I suspect it's still
>  an issue.]
> There is the font `dustismo_bold.ttf' (from openSuSE's `free-ttf-font'
> package).  fc-scan gives the following output:
> Pattern has 19 elts (size 32)
>        family: "Dustismo"(s)
>        familylang: "en"(s)
>        style: " Bold"(s)
>        stylelang: "en"(s)
>        fullname: "Dustismo  Bold"(s)
>        [...]
> I think that fontconfig should remove the superfluous space so that
> the style is `Bold'.

Although we've improved how to deal with the whitespace in the family
name in git master, I don't think we did any for the style, yeah. so I
think it should still persists in even master.
I'll take a look.

Thanks for letting us know.

>    Werner
> _______________________________________________
> Fontconfig mailing list
> Fontconfig at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/fontconfig


More information about the Fontconfig mailing list