]> git.saurik.com Git - wxWidgets.git/blob - src/freetype/type1z/z1load.h
fixed typo (IsOK instead of IsOk)
[wxWidgets.git] / src / freetype / type1z / z1load.h
1 /***************************************************************************/
2 /* */
3 /* z1load.h */
4 /* */
5 /* Experimental Type 1 font loader (specification). */
6 /* */
7 /* Copyright 1996-2000 by */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9 /* */
10 /* This file is part of the FreeType project, and may only be used, */
11 /* modified, and distributed under the terms of the FreeType project */
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 /* this file you indicate that you have read the license and */
14 /* understand and accept it fully. */
15 /* */
16 /***************************************************************************/
17
18
19 #ifndef Z1LOAD_H
20 #define Z1LOAD_H
21
22 #include <freetype/internal/ftstream.h>
23 #include <freetype/internal/t1types.h>
24 #include <freetype/ftmm.h>
25
26
27 #ifdef FT_FLAT_COMPILE
28
29 #include "z1parse.h"
30
31 #else
32
33 #include <type1z/z1parse.h>
34
35 #endif
36
37
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41
42 typedef struct Z1_Loader_
43 {
44 Z1_Parser parser; /* parser used to read the stream */
45
46 FT_Int num_chars; /* number of characters in encoding */
47 Z1_Table encoding_table; /* Z1_Table used to store the */
48 /* encoding character names */
49
50 FT_Int num_glyphs;
51 Z1_Table glyph_names;
52 Z1_Table charstrings;
53
54 FT_Int num_subrs;
55 Z1_Table subrs;
56 FT_Bool fontdata;
57
58 } Z1_Loader;
59
60
61 LOCAL_DEF
62 FT_Error Z1_Open_Face( T1_Face face );
63
64 #ifndef Z1_CONFIG_OPTION_NO_MM_SUPPORT
65
66 LOCAL_DEF
67 FT_Error Z1_Get_Multi_Master( T1_Face face,
68 FT_Multi_Master* master );
69
70 LOCAL_DEF
71 FT_Error Z1_Set_MM_Blend( T1_Face face,
72 FT_UInt num_coords,
73 FT_Fixed* coords );
74
75 LOCAL_DEF
76 FT_Error Z1_Set_MM_Design( T1_Face face,
77 FT_UInt num_coords,
78 FT_Long* coords );
79
80 LOCAL_DEF
81 void Z1_Done_Blend( T1_Face face );
82
83 #endif /* !Z1_CONFIG_OPTION_NO_MM_SUPPORT */
84
85
86 #ifdef __cplusplus
87 }
88 #endif
89
90 #endif /* Z1LOAD_H */
91
92
93 /* END */