* include/freetype/internal/t1types.h (T1_FontRec): `paint_type' and `stroke_width' aren't pointers. * src/type42/t42objs.c (T42_Face_Done), src/type1/t1objs.c (T1_Face_Done): Don't free `paint_type' and `stroke_width'.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
diff --git a/ChangeLog b/ChangeLog
index 093f2df..5b2aa8f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-10-21 Josselin Mouette <joss@debian.org>
+
+ * include/freetype/internal/t1types.h (T1_FontRec): `paint_type'
+ and `stroke_width' aren't pointers.
+
+ * src/type42/t42objs.c (T42_Face_Done), src/type1/t1objs.c
+ (T1_Face_Done): Don't free `paint_type' and `stroke_width'.
+
2003-10-20 Graham Asher <graham.asher@btinternet.com>
* src/winfonts/winfnt.c (fnt_cmap_class): Fix position of `const'.
diff --git a/include/freetype/internal/t1types.h b/include/freetype/internal/t1types.h
index c688067..3d290d5 100644
--- a/include/freetype/internal/t1types.h
+++ b/include/freetype/internal/t1types.h
@@ -109,14 +109,14 @@ FT_BEGIN_HEADER
FT_Byte** charstrings; /* array of glyph charstrings */
FT_Int* charstrings_len;
- FT_Byte* paint_type;
+ FT_Byte paint_type;
FT_Byte font_type;
FT_Matrix font_matrix;
FT_Vector font_offset;
FT_BBox font_bbox;
FT_Long font_id;
- FT_Fixed* stroke_width;
+ FT_Fixed stroke_width;
} T1_FontRec, *T1_Font;
diff --git a/src/type1/t1objs.c b/src/type1/t1objs.c
index 94452f5..3959885 100644
--- a/src/type1/t1objs.c
+++ b/src/type1/t1objs.c
@@ -229,9 +229,6 @@
FT_FREE( type1->encoding.char_name );
FT_FREE( type1->font_name );
- FT_FREE( type1->paint_type );
- FT_FREE( type1->stroke_width );
-
#ifndef T1_CONFIG_OPTION_NO_AFM
/* release afm data if present */
if ( face->afm_data )
diff --git a/src/type42/t42objs.c b/src/type42/t42objs.c
index c4ce3fe..685c380 100644
--- a/src/type42/t42objs.c
+++ b/src/type42/t42objs.c
@@ -401,9 +401,6 @@
FT_FREE( type1->encoding.char_name );
FT_FREE( type1->font_name );
- FT_FREE( type1->paint_type );
- FT_FREE( type1->stroke_width );
-
FT_FREE( face->ttf_data );
#if 0