sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
t42objs.h
Go to the documentation of this file.
1/****************************************************************************
2 *
3 * t42objs.h
4 *
5 * Type 42 objects manager (specification).
6 *
7 * Copyright (C) 2002-2025 by
8 * Roberto Alameda.
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 T42OBJS_H_
24#define T42OBJS_H_
25
26#include <freetype/freetype.h>
27#include <freetype/t1tables.h>
29#include "t42types.h"
34
35
36FT_BEGIN_HEADER
37
38
39 /* Type42 size */
40 typedef struct T42_SizeRec_
41 {
42 FT_SizeRec root;
43 FT_Size ttsize;
44
45 } T42_SizeRec, *T42_Size;
46
47
48 /* Type42 slot */
49 typedef struct T42_GlyphSlotRec_
50 {
51 FT_GlyphSlotRec root;
52 FT_GlyphSlot ttslot;
53
54 } T42_GlyphSlotRec, *T42_GlyphSlot;
55
56
57 /* Type 42 driver */
58 typedef struct T42_DriverRec_
59 {
60 FT_DriverRec root;
61 FT_Driver_Class ttclazz;
62
63 } T42_DriverRec, *T42_Driver;
64
65
66 /* */
67
68
69 FT_LOCAL( FT_Error )
70 T42_Face_Init( FT_Stream stream,
71 FT_Face face,
72 FT_Int face_index,
73 FT_Int num_params,
74 FT_Parameter* params );
75
76
77 FT_LOCAL( void )
78 T42_Face_Done( FT_Face face );
79
80
81 FT_LOCAL( FT_Error )
82 T42_Size_Init( FT_Size size );
83
84
85 FT_LOCAL( FT_Error )
86 T42_Size_Request( FT_Size size,
87 FT_Size_Request req );
88
89
90 FT_LOCAL( FT_Error )
91 T42_Size_Select( FT_Size size,
92 FT_ULong strike_index );
93
94
95 FT_LOCAL( void )
96 T42_Size_Done( FT_Size size );
97
98
99 FT_LOCAL( FT_Error )
100 T42_GlyphSlot_Init( FT_GlyphSlot slot );
101
102
103 FT_LOCAL( FT_Error )
104 T42_GlyphSlot_Load( FT_GlyphSlot glyph,
105 FT_Size size,
106 FT_UInt glyph_index,
107 FT_Int32 load_flags );
108
109 FT_LOCAL( void )
110 T42_GlyphSlot_Done( FT_GlyphSlot slot );
111
112
113 FT_LOCAL( FT_Error )
114 T42_Driver_Init( FT_Module module );
115
116 FT_LOCAL( void )
117 T42_Driver_Done( FT_Module module );
118
119 /* */
120
121FT_END_HEADER
122
123
124#endif /* T42OBJS_H_ */
125
126
127/* END */