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 51650 - PangoFontMetrics crash
PangoFontMetrics crash
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
0.x
Other All
: Normal normal
: 1.0.0
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2001-03-04 18:11 UTC by Havoc Pennington
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Havoc Pennington 2001-03-04 18:11:38 UTC
From Sven: "The code to calculate the approximate_char_width in pangox.c
will crash in line 606 if get_font_metrics_from_subfonts()
is ever called with an empty list of subfonts and from a quick
look at the code I got the impression that this might happen"
Comment 1 Owen Taylor 2001-11-26 16:46:27 UTC
Looks like to me that this can only happen if things are horribly
misconfigured - say, your $(sysconfdir)/pango/pango.modules
is missing and Pango can't find _any_ shapers.
Comment 2 Owen Taylor 2002-01-24 01:44:30 UTC
Seems to have been fixed as of:

Tue May  1 23:30:53 2001  Owen Taylor  <otaylor@redhat.com>

	* pango/pangox.c (get_font_metrics_from_string): Fix assorted
	brokenness.