XenevaOS
Loading...
Searching...
No Matches
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-2019 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
22#include <ft2build.h>
23#include FT_INTERNAL_OBJECTS_H
24#include FT_INTERNAL_CFF_TYPES_H
25#include FT_INTERNAL_TRUETYPE_TYPES_H
26#include FT_SERVICE_POSTSCRIPT_CMAPS_H
27#include FT_INTERNAL_POSTSCRIPT_HINTS_H
28
29
31
32
34
35
36 /**************************************************************************
37 *
38 * @type:
39 * CFF_Size
40 *
41 * @description:
42 * A handle to an OpenType size object.
43 */
44 typedef struct CFF_SizeRec_
45 {
47 FT_ULong strike_index; /* 0xFFFFFFFF to indicate invalid */
48
50
51
52 /**************************************************************************
53 *
54 * @type:
55 * CFF_GlyphSlot
56 *
57 * @description:
58 * A handle to an OpenType glyph slot object.
59 */
71
72
73 /**************************************************************************
74 *
75 * @type:
76 * CFF_Internal
77 *
78 * @description:
79 * The interface to the 'internal' field of `FT_Size`.
80 */
87
88
89 /**************************************************************************
90 *
91 * Subglyph transformation record.
92 */
93 typedef struct CFF_Transform_
94 {
95 FT_Fixed xx, xy; /* transformation matrix coefficients */
97 FT_F26Dot6 ox, oy; /* offsets */
98
100
101
103
104
105#endif /* CFFOTYPES_H_ */
106
107
108/* 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:33
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:335
#define FT_END_HEADER
Definition ftheader.h:54
#define FT_BEGIN_HEADER
Definition ftheader.h:36
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:41
Definition cffotypes.h:61
FT_Fixed y_scale
Definition cffotypes.h:68
FT_Bool hint
Definition cffotypes.h:64
FT_Fixed x_scale
Definition cffotypes.h:67
FT_Bool scaled
Definition cffotypes.h:65
FT_GlyphSlotRec root
Definition cffotypes.h:62
Definition cffotypes.h:82
PSH_Globals subfonts[CFF_MAX_CID_FONTS]
Definition cffotypes.h:84
PSH_Globals topfont
Definition cffotypes.h:83
Definition cffotypes.h:45
FT_SizeRec root
Definition cffotypes.h:46
FT_ULong strike_index
Definition cffotypes.h:47
Definition cffotypes.h:94
FT_Fixed xy
Definition cffotypes.h:95
FT_Fixed yy
Definition cffotypes.h:96
FT_F26Dot6 oy
Definition cffotypes.h:97
FT_Fixed xx
Definition cffotypes.h:95
FT_F26Dot6 ox
Definition cffotypes.h:97
FT_Fixed yx
Definition cffotypes.h:96
Definition freetype.h:1878
Definition freetype.h:1646
Definition tttypes.h:1537