summaryrefslogtreecommitdiff
path: root/src/type42
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2008-09-22 08:55:44 +0000
committerWerner Lemberg <wl@gnu.org>2008-09-22 08:55:44 +0000
commitbd0f71aa960cdaf0cdeea26d47792e9d13520bf8 (patch)
tree9bffc659d31255c7d13fc6bb9c68bd8254721565 /src/type42
parent815e186f1a7da17d688611942b9915c2d58da5be (diff)
Fix Savannah bug #24307.
* include/freetype/internal/t1types.h (CID_FaceRec), src/type42/t42types.h (T42_FaceRec): Comment out `afm_data'. * src/smooth/ftgrays.c (gray_raster_render): Don't dereference `target_map' if FT_RASTER_FLAG_DIRECT is set. Problem reported by Stephan T. Lavavej <stl@nuwen.net>.
Diffstat (limited to 'src/type42')
-rw-r--r--src/type42/t42types.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/type42/t42types.h b/src/type42/t42types.h
index 6626b044..c7c2db49 100644
--- a/src/type42/t42types.h
+++ b/src/type42/t42types.h
@@ -4,7 +4,7 @@
/* */
/* Type 42 font data types (specification only). */
/* */
-/* Copyright 2002, 2003, 2006 by Roberto Alameda. */
+/* Copyright 2002, 2003, 2006, 2008 by Roberto Alameda. */
/* */
/* This file is part of the FreeType project, and may only be used, */
/* modified, and distributed under the terms of the FreeType project */
@@ -35,7 +35,9 @@ FT_BEGIN_HEADER
T1_FontRec type1;
const void* psnames;
const void* psaux;
+#if 0
const void* afm_data;
+#endif
FT_Byte* ttf_data;
FT_ULong ttf_size;
FT_Face ttf_face;
@@ -48,7 +50,7 @@ FT_BEGIN_HEADER
FT_END_HEADER
-#endif /* __T1TYPES_H__ */
+#endif /* __T42TYPES_H__ */
/* END */