]> git.pld-linux.org Git - packages/libwmf.git/blame - libwmf-segv.patch
- merge from DEVEL (0.2.6 - not for Ra)
[packages/libwmf.git] / libwmf-segv.patch
CommitLineData
75d7a789
JB
1--- libwmf-0.2.2/src/ipa/ipa/font.h.orig Wed Feb 20 23:35:46 2002
2+++ libwmf-0.2.2/src/ipa/ipa/font.h Wed Feb 20 23:38:11 2002
3@@ -530,6 +530,8 @@
4
5 FT_Set_Transform (face,0,0);
6
7+ if (!face)
8+ return 0;
9 use_kerning = FT_HAS_KERNING (face);
10
11 previous = 0;
12@@ -579,6 +579,9 @@
13
14 FT_Set_Transform (face,0,0);
15
16+ if (!face)
17+ return 0;
18+
19 use_kerning = FT_HAS_KERNING (face);
20
21 previous = 0;
22--- libwmf-0.2.2/src/ipa/xgd/font.h.orig Tue Oct 16 10:11:43 2001
23+++ libwmf-0.2.2/src/ipa/xgd/font.h Wed Feb 20 23:49:50 2002
24@@ -119,6 +119,9 @@
25
26 FT_Load_Char (face,draw_text->str[0],FT_LOAD_RENDER);
27
28+ if (!face)
29+ return;
30+
31 pt.x += face->glyph->bitmap_left;
32 pt.y -= face->glyph->bitmap_top;
33
This page took 0.061748 seconds and 4 git commands to generate.