sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
cidtoken.h
Go to the documentation of this file.
1/****************************************************************************
2 *
3 * cidtoken.h
4 *
5 * CID token definitions (specification only).
6 *
7 * Copyright (C) 1996-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#undef FT_STRUCTURE
24#define FT_STRUCTURE CID_FaceInfoRec
25#undef T1CODE
26#define T1CODE T1_FIELD_LOCATION_CID_INFO
27
28 T1_FIELD_KEY ( "CIDFontName", cid_font_name, 0 )
29 T1_FIELD_FIXED ( "CIDFontVersion", cid_version, 0 )
30 T1_FIELD_NUM ( "CIDFontType", cid_font_type, 0 )
31 T1_FIELD_STRING ( "Registry", registry, 0 )
32 T1_FIELD_STRING ( "Ordering", ordering, 0 )
33 T1_FIELD_NUM ( "Supplement", supplement, 0 )
34 T1_FIELD_NUM ( "UIDBase", uid_base, 0 )
35
36 T1_FIELD_NUM_TABLE( "XUID", xuid, 16, 0 )
37
38 T1_FIELD_NUM ( "CIDMapOffset", cidmap_offset, 0 )
39 T1_FIELD_NUM ( "FDBytes", fd_bytes, 0 )
40 T1_FIELD_NUM ( "GDBytes", gd_bytes, 0 )
41 T1_FIELD_NUM ( "CIDCount", cid_count, 0 )
42
43
44#undef FT_STRUCTURE
45#define FT_STRUCTURE PS_FontInfoRec
46#undef T1CODE
47#define T1CODE T1_FIELD_LOCATION_FONT_INFO
48
49 T1_FIELD_STRING( "version", version, 0 )
50 T1_FIELD_STRING( "Notice", notice, 0 )
51 T1_FIELD_STRING( "FullName", full_name, 0 )
52 T1_FIELD_STRING( "FamilyName", family_name, 0 )
53 T1_FIELD_STRING( "Weight", weight, 0 )
54 T1_FIELD_NUM ( "ItalicAngle", italic_angle, 0 )
55 T1_FIELD_BOOL ( "isFixedPitch", is_fixed_pitch, 0 )
56 T1_FIELD_NUM ( "UnderlinePosition", underline_position, 0 )
57 T1_FIELD_NUM ( "UnderlineThickness", underline_thickness, 0 )
58
59#undef FT_STRUCTURE
60#define FT_STRUCTURE PS_FontExtraRec
61#undef T1CODE
62#define T1CODE T1_FIELD_LOCATION_FONT_EXTRA
63
64 T1_FIELD_NUM ( "FSType", fs_type, 0 )
65
66
67#undef FT_STRUCTURE
68#define FT_STRUCTURE CID_FaceDictRec
69#undef T1CODE
70#define T1CODE T1_FIELD_LOCATION_FONT_DICT
71
72 T1_FIELD_NUM ( "PaintType", paint_type, 0 )
73 T1_FIELD_NUM ( "FontType", font_type, 0 )
74 T1_FIELD_NUM ( "SubrMapOffset", subrmap_offset, 0 )
75 T1_FIELD_NUM ( "SDBytes", sd_bytes, 0 )
76 T1_FIELD_NUM ( "SubrCount", num_subrs, 0 )
77 T1_FIELD_NUM ( "lenBuildCharArray", len_buildchar, 0 )
78 T1_FIELD_FIXED( "ForceBoldThreshold", forcebold_threshold, 0 )
79 T1_FIELD_FIXED( "StrokeWidth", stroke_width, 0 )
80
81
82#undef FT_STRUCTURE
83#define FT_STRUCTURE PS_PrivateRec
84#undef T1CODE
85#define T1CODE T1_FIELD_LOCATION_PRIVATE
86
87 T1_FIELD_NUM ( "UniqueID", unique_id, 0 )
88 T1_FIELD_NUM ( "lenIV", lenIV, 0 )
89 T1_FIELD_NUM ( "LanguageGroup", language_group, 0 )
90 T1_FIELD_NUM ( "password", password, 0 )
91
92 T1_FIELD_FIXED_1000( "BlueScale", blue_scale, 0 )
93 T1_FIELD_NUM ( "BlueShift", blue_shift, 0 )
94 T1_FIELD_NUM ( "BlueFuzz", blue_fuzz, 0 )
95
96 T1_FIELD_NUM_TABLE ( "BlueValues", blue_values, 14, 0 )
97 T1_FIELD_NUM_TABLE ( "OtherBlues", other_blues, 10, 0 )
98 T1_FIELD_NUM_TABLE ( "FamilyBlues", family_blues, 14, 0 )
99 T1_FIELD_NUM_TABLE ( "FamilyOtherBlues", family_other_blues, 10, 0 )
100
101 T1_FIELD_NUM_TABLE2( "StdHW", standard_width, 1, 0 )
102 T1_FIELD_NUM_TABLE2( "StdVW", standard_height, 1, 0 )
103 T1_FIELD_NUM_TABLE2( "MinFeature", min_feature, 2, 0 )
104
105 T1_FIELD_NUM_TABLE ( "StemSnapH", snap_widths, 12, 0 )
106 T1_FIELD_NUM_TABLE ( "StemSnapV", snap_heights, 12, 0 )
107
108 T1_FIELD_BOOL ( "ForceBold", force_bold, 0 )
109
110
111#undef FT_STRUCTURE
112#define FT_STRUCTURE FT_BBox
113#undef T1CODE
114#define T1CODE T1_FIELD_LOCATION_BBOX
115
116 T1_FIELD_BBOX( "FontBBox", xMin, 0 )
117
118
119/* END */