~ubuntu-branches/ubuntu/trusty/mapnik/trusty

« back to all changes in this revision

Viewing changes to fonts/dejavu-fonts-ttf-2.28/fontconfig/20-unhint-small-dejavu-sans.conf

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Sauthier
  • Date: 2010-03-18 01:07:40 UTC
  • mfrom: (1.1.4 upstream) (3.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100318010740-u01iy3n0ux9xzzir
Tags: 0.7.0-2ubuntu1
* Merge from debian testing (LP: #526070), remaining changes:
  - Bump boost build-dep and libmapnik-dev depends to boost1.40

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8"?>
2
 
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
3
 
<fontconfig>
4
 
  <!--  /etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf
5
 
 
6
 
        Disable hinting manually at smaller sizes (< 8ppem)
7
 
        This is a copy of the Bistream Vera fonts fonts rule, as DejaVu is
8
 
        derived from Vera.
9
 
 
10
 
        The Bistream Vera fonts have GASP entries suggesting that hinting be
11
 
        disabled below 8 ppem, but FreeType ignores those, preferring to use
12
 
        the data found in the instructed hints. The initial Vera release
13
 
        didn't include the right instructions in the 'prep' table.
14
 
 -->
15
 
  <match target="font">
16
 
    <test name="family">
17
 
      <string>DejaVu Sans</string>
18
 
    </test>
19
 
    <test compare="less" name="pixelsize">
20
 
      <double>7.5</double>
21
 
    </test>
22
 
    <edit name="hinting">
23
 
      <bool>false</bool>
24
 
    </edit>
25
 
  </match>
26
 
</fontconfig>