sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
t1cmap.h
Go to the documentation of this file.
1/****************************************************************************
2 *
3 * t1cmap.h
4 *
5 * Type 1 character map support (specification).
6 *
7 * Copyright (C) 2002-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 T1CMAP_H_
24#define T1CMAP_H_
25
28
29FT_BEGIN_HEADER
30
31
32 /*************************************************************************/
33 /*************************************************************************/
34 /***** *****/
35 /***** TYPE1 STANDARD (AND EXPERT) ENCODING CMAPS *****/
36 /***** *****/
37 /*************************************************************************/
38 /*************************************************************************/
39
40 /* standard (and expert) encoding cmaps */
41 typedef struct T1_CMapStdRec_* T1_CMapStd;
42
43 typedef struct T1_CMapStdRec_
44 {
45 FT_CMapRec cmap;
46
47 const FT_UShort* code_to_sid;
48 PS_Adobe_Std_StringsFunc sid_to_string;
49
50 FT_UInt num_glyphs;
51 const char* const* glyph_names;
52
53 } T1_CMapStdRec;
54
55
56 FT_CALLBACK_TABLE const FT_CMap_ClassRec
57 t1_cmap_standard_class_rec;
58
59 FT_CALLBACK_TABLE const FT_CMap_ClassRec
60 t1_cmap_expert_class_rec;
61
62
63 /*************************************************************************/
64 /*************************************************************************/
65 /***** *****/
66 /***** TYPE1 CUSTOM ENCODING CMAP *****/
67 /***** *****/
68 /*************************************************************************/
69 /*************************************************************************/
70
71 typedef struct T1_CMapCustomRec_* T1_CMapCustom;
72
73 typedef struct T1_CMapCustomRec_
74 {
75 FT_CMapRec cmap;
76 FT_UInt first;
77 FT_UInt count;
78 FT_UShort* indices;
79
80 } T1_CMapCustomRec;
81
82
83 FT_CALLBACK_TABLE const FT_CMap_ClassRec
84 t1_cmap_custom_class_rec;
85
86
87 /*************************************************************************/
88 /*************************************************************************/
89 /***** *****/
90 /***** TYPE1 SYNTHETIC UNICODE ENCODING CMAP *****/
91 /***** *****/
92 /*************************************************************************/
93 /*************************************************************************/
94
95 /* unicode (synthetic) cmaps */
96
97 FT_CALLBACK_TABLE const FT_CMap_ClassRec
98 t1_cmap_unicode_class_rec;
99
100 /* */
101
102
103FT_END_HEADER
104
105#endif /* T1CMAP_H_ */
106
107
108/* END */