|
|
|
@ -190,46 +190,42 @@ |
|
|
|
|
FT_CALLBACK_TABLE_DEF |
|
|
|
|
const FT_Driver_ClassRec t1cid_driver_class = |
|
|
|
|
{ |
|
|
|
|
/* first of all, the FT_Module_Class fields */ |
|
|
|
|
{ |
|
|
|
|
FT_MODULE_FONT_DRIVER | |
|
|
|
|
FT_MODULE_DRIVER_SCALABLE | |
|
|
|
|
FT_MODULE_DRIVER_HAS_HINTER, |
|
|
|
|
|
|
|
|
|
sizeof ( FT_DriverRec ), |
|
|
|
|
|
|
|
|
|
"t1cid", /* module name */ |
|
|
|
|
0x10000L, /* version 1.0 of driver */ |
|
|
|
|
0x20000L, /* requires FreeType 2.0 */ |
|
|
|
|
|
|
|
|
|
0, |
|
|
|
|
0, /* module-specific interface */ |
|
|
|
|
|
|
|
|
|
cid_driver_init, |
|
|
|
|
cid_driver_done, |
|
|
|
|
cid_get_interface |
|
|
|
|
cid_driver_init, /* FT_Module_Constructor module_init */ |
|
|
|
|
cid_driver_done, /* FT_Module_Destructor module_done */ |
|
|
|
|
cid_get_interface /* FT_Module_Requester get_interface */ |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
/* then the other font drivers fields */ |
|
|
|
|
sizeof ( CID_FaceRec ), |
|
|
|
|
sizeof ( CID_SizeRec ), |
|
|
|
|
sizeof ( CID_GlyphSlotRec ), |
|
|
|
|
|
|
|
|
|
cid_face_init, |
|
|
|
|
cid_face_done, |
|
|
|
|
|
|
|
|
|
cid_size_init, |
|
|
|
|
cid_size_done, |
|
|
|
|
cid_slot_init, |
|
|
|
|
cid_slot_done, |
|
|
|
|
|
|
|
|
|
cid_slot_load_glyph, |
|
|
|
|
cid_face_init, /* FT_Face_InitFunc init_face */ |
|
|
|
|
cid_face_done, /* FT_Face_DoneFunc done_face */ |
|
|
|
|
cid_size_init, /* FT_Size_InitFunc init_size */ |
|
|
|
|
cid_size_done, /* FT_Size_DoneFunc done_size */ |
|
|
|
|
cid_slot_init, /* FT_Slot_InitFunc init_slot */ |
|
|
|
|
cid_slot_done, /* FT_Slot_DoneFunc done_slot */ |
|
|
|
|
|
|
|
|
|
0, /* FT_Face_GetKerningFunc */ |
|
|
|
|
0, /* FT_Face_AttachFunc */ |
|
|
|
|
cid_slot_load_glyph, /* FT_Slot_LoadFunc load_glyph */ |
|
|
|
|
|
|
|
|
|
0, /* FT_Face_GetAdvancesFunc */ |
|
|
|
|
0, /* FT_Face_GetKerningFunc get_kerning */ |
|
|
|
|
0, /* FT_Face_AttachFunc attach_file */ |
|
|
|
|
0, /* FT_Face_GetAdvancesFunc get_advances */ |
|
|
|
|
|
|
|
|
|
cid_size_request, |
|
|
|
|
0 /* FT_Size_SelectFunc */ |
|
|
|
|
cid_size_request, /* FT_Size_RequestFunc request_size */ |
|
|
|
|
0 /* FT_Size_SelectFunc select_size */ |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|