You are not logged in.

#1 2017-02-18 10:21:32

TatriX
Member
Registered: 2017-02-18
Posts: 2

[SOLVED] Chromium (only) fonts are blurry

I had to update fontconfig-ubuntu to default fontconfig and get freetype 2.95+ version. Then I've changed /etc/profile.d/freetype.sh to

export FREETYPE_PROPERTIES="truetype:interpreter-version=35"

This way I got old font rendering in all apps excluding chromium.
http://imgur.com/a/mU6e4
(new rendering, old rendering)
Look at the "T" letter. On the first pic(new) it's fat 2pixel, and on the first one(old) it's 1pixel crispy happiness.
I've tried a lot of options, but I cannot make chromium render fonts as before.

My fontconfig:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <match target="font">
    <edit name="hinting" mode="assign">
      <bool>true</bool>
    </edit>
  </match>
  <match target="font">
    <edit name="hintstyle" mode="assign">
      <const>hintfull</const>
    </edit>
  </match>
  <match target="pattern">
    <edit mode="append" name="lcdfilter">
      <const>lcddefault</const>
    </edit>
  </match>
  <match target="pattern">
    <edit name="rgba" mode="append"><const>rgb</const></edit>
  </match>
  <match target="font">
    <edit name="antialias" mode="assign">
      <bool>true</bool>
    </edit>
  </match>
  <match target="font">
    <edit name="embeddedbitmap" mode="assign">
      <bool>true</bool>
    </edit>
  </match>
</fontconfig>

UPD. As I can see it's an upstream chromium bug: https://bbs.archlinux.org/viewtopic.php?id=216988

Last edited by TatriX (2017-02-18 13:47:47)

Offline

#2 2017-02-18 13:47:25

TatriX
Member
Registered: 2017-02-18
Posts: 2

Re: [SOLVED] Chromium (only) fonts are blurry

Ok, I took patch from this thread and compiled the latest freetype2 with help of abs.
This fixed my issue for now. I hope upstream could fix this soon, so I don't need to recompile this every time.

Offline

Board footer

Powered by FluxBB