You are not logged in.

#1 2015-09-08 06:06:29

krafczyk
Member
Registered: 2015-09-08
Posts: 37

[SOLVED] gnome-terminal fonts are slightly off

Hi, I've installed the 'Hack' font, and it seems like not all letters in my gnome terminal have the same height. The most apparent is 'u'.

Look at this cropped screenshot showing the issue:

weird gnome

If you look closely at the 'u's they are slightly larger than they should be, so it looks a little funky.

Can somebody point me at what the problem might be? I didn't have this issue in Ubuntu, so I suspect that something is misconfigured somewhere. But I'm not sure where.

Last edited by krafczyk (2015-09-10 16:42:37)

Offline

#2 2015-09-08 06:14:13

ayekat
Member
Registered: 2011-01-17
Posts: 1,634

Re: [SOLVED] gnome-terminal fonts are slightly off

Have you tried selecting that font in another application and see whether the glyph is also slightly too large there?

Otherwise, have you got an $XDG_CONFIG_HOME/fontconfig/fonts.conf (usually .config/fontconfig/fonts.conf)? If yes, what is its content?


pkgs │ hacks │ cfg │ blag

Offline

#3 2015-09-08 13:58:18

krafczyk
Member
Registered: 2015-09-08
Posts: 37

Re: [SOLVED] gnome-terminal fonts are slightly off

I've tried it in other programs, and the font looks fine.

I have a .config/fontconfig/fonts.conf file. Here it is:

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <dir>/home/matthew/.Fontmatrix/Activated</dir>
 <dir>~/.fonts</dir>
</fontconfig>

I should mention that I've just converted an ubuntu installation to an arch installation. By that I mean that I kept my /home with everything in it originally from Ubuntu. So some old config from ubuntu might be messing with me, or perhaps ubuntu had a config in /etc which gave good results which I'm not missing.

It's still strange to me that this would cause the glyphs to be different sizes..

Offline

#4 2015-09-08 18:41:09

wrkerr
Member
Registered: 2015-04-02
Posts: 18

Re: [SOLVED] gnome-terminal fonts are slightly off

I don't have access to my Arch system at the moment, so I can't confirm if it's reproducible.

One thing you might want to check is your font hinting settings. If that font has poor hinting instructions, displaying at full hinting could produce some odd results like that. Try turning font hinting off, and see if that changes anything.

Offline

#5 2015-09-10 16:42:25

krafczyk
Member
Registered: 2015-09-08
Posts: 37

Re: [SOLVED] gnome-terminal fonts are slightly off

At a friend's suggestion I looked at this section in the font configuration wiki: https://wiki.archlinux.org/index.php/Fo … ion#Ubuntu

I don't know how I glossed over it, but after installing those packages and restarting my computer, everything seems fixed. My fonts display nicely, just like they used to in Ubuntu.

Thanks for your help! It must've been some combination of antialiasing and hinting issues.

Offline

Board footer

Powered by FluxBB