317
contributi
Riga 18: | Riga 18: | ||
<pre> | <pre> | ||
<?xml version='1.0'?> | <?xml version='1.0'?> | ||
<!DOCTYPE fontconfig SYSTEM | <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | ||
<fontconfig> | <fontconfig> | ||
<match target=" | <match target="pattern"> | ||
<!-- Font rasterization converts vector font data to bitmap data so that it | <!-- Font rasterization converts vector font data to bitmap data so that it | ||
can be displayed. The result can appear jagged due to aliasing. | can be displayed. The result can appear jagged due to aliasing. | ||
Anti-aliasing increases the apparent resolution of font edges. --> | Anti-aliasing increases the apparent resolution of font edges. --> | ||
<edit mode=" | <edit mode="append" name="antialias"> | ||
<bool>true</bool> | <bool>true</bool> | ||
</edit> | </edit> | ||
Riga 32: | Riga 32: | ||
interpreted by freetype's Byte-Code Interpreter. This works best for | interpreted by freetype's Byte-Code Interpreter. This works best for | ||
fonts with good hinting instructions. --> | fonts with good hinting instructions. --> | ||
<edit mode=" | <edit mode="append" name="hinting"> | ||
<bool>true</bool> | <bool>true</bool> | ||
</edit> | </edit> | ||
Riga 40: | Riga 40: | ||
instructions. The autohinter and subpixel rendering are not designed | instructions. The autohinter and subpixel rendering are not designed | ||
to work together and should not be used in combination. --> | to work together and should not be used in combination. --> | ||
<edit mode=" | <edit mode="append" name="autohint"> | ||
<bool>false</bool> | <bool>false</bool> | ||
</edit> | </edit> | ||
Riga 48: | Riga 48: | ||
With BCI hinting, "hintfull" should work best for most fonts. | With BCI hinting, "hintfull" should work best for most fonts. | ||
With the autohinter, "hintslight" is recommended. --> | With the autohinter, "hintslight" is recommended. --> | ||
<edit mode=" | <edit mode="append" name="hintstyle"> | ||
<const>hintslight</const> | <const>hintslight</const> | ||
</edit> | </edit> | ||
Riga 60: | Riga 60: | ||
Values are "rgb" (most common), "bgr", "vrgb" (vertical), "vbgr", | Values are "rgb" (most common), "bgr", "vrgb" (vertical), "vbgr", | ||
"unknown" or "none". Ubuntu uses "none". --> | "unknown" or "none". Ubuntu uses "none". --> | ||
<edit mode=" | <edit mode="append" name="rgba"> | ||
<const>rgb</const> | <const>rgb</const> | ||
</edit> | </edit> | ||
Riga 70: | Riga 70: | ||
fonts that look too bold or fuzzy; "lcdlegacy", the original Cairo | fonts that look too bold or fuzzy; "lcdlegacy", the original Cairo | ||
filter; "lcdnone" to disable it entirely. --> | filter; "lcdnone" to disable it entirely. --> | ||
<edit mode=" | <edit mode="append" name="lcdfilter"> | ||
<const>lcddefault</const> | <const>lcddefault</const> | ||
</edit> | </edit> | ||
<!-- Fontconfig should be able to detect DPI parameters as discovered | <!-- Fontconfig should be able to detect DPI parameters as discovered | ||
Riga 80: | Riga 78: | ||
with the command 'xdpyinfo | grep resolution' --> | with the command 'xdpyinfo | grep resolution' --> | ||
<!-- remove this line to activate customized DPI | <!-- remove this line to activate customized DPI | ||
<edit mode="assign" name="dpi"> | |||
<double>96</double> | <double>96</double> | ||
</edit> | </edit> | ||
remove this line to activate customized DPI --> | remove this line to activate customized DPI --> | ||
</match> | |||
<!-- Use font substitution to set your preferred fonts the default | <!-- Use font substitution to set your preferred fonts the default | ||
Riga 118: | Riga 111: | ||
</alias> | </alias> | ||
--> | --> | ||
<!-- Reject bitmap fonts in favour of Truetype, Postscript, etc. --> | |||
<selectfont><rejectfont><pattern><patelt name="scalable"> | |||
<bool>false</bool> | |||
</patelt></pattern></rejectfont></selectfont> | |||
</fontconfig> | </fontconfig> |
contributi