]> git.saurik.com Git - wxWidgets.git/blame - src/freetype/sfnt/ttload.h
Doc/distribution script mods
[wxWidgets.git] / src / freetype / sfnt / ttload.h
CommitLineData
cabec872
RR
1/***************************************************************************/
2/* */
3/* ttload.h */
4/* */
5/* Load the basic TrueType tables, i.e., tables that can be either in */
6/* TTF or OTF fonts (specification). */
7/* */
8/* Copyright 1996-2000 by */
9/* David Turner, Robert Wilhelm, and Werner Lemberg. */
10/* */
11/* This file is part of the FreeType project, and may only be used, */
12/* modified, and distributed under the terms of the FreeType project */
13/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
14/* this file you indicate that you have read the license and */
15/* understand and accept it fully. */
16/* */
17/***************************************************************************/
18
19
20#ifndef TTLOAD_H
21#define TTLOAD_H
22
23
24#include <freetype/internal/ftstream.h>
25#include <freetype/internal/tttypes.h>
26
27
28#ifdef __cplusplus
29 extern "C" {
30#endif
31
32
33 LOCAL_DEF
34 TT_Table* TT_LookUp_Table( TT_Face face,
35 FT_ULong tag );
36
37 LOCAL_DEF
38 FT_Error TT_Goto_Table( TT_Face face,
39 FT_ULong tag,
40 FT_Stream stream,
41 FT_ULong* length );
42
43
44 LOCAL_DEF
45 FT_Error TT_Load_SFNT_Header( TT_Face face,
46 FT_Stream stream,
47 FT_Long face_index,
48 SFNT_Header* sfnt );
49 LOCAL_DEF
50 FT_Error TT_Load_Directory( TT_Face face,
51 FT_Stream stream,
52 SFNT_Header* sfnt );
53
54 LOCAL_DEF
55 FT_Error TT_Load_Any( TT_Face face,
56 FT_ULong tag,
57 FT_Long offset,
58 FT_Byte* buffer,
59 FT_ULong* length );
60
61
62 LOCAL_DEF
63 FT_Error TT_Load_Header( TT_Face face,
64 FT_Stream stream );
65
66
67 LOCAL_DEF
68 FT_Error TT_Load_Metrics_Header( TT_Face face,
69 FT_Stream stream,
70 FT_Bool vertical );
71
72
73 LOCAL_DEF
74 FT_Error TT_Load_CMap( TT_Face face,
75 FT_Stream stream );
76
77
78 LOCAL_DEF
79 FT_Error TT_Load_MaxProfile( TT_Face face,
80 FT_Stream stream );
81
82
83 LOCAL_DEF
84 FT_Error TT_Load_Names( TT_Face face,
85 FT_Stream stream );
86
87
88 LOCAL_DEF
89 FT_Error TT_Load_OS2( TT_Face face,
90 FT_Stream stream );
91
92
93 LOCAL_DEF
94 FT_Error TT_Load_PostScript( TT_Face face,
95 FT_Stream stream );
96
97
98 LOCAL_DEF
99 FT_Error TT_Load_Hdmx( TT_Face face,
100 FT_Stream stream );
101
102 LOCAL_DEF
103 FT_Error TT_Load_PCLT( TT_Face face,
104 FT_Stream stream );
105
106 LOCAL_DEF
107 void TT_Free_Names( TT_Face face );
108
109
110 LOCAL_DEF
111 void TT_Free_Hdmx ( TT_Face face );
112
113
114 LOCAL_DEF
115 FT_Error TT_Load_Kern( TT_Face face,
116 FT_Stream stream );
117
118
119 LOCAL_DEF
120 FT_Error TT_Load_Gasp( TT_Face face,
121 FT_Stream stream );
122
123
124#ifdef __cplusplus
125 }
126#endif
127
128
129#endif /* TTLOAD_H */
130
131
132/* END */