Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
psauxmod.c
Go to the documentation of this file.
1 /***************************************************************************/
2 /* */
3 /* psauxmod.c */
4 /* */
5 /* FreeType auxiliary PostScript module implementation (body). */
6 /* */
7 /* Copyright 2000-2001, 2002, 2003, 2006 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 #include <ft2build.h>
20 #include "psauxmod.h"
21 #include "psobjs.h"
22 #include "t1decode.h"
23 #include "t1cmap.h"
24 
25 #ifndef T1_CONFIG_OPTION_NO_AFM
26 #include "afmparse.h"
27 #endif
28 
29 
32  {
37  };
38 
39 
42  {
56  };
57 
58 
61  {
70  };
71 
72 
75  {
79  };
80 
81 
82 #ifndef T1_CONFIG_OPTION_NO_AFM
85  {
89  };
90 #endif
91 
92 
95  {
100  };
101 
102 
103  static
104  const PSAux_Interface psaux_interface =
105  {
110  t1_decrypt,
111 
112  (const T1_CMap_ClassesRec*) &t1_cmap_classes,
113 
114 #ifndef T1_CONFIG_OPTION_NO_AFM
115  &afm_parser_funcs,
116 #else
117  0,
118 #endif
119  };
120 
121 
124  {
125  0,
126  sizeof ( FT_ModuleRec ),
127  "psaux",
128  0x20000L,
129  0x20000L,
130 
131  &psaux_interface, /* module-specific interface */
132 
136  };
137 
138 
139 /* END */
FT_Error(* FT_Module_Constructor)(FT_Module module)
Definition: ftmodapi.h:121
t1_builder_done(T1_Builder builder)
Definition: psobjs.c:1578
t1_builder_add_point1(T1_Builder builder, FT_Pos x, FT_Pos y)
Definition: psobjs.c:1623
FT_CALLBACK_TABLE_DEF const AFM_Parser_FuncsRec afm_parser_funcs
Definition: psauxmod.c:84
afm_parser_parse(AFM_Parser parser)
Definition: afmparse.c:845
ps_parser_load_field_table(PS_Parser parser, const T1_Field field, void **objects, FT_UInt max_objects, FT_ULong *pflags)
Definition: psobjs.c:1294
t1_builder_start_point(T1_Builder builder, FT_Pos x, FT_Pos y)
Definition: psobjs.c:1675
ps_parser_done(PS_Parser parser)
Definition: psobjs.c:1487
struct FT_ModuleRec_ FT_ModuleRec
ps_parser_to_fixed(PS_Parser parser, FT_Int power_ten)
Definition: psobjs.c:1422
ps_parser_skip_PS_token(PS_Parser parser)
Definition: psobjs.c:514
ps_parser_to_fixed_array(PS_Parser parser, FT_Int max_values, FT_Fixed *values, FT_Int power_ten)
Definition: psobjs.c:1442
ps_parser_to_token(PS_Parser parser, T1_Token token)
Definition: psobjs.c:619
afm_parser_done(AFM_Parser parser)
Definition: afmparse.c:554
ps_table_new(PS_Table table, FT_Int count, FT_Memory memory)
Definition: psobjs.c:69
t1_decoder_init(T1_Decoder decoder, FT_Face face, FT_Size size, FT_GlyphSlot slot, FT_Byte **glyph_names, PS_Blend blend, FT_Bool hinting, FT_Render_Mode hint_mode, T1_Decoder_Callback parse_callback)
Definition: t1decode.c:1566
FT_CALLBACK_TABLE_DEF const T1_Builder_FuncsRec t1_builder_funcs
Definition: psauxmod.c:60
ps_table_add(PS_Table table, FT_Int idx, void *object, FT_PtrDist length)
Definition: psobjs.c:168
FT_CALLBACK_TABLE_DEF const PS_Parser_FuncsRec ps_parser_funcs
Definition: psauxmod.c:41
FT_CALLBACK_TABLE_DEF const FT_Module_Class psaux_module_class
Definition: psauxmod.c:123
FT_Module_Interface(* FT_Module_Requester)(FT_Module module, const char *name)
Definition: ftmodapi.h:153
FT_CALLBACK_TABLE_DEF const T1_Decoder_FuncsRec t1_decoder_funcs
Definition: psauxmod.c:74
ps_parser_skip_spaces(PS_Parser parser)
Definition: psobjs.c:609
FT_CALLBACK_TABLE_DEF const T1_CMap_ClassesRec t1_cmap_classes
Definition: psauxmod.c:94
ps_table_release(PS_Table table)
Definition: psobjs.c:264
ps_parser_load_field(PS_Parser parser, const T1_Field field, void **objects, FT_UInt max_objects, FT_ULong *pflags)
Definition: psobjs.c:1024
ps_parser_to_int(PS_Parser parser)
Definition: psobjs.c:1359
t1_decoder_parse_charstrings(T1_Decoder decoder, FT_Byte *charstring_base, FT_UInt charstring_len)
Definition: t1decode.c:361
ps_table_done(PS_Table table)
Definition: psobjs.c:240
FT_CALLBACK_TABLE_DEF const FT_CMap_ClassRec t1_cmap_standard_class_rec
Definition: t1cmap.c:131
t1_builder_close_contour(T1_Builder builder)
Definition: psobjs.c:1700
t1_decrypt(FT_Byte *buffer, FT_Offset length, FT_UShort seed)
Definition: psobjs.c:1753
FT_CALLBACK_TABLE_DEF const FT_CMap_ClassRec t1_cmap_unicode_class_rec
Definition: t1cmap.c:328
#define FT_CALLBACK_TABLE_DEF
Definition: ftconfig.h:333
ps_parser_to_bytes(PS_Parser parser, FT_Byte *bytes, FT_Offset max_bytes, FT_Long *pnum_bytes, FT_Bool delimiters)
Definition: psobjs.c:1369
ps_parser_to_coord_array(PS_Parser parser, FT_Int max_coords, FT_Short *coords)
Definition: psobjs.c:1431
afm_parser_init(AFM_Parser parser, FT_Memory memory, FT_Byte *base, FT_Byte *limit)
Definition: afmparse.c:526
void(* FT_Module_Destructor)(FT_Module module)
Definition: ftmodapi.h:136
t1_builder_add_point(T1_Builder builder, FT_Pos x, FT_Pos y, FT_Byte flag)
Definition: psobjs.c:1599
ps_parser_init(PS_Parser parser, FT_Byte *base, FT_Byte *limit, FT_Memory memory)
Definition: psobjs.c:1472
t1_builder_add_contour(T1_Builder builder)
Definition: psobjs.c:1640
t1_builder_init(T1_Builder builder, FT_Face face, FT_Size size, FT_GlyphSlot glyph, FT_Bool hinting)
Definition: psobjs.c:1522
FT_CALLBACK_TABLE_DEF const FT_CMap_ClassRec t1_cmap_custom_class_rec
Definition: t1cmap.c:245
t1_decoder_done(T1_Decoder decoder)
Definition: t1decode.c:1614
ps_parser_to_token_array(PS_Parser parser, T1_Token tokens, FT_UInt max_tokens, FT_Int *pnum_tokens)
Definition: psobjs.c:722
t1_builder_check_points(T1_Builder builder, FT_Int count)
Definition: psobjs.c:1590
FT_CALLBACK_TABLE_DEF const FT_CMap_ClassRec t1_cmap_expert_class_rec
Definition: t1cmap.c:152
FT_CALLBACK_TABLE_DEF const PS_Table_FuncsRec ps_table_funcs
Definition: psauxmod.c:31