home *** CD-ROM | disk | FTP | other *** search
/ chilidog.highland.cc.ks.us / chilidog.highland.cc.ks.us.zip / chilidog.highland.cc.ks.us / backup / bradford.20110725.etc.tar.gz / bradford.20110725.etc.tar / etc / fonts / suse-bitmaps.conf < prev    next >
Extensible Markup Language  |  2006-06-09  |  4KB  |  99 lines

  1. <?xml version="1.0"?>
  2. <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
  3. <fontconfig>
  4.  
  5. <!-- Generated by SuSEconfig.fonts, don't edit, your changes will get lost. -->
  6. <!-- Edit /etc/sysconfig/fonts-config instead.                              -->
  7. <!-- Or put rules into your personal config file ~/.fonts.conf.             -->
  8.  
  9. <!-- ************************************************************ -->
  10. <!-- Bitmap related stuff                                         -->
  11. <!-- ************************************************************ -->
  12.  
  13. <!--
  14.  
  15.  As rendering of outlines is often not perfect at small sizes, some
  16.  TrueType or OpenType fonts contain "embedded" bitmaps for small sizes.
  17.  This is very common in CJK fonts.
  18.  
  19.     (By the way, apparently there are some western fonts which have
  20.     embedded bitmaps as well. Recently I found that "Courier New"
  21.     also has embedded bitmaps. But, for reasons unknown to me,
  22.     the embedded bitmaps in "Courier New" are not used, even when
  23.     embedded bitmaps are unconditionally enabled for all fonts.
  24.     On top of that, the embedded bitmaps in "Courier New" appear
  25.     to be of far lower quality than the results achieved when rendering
  26.     "Courier New" with the byte code interpreter enabled and the
  27.     antialiasing turned off. I.e. the existance of these low quality
  28.     embedded bitmaps in "Courier New" is quite mysterious).
  29.  
  30.  Using embedded bitmaps usually gives clearly readable results as the bitmaps
  31.  are handtuned for good readability and do not suffer from imperfections
  32.  of the rendering algorithms.
  33.  
  34.  On the other hand, anti-aliasing is only possible when the outlines
  35.  are used.
  36.  
  37.  Often, using the outlines with anti-aliasing looks more "beautiful".
  38.  But using the embedded bitmaps is often better readable.
  39.  It is a matter of taste, decide by yourself which style you prefer.
  40.  
  41.  To use embedded bitmaps in TrueType fonts always when available
  42.  put the following rule in your personal ~/.fonts.conf file:
  43.  
  44.         <match target="font">
  45.                 <edit name="embeddedbitmap">
  46.                         <bool>true</bool>
  47.                 </edit>
  48.         </match>
  49.  
  50.  To avoid using the embedded bitmaps and always use the outlines,
  51.  put the following rule in your personal ~/.fonts.conf file:
  52.  
  53.         <match target="font">
  54.                 <edit name="embeddedbitmap">
  55.                         <bool>false</bool>
  56.                 </edit>
  57.         </match>
  58.  
  59.   It is also possible to enable embedded bitmaps only for fonts
  60.   which support certain languages. For example, if you want to
  61.   enable embedded bitmaps only for Japanese, Chinese, and Korean
  62.   fonts, put the following rule in your personal ~/.fonts.conf file:
  63.  
  64.         <match target="font">
  65.                 <edit name="embeddedbitmap">
  66.                         <bool>false</bool>
  67.                 </edit>
  68.         </match>
  69.         <match target="font">
  70.                 <test name="lang" compare="contains">
  71.                         <string>ja</string>
  72.                         <string>zh</string>
  73.                         <string>ko</string>
  74.                 </test>
  75.                 <edit name="embeddedbitmap" mode="assign">
  76.                         <bool>true</bool>
  77.                 </edit>
  78.         </match>
  79.  
  80. -->
  81.  
  82.     <match target="font">
  83.         <edit name="embeddedbitmap" mode="assign">
  84.             <bool>false</bool>
  85.         </edit>
  86.     </match>
  87.     <match target="font">
  88.         <test name="lang" compare="contains">
  89.             <string>ja</string>
  90.             <string>ko</string>
  91.             <string>zh</string>
  92.         </test>
  93.         <edit name="embeddedbitmap" mode="assign">
  94.             <bool>true</bool>
  95.         </edit>
  96.     </match>
  97.  
  98. </fontconfig>
  99.