Package: fontconfig-config
Version: 2.13.0-4
Severity: normal

Dear Maintainer,

the Inconsolata font doesn't have a bold variant, but until I got the recent
update to 2.13, it displayed text in bold anyway.

I've tracked this magic down to
/usr/share/fontconfig/conf.avail/90-synthetic.conf, which has a rule that sets
"embolden" to true for fonts without a bold variant.

I've fixed this issue for me by changing this part

                <!-- check to see if the font is just regular -->
                <test name="weight" compare="less_eq">
                        <const>regular</const>
                </test>

into this

                <!-- check to see if the font is just regular -->
                <test name="weight" compare="less_eq">
                        <const>normal</const>
                </test>

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (600, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages fontconfig-config depends on:
ii  debconf [debconf-2.0]  1.5.66
ii  fonts-dejavu-core      2.37-1
ii  fonts-liberation       1:1.07.4-5
ii  ucf                    3.0038

fontconfig-config recommends no packages.

fontconfig-config suggests no packages.

-- debconf information:
  fontconfig/hinting_type: Native
  fontconfig/subpixel_rendering: Automatic
  fontconfig/hinting_style: hintslight
  fontconfig/enable_bitmaps: false

Reply via email to