The console8x16.pcf font that comes with KDE 3.x does not seem to work with
the fontconfig that comes with XFree86-4.3. It worked previously with the
fontconfig that I compiled and installed over XFree86 4.2 with a tarball from your
/opt/kde/share/fonts $ fc-list | grep console
/opt/kde/share/fonts $ fc-list --version
fontconfig version 1.0.1
/opt/kde/share/fonts $ ls
9x15.pcf console8x16.pcf console8x8.pcf fonts.cache-1 fonts.dir override/
/opt/kde-3/share/fonts $ fc-list | grep console
/opt/kde-3/share/fonts $ fc-list --version
fontconfig version 1.0.2
/opt/kde-3/share/fonts $ ls
9x15.pcf console8x16.pcf console8x8.pcf fonts.cache-1 fonts.dir fonts.scale
Created attachment 27 [details]
Font file causing problems
I don't believe it is the cause of the problem, but I thought I'd mention that I am
used gcc 3.2.2 to compile XFree86 4.3 (and hence fontconfig 1.0.2), and I used
gcc 3.2.1 (or maybe it was just 3.2) to compile fontconfig 1.0.1
It's working for me now; I suspect this problem was caused by either the cache
file corruptions or the weird double/integer matching problem. Feel free to
reopen if it's still busted for you and we'll have another go at figuring where
the problem lies.
Ok, I kinda traced the problem. The libfreetype that comes with X11R6 4.3
causes fc-cache to not work with this font. When I removed the freetype libs
that X installed and went back to the other ones I have installed (2.1.3),
fc-cache works with this font. By "works" I mean 'fc-cache -f -v' reports 3
fonts in /opt/kde/share/fonts rather than just 2.
What freetype library were you using when you verified that it did work for you?
Yes, I'm also using freetype 2.1.3. The version in XFree86 CVS is ancient.
Ok, well you might want to be aware of this problem with 2.1.1 (I believe that'e
the freetype version that comes with X), and hopefully you can put some pressure
to update the freetype in the XFree86 cvs to fix this in XFree86 4.3.1.