You are not logged in.

#1 2012-09-26 13:53:16

Vrantheo
Member
Registered: 2012-07-20
Posts: 33

[Solved]New Fontconfig (even with same config) Causes Odd Rendering

I'm on the Ubuntu-patched version, using these /etc/fonts/conf.d symlinks with no modification:

10-antialias.conf
10-sub-pixel-rgb.conf
10-unhinted.conf
11-lcd-filter-lcddefault.conf
30-metric-aliases.conf
30-urw-aliases.conf
31-cantarell.conf
44-wqy-microhei.conf
45-latin.conf
49-sansserif.conf
53-monospace-lcd-filter.conf
60-latin.conf
90-synthetic.conf

It should look like this in Chrome Dev:
8Sr3ol.png

After the upgrade to Fontconfig 2.10.1-3 I remade all the links from conf.avail as instructed so that the configs remain the same as above. However the font still looks very deformed:
8qu5F.png

What could've gone wrong?

Last edited by Vrantheo (2012-09-26 15:26:40)

Offline

#2 2012-09-26 15:31:27

Vrantheo
Member
Registered: 2012-07-20
Posts: 33

Re: [Solved]New Fontconfig (even with same config) Causes Odd Rendering

My random meddling with 10-unhinted.conf turned out as a successful workaround:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--  Disable hinting -->
  <match target="font">
    <!--
      This configuration is available on the major desktop environments.
      We shouldn't overwrite it with "assign" unconditionally.
      Most clients may picks up the first value only. so using "append"
      may simply works to avoid it.
    -->
    <edit name="hinting" mode="assign"><bool>false</bool></edit>
  </match>
</fontconfig>

Just turning it back to "assign" works, but still it's documented as deprecated. I hope this would get fixed internally soon.

Offline

Board footer

Powered by FluxBB