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:
parent
faa32108ee
commit
b5cb3de090
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=21990
1 changed files with 9 additions and 1 deletions
|
@ -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> <match target="font">
|
||||
|
@ -791,6 +791,14 @@ EndSection</programlisting>
|
|||
<edit name="antialias" mode="assign">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
</match>
|
||||
<match target="font">
|
||||
<test compare="more" name="pixelsize" qual="any">
|
||||
<double>14</double>
|
||||
</test>
|
||||
<edit mode="assign" name="antialias">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
</match></programlisting>
|
||||
|
||||
<indexterm><primary>fonts</primary>
|
||||
|
|
Loading…
Reference in a new issue