OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* cidriver.c */ | 3 /* cidriver.c */ |
4 /* */ | 4 /* */ |
5 /* CID driver interface (body). */ | 5 /* CID driver interface (body). */ |
6 /* */ | 6 /* */ |
7 /* Copyright 1996-2004, 2006, 2008, 2009, 2011, 2013 by */ | 7 /* Copyright 1996-2015 by */ |
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ | 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
9 /* */ | 9 /* */ |
10 /* This file is part of the FreeType project, and may only be used, */ | 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 */ | 11 /* modified, and distributed under the terms of the FreeType project */ |
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ | 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
13 /* this file you indicate that you have read the license and */ | 13 /* this file you indicate that you have read the license and */ |
14 /* understand and accept it fully. */ | 14 /* understand and accept it fully. */ |
15 /* */ | 15 /* */ |
16 /***************************************************************************/ | 16 /***************************************************************************/ |
17 | 17 |
18 | 18 |
19 #include <ft2build.h> | 19 #include <ft2build.h> |
20 #include "cidriver.h" | 20 #include "cidriver.h" |
21 #include "cidgload.h" | 21 #include "cidgload.h" |
22 #include FT_INTERNAL_DEBUG_H | 22 #include FT_INTERNAL_DEBUG_H |
23 | 23 |
24 #include "ciderrs.h" | 24 #include "ciderrs.h" |
25 | 25 |
26 #include FT_SERVICE_POSTSCRIPT_NAME_H | 26 #include FT_SERVICE_POSTSCRIPT_NAME_H |
27 #include FT_SERVICE_XFREE86_NAME_H | 27 #include FT_SERVICE_FONT_FORMAT_H |
28 #include FT_SERVICE_POSTSCRIPT_INFO_H | 28 #include FT_SERVICE_POSTSCRIPT_INFO_H |
29 #include FT_SERVICE_CID_H | 29 #include FT_SERVICE_CID_H |
30 | 30 |
31 | 31 |
32 /*************************************************************************/ | 32 /*************************************************************************/ |
33 /* */ | 33 /* */ |
34 /* The macro FT_COMPONENT is used in trace mode. It is an implicit */ | 34 /* The macro FT_COMPONENT is used in trace mode. It is an implicit */ |
35 /* parameter of the FT_TRACE() and FT_ERROR() macros, used to print/log */ | 35 /* parameter of the FT_TRACE() and FT_ERROR() macros, used to print/log */ |
36 /* messages during execution. */ | 36 /* messages during execution. */ |
37 /* */ | 37 /* */ |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 }; | 161 }; |
162 | 162 |
163 | 163 |
164 /* | 164 /* |
165 * SERVICE LIST | 165 * SERVICE LIST |
166 * | 166 * |
167 */ | 167 */ |
168 | 168 |
169 static const FT_ServiceDescRec cid_services[] = | 169 static const FT_ServiceDescRec cid_services[] = |
170 { | 170 { |
171 { FT_SERVICE_ID_XF86_NAME, FT_XF86_FORMAT_CID }, | 171 { FT_SERVICE_ID_FONT_FORMAT, FT_FONT_FORMAT_CID }, |
172 { FT_SERVICE_ID_POSTSCRIPT_FONT_NAME, &cid_service_ps_name }, | 172 { FT_SERVICE_ID_POSTSCRIPT_FONT_NAME, &cid_service_ps_name }, |
173 { FT_SERVICE_ID_POSTSCRIPT_INFO, &cid_service_ps_info }, | 173 { FT_SERVICE_ID_POSTSCRIPT_INFO, &cid_service_ps_info }, |
174 { FT_SERVICE_ID_CID, &cid_service_cid_info }, | 174 { FT_SERVICE_ID_CID, &cid_service_cid_info }, |
175 { NULL, NULL } | 175 { NULL, NULL } |
176 }; | 176 }; |
177 | 177 |
178 | 178 |
179 FT_CALLBACK_DEF( FT_Module_Interface ) | 179 FT_CALLBACK_DEF( FT_Module_Interface ) |
180 cid_get_interface( FT_Module module, | 180 cid_get_interface( FT_Module module, |
181 const char* cid_interface ) | 181 const char* cid_interface ) |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 0, /* FT_Face_AttachFunc */ | 227 0, /* FT_Face_AttachFunc */ |
228 | 228 |
229 0, /* FT_Face_GetAdvancesFunc */ | 229 0, /* FT_Face_GetAdvancesFunc */ |
230 | 230 |
231 cid_size_request, | 231 cid_size_request, |
232 0 /* FT_Size_SelectFunc */ | 232 0 /* FT_Size_SelectFunc */ |
233 }; | 233 }; |
234 | 234 |
235 | 235 |
236 /* END */ | 236 /* END */ |
OLD | NEW |