2000-08-24 02:30:24 +02:00
|
|
|
#include <psaux/psauxmod.h>
|
2000-08-23 00:36:33 +02:00
|
|
|
#include <psaux/psobjs.h>
|
|
|
|
#include <psaux/t1decode.h>
|
|
|
|
|
2000-08-23 04:47:57 +02:00
|
|
|
LOCAL_FUNC
|
2000-08-23 00:36:33 +02:00
|
|
|
const PS_Table_Funcs ps_table_funcs =
|
|
|
|
{
|
|
|
|
PS_Table_New,
|
|
|
|
PS_Table_Done,
|
|
|
|
PS_Table_Add,
|
|
|
|
PS_Table_Release
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2000-08-23 04:47:57 +02:00
|
|
|
LOCAL_FUNC
|
2000-08-23 00:36:33 +02:00
|
|
|
const T1_Parser_Funcs t1_parser_funcs =
|
|
|
|
{
|
|
|
|
T1_Init_Parser,
|
|
|
|
T1_Done_Parser,
|
|
|
|
T1_Skip_Spaces,
|
|
|
|
T1_Skip_Alpha,
|
|
|
|
T1_ToInt,
|
|
|
|
T1_ToFixed,
|
|
|
|
T1_ToCoordArray,
|
|
|
|
T1_ToFixedArray,
|
|
|
|
T1_ToToken,
|
|
|
|
T1_ToTokenArray,
|
|
|
|
T1_Load_Field,
|
|
|
|
T1_Load_Field_Table
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2000-08-23 04:47:57 +02:00
|
|
|
LOCAL_FUNC
|
2000-08-23 00:36:33 +02:00
|
|
|
const T1_Builder_Funcs t1_builder_funcs =
|
|
|
|
{
|
|
|
|
T1_Builder_Init,
|
|
|
|
T1_Builder_Done,
|
|
|
|
T1_Builder_Check_Points,
|
|
|
|
T1_Builder_Add_Point,
|
|
|
|
T1_Builder_Add_Point1,
|
|
|
|
T1_Builder_Add_Contour,
|
|
|
|
T1_Builder_Start_Point,
|
|
|
|
T1_Builder_Close_Contour
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2000-08-23 04:47:57 +02:00
|
|
|
LOCAL_FUNC
|
2000-08-23 00:36:33 +02:00
|
|
|
const T1_Decoder_Funcs t1_decoder_funcs =
|
|
|
|
{
|
|
|
|
T1_Decoder_Init,
|
|
|
|
T1_Decoder_Done,
|
|
|
|
T1_Decoder_Parse_Charstrings
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2000-08-23 04:47:57 +02:00
|
|
|
LOCAL_FUNC
|
2000-08-23 00:36:33 +02:00
|
|
|
const PSAux_Interface psaux_interface =
|
|
|
|
{
|
|
|
|
&ps_table_funcs,
|
|
|
|
&t1_parser_funcs,
|
|
|
|
&t1_builder_funcs,
|
|
|
|
&t1_decoder_funcs,
|
|
|
|
|
|
|
|
T1_Decrypt
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
FT_CPLUSPLUS(const FT_Module_Class) psaux_module_class =
|
|
|
|
{
|
|
|
|
0,
|
|
|
|
sizeof( FT_ModuleRec ),
|
|
|
|
"psaux",
|
|
|
|
0x10000L,
|
|
|
|
0x20000L,
|
|
|
|
|
|
|
|
&psaux_interface, /* module-specific interface */
|
|
|
|
|
|
|
|
(FT_Module_Constructor) 0,
|
|
|
|
(FT_Module_Destructor) 0,
|
|
|
|
(FT_Module_Requester) 0
|
|
|
|
};
|
|
|
|
|