Red Hat Bugzilla – Bug 49658
XFree86-xfs-4.1.0-0.9.1 has corrupt /usr/X11R6/lib/X11/fonts/Type1/fonts.scale (and thus fonts.dir too)
Last modified: 2007-04-18 12:35:00 EDT
When I start xfs after upgrading to 4.1.0-0.9.1, I see this in my slslog:
Font Server: ignoring font path element /usr/X11R6/lib/X11/fonts/Type1
When I examine fonts.dir in that directory, I see that line 67, the first
font with a "fontspecific" encoding, starts with "40 " followed by the font
file name, rather than just the font file name. Fonts.scale has a similar
problem -- line 67 has "40" on a line by itself.
This appears to be a bug in mkfontdir. I am investigatint it further,
which involves downloading and compiling the source code and will therefore
take a while, but in the meantime, I thought I should file a bug report
The base problem here is that fonts.scale in this directory is corrupt. The
"65" in this directory should be changed to "105" and the "40" (i.e., line 67)
should be removed.
A more systemic problem is that mkfontdir didn't detect this error. I'll file a
separate bug report about that with a patch.
Yep, fonts.scale corruption is due to an X specfile stupidity.
*** This bug has been marked as a duplicate of 49660 ***
This is *not* a duplicate of 49660. This bug is about the fact that the
fonts.scale file is messed up (and, incidentally, it's *still* messed up in
XFRee86-4.1.0-0.9.11; this *really* needs to be fixed before the next release).
49660 is about the fact taht mkfontdir should have done a better job of
*detecting* the corrupt fonts.scale file.
Doesn't this bug really need to be fixed before the next public release?
Doens't it render all the fonts in the directory
/usr/X11R6/lib/X11/fonts/Type1/fonts.scale unusable? Am I confused about this?
I will attach a spec file patch which I believe will fix this, although I
haven't fully tested it yet (it takes XFree86 a long time to build).
Created attachment 28596 [details]
patch to spec file to generate Type1 fonts.scale correctly
*** Bug 52517 has been marked as a duplicate of this bug. ***
As a fix I installed 'Xfscl.tgz' directly from ftp.xfree86.org.
Works for me.
This has been fixed in rawhide for a while. All users are encouraged
to upgrade to the latest release.