After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 121069 - Gimp crashes when selecting webdings font
Gimp crashes when selecting webdings font
Status: RESOLVED DUPLICATE of bug 86150
Product: pango
Classification: Platform
Component: general
1.2.x
Other Linux
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2003-08-30 15:30 UTC by imm
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description imm 2003-08-30 15:30:18 UTC
Description of Problem:
When selecting ms-webdings font in the texttool
gimp crashes with following message:

** (gimp-1.3:1398): WARNING **: Unable to load
unicode charmap from font file
/usr/X11R6/lib/X11/fonts/TTF/wingding.ttf

** (gimp-1.3:1398): WARNING **: Unable to open
font file
/usr/X11R6/lib/X11/fonts/TTF/wingding.ttf for font
Wingdings 18, falling back to
/usr/X11R6/lib/X11/fonts/TTF/webdings.ttf


** (gimp-1.3:1398): WARNING **: Unable to load
unicode charmap from file
/usr/X11R6/lib/X11/fonts/TTF/webdings.ttf, exiting


(script-fu:1553): LibGimpBase-WARNING **:
script-fu: wire_read(): error 


Steps to reproduce the problem:
1. open texttool
2. select webdings font
3. see the crash

Actual Results:
crash


Expected Results:
no crash as with the gtk2 font dialog of xfce4 or
with qt apps. 


How often does this happen? 
ever

Additional Information:
Comment 1 Sven Neumann 2003-08-31 09:48:36 UTC
Definitely doesn't crash for me. What versions of PangoFT2 and
FreeType2 are you using?
Comment 2 imm 2003-08-31 10:32:34 UTC
I can reproduce it with freetype 2.1.4 or 2.1.5 from cvs and pango
1.2.3 or 1.2.5.
Comment 3 Sven Neumann 2003-08-31 10:56:19 UTC
Hmm, what version of fontconfig? Sorry, that I forgot to ask this in
the first reply.

The fact that WebDings cannot be used is due to a missing Unicode
character table (see bug #101856) in the font file. However this
should not cause GIMP to crash.

If possible, could you please run gimp in gdb and provide a stack-trace.
Comment 4 Sven Neumann 2003-08-31 11:59:49 UTC
It seems Pango chooses a non-working fallback font here. When it
figures out that the fallback font doesn't work, it exits. Will
reassign this report to Pango.
Comment 5 Owen Taylor 2003-09-02 15:55:06 UTC
This looks like a broken font configuration. It looks to
me that possibly the only fonts on the system are fonts
without Unicode character maps.

What do you think Pango should be doing here, Sven?
Comment 6 Sven Neumann 2003-09-02 16:49:05 UTC
I think it should try not to exit. We could attempt to create an empty
font (or one that has just a single glyph) as a fallback.
Comment 7 Sven Neumann 2003-09-02 16:50:53 UTC
Could the reporter please provide the output of fc-list ? And please
make sure that the problem is reproducable with that font configuration.
Comment 8 Owen Taylor 2003-09-03 14:18:49 UTC
Resolving as a duplicate of the "ship a font with Pango to
deal with impossibly broken configs" bug.


*** This bug has been marked as a duplicate of 86150 ***