[gobolinux-users] Re: Fontconfig problem for en_GB.UTF-8

Hisham Muhammad hisham.hm at gmail.com
Thu Aug 24 20:45:17 GMT 2006


On 8/24/06, MJ Ray <mjr at phonecoop.coop> wrote:
> I was puzzled by the broken character symbol being displayed if I type
> certain non-English characters while using this locale.  I think the
> problem is shown by the commands:
> ; LANG=en_GB.UTF-8 fc-match Helvetica
> helvR12-ISO8859-1.pcf.gz: "Helvetica" "Regular"
>
> Why is fc-match returning a ISO8859-1 font for a UTF-8 locale?
> How can I stop it doing that?

Well, in my system I get this:

]LANG=en_GB.UTF-8 fc-match Helvetica
Vera.ttf: "Bitstream Vera Sans" "Roman"

I wanted to get rid of non-antialiased fonts, so I put some
translation rules in /System/Settings/fonts/local.conf:

<match target="pattern">
   <test name="family"><string>Helvetica</string></test>
   <edit name="family" mode="append" binding="same">
      <string>Bitstream Vera Sans</string>
   </edit>
</match>

This serves at least as a workaround, I think.

-- Hisham


More information about the gobolinux-users mailing list