You are not logged in.
Hello,
The recent update of freetype2 (2.8-2 -> 2.8.1-1) broke my fonts in urxvt.
Some fonts refuse to load:
urxvt: unable to calculate font width for 'MonacoB2:style=Bold:slant=0:weight=100:pixelsize=21:minspace=True', ignoring.
urxvt: unable to calculate font width for 'Bitstream Vera Sans Mono:slant=0:weight=100:pixelsize=21:antialias=False:autohint=True:minspace=True', ignoring.
urxvt: unable to calculate font width for 'Courier New:slant=0:weight=100:pixelsize=21:antialias=False:autohint=True:minspace=True', ignoring.
urxvt: unable to calculate font width for 'Andale Mono:slant=0:weight=100:pixelsize=21:antialias=False:autohint=False:minspace=True', ignoring.
urxvt: unable to calculate font width for 'FreeMono:slant=0:weight=100:pixelsize=21:autohint=True:minspace=True', ignoring.
And the spacing on the ones that do is different than before.
https
Images: Before, After (The selected character is the 'n' in the hostname.)
Here is the relevant section of my .Xresources:
Xft.lcdfilter: lcddefault
Xft.antialias: true
Xft.autohint: 0
Xft.hinting: true
Xft.hintstyle: hintslight
Xft.rgba: rgb
Xft.dpi: 96
...
URxvt.font:xft:Monaco:style=Regular:size=12,\
xft:TakaoPGothic
URxvt.boldFont:xft:MonacoB2-Bold:style=Bold:faceSize=12,\
xft:TakaoPGothic
URxvt.letterSpace: -1
Offline
Seems limited to MonacoB2?
What about more common fonts, like DejaVu Mono, Source Code or Consolas?
Offline
It affects more fonts. For example the green dot in the systemd service status on the screenshots is not part of monaco as far as I know. Other symbols like '☆' fail to show correctly too.
Offline
Thing is, about every bold glyph looks bonkers, all other look more or less ok.
You're using a variation of monaco that adds bold glyphs.
I'd try whether the same happens if you replace that particular font in the urxvt settings.
Offline
Alright, I have done more testing.
DejaVu Sans Mono loads, but the letter spacing is still smaller - you can even see that the ● symbol gets cut off a bit from the left on the new version.
Another thing I noticed is that wine crashes after the update:
wine: Unhandled page fault on read access to 0x00000008 at address 0x7f639130a3a9 (thread 0030), starting debugger...
winedbg: Internal crash at 0x7f553f7c63a9
This leads me to believe that freetype is at fault here.
Offline
cat /etc/profile.d/freetype2.sh
Not sure about wine, but would try whether a "clean" font set prevents this (ie. whether this is due to the handling of specific fonts - it should probably not crash, but that can be the lib or the client and in any case you can report to freetype that "handling of font xyz seems broken after update)
Offline
There isn't much new here: https://www.freetype.org/index.html#news
This did cause issues for various projects using skia, e.g. Firefox/Thunderbird, qt5 via webengine... I doubt urxvt has the same problem but it might have an unrelated problem caused by the same freetype change. Given how urxvt abuses fonts, I wouldn't be surprised.
Last edited by eschwartz (2017-09-24 17:26:12)
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
Another thing I noticed is that wine crashes after the update
The Wine issues are separate, caused by Wine relying on undocumented behavior in freetype2 that changed in 2.8.1.
Online