LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 05-13-2009, 11:48 AM   #1
m --help
LQ Newbie
 
Registered: Sep 2007
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
Question firefox 3.0.4 replace courier with Courier New font


In firefox Courier font is very ugly rendered how can i replace it with Courier New font without dechacking "allow pages to choose their own fonts"

I'm using Slackware 12.2 Firefox 3.0.4 Freetype bytecode and subpixel rendering enabled
installed m$fonts

Thanks!
 
Old 05-13-2009, 12:56 PM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
I think it should be in 'about:config', font.default.*, so type 'about:config' in the url bar.
 
Old 05-14-2009, 03:51 PM   #3
m --help
LQ Newbie
 
Registered: Sep 2007
Distribution: Slackware
Posts: 5

Original Poster
Rep: Reputation: 0
Smile

i fix this adding this code in /etc/font.conf

this code doesn't work in ~/font.conf and /etc/local.conf!!!!

Quote:
<match target="pattern">
<test qual="any" name="family">
<string>courier</string>
</test>
<edit name="family" mode="assign">
<string>courier new</string>
</edit>
</match>
 
Old 05-14-2009, 08:03 PM   #4
penguiniator
Member
 
Registered: Feb 2004
Location: Olympia, WA
Distribution: SolydK
Posts: 442
Blog Entries: 3

Rep: Reputation: 60
Should "courier new" be "Courier New"?
 
Old 05-15-2009, 04:35 AM   #5
m --help
LQ Newbie
 
Registered: Sep 2007
Distribution: Slackware
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by penguiniator View Post
Should "courier new" be "Courier New"?
its same i think .... also some applications like skype and eclipse dont use settings from ~/font.conf file and only uses local.conf

Last edited by m --help; 05-15-2009 at 04:38 AM.
 
Old 05-15-2009, 10:06 AM   #6
penguiniator
Member
 
Registered: Feb 2004
Location: Olympia, WA
Distribution: SolydK
Posts: 442
Blog Entries: 3

Rep: Reputation: 60
I use this same .fonts.conf technique for font replacement in Firefox. It is more flexible than using Firefox's own font settings. The only time it doesn't work for me is when a website uses a different code page than I'm using in my system.

For me, Courier New looks as terrible in Firefox as Courier. I use Liberation Mono instead. If you want to try it, you'll have to make sure you have the Liberation fonts installed. They are in Slackware 12.1 in the liberation-fonts-ttf package.
 
  


Reply

Tags
firefox, font


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
posfix with courier maildrop and courier-imap Anuragn Linux - Enterprise 4 01-17-2007 04:33 AM
Font Courier New crashing X.org ratman96 Linux - Software 0 01-28-2006 05:33 PM
Configuring courier-imap courier-pop redsky Debian 1 06-02-2004 03:09 PM
Configuring courier-imap courier-pop redsky Linux - Software 0 06-01-2004 12:06 PM
Courier > Procmail > Courier problem bowker Linux - Software 0 03-14-2004 05:57 PM


All times are GMT -5. The time now is 11:33 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration