Description of problem:
It seems to crash no matter which font I try to open. New works.
> fontforge /usr/share/fonts/dejavu/DejaVuSansMono.ttf
Copyright (c) 2000-2009 by George Williams.
Executable based on sources from 22:35 GMT 22-Jun-2009.
Library based on sources from 22:35 GMT 22-Jun-2009.
Failed to create a fontset for the input method
-urw-urw gothic l-medium-r-normal--16-0-0-0-p-0-iso8859-1,-urw-urw gothic l-medium-r-normal--16-0-0-0-p-0-iso8859-2,-urw-urw gothic l-medium-r-normal--16-0-0-0-p-0-iso8859-3,-urw-urw gothic l-medium-r-normal--16-0-0-0-p-0-iso8859-4,-urw-urw gothic l-medium-r-normal--16-0-0-0-p-0-iso8859-5,-urw-urw gothic l-medium-r-normal--16-0-0-0-p-0-iso8859-9,-urw-urw gothic l-medium-r-normal--16-0-0-0-p-0-iso8859-10,-urw-urw gothic l-medium-r-normal--16-0-0-0-p-0-iso8859-15,-urw-urw gothic l-medium-r-normal--16-0-0-0-p-0-koi8-uni,-arphic-ar pl uming cn-light-r-normal--16-0-0-0-p-0-gb2312.1980-0,-arphic-ar pl uming tw-light-r-normal--16-0-0-0-p-0-big5-0,-urw-urw gothic l-medium-r-normal--16-0-0-0-p-0-iso10646-1
Help! Server claimed font
-arphic-ar pl uming tw-light-r-normal--13-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 (core dumped)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum install fontforge
2. fontforge /usr/share/fonts/dejavu/DejaVuSansMono.ttf
Crash, boom, bang. (See above)
Less crash, boom and bang.
This looks like an issue I have seen a number of times before: Your font caches were not updated when you uninstalled/installed/upgraded fonts. So, fontforge asks what fonts are available, the X server lies to it and when it tries to use of the ones thats not really there it blows up. ;(
Try re-running 'fc-cache' against all the directories under /usr/share/X11/fonts/ and see if that fixes it.
Or check all the font cache files there for this font it's looking for and regenerate that one.
See bug 450709 for more info.
There are no fonts in /usr/share/X11/fonts/. Did you mean /usr/share/fonts/?
I tried removing all files in ~/.fontconfig, and I also ran 'fc-cache /usr/share/fonts/*', but fontforge still crashed.
As you can see in the error above, fontforge complains about the font -arphic-ar-something. That font is in cjkuni-uming-fonts-0.2.20080216.1-29.fc12.noarch. Removing that RPM makes fontforge work.
While it's possible that there's a problem with the cjkuni-uming-fonts RPM, Fontforge should still not crash.
Strange. So I have this font installed here, and fontforge works fine.
What do you see in:
xlsfonts | grep "arphic-ar" | grep 13
I've talked with upstream about this before, and they won't fix it, as they say the X server should never lie to them and tell them that a font can be used when it cannot. :(
What is your locale set to?
I reinstalled cjkuni-uming-fonts-0.2.20080216.1-29.fc12.noarch.rpm, and fontforge works fine. The last time I tried, I could remove the package and fontforge would work, and then install it again and fontforge would crash. I tried it a couple of times. I have updated other packages since then, and also rebooted once. I guess it's fixed?
In case it still matters, I get nothing from "xlsfonts | grep "arphic-ar" | grep 13", and my locale is en_US.utf8.
Strange. I didn't do anything at all... ;(
I guess we close this as a mystery?
It works when cjkuni-ukai-fonts is installed. see #592178
It might also have been a cjkuni packaging issue that got fixed perhaps?