diff options
author | James Cloos <cloos@lugabout.jhcloos.org> | 2006-09-04 15:47:52 -0400 |
---|---|---|
committer | James Cloos <cloos@lugabout.jhcloos.org> | 2006-09-04 15:47:52 -0400 |
commit | c3425fa671663b11aa5288a0b52a0618c5d075ef (patch) | |
tree | 73ffc65d027bd94b8fb5e260185814a68e678eed | |
parent | 60018915891bd146271b687278782fe38b4c4461 (diff) |
Move some section from fonts.conf into conf.avail files
URL aliases, AMT aliases, Che globaladvance fixes and Vera <8pt unhinting
sections all moved into conf.avail, to load before user and local confs.
-rw-r--r-- | conf.avail/10-urw-aliases.conf | 47 | ||||
-rw-r--r-- | conf.avail/15-amt-aliases.conf | 16 | ||||
-rw-r--r-- | conf.avail/20-fix-globaladvance.conf | 24 | ||||
-rw-r--r-- | conf.avail/30-unhint-small-vera.conf | 44 | ||||
-rw-r--r-- | fonts.conf.in | 133 |
5 files changed, 131 insertions, 133 deletions
diff --git a/conf.avail/10-urw-aliases.conf b/conf.avail/10-urw-aliases.conf new file mode 100644 index 0000000..23cbc09 --- /dev/null +++ b/conf.avail/10-urw-aliases.conf @@ -0,0 +1,47 @@ +<!-- + URW provides metric and shape compatible fonts for these 10 Adobe families. + --> + <alias> + <family>Avant Garde</family> + <accept><family>URW Gothic L</family></accept> + </alias> + <alias> + <family>Bookman</family> + <accept><family>URW Bookman L</family></accept> + </alias> + <alias> + <family>Courier</family> + <accept><family>Nimbus Mono L</family></accept> + </alias> + <alias> + <family>Helvetica</family> + <accept><family>Nimbus Sans L</family></accept> + </alias> + <alias> + <family>New Century Schoolbook</family> + <accept><family>Century Schoolbook L</family></accept> + </alias> + <alias> + <family>Palatino</family> + <accept><family>URW Palladio L</family></accept> + </alias> + <alias> + <family>Times</family> + <accept><family>Nimbus Roman No9 L</family></accept> + </alias> + <alias> + <family>Zapf Chancery</family> + <accept><family>URW Chancery L</family></accept> + </alias> + <alias> + <family>Zapf Dingbats</family> + <accept><family>Dingbats</family></accept> + </alias> + <match target="pattern"> + <test name="family"> + <string>Symbol</string> + </test> + <edit name="family" mode="append" binding="strong"> + <string>Standard Symbols L</string> + </edit> + </match> diff --git a/conf.avail/15-amt-aliases.conf b/conf.avail/15-amt-aliases.conf new file mode 100644 index 0000000..ba73638 --- /dev/null +++ b/conf.avail/15-amt-aliases.conf @@ -0,0 +1,16 @@ +<!-- + AMT provides metric and shape compatible fonts for these three web font + families. + --> + <alias> + <family>Times New Roman</family> + <accept><family>Thorndale AMT</family></accept> + </alias> + <alias> + <family>Arial</family> + <accept><family>Albany AMT</family></accept> + </alias> + <alias> + <family>Courier New</family> + <accept><family>Cumberland AMT</family></accept> + </alias> diff --git a/conf.avail/20-fix-globaladvance.conf b/conf.avail/20-fix-globaladvance.conf new file mode 100644 index 0000000..8d76d32 --- /dev/null +++ b/conf.avail/20-fix-globaladvance.conf @@ -0,0 +1,24 @@ +<!-- + Some Asian fonts misadvertise themselves as monospaced when + in fact they are dual-spaced (half and full). This makes + FreeType very confused as it forces all widths to match. + Undo this magic by disabling the width forcing code --> + <match target="font"> + <test name="family"><string>GulimChe</string></test> + <edit name="globaladvance"><bool>false</bool></edit> + </match> + + <match target="font"> + <test name="family"><string>DotumChe</string></test> + <edit name="globaladvance"><bool>false</bool></edit> + </match> + + <match target="font"> + <test name="family"><string>BatangChe</string></test> + <edit name="globaladvance"><bool>false</bool></edit> + </match> + + <match target="font"> + <test name="family"><string>GungsuhChe</string></test> + <edit name="globaladvance"><bool>false</bool></edit> + </match> diff --git a/conf.avail/30-unhint-small-vera.conf b/conf.avail/30-unhint-small-vera.conf new file mode 100644 index 0000000..245580f --- /dev/null +++ b/conf.avail/30-unhint-small-vera.conf @@ -0,0 +1,44 @@ +<!-- + The Bitstream Vera fonts have GASP entries suggesting that hinting be + disabled below 8 ppem, but FreeType ignores those, preferring to use + the data found in the instructed hints. The initial Vera release + didn't include the right instructions in the 'prep' table. Fix this + by disabling hinting manually at smaller sizes (< 8ppem) + --> + + <match target="font"> + <test name="family"> + <string>Bitstream Vera Sans</string> + </test> + <test name="pixelsize" compare="less"> + <double>7.5</double> + </test> + <edit name="hinting"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="family"> + <string>Bitstream Vera Serif</string> + </test> + <test name="pixelsize" compare="less"> + <double>7.5</double> + </test> + <edit name="hinting"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="family"> + <string>Bitstream Vera Sans Mono</string> + </test> + <test name="pixelsize" compare="less"> + <double>7.5</double> + </test> + <edit name="hinting"> + <bool>false</bool> + </edit> + </match> + diff --git a/fonts.conf.in b/fonts.conf.in index 343df79..d70800e 100644 --- a/fonts.conf.in +++ b/fonts.conf.in @@ -150,139 +150,6 @@ </match> <!-- - URW provides metric and shape compatible fonts for these 10 Adobe families. - --> - <alias> - <family>Avant Garde</family> - <accept><family>URW Gothic L</family></accept> - </alias> - <alias> - <family>Bookman</family> - <accept><family>URW Bookman L</family></accept> - </alias> - <alias> - <family>Courier</family> - <accept><family>Nimbus Mono L</family></accept> - </alias> - <alias> - <family>Helvetica</family> - <accept><family>Nimbus Sans L</family></accept> - </alias> - <alias> - <family>New Century Schoolbook</family> - <accept><family>Century Schoolbook L</family></accept> - </alias> - <alias> - <family>Palatino</family> - <accept><family>URW Palladio L</family></accept> - </alias> - <alias> - <family>Times</family> - <accept><family>Nimbus Roman No9 L</family></accept> - </alias> - <alias> - <family>Zapf Chancery</family> - <accept><family>URW Chancery L</family></accept> - </alias> - <alias> - <family>Zapf Dingbats</family> - <accept><family>Dingbats</family></accept> - </alias> - <match target="pattern"> - <test name="family"> - <string>Symbol</string> - </test> - <edit name="family" mode="append" binding="strong"> - <string>Standard Symbols L</string> - </edit> - </match> -<!-- - AMT provides metric and shape compatible fonts for these three web font - families. - --> - <alias> - <family>Times New Roman</family> - <accept><family>Thorndale AMT</family></accept> - </alias> - <alias> - <family>Arial</family> - <accept><family>Albany AMT</family></accept> - </alias> - <alias> - <family>Courier New</family> - <accept><family>Cumberland AMT</family></accept> - </alias> - -<!-- - Some Asian fonts misadvertise themselves as monospaced when - in fact they are dual-spaced (half and full). This makes - FreeType very confused as it forces all widths to match. - Undo this magic by disabling the width forcing code --> - <match target="font"> - <test name="family"><string>GulimChe</string></test> - <edit name="globaladvance"><bool>false</bool></edit> - </match> - - <match target="font"> - <test name="family"><string>DotumChe</string></test> - <edit name="globaladvance"><bool>false</bool></edit> - </match> - - <match target="font"> - <test name="family"><string>BatangChe</string></test> - <edit name="globaladvance"><bool>false</bool></edit> - </match> - - <match target="font"> - <test name="family"><string>GungsuhChe</string></test> - <edit name="globaladvance"><bool>false</bool></edit> - </match> - -<!-- - The Bitstream Vera fonts have GASP entries suggesting that hinting be - disabled below 8 ppem, but FreeType ignores those, preferring to use - the data found in the instructed hints. The initial Vera release - didn't include the right instructions in the 'prep' table. Fix this - by disabling hinting manually at smaller sizes (< 8ppem) - --> - - <match target="font"> - <test name="family"> - <string>Bitstream Vera Sans</string> - </test> - <test name="pixelsize" compare="less"> - <double>7.5</double> - </test> - <edit name="hinting"> - <bool>false</bool> - </edit> - </match> - - <match target="font"> - <test name="family"> - <string>Bitstream Vera Serif</string> - </test> - <test name="pixelsize" compare="less"> - <double>7.5</double> - </test> - <edit name="hinting"> - <bool>false</bool> - </edit> - </match> - - <match target="font"> - <test name="family"> - <string>Bitstream Vera Sans Mono</string> - </test> - <test name="pixelsize" compare="less"> - <double>7.5</double> - </test> - <edit name="hinting"> - <bool>false</bool> - </edit> - </match> - -<!-- Load local system customization file --> <include ignore_missing="yes">conf.d</include> |