GNOME Bugzilla – Bug 51650
PangoFontMetrics crash
Last modified: 2004-12-22 21:47:04 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"
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.
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.