<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<
meta http-equiv="Content-Type" content="text/html; charset=utf-8">
body { font-family: Verdana, Geneva, Arial, Helvetica, serif;
color: #000000;
background: #FFFFFF; }
p { text-align: justify; }
h1 { text-align: center; }
li { text-align: justify; }
td { padding: 0 0.5em 0 0.5em; }
td.left { padding: 0 0.5em 0 0.5em;
text-align: left; }
a:link { color: #0000EF; }
a:visited { color: #51188E; }
a:hover { color: #FF0000; }
span.keyword { font-family: monospace;
text-align: left;
white-space: pre;
color: darkblue; }
pre.colored { color: blue; }
ul.empty { list-style-type: none; }
CID Fonts
<
table align=center
cellspacing=5 cellpadding=0 border=0>
<
tr><
td><
/td><
td><
a href="#FT_Get_CID_Registry_Ordering_Supplement">FT_Get_CID_Registry_Ordering_Supplement<
/a><
/td><
/tr>
<
tr><
td><
/td><
td><
a href="#FT_Get_CID_Is_Internally_CID_Keyed">FT_Get_CID_Is_Internally_CID_Keyed<
/a><
/td><
/tr>
<
tr><
td><
/td><
td><
a href="#FT_Get_CID_From_Glyph_Index">FT_Get_CID_From_Glyph_Index<
/a><
/td><
/tr>
<
p>This section contains the declaration of CID-keyed font specific functions.<
/p>
<
h4><
a name="FT_Get_CID_Registry_Ordering_Supplement">FT_Get_CID_Registry_Ordering_Supplement<
/a><
/h4>
Defined in FT_CID_H (freetype/ftcid.h).
<
table align=center
width="87%"><
tr bgcolor="#D6E8FF"><
td><
pre>
FT_EXPORT
( <
a href="ft2-basic_types.html#FT_Error">FT_Error<
/a>
)
<
b>FT_Get_CID_Registry_Ordering_Supplement<
/b>
( <
a href="ft2-base_interface.html#FT_Face">FT_Face<
/a>
face,
<
span class="keyword">const<
/span> <
span class="keyword">char<
/span>* *registry,
<
span class="keyword">const<
/span> <
span class="keyword">char<
/span>* *ordering,
<
a href="ft2-basic_types.html#FT_Int">FT_Int<
/a> *supplement
);
<
p>Retrieve the Registry
/Ordering
/Supplement triple
(also known as the
"R/O/S") from a CID-keyed font.<
/p>
<
table cellpadding=3 border=0>
<
p>A handle to the input
face.<
/p>
<
table cellpadding=3 border=0>
<
p>The registry, as a C string, owned by the
face.<
/p>
<
p>The ordering, as a C string, owned by the
face.<
/p>
<
p>FreeType error
code.
0 means success.<
/p>
<
p>This function only works with CID faces, returning an error otherwise.<
/p>
<
h4><
a name="FT_Get_CID_Is_Internally_CID_Keyed">FT_Get_CID_Is_Internally_CID_Keyed<
/a><
/h4>
Defined in FT_CID_H (freetype/ftcid.h).
<
table align=center
width="87%"><
tr bgcolor="#D6E8FF"><
td><
pre>
FT_EXPORT
( <
a href="ft2-basic_types.html#FT_Error">FT_Error<
/a>
)
<
b>FT_Get_CID_Is_Internally_CID_Keyed<
/b>
( <
a href="ft2-base_interface.html#FT_Face">FT_Face<
/a>
face,
<
a href="ft2-basic_types.html#FT_Bool">FT_Bool<
/a> *is_cid
);
<
p>Retrieve the
type of the input
face, CID keyed or not. In constrast to the <
a href="ft2-base_interface.html#FT_IS_CID_KEYED">FT_IS_CID_KEYED<
/a> macro this function returns successfully also
for CID-keyed fonts in an SNFT wrapper.<
/p>
<
table cellpadding=3 border=0>
<
p>A handle to the input
face.<
/p>
<
table cellpadding=3 border=0>
<
p>The
type of the
face as an <
a href="ft2-basic_types.html#FT_Bool">FT_Bool<
/a>.<
/p>
<
p>FreeType error
code.
0 means success.<
/p>
<
p>This function only works with CID faces and OpenType fonts, returning an error otherwise.<
/p>
<
h4><
a name="FT_Get_CID_From_Glyph_Index">FT_Get_CID_From_Glyph_Index<
/a><
/h4>
Defined in FT_CID_H (freetype/ftcid.h).
<
table align=center
width="87%"><
tr bgcolor="#D6E8FF"><
td><
pre>
FT_EXPORT
( <
a href="ft2-basic_types.html#FT_Error">FT_Error<
/a>
)
<
b>FT_Get_CID_From_Glyph_Index<
/b>
( <
a href="ft2-base_interface.html#FT_Face">FT_Face<
/a>
face,
<
a href="ft2-basic_types.html#FT_UInt">FT_UInt<
/a> glyph_index,
<
a href="ft2-basic_types.html#FT_UInt">FT_UInt<
/a> *cid
);
<
p>Retrieve the CID of the input glyph index.<
/p>
<
table cellpadding=3 border=0>
<
p>A handle to the input
face.<
/p>
<
p>The input glyph index.<
/p>
<
table cellpadding=3 border=0>
<
p>The CID as an <
a href="ft2-basic_types.html#FT_UInt">FT_UInt<
/a>.<
/p>
<
p>FreeType error
code.
0 means success.<
/p>
<
p>This function only works with CID faces and OpenType fonts, returning an error otherwise.<
/p>