After updating to freetype-2.3.10 (from 2.3.9-r1), I can't use some of the fonts in my system. They get substituted by some default font. Konsole (KDE 4) with a bitmap font shows major breakage (I'm attaching a screenshot.) Reverting to 2.3.9-r1 makes fonts sane again.
Created attachment 206490 [details] emerge --info
Created attachment 206492 [details] Screenshot illustrating the problem
confirm :-( Linux 2.6.31-gentoo-r2 x86_64
USE="X doc fontforge utils -bindist -debug"
Confirmed on three x86' and one x86_64.
Confirmed, for me it has something to do with PCF fonts, TTF seems to work properly. I use console8x16.pcf for urxvt and kde konsole. After upgrade urxvt fails to run. I had to recache fontconfig then it did run but with some other font. Kde konsole does the same, additionally it shows console8x16.pcf on font list instead of just "Console" (filename instead of font name). Maybe some incompatibility with fontconfig?
http://dpaste.com/104878/ i can confirm it too... emerge -uDN world throw this error
same same.
Confirm.
(In reply to comment #0) > After updating to freetype-2.3.10 (from 2.3.9-r1), I can't use some of the > fonts in my system. They get substituted by some default font. Konsole (KDE > 4) with a bitmap font shows major breakage (I'm attaching a screenshot.) > > Reverting to 2.3.9-r1 makes fonts sane again. > When I revert back to 2.3.9-r1, I still have all the *.pcf show up in my font list for gnome-terminal.
(In reply to comment #11) > When I revert back to 2.3.9-r1, I still have all the *.pcf show up in my font > list for gnome-terminal. remove your fontconfig cache dir ~/.fontconfig
Can confirm, too... Artwiz-fonts, which I use on my desktop, turned into squares...
it also makes xine fail: xine Dies ist xine (X11 gui) - Ein freier Video-Player v0.99.5. (c) 2000-2007 Das xine Team. xiTK WARNING(xitk_font_load_font:738): loading font "*-helvetica-bold-o-*-*-12-*-*-*-*-*-*-*" failed, default and system fonts "(null)" and "fixed" failed too xiTK WARNING(xitk_font_load_font:738): loading font "*-helvetica-bold-o-*-*-12-*-*-*-*-*-*-*" failed, default and system fonts "(null)" and "fixed" failed too xiTK WARNING(xitk_font_load_font:738): loading font "fixed" failed, default and system fonts "(null)" and "fixed" failed too xiTK DIE: create_labelofbutton()@126: xitk_font_load_font() failed. Exiting everything is fine with 2.3.9-r1
Ok, I've masked it now. It'll be great if somebody bisects it and shows us broken commit. Or, I'll try to reproduce it here somehow (everything works still, but I'll try with different systems tomorrow).
I have also seen some font breakage after upgrading freetype. Not with KDE programs, but with firefox, which did not display text for many websites (http://www.heise.de being one example). After remerging fontconfig, the problems were gone. I haven't found more font breakage yet.
Bisected the xine issue from comment #14 to this commit: http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=3bda1f9949d20cc46fc76e3876bcff545cc8d665 I guess the problematic line is this one here: nprops = nprops - (int)nprops; Commenting that made xine run cleanly again.
Created attachment 206660 [details, diff] Comment one line This patch comments the one line in question. No guarantees that this is intended behaviour, but at least it works for me with my xine issue. Would be interesting whether this solves the other issues described above as well. Please try it out and report your results.
Well, with your patch applied fc-list (from media-list/fontconfig) still lists all pcf files with full filename instead of the font-name.
(In reply to comment #19) > Well, with your patch applied fc-list (from media-list/fontconfig) still lists > all pcf files with full filename instead of the font-name. Can't reproduce: some exotic fonts listed with file name, both using freetype 2.3.9-r1 and 2.3.10, while nost others seem to get listed properly, even those coming from pcf.gz files. So in my eyes this seems unrelated to recent 2.3.10 breakage. $ fc-list | grep -i pcf unifont.pcf:style=Regular ethio24f\-uni.pcf:style=Regular micro.pcf:style=Regular ethio16f\-uni.pcf:style=Regular decsess.pcf:style=Regular deccurs.pcf:style=Regular cursor.pcf:style=Regular xtis24.pcf:style=Regular taipei16.pcf:style=Regular taipei24.pcf:style=Regular
Sorry, you're right. I forgot to run "fc-cache -f" as root before running fc-list.
To avoid further reports upstream: this was reported and Suzuki is working on correct fix.
Has it been confirmed that the bug mentioned in comment 17 and addressed by comment 22 is indeed the cause of all the issues described in this report here?
Some URL to the report would be nice, too...
Ok, fixed in freetype-2.3.10-r1. Thank you all. Lars, it's in mailing list archive from today.
*** Bug 288357 has been marked as a duplicate of this bug. ***
(In reply to comment #24) > Some URL to the report would be nice, too... Copying links from bug #288357 comment #3: http://thread.gmane.org/gmane.comp.fonts.freetype.user/3348 http://thread.gmane.org/gmane.comp.fonts.freetype.user/3350
IT IS NOT FIXED ebuild UD] net-misc/openssh-5.2_p1-r3 [5.3_p1-r1] [nomerge ] gnome-base/gnome-2.26.3 [nomerge ] gnome-extra/swfdec-gnome-2.28.0-r1 [nomerge ] media-libs/swfdec-0.8.4 [nomerge ] x11-libs/cairo-1.8.8 [ebuild R ] media-libs/freetype-2.3.9-r1 [nomerge ] app-text/texlive-2008 [nomerge ] dev-texlive/texlive-pstricks-2008-r1 [nomerge ] dev-texlive/texlive-genericrecommended-2008 [nomerge ] app-text/texlive-core-2008-r7 [ebuild U ] media-libs/freetype-2.3.10-r1 [2.3.9-r1] !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: media-libs/freetype:2 ('ebuild', '/', 'media-libs/freetype-2.3.9-r1', 'merge') pulled in by media-libs/freetype[-cleartype,-ubuntu] required by ('installed', '/', 'x11-libs/libXft-2.1.13', 'nomerge') >=media-libs/freetype-2.1.9[-cleartype,-ubuntu] required by ('installed', '/', 'x11-libs/cairo-1.8.8', 'nomerge') >=media-libs/freetype-2.2.1[-cleartype,-ubuntu] required by ('installed', '/', 'media-libs/fontconfig-2.7.3', 'nomerge') (and 45 more) ('ebuild', '/', 'media-libs/freetype-2.3.10-r1', 'merge') pulled in by =media-libs/freetype-2* required by ('installed', '/', 'media-gfx/imagemagick-6.5.4.10', 'nomerge') >=media-libs/freetype-2 required by ('installed', '/', 'gnome-base/librsvg-2.26.0', 'nomerge') media-libs/freetype required by ('installed', '/', 'app-doc/doxygen-1.6.1', 'nomerge') (and 42 more)
(In reply to comment #28) > IT IS NOT FIXED > > ebuild UD] net-misc/openssh-5.2_p1-r3 [5.3_p1-r1] > [nomerge ] gnome-base/gnome-2.26.3 > [nomerge ] gnome-extra/swfdec-gnome-2.28.0-r1 > [nomerge ] media-libs/swfdec-0.8.4 > [nomerge ] x11-libs/cairo-1.8.8 > [ebuild R ] media-libs/freetype-2.3.9-r1 > [nomerge ] app-text/texlive-2008 > [nomerge ] dev-texlive/texlive-pstricks-2008-r1 > [nomerge ] dev-texlive/texlive-genericrecommended-2008 > [nomerge ] app-text/texlive-core-2008-r7 > [ebuild U ] media-libs/freetype-2.3.10-r1 [2.3.9-r1] > > !!! Multiple package instances within a single package slot have been pulled > !!! into the dependency graph, resulting in a slot conflict: > > media-libs/freetype:2 > > ('ebuild', '/', 'media-libs/freetype-2.3.9-r1', 'merge') pulled in by > media-libs/freetype[-cleartype,-ubuntu] required by ('installed', '/', > 'x11-libs/libXft-2.1.13', 'nomerge') > >=media-libs/freetype-2.1.9[-cleartype,-ubuntu] required by ('installed', > '/', 'x11-libs/cairo-1.8.8', 'nomerge') > >=media-libs/freetype-2.2.1[-cleartype,-ubuntu] required by ('installed', > '/', 'media-libs/fontconfig-2.7.3', 'nomerge') > (and 45 more) > > ('ebuild', '/', 'media-libs/freetype-2.3.10-r1', 'merge') pulled in by > =media-libs/freetype-2* required by ('installed', '/', > 'media-gfx/imagemagick-6.5.4.10', 'nomerge') > >=media-libs/freetype-2 required by ('installed', '/', > 'gnome-base/librsvg-2.26.0', 'nomerge') > media-libs/freetype required by ('installed', '/', 'app-doc/doxygen-1.6.1', > 'nomerge') > (and 42 more) Your problem is completely unrelated to the original bug which got reported here.