View previous topic :: View next topic |
Author |
Message |
pygoscelis Guru
Joined: 07 Jun 2003 Posts: 402
|
Posted: Mon Sep 29, 2003 8:29 am Post subject: Ant-aliased helvetica? |
|
|
I used to use helvetica in KDE, and Mozilla UI (menus etc.) wants helvetica too. After yesterday's update it's an ugly bitmapped font. I switched to arial in KDE, but Mozilla insists on using helvetica. I tried to change font.uifont.name to arial, but it doesn't help.
How can I re-enable anti-aliased helvetica? Should I try to map arial or some other font to it? If so, how? |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Mon Sep 29, 2003 9:56 am Post subject: |
|
|
Add the following to /etc/fonts/local.conf
Code: |
<match target="pattern">
<edit name="prefer_outline"><bool>true</bool></edit>
</match>
|
Beware that the helvetica font as such will never be displayed again - which may be a problem for some apps. |
|
Back to top |
|
|
pygoscelis Guru
Joined: 07 Jun 2003 Posts: 402
|
Posted: Tue Sep 30, 2003 10:23 pm Post subject: |
|
|
UberLord wrote: | Add the following to /etc/fonts/local.conf
Code: |
<match target="pattern">
<edit name="prefer_outline"><bool>true</bool></edit>
</match>
|
Beware that the helvetica font as such will never be displayed again - which may be a problem for some apps. |
I tried this, and it doesn't always work. ChatZilla still displays the bitmapped Helvetica font somehow.
I figured that if I comment out the 75dpi and 100dpi directories in /etc/fonts/fonts.conf, Mozilla stops showing bitmapped fonts (though old X apps happily display everything they should -- the directories are still in the X font path.) The questions are (1) is it dangerous? and (2) how can I do this in local.conf without touching fonts.conf?
A more general question is how can I troubleshoot problem like this? Is there a special mode that logs all fonts.conf actions whenever a font is matched, or an equivalent debugging tool? |
|
Back to top |
|
|
|