~ubuntu-branches/ubuntu/natty/ttf-dejavu/natty

« back to all changes in this revision

Viewing changes to fontconfig/20-unhint-small-dejavu-sans-mono.conf

  • Committer: Bazaar Package Importer
  • Author(s): Davide Viti
  • Date: 2009-01-03 21:38:14 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20090103213814-j60eqtimhxpmh4co
Tags: 2.28-1
* New upstream release (closes: #509377)
* debian/control: fix lintian warning about missing ${misc:Depends}
  in binary entries

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-mono.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 Mono</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>