Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: Fontforge won't run
https://bugzilla.redhat.com/show_bug.cgi?id=754220
Summary: Fontforge won't run Product: Fedora Version: 16 Platform: x86_64 OS/Version: Linux Status: NEW Severity: urgent Priority: unspecified Component: fontforge AssignedTo: kevin@scrye.com ReportedBy: dave.pawson@gmail.com QAContact: extras-qa@fedoraproject.org CC: kevin@scrye.com, fonts-bugs@lists.fedoraproject.org, paul@frixxon.co.uk Classification: Fedora Story Points: --- Type: ---
Description of problem: Launch fontforge and it won't start up
Version-Release number of selected component (if applicable): 20110222
How reproducible: $fontforge
Steps to Reproduce: 1.launch from cmd line 2. 3.
Actual results: fontforge Copyright (c) 2000-2011 by George Williams. Executable based on sources from 13:48 GMT 22-Feb-2011. Library based on sources from 13:48 GMT 22-Feb-2011. Help! Server claimed font -bitstream-bitstream charter-medium-r-normal--16-0-0-0-p-0-iso10646-1 existed in the font list, but when I asked for it there was nothing. I may crash soon. Segmentation fault
Expected results: Font forge ran on FC15
Additional info:
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=754220
Kevin Fenzi kevin@scrye.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Flag| |needinfo?
--- Comment #1 from Kevin Fenzi kevin@scrye.com 2011-11-15 16:38:22 EST --- Looks like another case of: https://bugzilla.redhat.com/show_bug.cgi?id=450709 Perhaps this bug has re-appeared in f15->f16 upgrades?
Does:
fc-cache /usr/share/X11/fonts/Type1
fix it?
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=754220
Dave P dave.pawson@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag|needinfo? |
--- Comment #2 from Dave P dave.pawson@gmail.com 2011-11-16 00:34:22 EST --- Sorry, no. Ran as ordinary user... you didn't say as root?
$ fc-cache /usr/share/X11/fonts/Type1 [dpawson@localhost ~]$ fontforge Copyright (c) 2000-2011 by George Williams. Executable based on sources from 13:48 GMT 22-Feb-2011. Library based on sources from 13:48 GMT 22-Feb-2011. Help! Server claimed font -bitstream-bitstream charter-medium-r-normal--16-0-0-0-p-0-iso10646-1 existed in the font list, but when I asked for it there was nothing. I may crash soon. Segmentation fault
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=754220
--- Comment #3 from Kevin Fenzi kevin@scrye.com 2011-11-16 10:20:51 EST --- Sorry, I did mean run it as root. ;(
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=754220
--- Comment #4 from Dave P dave.pawson@gmail.com 2011-11-16 10:33:05 EST --- Ditto.
# fc-cache /usr/share/X11/fonts/Type1 [root@localhost ~]# logout [dpawson@localhost ~]$ fontforge Copyright (c) 2000-2011 by George Williams. Executable based on sources from 13:48 GMT 22-Feb-2011. Library based on sources from 13:48 GMT 22-Feb-2011. Help! Server claimed font -bitstream-bitstream charter-medium-r-normal--16-0-0-0-p-0-iso10646-1 existed in the font list, but when I asked for it there was nothing. I may crash soon. Segmentation fault
Dave
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=754220
Paul Flo Williams paul@frixxon.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag| |needinfo?(dave.pawson@gmail | |.com)
--- Comment #5 from Paul Flo Williams paul@frixxon.co.uk 2011-11-16 11:29:48 EST ---
From reading previous bugs around this area, I'm wondering whether there could
be old fonts.dir files around the place which refer to font files that no longer exist, perhaps having disappeared in package upgrades. (We occasionally find that old packages ship fonts that they shouldn't.)
Dave, could you please try to identify where this "bitstream charter" font comes from, by running this:
$ egrep -r --include='fonts.dir' 'charter-medium-r.*iso10646' /usr/share | cut -d' ' -f1
Let's say you get this output:
/usr/share/X11/fonts/Type1/fonts.dir:c0648bt_.pfb /usr/share/fonts/default/ghostscript/fonts.dir:bchr.pfa
I'd like to know whether the file after the colon exists in the directory before the colon. If it doesn't, we've got a problem.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=754220
Dave P dave.pawson@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag|needinfo?(dave.pawson@gmail | |.com) |
--- Comment #6 from Dave P dave.pawson@gmail.com 2011-11-16 11:35:32 EST --- Output from # egrep -r --include='fonts.dir' 'charter-medium-r.*iso10646' /usr/share | cut -d '' -f1 I hope I copied that correctly?
/usr/share/fonts/default/ghostscript/fonts.dir:bchr.pfa -bitstream-bitstream charter-medium-r-normal--0-0-0-0-p-0-iso10646-1
Dave
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=754220
Paul Flo Williams paul@frixxon.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag| |needinfo?(dave.pawson@gmail | |.com)
--- Comment #7 from Paul Flo Williams paul@frixxon.co.uk 2011-11-16 17:39:24 EST --- And I'm guessing that /usr/share/fonts/default/ghostscript/bchr.pfa doesn't exist, right?
Bug 690593 removed Bitstream Charter from the ghostscript-fonts package because they were non-free. However, you appear to have fonts.dir that includes it (as do I, though I'm not seeing a crash because of it).
I think we still have a bug to do with the upgrading of ghostscript-fonts, though I can't see how. It isn't a FontForge bug; FontForge got lied to about which fonts exist.
Could you please try these commands to fix the font list that is being reported to FontForge? First, I'll explain them. We're going to move two erroneous files out of the way and regenerate them. If that fixes the problem, this bug can be moved to be against ghostscript-fonts.
Careful with the punctuation if you're not just cutting and pasting.
$ cd /usr/share/fonts/default/ghostscript $ sudo mv fonts.scale{,.orig} $ sudo mv fonts.dir{,.orig} $ sudo mkfontscale $ sudo mkfontdir
Then try FontForge again.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=754220
Dave P dave.pawson@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag|needinfo?(dave.pawson@gmail | |.com) |
--- Comment #8 from Dave P dave.pawson@gmail.com 2011-11-17 03:30:47 EST --- Thanks for spending time on this Paul. Results below
[root@localhost ~]# cd /usr/share/fonts/default/ghostscript [root@localhost ghostscript]# mv fonts.scale{,.orig} [root@localhost ghostscript]# mv fonts.dir{,.orig} [root@localhost ghostscript]# mkfontscale [root@localhost ghostscript]# mkfontdir [root@localhost ghostscript]# logout [dpawson@localhost ~]$ fontforge Copyright (c) 2000-2011 by George Williams. Executable based on sources from 13:48 GMT 22-Feb-2011. Library based on sources from 13:48 GMT 22-Feb-2011. Help! Server claimed font -bitstream-bitstream charter-medium-r-normal--16-0-0-0-p-0-iso10646-1 existed in the font list, but when I asked for it there was nothing. I may crash soon. Segmentation fault
I see what you mean bout fontforge being lied to :-)
Dave
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=754220
--- Comment #9 from Dave P dave.pawson@gmail.com 2011-11-17 03:33:00 EST --- Sorry, I missed a bit.
$ ls /usr/share/fonts/default/ghostscript/ fcyr.afm fhirw.gsf fonts.dir putbi.pfa u003043t.afm u004006t.gsf fcyr.gsf fhirw.pfm fonts.dir.orig putb.pfa u003043t.gsf u004006t.pfm fcyri.afm fkarw.gsf fonts.scale putri.pfa u003043t.pfm fcyri.gsf fkarw.pfm fonts.scale.orig putr.pfa u004006t.afm
So No
"And I'm guessing that /usr/share/fonts/default/ghostscript/bchr.pfa doesn't exist, right?" No, it doesn't exist.
Dave
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=754220
Paul Flo Williams paul@frixxon.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag| |needinfo?(dave.pawson@gmail | |.com)
--- Comment #10 from Paul Flo Williams paul@frixxon.co.uk 2011-11-17 07:20:52 EST --- OK, we should now have a correct fonts.scale in that directory, which was used to make a correct fonts.dir. You can re-run the command from comment #6 to check that Charter is no longer *claimed* to be available, if you wish.
However, I'm not sure when fonts.dir files are read. It may only be at the startup of X, so I'd suggest that you reboot and then retry fontforge, please.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=754220
Dave P dave.pawson@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag|needinfo?(dave.pawson@gmail | |.com) |
--- Comment #11 from Dave P dave.pawson@gmail.com 2011-11-17 08:23:26 EST --- <grin/> You can go to the top of the class Paul, 10/10. Reboot, Fontforge now comes up happily!
Many thanks for your help. Will you clear the bug or should I? Does the changes you've suggested count it as being cleared, or just that you know what to do to clear it?
Just need to find what's wrong with fontmatrix now. Even odder? Select it from the 'desktop' and it loads... but only as an icon in the 'system tray' (that bit bottom right of the screen?).
Dave
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=754220
Paul Flo Williams paul@frixxon.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |NOTABUG Last Closed| |2011-11-17 08:33:18
--- Comment #12 from Paul Flo Williams paul@frixxon.co.uk 2011-11-17 08:33:18 EST --- Closing as not-a-bug in FontForge, because it never was, and Uncle George's ulcer gets inflamed whenever someone suggests it could be.
I'm not going to reassign this to ghostscript-fonts because, as far as I can see, the %post script does the right thing on first installation, and removing fonts between releases is a very rare thing, so we might never see this again. (Background action for me to resolve it, though.)
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=754220
Kevin Fenzi kevin@scrye.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |o.kanniball.o@gmail.com
--- Comment #13 from Kevin Fenzi kevin@scrye.com 2012-01-06 11:51:11 EST --- *** Bug 772221 has been marked as a duplicate of this bug. ***
fonts-bugs@lists.fedoraproject.org