Package: fontconfig-config
Version: 2.12.3-0.1
Followup-For: Bug #866950

Dear Maintainer,

I was about to file this myself when I found that Andrew just opened this bug.

After two frustrating days, I found the cause.  It is the inclusion of the 
following new files in fontconfig-config:
10-autohint.conf
10-hinting-slight.conf
(symlinks in /etc/fonts/conf.d to /usr/share/....)

These files do not exist in 2.11.

>From reading the files, I believe they were intended to provide fallbacks.  
>However, they appear to function by overriding system behavior.

I use full hinting and no autohinter, so many (not all) of my fonts were 
dramatically changed by the forced activation of autohinting and slight hinting.

My solution was to create a ~/.fonts.conf with the following:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <match target="pattern">
    <edit name="hintstyle" mode="assign">
     <const>hintfull</const>
    </edit>
    <edit name="autohint" mode="assign">
     <bool>false</bool>
    </edit>
  </match>
</fontconfig>

This is irritating because I already had this set in XFCE, but only some 
software was respecting those settings.  Others were using the fontconfig 
values.


-- System Information: Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.11.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), 
LANGUAGE=en_US.utf8 (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.61
ii  fonts-dejavu-core      2.37-1
ii  fonts-liberation       1:1.07.4-2
ii  ttf-bitstream-vera     1.10-8
ii  ucf                    3.0036

fontconfig-config recommends no packages.

fontconfig-config suggests no packages.

-- debconf information:
* fontconfig/hinting_type: Autohinter
* fontconfig/subpixel_rendering: Automatic
* fontconfig/enable_bitmaps: false

Reply via email to