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

Bug#403914: fontconfig is picking small-caps when requesting roman



Package: lmodern
Version: 1.00-3
Severity: important

[The BTS seems to have ignored my last submission of this. No idea why.
Re-sending with some additional info.]

When I select LMRoman10 in LyX, I get treated to the entire document in
small-caps. I suspect this is because Fontconfig feels like it:

$ fc-match 'LMRoman10'
LMRoman10-CapsRegular.pfb: "LMRoman10" "CapsRegular"

The others are installed; if I explicitly request the 'regular' style
(why isn't that the default?!)...

$ fc-match  'LMRoman10:style=Regular'
LMRoman10-Regular.pfb: "LMRoman10" "Regular"

This used to work... I don't have anything weird in my fontconfig
configuration, AFAICT.

Additional info: Adding the following snippet to .fonts.conf seems to
help (haven't tested much at all yet, though):

    <match target="pattern">
        <test name="family">
            <string>LMTypewriter10</string>
        </test>
        <edit mode="append" binding="same" name="style">
            <string>Regular</string>
        </edit>
    </match>
    <match target="pattern">
        <test name="family">
            <string>LMRoman10</string>
        </test>
        <edit mode="append" binding="same" name="style">
            <string>Regular</string>
        </edit>
    </match>



-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages lmodern depends on:
ii  defoma                        0.11.10    Debian Font Manager --
automatic f
ii  tex-common                    0.39       Common infrastructure for
using an
ii  xfonts-utils                  1:1.0.1-1  X Window System font
utility progr

lmodern recommends no packages.

-- no debconf information





Reply to: