1
/***************************************************************************/
5
/* FreeType API for accessing CID font information (specification). */
7
/* Copyright 2007, 2009 by Dereg Clegg, Michael Toftdal. */
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
/***************************************************************************/
22
#include FT_FREETYPE_H
25
#error "freetype.h of FreeType 1 has been loaded!"
26
#error "Please fix the directory search order for header files"
27
#error "so that freetype.h of FreeType 2 is found first."
34
/*************************************************************************/
43
/* CID-keyed font specific API. */
46
/* This section contains the declaration of CID-keyed font specific */
49
/*************************************************************************/
52
/**********************************************************************
55
* FT_Get_CID_Registry_Ordering_Supplement
58
* Retrieve the Registry/Ordering/Supplement triple (also known as the
59
* "R/O/S") from a CID-keyed font.
63
* A handle to the input face.
67
* The registry, as a C~string, owned by the face.
70
* The ordering, as a C~string, owned by the face.
76
* FreeType error code. 0~means success.
79
* This function only works with CID faces, returning an error
86
FT_Get_CID_Registry_Ordering_Supplement( FT_Face face,
87
const char* *registry,
88
const char* *ordering,
92
/**********************************************************************
95
* FT_Get_CID_Is_Internally_CID_Keyed
98
* Retrieve the type of the input face, CID keyed or not. In
99
* constrast to the @FT_IS_CID_KEYED macro this function returns
100
* successfully also for CID-keyed fonts in an SNFT wrapper.
104
* A handle to the input face.
108
* The type of the face as an @FT_Bool.
111
* FreeType error code. 0~means success.
114
* This function only works with CID faces and OpenType fonts,
115
* returning an error otherwise.
120
FT_EXPORT( FT_Error )
121
FT_Get_CID_Is_Internally_CID_Keyed( FT_Face face,
125
/**********************************************************************
128
* FT_Get_CID_From_Glyph_Index
131
* Retrieve the CID of the input glyph index.
135
* A handle to the input face.
138
* The input glyph index.
142
* The CID as an @FT_UInt.
145
* FreeType error code. 0~means success.
148
* This function only works with CID faces and OpenType fonts,
149
* returning an error otherwise.
154
FT_EXPORT( FT_Error )
155
FT_Get_CID_From_Glyph_Index( FT_Face face,
163
#endif /* __FTCID_H__ */