Disabling a specific font in X/Firefox

Asked by wdesmet

I recently came up again on a page that uses a font that really doesn't look nice for some reason or another, in this case the palatino font from texlive-fonts-recommended. I can't really remove the package (as I need the symbol fonts) but I'd like to at least disable this particular font from being used in firefox (and if possible X). I have no idea how to do this though, preferrably in a way that will survive upgrades. Anyone have some pointers?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Shane Fagan (shanepatrickfagan) said :
#1

Right click on the desktop and select the font tab.
Change the fonts to what ever you want.

Hope that helps
Shane

Revision history for this message
wdesmet (kromagg) said :
#2

I'm afraid it doesn't. That only allows me to change fonts that are used in window texts and titles but doesn't allow me to set fonts for use inside firefox on web pages. I could in principle force all web pages to only use the fonts I set in firefox (by unchecking the 'allow web pages to choose fonts...' checkbox in the settings) but that would mean no web page can select a different font, while I really only want to keep this one (ugly) font from being used.

Revision history for this message
NoBugs! (luke32j) said :
#3

You could probably change fonts for a certain site with a custom Greasemonkey script.
Maybe one like this?
http://userscripts.org/scripts/show/30470
http://userscripts.org/scripts/show/26581

Can you help with this problem?

Provide an answer of your own, or ask wdesmet for more information if necessary.

To post a message you must log in.