Wiki source for ImproveFontRendering
[[HomePage]] > [[ComponentHowTo Components and HowTos]] > [[FontIndex Fonts]]
{{image url="http://puppylinuxstuff.meownplanet.net/darkcity/puppylike.jpg" title="icon" alt="icon"}}
====How to Improve Font Rendering====
==Firefox==
~If the fonts appear blocky/pixelated changing a script will improve the rendering - this applies to [[Puppy526 Puppy 5.28]].
---
~Edit the file ##/etc/fonts/local.config## to include the following code
---
~%%(language-ref)
<?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>
%%
---
~Often this is just case of removing two comment tags (##<!-- -->##)
==Opera==
~[[http://www.murga-linux.com/puppy/viewtopic.php?p=491005#491005 Opera Font config post]]
==Related Webpages==
~[[http://murga-linux.com/puppy/viewtopic.php?t=72685 Improve font rendering version2 thread]]
~[[http://www.murga-linux.com/puppy/viewtopic.php?t=61310 Improve font and graphic rendering version1 thread]]
~[[WikiPedia:Pixelation]]
----
==Categories==
CategoryTutorial
{{image url="http://puppylinuxstuff.meownplanet.net/darkcity/puppylike.jpg" title="icon" alt="icon"}}
====How to Improve Font Rendering====
==Firefox==
~If the fonts appear blocky/pixelated changing a script will improve the rendering - this applies to [[Puppy526 Puppy 5.28]].
---
~Edit the file ##/etc/fonts/local.config## to include the following code
---
~%%(language-ref)
<?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>
%%
---
~Often this is just case of removing two comment tags (##<!-- -->##)
==Opera==
~[[http://www.murga-linux.com/puppy/viewtopic.php?p=491005#491005 Opera Font config post]]
==Related Webpages==
~[[http://murga-linux.com/puppy/viewtopic.php?t=72685 Improve font rendering version2 thread]]
~[[http://www.murga-linux.com/puppy/viewtopic.php?t=61310 Improve font and graphic rendering version1 thread]]
~[[WikiPedia:Pixelation]]
----
==Categories==
CategoryTutorial