Correct the section on condition font antialiasing. Without checking

pixelsize, certain applications (e.g. Mozilla and gnome-terminal) will refuse
to honor the antialiasing settings.

Reported by:	Rob Mason <masonr@bsdbox.homeunix.com>
This commit is contained in:
Joe Marcus Clarke 2004-08-18 01:23:46 +00:00
parent faa32108ee
commit b5cb3de090
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=21990

View file

@ -781,7 +781,7 @@ EndSection</programlisting>
<para>Anti-aliasing makes borders slightly fuzzy, which makes very
small text more readable and removes <quote>staircases</quote> from
large text, but can cause eyestrain if applied to normal text. To
exclude point sizes smaller than 14 point from anti-aliasing, include
exclude font sizes smaller than 14 point from anti-aliasing, include
these lines:</para>
<programlisting> &lt;match target="font"&gt;
@ -791,6 +791,14 @@ EndSection</programlisting>
&lt;edit name="antialias" mode="assign"&gt;
&lt;bool&gt;false&lt;/bool&gt;
&lt;/edit&gt;
&lt;/match&gt;
&lt;match target="font"&gt;
&lt;test compare="more" name="pixelsize" qual="any"&gt;
&lt;double&gt;14&lt;/double&gt;
&lt;/test&gt;
&lt;edit mode="assign" name="antialias"&gt;
&lt;bool&gt;false&lt;/bool&gt;
&lt;/edit&gt;
&lt;/match&gt;</programlisting>
<indexterm><primary>fonts</primary>