You are not logged in.

#1 2016-05-23 10:05:16

Karl_Yeurl
Member
Registered: 2011-02-28
Posts: 30

[SOLVED] Some fonts don't look the same after upgrade, e.g. in urxvt

Hi.

Since when I upgraded, some fonts don't look the same in some applications.

By far the most annoying is in urxvt, where it used to look like in Termite, but not anymore. The blurry text makes it very tiring to work in a terminal.
My .Xdefaults configuration has URxvt*font: xft:Bitstream Vera Sans Mono:pixelsize=13:antialias=true:hinting=true. I really like that font, and I really like urxvt. If possible, I'd like to get it to display the font the old way.

Other applications I found to have a change in how some fonts are displaye are Chromium (maybe related to this issue) and Thunderbird.

Does anyone know where I should start looking?

Last edited by Karl_Yeurl (2016-05-24 22:05:56)

Offline

#2 2016-05-23 16:42:05

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Some fonts don't look the same after upgrade, e.g. in urxvt

After what upgrade? What package versions? Presumably this is the much documented upstream freetype change...


Moving to NC....


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-05-23 19:45:24

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,251

Re: [SOLVED] Some fonts don't look the same after upgrade, e.g. in urxvt

Install the infanility bundle, never worry about fonts again.


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

#4 2016-05-23 23:35:53

Karl_Yeurl
Member
Registered: 2011-02-28
Posts: 30

Re: [SOLVED] Some fonts don't look the same after upgrade, e.g. in urxvt

Thanks for the replies.

I doubt it is the freetype change, as the pacman log states that the last time freetype2 and lib32-freetype2 were updated was early March. The change definitely happened in the last update I did (and I know I don't update often enough), which was quite lenghtly.

I'll consider installing Infinality, but first I'd like to try and figure out what went wrong.

Offline

#5 2016-05-24 00:04:04

Karl_Yeurl
Member
Registered: 2011-02-28
Posts: 30

Re: [SOLVED] Some fonts don't look the same after upgrade, e.g. in urxvt

The incriminated package has been found. It is fontconfig.

Reverting to fontconfig-2.11.1-2 fixes the issue in urxvt but prevents X from starting. So I am thus running fontconfig-2.11.95-1. Can anyone tell me what option in fontconfig I am missing will show the "old" behavior?

Offline

#6 2016-05-24 04:22:54

Vain
Member
Registered: 2008-10-19
Posts: 179
Website

Re: [SOLVED] Some fonts don't look the same after upgrade, e.g. in urxvt

Possibly the "hintslight" hinting style, which has been automatically activated in fontconfig-2.11.95 and which has confused many users.

Offline

#7 2016-05-24 22:05:12

Karl_Yeurl
Member
Registered: 2011-02-28
Posts: 30

Re: [SOLVED] Some fonts don't look the same after upgrade, e.g. in urxvt

Yes, Vain.

That's it. Perfect. Thanks a bunch. Here is the config file I used (duplicate from the second link, but I figured it would not hurt putting the information here as well).

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
        <!-- Disable the effects of 10-hinting-slight.conf -->
        <match target="font">
                <test name="hintstyle" compare="eq">
                        <const>hintslight</const>
                </test>
                <edit name="hintstyle" mode="delete"/>
        </match>
</fontconfig>

Offline

Board footer

Powered by FluxBB