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 160761 - Change of Font to e.g. webdings crashes gnumeric (windows)
Change of Font to e.g. webdings crashes gnumeric (windows)
Status: RESOLVED DUPLICATE of bug 151068
Product: pango
Classification: Platform
Component: win32
unspecified
Other Windows
: High major
: 1.8.0
Assigned To: gtk-win32 maintainers
pango-maint
: 161940 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-12-08 12:03 UTC by Andreas Grabner
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas Grabner 2004-12-08 12:03:37 UTC
Change the Font of one cell with some text in it from e. g. arial to webdings

An error occurs which says:
**ERROR**:file shape.c: line 75 (pango_shape): assertion
failed:(glyphs->num_glyphs > 0)
aborting...
Comment 1 Morten Welinder 2004-12-08 20:18:16 UTC
Looks like a pango problem.
Comment 2 Morten Welinder 2004-12-08 20:19:16 UTC
You should probably let us know what pango version you are using.
Owen: note the OS.
Comment 3 Owen Taylor 2004-12-08 22:42:39 UTC
Reassigning to win32 component... presumably a basic-win32 shaper problem.

(Knowing the version of Pango would help)
Comment 4 Andreas Grabner 2004-12-09 13:34:39 UTC
pango-version which comes with gnumeric-1.3.9?-rc1
Comment 5 Owen Taylor 2004-12-09 13:39:31 UTC
Who's build of gnumeric?
Comment 6 Morten Welinder 2004-12-09 14:28:48 UTC
The build is found at http://www.gnome.org/projects/gnumeric/downloads.shtml
(http://prdownloads.sourceforge.net/gladewin32/gnumeric-1.3.92-rc1.exe)

Re garding the version of Pango, I am told:
<jody> gmorten: likely 1.4 which is what Tor is shipping
Comment 7 Tor Lillqvist 2004-12-11 02:19:33 UTC
Does this happen with "normal" fonts, too, or just symbol fonts like Webdings?
Comment 8 Andreas Grabner 2004-12-11 12:35:27 UTC
at least arial an sans worked fine - I can not check now but i think it depends
to symbol fonts
I cna check this maybe Monday if needed.
Comment 9 Dominic Lachowicz 2004-12-13 16:15:25 UTC
i have seen this happen with Marlett and Symbol too, which are also symbol
fonts. oddly enough, Dingbats works fine. i have not experienced problems with
sans, courier, times, helvetica, or other "normal" fonts...

http://www.gnome.org/~jody/gnumeric/win32/gnumeric-1.4.1-rc1.exe

this uses pango 1.4.x

since it causes the calling application to abort, i'm going to increase the
severity.
Comment 10 Tor Lillqvist 2004-12-13 22:14:38 UTC
On the other hand, one thinks the user would get the hint relatively 
quickly, "don't try to use symbol fonts"? (That doesn't mean it should be 
allowed to crash, of course.)
Comment 11 Owen Taylor 2004-12-16 04:14:33 UTC
Looks the same as bug 151068 ... if the basic-win32 shaper can't use
the font it is returning an empty glyph string.


*** This bug has been marked as a duplicate of 151068 ***
Comment 12 Morten Welinder 2004-12-22 21:28:53 UTC
*** Bug 161940 has been marked as a duplicate of this bug. ***