]> git.saurik.com Git - wxWidgets.git/blob - src/freetype/cff/t2load.h
1. don't delete item attributes in the virtual list control (=> crash)
[wxWidgets.git] / src / freetype / cff / t2load.h
1 /***************************************************************************/
2 /* */
3 /* t2load.h */
4 /* */
5 /* OpenType glyph data/program tables loader (specification). */
6 /* */
7 /* Copyright 1996-2000 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
19 #ifndef T2LOAD_H
20 #define T2LOAD_H
21
22 #include <freetype/internal/t2types.h>
23 #include <freetype/internal/psnames.h>
24
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28
29 LOCAL_DEF
30 FT_String* T2_Get_Name( CFF_Index* index,
31 FT_UInt element );
32
33 LOCAL_DEF
34 FT_String* T2_Get_String( CFF_Index* index,
35 FT_UInt sid,
36 PSNames_Interface* interface );
37
38 LOCAL_DEF
39 FT_Error T2_Access_Element( CFF_Index* index,
40 FT_UInt element,
41 FT_Byte** pbytes,
42 FT_ULong* pbyte_len );
43
44 LOCAL_DEF
45 void T2_Forget_Element( CFF_Index* index,
46 FT_Byte** pbytes );
47
48 LOCAL_DEF
49 FT_Error T2_Load_CFF_Font( FT_Stream stream,
50 FT_Int face_index,
51 CFF_Font* font );
52
53 LOCAL_DEF
54 void T2_Done_CFF_Font( CFF_Font* font );
55
56 LOCAL_DEF
57 FT_Byte CFF_Get_FD( CFF_FD_Select* select,
58 FT_UInt glyph_index );
59
60
61 #ifdef __cplusplus
62 }
63 #endif
64
65
66 #endif /* T2LOAD_H */
67
68
69 /* END */