Revision [27004]

This is an old revision of ImproveFontRendering made by darkcity on 2013-04-08 06:37:37.

 

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



Categories
CategoryTutorial
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki