librsvg r1173 - trunk
- From: doml svn gnome org
- To: svn-commits-list gnome org
- Subject: librsvg r1173 - trunk
- Date: Tue, 26 Aug 2008 17:47:17 +0000 (UTC)
Author: doml
Date: Tue Aug 26 17:47:17 2008
New Revision: 1173
URL: http://svn.gnome.org/viewvc/librsvg?rev=1173&view=rev
Log:
2008-08-26 Dominic Lachowicz <domlachowicz gmail com>
* rsvg-text.c: #524835 - nautilus crashed with SIGSEGV
Modified:
trunk/ChangeLog
trunk/rsvg-text.c
Modified: trunk/rsvg-text.c
==============================================================================
--- trunk/rsvg-text.c (original)
+++ trunk/rsvg-text.c Tue Aug 26 17:47:17 2008
@@ -766,9 +766,11 @@
face = pango_ft2_font_get_face (font);
- FT_Load_Glyph (face, (FT_UInt) pango_glyph, flags);
+ if (0 != FT_Load_Glyph (face, (FT_UInt) pango_glyph, flags))
+ return;
- FT_Get_Glyph (face->glyph, &glyph);
+ if (0 != FT_Get_Glyph (face->glyph, &glyph))
+ return;
if (face->glyph->format == FT_GLYPH_FORMAT_OUTLINE) {
FT_OutlineGlyph outline_glyph = (FT_OutlineGlyph) glyph;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]