linux.debian.bugs.dist
[Top] [All Lists]

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

Subject: Bug#403914: fontconfig is picking small-caps when requesting roman
From: Anthony DeRobertis
Date: Wed, 20 Dec 2006 18:10:15 +0100
Newsgroups: linux.debian.bugs.dist
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




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy