sdk-world
v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Toggle main menu visibility
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-2025 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
23
#ifndef CFFOTYPES_H_
24
#define CFFOTYPES_H_
25
26
#include <
freetype/internal/ftobjs.h
>
27
#include <
freetype/internal/cfftypes.h
>
28
#include <
freetype/internal/tttypes.h
>
29
#include <
freetype/internal/services/svpscmap.h
>
30
#include <
freetype/internal/pshints.h
>
31
32
33
FT_BEGIN_HEADER
34
35
36
typedef
TT_Face CFF_Face;
37
38
39
/**************************************************************************
40
*
41
* @type:
42
* CFF_Size
43
*
44
* @description:
45
* A handle to an OpenType size object.
46
*/
47
typedef
struct
CFF_SizeRec_
48
{
49
FT_SizeRec root;
50
FT_ULong strike_index;
/* 0xFFFFFFFF to indicate invalid */
51
52
} CFF_SizeRec, *CFF_Size;
53
54
55
/**************************************************************************
56
*
57
* @type:
58
* CFF_GlyphSlot
59
*
60
* @description:
61
* A handle to an OpenType glyph slot object.
62
*/
63
typedef
struct
CFF_GlyphSlotRec_
64
{
65
FT_GlyphSlotRec root;
66
67
FT_Bool hint;
68
FT_Bool scaled;
69
70
FT_Fixed x_scale;
71
FT_Fixed y_scale;
72
73
} CFF_GlyphSlotRec, *CFF_GlyphSlot;
74
75
76
/**************************************************************************
77
*
78
* @type:
79
* CFF_Internal
80
*
81
* @description:
82
* The interface to the 'internal' field of `FT_Size`.
83
*/
84
typedef
struct
CFF_InternalRec_
85
{
86
PSH_Globals topfont;
87
PSH_Globals subfonts[CFF_MAX_CID_FONTS];
88
89
} CFF_InternalRec, *CFF_Internal;
90
91
92
/**************************************************************************
93
*
94
* Subglyph transformation record.
95
*/
96
typedef
struct
CFF_Transform_
97
{
98
FT_Fixed xx, xy;
/* transformation matrix coefficients */
99
FT_Fixed yx, yy;
100
FT_F26Dot6 ox, oy;
/* offsets */
101
102
} CFF_Transform;
103
104
105
FT_END_HEADER
106
107
108
#endif
/* CFFOTYPES_H_ */
109
110
111
/* END */
cfftypes.h
ftobjs.h
pshints.h
CFF_GlyphSlotRec_
Definition
cffotypes.h:64
CFF_InternalRec_
Definition
cffotypes.h:85
CFF_SizeRec_
Definition
cffotypes.h:48
CFF_Transform_
Definition
cffotypes.h:97
svpscmap.h
tttypes.h
freetype
include
freetype
internal
cffotypes.h
Generated by
1.18.0