ReactOS 0.4.16-dev-1172-g2041f3c
svcid.h
Go to the documentation of this file.
1/****************************************************************************
2 *
3 * svcid.h
4 *
5 * The FreeType CID font services (specification).
6 *
7 * Copyright (C) 2007-2019 by
8 * Derek Clegg and Michael Toftdal.
9 *
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
12 * license, LICENSE.TXT. By continuing to use, modify, or distribute
13 * this file you indicate that you have read the license and
14 * understand and accept it fully.
15 *
16 */
17
18
19#ifndef SVCID_H_
20#define SVCID_H_
21
22#include FT_INTERNAL_SERVICE_H
23
24
26
27
28#define FT_SERVICE_ID_CID "CID"
29
30 typedef FT_Error
32 const char* *registry,
33 const char* *ordering,
35 typedef FT_Error
37 FT_Bool *is_cid );
38 typedef FT_Error
40 FT_UInt glyph_index,
41 FT_UInt *cid );
42
44 {
47 FT_CID_GetCIDFromGlyphIndexFunc get_cid_from_glyph_index;
48 };
49
50
51#define FT_DEFINE_SERVICE_CIDREC( class_, \
52 get_ros_, \
53 get_is_cid_, \
54 get_cid_from_glyph_index_ ) \
55 static const FT_Service_CIDRec class_ = \
56 { \
57 get_ros_, get_is_cid_, get_cid_from_glyph_index_ \
58 };
59
60 /* */
61
62
64
65
66#endif /* SVCID_H_ */
67
68
69/* END */
const char const char FT_Int * supplement
Definition: cffdrivr.c:700
const char ** registry
Definition: cffdrivr.c:697
WORD face[3]
Definition: mesh.c:4747
#define FT_END_HEADER
Definition: ftheader.h:54
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
#define FT_DEFINE_SERVICE(name)
Definition: ftserv.h:480
FT_BEGIN_HEADER typedef unsigned char FT_Bool
Definition: fttypes.h:108
int FT_Error
Definition: fttypes.h:299
unsigned int FT_UInt
Definition: fttypes.h:231
signed int FT_Int
Definition: fttypes.h:220
static enum @1001 ordering
static TfClientId cid
FT_Error(* FT_CID_GetCIDFromGlyphIndexFunc)(FT_Face face, FT_UInt glyph_index, FT_UInt *cid)
Definition: svcid.h:39
FT_Error(* FT_CID_GetIsInternallyCIDKeyedFunc)(FT_Face face, FT_Bool *is_cid)
Definition: svcid.h:36
FT_Error(* FT_CID_GetRegistryOrderingSupplementFunc)(FT_Face face, const char **registry, const char **ordering, FT_Int *supplement)
Definition: svcid.h:31