Revision [20389]

This is an old revision of ImproveFontRendering made by darkcity on 2012-01-31 10:36:36.

 

HomePage > ComponentHowTo Components and HowTos > FontIndex Fonts
text

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

<?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
Opera Font config

Also see
Improve font rendering version2 thread
Improve font and graphic rendering version1 thread
WikiPedia:Pixelation
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki