You are not logged in.
Pages: 1
Hi
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:
<html>
<body>
<font name="Helvetica">
Some stupid text.
</font>
</body>
</html>
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">
<string>Helvetica</string>
</test>
<edit name="family" mode="assign">
<string>Verdana</string>
</edit>
</match>
What I must do to fix it ? Some sites like http://www.4front-tech.com/ unfortunatelly use font face and results are bad.
Information streams,
simulating dreams
Interactive mind-control, systematic
overflow
Offline
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:
<alias>
<family>Bitstream Vera Sans</family>
<family>DejaVu Sans</family>
<family>Helvetica</family>
<family>Arial</family>
<family>Verdana</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.
Offline
Pages: 1