LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Firefox default fonts will not display on webpages (https://www.linuxquestions.org/questions/slackware-14/firefox-default-fonts-will-not-display-on-webpages-788723/)

mpyusko 02-12-2010 12:52 PM

Firefox default fonts will not display on webpages
 
Recently I was creating an image in GIMP when I needed to add a new font. I went to my mounted XP drive and copied the file I wanted over into /usr/X11R6/share/fonts/TTF then I went to the font installer as root and installed the font system wide. After that I reloaded GIMP and the font was available. A little while later I went to browse the internet and when I loaded up firefox, it showed a properly formatted and spaced page with no text on it at all. If I highlighted a line, the invisible text would copy to the clipboard properly and I could read it that way. I figured it might've been a just a FF issue, but when I loaded up Seamonkey, I wound up with the same problem. I'm using Firefox 3.0.16 and Seamonkey 2.0.1. I tried going into the preferences and changing the default font, but no matter what I change it to, it doesn't fix it. Slack 1.2 running kernel 2.6.27.31-smp. I use slapt-get to stay up to date and as far as I can tell i have the latest patches and pkgs.

Any idea what I can do, or where I should look? I tried searching the mozilla forums first but I couldn't find an answer. Since I am certain this is a Linux configuration issue, I figured it would be best to post here.

Thanks.

Code:


bash-3.1$ fc-cache -rv
/usr/share/fonts/OTF: caching, new cache contents: 23 fonts, 0 dirs
/usr/share/fonts/TTF: caching, new cache contents: 91 fonts, 0 dirs
/usr/share/fonts/Type1: caching, new cache contents: 64 fonts, 0 dirs
/usr/share/fonts/Speedo: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cyrillic: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/misc: caching, new cache contents: 59 fonts, 0 dirs
/home/mpyusko/.fonts: caching, new cache contents: 178 fonts, 0 dirs
/usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs
/var/cache/fontconfig: not cleaning unwritable cache directory
/home/mpyusko/.fontconfig: cleaning cache directory
/home/mpyusko/.fontconfig: invalid cache file: 86108b4576346ee5cd1d1a664483e2cf-x86.cache-2
/home/mpyusko/.fontconfig: invalid cache file: f15590528d26889972c71dde4e354730-x86.cache-2
/home/mpyusko/.fontconfig: invalid cache file: f886e5737138f50f6847651b046dfd48-x86.cache-2
/home/mpyusko/.fontconfig: invalid cache file: 9c060e9b329ee6e380032be3c452d763-x86.cache-2
fc-cache: succeeded
bash-3.1$


knudfl 02-13-2010 06:29 AM

MS fonts will often trash Firefox ( Seamonkey ), it seems.
http://www.linuxquestions.org/questi...ighlight=fonts

Suggest : Delete alien fonts = MS , anywhere in /usr/****
And clear the "fonts cache" or whatever stores the information.

Gimp has a fonts/ directory for extras :
/home/<username>/.gimp-2.X/fonts/

Which takes care, that the fonts are invisible for other app's.
.....

mpyusko 02-18-2010 09:09 AM

Sweeeeeeeet! Thanks for the advice.

I went through /usr/X11R6/share/fonts/TTF and compared the modification dates and times to the ones from XP. Then I deleted the matches (It took like one minute). Then I ran fc-cache again and everything is back to normal.

Thanks again!


All times are GMT -5. The time now is 04:08 PM.