Skip to content

Terminal Font Changes after Upgrade to freetype2-2.8

I noticed after upgrading to freetype2-2.8 that my terminal font looks a little bit different. The font looks to be a little more condensed vertically after the upgrade.

I am using Gnome Terminal with DejaVu Sans Mono Book 11. Oddly enough the font looks fine if I increase the size to 12.

I also have:

FREETYPE_PROPERTIES=truetype:interpreter-version=40

Has anyone else noticed this or know a potential fix? In the meantime I have downgraded to 2.7.

Screenshots of Difference: http://imgur.com/a/awYVg

24 points12 comments
Open on Reddit
About this post
Posted
Archived
Score
24 · 100% up
Kind
Text
ID
6c4e95

Author

3
posts
6
comments
0
media
View profile

13 comments

I could also get back the original look for the fonts I use by changing the size a little, for example changed size 10 into 9.5 for a certain font and size 12 into 11.5 for another font.

For my stuff here the change was the other way around compared to what you show in your screenshots and the line heights got increased so I had to decrease size.

5 points

Okay so maybe my font was actually fixed and it just looks off because I'm not use to it. It definitely looks more "square" now than before, which I suppose is to be expected from a mono-spaced font.

3 points

That works for i3, I used DejaVu Sans Mono 10 and changing to 9.5 reverted to the old style.

Edit: doesn't work on xterm, setting 9.5 on .Xresources makes the fonts look huge.

2 points

I asked a friend who knows stuff about fonts.

The new/"broken" one matches up with the vectors better, and therefore he would consider the new one correct and the old one wrong.

5 points

Not sure if this is a blessing or a curse. But I can't distinguish font features at all. I can see the change if I flick yours screenshots back and forward, but I wouldn't be able to tell what's the "correct version".

3 points

Consider yourself lucky. I've spent days configuring my system's fonts so they look right and am still not completely happy. Every app renders fonts slightly differently, especially if you use KDE because any gtk app uses its own settings. When updates like this come, there's no predicting how many configs need to change.

3 points

I'm using 6pt font sizes (sans and monospace) for almost everything, while @125dpi. Now all the fonts seems a little off. However rebuilding freetype with one line changed in freetype2/include/freetype/config/ftoption.h:

-/* #define AF_CONFIG_OPTION_TT_SIZE_METRICS */
+#define AF_CONFIG_OPTION_TT_SIZE_METRICS

seems to bring back the old (aka. broken) behavior. On my setup, it looks better.

2 points

IMO the second one looks better

1 points

I think I just need to use it for a while and I will get use to it. It's likely just the fact that something changed that is bothering me right now.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.