summaryrefslogtreecommitdiff
path: root/include/freetype/internal/t1types.h
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2002-03-28 08:07:16 +0000
committerWerner Lemberg <wl@gnu.org>2002-03-28 08:07:16 +0000
commit1305f2616da2a0207fa9708c77f48cc9daf88253 (patch)
tree67eba1c58a7c8b74a10ff3abdb84bcd5086ff86a /include/freetype/internal/t1types.h
parent94dbf7f0222d9585ea60166d4146c475cd888137 (diff)
downloadfreetype2-1305f2616da2a0207fa9708c77f48cc9daf88253.tar.gz
* include/freetype/internal/psaux.h (PSAux_ServiceRec): Fix
compiler warnings. * include/freetype/internal/t1types.h (T1_FaceRec): Use `const' for some members. * src/base/ftapi.c (FT_New_Memory_Stream): Fix typos. * src/psaux/t1cmap.c (t1_cmap_std_init, t1_cmap_unicode_init): Add cast. (t1_cmap_{standard,expert,custom,unicode}_class_rec): Use `FT_CALLBACK_TABLE_DEF'. * src/psaux/t1cmap.h: Updated. * src/sfnt/ttcmap0.c (TT_Build_CMaps): Use `ft_encoding_none' instead of zero. * src/type1/t1objs.c (T1_Face_Init): Use casts.
Diffstat (limited to 'include/freetype/internal/t1types.h')
-rw-r--r--include/freetype/internal/t1types.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/freetype/internal/t1types.h b/include/freetype/internal/t1types.h
index aa6e6cb84..ea5c07294 100644
--- a/include/freetype/internal/t1types.h
+++ b/include/freetype/internal/t1types.h
@@ -165,18 +165,18 @@ FT_BEGIN_HEADER
{
FT_FaceRec root;
T1_FontRec type1;
- void* psnames;
- void* psaux;
- void* afm_data;
+ const void* psnames;
+ const void* psaux;
+ const void* afm_data;
FT_CharMapRec charmaprecs[2];
FT_CharMap charmaps[2];
PS_Unicodes unicode_map;
/* support for Multiple Masters fonts */
- PS_Blend blend;
+ PS_Blend blend;
/* since FT 2.1 - interface to PostScript hinter */
- void* pshinter;
+ const void* pshinter;
} T1_FaceRec;