1 /***************************************************************************/
5 /* FreeType API for accessing CID font information. */
7 /* Copyright 2007 by Derek Clegg. */
9 /* This file is part of the FreeType project, and may only be used, */
10 /* modified, and distributed under the terms of the FreeType project */
11 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
12 /* this file you indicate that you have read the license and */
13 /* understand and accept it fully. */
15 /***************************************************************************/
19 #include FT_INTERNAL_OBJECTS_H
20 #include FT_SERVICE_CID_H
23 /* documentation is in ftcid.h */
25 FT_EXPORT_DEF( FT_Error
)
26 FT_Get_CID_Registry_Ordering_Supplement( FT_Face face
,
27 const char* *registry
,
28 const char* *ordering
,
37 error
= FT_Err_Invalid_Argument
;
41 FT_Service_CID service
;
44 FT_FACE_FIND_SERVICE( face
, service
, CID
);
46 if ( service
&& service
->get_ros
)
47 error
= service
->get_ros( face
, &r
, &o
, &s
);