sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
cffgload.h
Go to the documentation of this file.
1/****************************************************************************
2 *
3 * cffgload.h
4 *
5 * OpenType Glyph Loader (specification).
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#ifndef CFFGLOAD_H_
24#define CFFGLOAD_H_
25
26
27#include <freetype/freetype.h>
29
30
31FT_BEGIN_HEADER
32
33 FT_LOCAL( FT_Error )
34 cff_get_glyph_data( TT_Face face,
35 FT_UInt glyph_index,
36 FT_Byte** pointer,
37 FT_ULong* length );
38 FT_LOCAL( void )
39 cff_free_glyph_data( TT_Face face,
40 FT_Byte** pointer,
41 FT_ULong length );
42
43
44#if 0 /* unused until we support pure CFF fonts */
45
46 /* Compute the maximum advance width of a font through quick parsing */
47 FT_LOCAL( FT_Error )
48 cff_compute_max_advance( TT_Face face,
49 FT_Int* max_advance );
50
51#endif /* 0 */
52
53
54 FT_LOCAL( FT_Error )
55 cff_slot_load( CFF_GlyphSlot glyph,
56 CFF_Size size,
57 FT_UInt glyph_index,
58 FT_Int32 load_flags );
59
60
61FT_END_HEADER
62
63#endif /* CFFGLOAD_H_ */
64
65
66/* END */