You are not logged in.

#1 2007-02-17 09:42:30

Registered: 2006-09-27
Posts: 3

Problem with font face

I've observed that Helvetica font looks ugly and I want to replace it in local.conf. I've written appropriate line in /etc/fonts/local.conf. To check it I try this html code:

        <font name="Helvetica">
                            Some stupid text.

Ok it works.
But when I change font name to font face font still looks ugly. This is entry in local.conf:

    <match target="pattern" name="family">
        <test qual="any" name="family">
        <edit name="family" mode="assign">

What I must do to fix it ? Some sites like unfortunatelly use font face and results are bad.

Information streams,
simulating dreams
Interactive mind-control, systematic


#2 2007-02-17 10:31:47

Registered: 2003-12-03
Posts: 1,664

Re: Problem with font face

Hmm, it's actually a bug in fontconfig rules I see. We replace Helvetica, Times and Courier with Sans-serif, Serif and Monospace. Within the fontconfig rules these generic font families are replaced by more modern fonts:

        <family>Bitstream Vera Sans</family>
        <family>DejaVu Sans</family>

Helvetica (the bitmap font!) is in front of Arial and Verdana. If you don't have Bitstream Vera Sans or Dejavu Sans installed, it will render Sans-serif as Helvetica instead of Arial/Verdana.


Board footer

Powered by FluxBB