fonts-config/11-base-rendering.conf
Petr Gajdos 9ede7a3f35 Accepting request 224056 from home:pgajdos
- updated to 20140226:
  * FORCE_{SANS,SERIF,MONO}_PREFERENCE replaced by 
    SEARCH_METRIC_COMPATIBLE

- updated to 20140225:
  * introduced FORCE_{SANS,SERIF,MONO}_PREFERENCE

- updated to 20140224:
  * add example of family preference: CFF fonts

- updated to 20140222:
  * don't use autohinter for CFF files
  * hinstlight for CFF files

- updated to 20140221
  * added 31-metric-aliases-bw.conf

- updated to 20140219
- revorked package, fontconfig configuration based on infinality
  one
- added patches:
  * fontconfig-infinality-main.patch (remove parts of original 
    52-infinality.conf)

OBS-URL: https://build.opensuse.org/request/show/224056
OBS-URL: https://build.opensuse.org/package/show/M17N/fonts-config?expand=0&rev=38
2014-02-27 09:01:22 +00:00

124 lines
2.8 KiB
XML

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- hinting -->
<match target="font">
<!-- hinting is on unconditionally, but that -->
<!-- can be controlled via hintstyle (hintnone) -->
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
</match>
<!-- hint type: autohinter or BCI -->
<match target="font">
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="font">
<test name="font_type">
<string>TT Instructed Font</string>
</test>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="font_type">
<string>NON TT Instructed Font</string>
</test>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="font">
<test name="fontformat">
<string>CFF</string>
</test>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="force_autohint">
<bool>true</bool>
</test>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
<!-- hint style -->
<match target="font">
<edit name="hintstyle">
<const>hintslight</const>
</edit>
</match>
<match target="font">
<test name="autohint">
<bool>false</bool>
</test>
<test name="fontformat" compare="not_eq">
<string>CFF</string>
</test>
<edit name="hintstyle">
<const>hintfull</const>
</edit>
</match>
<match target="font">
<test name="force_hintstyle">
<string>hintnone</string>
</test>
<edit name="hintstyle">
<const>hintnone</const>
</edit>
</match>
<match target="font">
<test name="force_hintstyle">
<string>hintslight</string>
</test>
<edit name="hintstyle">
<const>hintslight</const>
</edit>
</match>
<match target="font">
<test name="force_hintstyle">
<string>hintmedium</string>
</test>
<edit name="hintstyle">
<const>hintmedium</const>
</edit>
</match>
<match target="font">
<test name="force_hintstyle">
<string>hintfull</string>
</test>
<edit name="hintstyle">
<const>hintfull</const>
</edit>
</match>
<!-- font smooth or don't font smooth -->
<match target="font">
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="font">
<test name="force_bw">
<bool>true</bool>
</test>
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintfull</const>
</edit>
<edit name="embeddedbitmap" mode="assign">
<bool>true</bool>
</edit>
</match>
</fontconfig>