LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   firefox 3.0.4 replace courier with Courier New font (https://www.linuxquestions.org/questions/linux-desktop-74/firefox-3-0-4-replace-courier-with-courier-new-font-725729/)

m --help 05-13-2009 11:48 AM

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!

H_TeXMeX_H 05-13-2009 12:56 PM

I think it should be in 'about:config', font.default.*, so type 'about:config' in the url bar.

m --help 05-14-2009 03:51 PM

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>

penguiniator 05-14-2009 08:03 PM

Should "courier new" be "Courier New"?

m --help 05-15-2009 04:35 AM

Quote:

Originally Posted by penguiniator (Post 3541237)
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

penguiniator 05-15-2009 10:06 AM

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.


All times are GMT -5. The time now is 07:39 PM.