Firefox Font Frustrations (Solved)
Firefox Font Frustrations (Solved)
Hi all,
I've had this problem with a few versions of Puppy, but now the time has come to try and find an explanation. In the images below, you'll see the differences in the fonts on Firefox in 5.2.0 and 5.2.8 My question is, why do the fonts look better in 520? I have checked the preferences in Firefox on both puppies and they match, but obviously 520 is better - particularly on my favourite Forum page.
Is this a Puppy issue or a Firefox issue? Any help would be appreciated.
I'm using Firefox 7.01. I've installed the recommended NVidia driver. I've checked the font files that I can.
Thanks.
Bones
I've had this problem with a few versions of Puppy, but now the time has come to try and find an explanation. In the images below, you'll see the differences in the fonts on Firefox in 5.2.0 and 5.2.8 My question is, why do the fonts look better in 520? I have checked the preferences in Firefox on both puppies and they match, but obviously 520 is better - particularly on my favourite Forum page.
Is this a Puppy issue or a Firefox issue? Any help would be appreciated.
I'm using Firefox 7.01. I've installed the recommended NVidia driver. I've checked the font files that I can.
Thanks.
Bones
Last edited by bones01 on Fri 21 Oct 2011, 04:11, edited 1 time in total.
Dell Latitude D630 running Puppy 5.2.8 frugal, Macpup 525 frugal (if I can get it working again. Sadly, I couldn't get it fixed :? )
Precise Puppy 5.4 live DVD
Precise 5.7.3 on USB
Precise Puppy 5.4 live DVD
Precise 5.7.3 on USB
- Iguleder
- Posts: 2026
- Joined: Tue 11 Aug 2009, 09:36
- Location: Israel, somewhere in the beautiful desert
- Contact:
It's /etc/fonts/local.conf and /etc/fonts/fonts.conf. Copy both from Macpup to Lupu to work around this problem.
I had to edit /etc/fonts/local.conf (or fonts.conf, I don't remember which one exactly) and uncomment the section that disables bitmap fonts to get nice fonts in Firefox and Seamonkey.
I had to edit /etc/fonts/local.conf (or fonts.conf, I don't remember which one exactly) and uncomment the section that disables bitmap fonts to get nice fonts in Firefox and Seamonkey.
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]
Code: Select all
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file for local customizations -->
<fontconfig>
<!-- Enable sub-pixel rendering -->
<match target="font">
<test qual="all" name="rgba">
<const>unknown</const>
</test>
<edit name="rgba" mode="assign"><const>rgb</const></edit>
</match>
<!-- suggested by 'upnorth' http://murga-linux.com/puppy/viewtopic.php?t=54294&start=15
Reject bitmap fonts -->
<selectfont>
<rejectfont>
<pattern>
<patelt name="scalable"><bool>false</bool></patelt>
</pattern>
</rejectfont>
</selectfont>
</fontconfig>
/etc/fonts/local.conf
bewdiful!
- Attachments
-
- fonts.png
- Slacko RC, Seamonkey-2.4.1, pfix=ram :)
- (147.31 KiB) Downloaded 772 times
Puppy Linux Blog - contact me for access
Micko, I compared my local.conf with the one you posted and found a couple of differences. I had a few more <--- ---> than this. So I deleted them, and voila, all is great.01micko wrote:That's Iguleder's ....in Slacko (and Spup)Code: Select all
<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <!-- /etc/fonts/local.conf file for local customizations --> <fontconfig> <!-- Enable sub-pixel rendering --> <match target="font"> <test qual="all" name="rgba"> <const>unknown</const> </test> <edit name="rgba" mode="assign"><const>rgb</const></edit> </match> <!-- suggested by 'upnorth' http://murga-linux.com/puppy/viewtopic.php?t=54294&start=15 Reject bitmap fonts --> <selectfont> <rejectfont> <pattern> <patelt name="scalable"><bool>false</bool></patelt> </pattern> </rejectfont> </selectfont> </fontconfig>
/etc/fonts/local.conf
bewdiful!
I love the help and clear advice I get on this forum from people who know.
Thanks Micko, Iguleder & Burn_IT for your help with this.
Bones.
Dell Latitude D630 running Puppy 5.2.8 frugal, Macpup 525 frugal (if I can get it working again. Sadly, I couldn't get it fixed :? )
Precise Puppy 5.4 live DVD
Precise 5.7.3 on USB
Precise Puppy 5.4 live DVD
Precise 5.7.3 on USB
http://puppylinux.org/wikka/ImproveFontRendering
done - i've added a link for Opera font config - don't know if this is any different?
done - i've added a link for Opera font config - don't know if this is any different?
This still works
I'm trying Precise 5.4 and had the same problem with fonts. Looked up my own name as I knew I'd asked the question before. Glad the solution still works.
I just found this old thread because I had problems with Puppy Slacko 632 losing the ability to smooth and hint fonts after I installed a few programs... well, a heap of programs, so I don't know which messed it up. However this thread put me onto the answer as I noticed that /etc/fonts/conf.avail/50-user.conf mentions: so I copied the /etc/fonts/conf.avail folder as ~/.config/fontconfig/conf.d and /etc/fonts/fonts.conf as ~/.config/fontconfig/fonts.conf then I restarted X and ta-da! nice, smoothed, hinted fonts again. Yay!
I hope this helps someone else who has a similar head-scratching moment too.
Code: Select all
Load per-user customization files where stored on XDG Base Directory
specification compliant places. it should be usually:
$HOME/.config/fontconfig/conf.d
$HOME/.config/fontconfig/fonts.conf
I hope this helps someone else who has a similar head-scratching moment too.
[color=blue]A life! Cool! Where can I download one of those from?[/color]