Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ant-aliased helvetica?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pygoscelis
Guru
Guru


Joined: 07 Jun 2003
Posts: 402

PostPosted: Mon Sep 29, 2003 8:29 am    Post subject: Ant-aliased helvetica? Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Mon Sep 29, 2003 9:56 am    Post subject: Reply with quote

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
View user's profile Send private message
pygoscelis
Guru
Guru


Joined: 07 Jun 2003
Posts: 402

PostPosted: Tue Sep 30, 2003 10:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum