[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#645841: Please include fontconfig config file to enable autohinting



Package: lmodern
Version: 2.004.1-3
Severity: wishlist

Autohinting isn't always enabled globally (at least it isn't on this
machine, it seems). For example, if fonts with good TrueType BCI hinting
are in use.

But the LM* family of fonts really needs autohinting. See attached
pictures from LyX. Note how without it, letters are run together—the es
in files, the SV in SVN; the g in against is just plain weird; there
appears to be a space in Us in Users, etc.

The following fontconfig snippet will enable autohinting for the LM
fonts. There may be a more concise way to specify them all...

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
    <match target="font" >
        <test qual="any" name="family">
            <string>LMMathExtension10</string>
            <string>LMMathItalic10</string>
            <string>LMMathItalic12</string>
            <string>LMMathItalic5</string>
            <string>LMMathItalic6</string>
            <string>LMMathItalic7</string>
            <string>LMMathItalic8</string>
            <string>LMMathItalic9</string>
            <string>LMMathSymbols10</string>
            <string>LMMathSymbols5</string>
            <string>LMMathSymbols6</string>
            <string>LMMathSymbols7</string>
            <string>LMMathSymbols8</string>
            <string>LMMathSymbols9</string>
            <string>LMMono10</string>
            <string>LMMono12</string>
            <string>LMMono8</string>
            <string>LMMono9</string>
            <string>LMMonoCaps10</string>
            <string>LMMonoLt10</string>
            <string>LMMonoLtCond10</string>
            <string>LMMonoProp10</string>
            <string>LMMonoPropLt10</string>
            <string>LMMonoSlant10</string>
            <string>LMRoman10</string>
            <string>LMRoman12</string>
            <string>LMRoman17</string>
            <string>LMRoman5</string>
            <string>LMRoman6</string>
            <string>LMRoman7</string>
            <string>LMRoman8</string>
            <string>LMRoman9</string>
            <string>LMRomanCaps10</string>
            <string>LMRomanDemi10</string>
            <string>LMRomanDunh10</string>
            <string>LMRomanSlant10</string>
            <string>LMRomanSlant12</string>
            <string>LMRomanSlant17</string>
            <string>LMRomanSlant8</string>
            <string>LMRomanSlant9</string>
            <string>LMRomanUnsl10</string>
            <string>LMSans10</string>
            <string>LMSans12</string>
            <string>LMSans17</string>
            <string>LMSans8</string>
            <string>LMSans9</string>
            <string>LMSansDemiCond10</string>
            <string>LMSansQuot8</string>
        </test>
        <edit name="autohint" mode="assign"><bool>true</bool></edit>
    </match>
</fontconfig>

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (130, 'unstable'), (120, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lmodern depends on:
ii  defoma        0.11.12
ii  dpkg          1.16.1 
ii  tex-common    2.10   
ii  xfonts-utils  1:7.6+1

lmodern recommends no packages.

lmodern suggests no packages.

-- no debconf information

Attachment: no-autohint.png
Description: PNG image

Attachment: yes-autohint.png
Description: PNG image


Reply to: