diff options
author | Werner Lemberg <wl@gnu.org> | 2015-10-19 08:49:25 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2015-10-19 08:49:25 +0200 |
commit | 5179c89f61aa6b6de00aa01c2e8b7fb6cf3021d0 (patch) | |
tree | 86572a9a6ce34e709fcb389a2a2e1904b03645af /src/cid/cidriver.c | |
parent | 14213b54099dac557c9181922c45c258a32f0185 (diff) | |
download | freetype2-5179c89f61aa6b6de00aa01c2e8b7fb6cf3021d0.tar.gz |
Comments.
Diffstat (limited to 'src/cid/cidriver.c')
-rw-r--r-- | src/cid/cidriver.c | 38 |
1 files changed, 17 insertions, 21 deletions
diff --git a/src/cid/cidriver.c b/src/cid/cidriver.c index 07c4cc410..aca1f2577 100644 --- a/src/cid/cidriver.c +++ b/src/cid/cidriver.c @@ -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 */ }; |