ReactOS 0.4.16-dev-2354-g16de117
cffotypes.h
Go to the documentation of this file.
1/****************************************************************************
2 *
3 * cffotypes.h
4 *
5 * Basic OpenType/CFF object type definitions (specification).
6 *
7 * Copyright (C) 2017-2020 by
8 * David Turner, Robert Wilhelm, and Werner Lemberg.
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 CFFOTYPES_H_
20#define CFFOTYPES_H_
21
27
28
30
31
33
34
35 /**************************************************************************
36 *
37 * @type:
38 * CFF_Size
39 *
40 * @description:
41 * A handle to an OpenType size object.
42 */
43 typedef struct CFF_SizeRec_
44 {
46 FT_ULong strike_index; /* 0xFFFFFFFF to indicate invalid */
47
49
50
51 /**************************************************************************
52 *
53 * @type:
54 * CFF_GlyphSlot
55 *
56 * @description:
57 * A handle to an OpenType glyph slot object.
58 */
59 typedef struct CFF_GlyphSlotRec_
60 {
62
65
68
70
71
72 /**************************************************************************
73 *
74 * @type:
75 * CFF_Internal
76 *
77 * @description:
78 * The interface to the 'internal' field of `FT_Size`.
79 */
80 typedef struct CFF_InternalRec_
81 {
84
86
87
88 /**************************************************************************
89 *
90 * Subglyph transformation record.
91 */
92 typedef struct CFF_Transform_
93 {
94 FT_Fixed xx, xy; /* transformation matrix coefficients */
96 FT_F26Dot6 ox, oy; /* offsets */
97
99
100
102
103
104#endif /* CFFOTYPES_H_ */
105
106
107/* END */
struct CFF_SizeRec_ CFF_SizeRec
struct CFF_Transform_ CFF_Transform
struct CFF_GlyphSlotRec_ CFF_GlyphSlotRec
FT_BEGIN_HEADER typedef TT_Face CFF_Face
Definition: cffotypes.h:32
struct CFF_GlyphSlotRec_ * CFF_GlyphSlot
struct CFF_InternalRec_ * CFF_Internal
struct CFF_SizeRec_ * CFF_Size
struct CFF_InternalRec_ CFF_InternalRec
#define CFF_MAX_CID_FONTS
Definition: cfftypes.h:334
#define FT_END_HEADER
Definition: ftheader.h:57
#define FT_BEGIN_HEADER
Definition: ftheader.h:37
FT_BEGIN_HEADER typedef unsigned char FT_Bool
Definition: fttypes.h:108
signed long FT_F26Dot6
Definition: fttypes.h:275
unsigned long FT_ULong
Definition: fttypes.h:253
signed long FT_Fixed
Definition: fttypes.h:287
typedefFT_BEGIN_HEADER struct PSH_GlobalsRec_ * PSH_Globals
Definition: pshints.h:40
FT_Fixed y_scale
Definition: cffotypes.h:67
FT_Fixed x_scale
Definition: cffotypes.h:66
FT_Bool scaled
Definition: cffotypes.h:64
FT_GlyphSlotRec root
Definition: cffotypes.h:61
PSH_Globals subfonts[CFF_MAX_CID_FONTS]
Definition: cffotypes.h:83
PSH_Globals topfont
Definition: cffotypes.h:82
FT_SizeRec root
Definition: cffotypes.h:45
FT_ULong strike_index
Definition: cffotypes.h:46
FT_Fixed xy
Definition: cffotypes.h:94
FT_Fixed yy
Definition: cffotypes.h:95
FT_F26Dot6 oy
Definition: cffotypes.h:96
FT_Fixed xx
Definition: cffotypes.h:94
FT_F26Dot6 ox
Definition: cffotypes.h:96
FT_Fixed yx
Definition: cffotypes.h:95