Freetype Segfault (0.90 RC1)
- From: "Young, Robert" <Robert Young dsto defence gov au>
- To: "Dia Mailing List (E-mail)" <dia-list gnome org>
- Subject: Freetype Segfault (0.90 RC1)
- Date: Fri, 17 May 2002 12:49:51 +0930
In 0.90 RC1, under RH7.3, a segfault can occur if a font face does not have
a family_name e.g. wadalab-gothic.ttf
To stop this happening, a simple check is required.
in lib/font.c at line 583 (in freetype_add_font, after the if (error) { } )
please insert
if (face->family_name == NULL)
return;
Or, should we handle this differently?
Regards,
Rob.
P.S. Sorry this isn't a diff - I have made tooo many changes to lib/font.c
before this one.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]