146 |
* This function only works with OpenType fonts, returning an error |
* This function only works with OpenType fonts, returning an error |
147 |
* otherwise. |
* otherwise. |
148 |
* |
* |
149 |
* After use, the application should deallocate the five tables with |
* After use, the application should deallocate the five tables by |
150 |
* `free'. A NULL value indicates that the table either doesn't exist |
* FT_OpenType_Free(). A NULL value indicates that the table either |
151 |
* in the font, or the application hasn't asked for validation. |
* doesn't exist in the font, or the application hasn't asked for |
152 |
|
* validation. |
153 |
*/ |
*/ |
154 |
FT_EXPORT( FT_Error ) |
FT_EXPORT( FT_Error ) |
155 |
FT_OpenType_Validate( FT_Face face, |
FT_OpenType_Validate( FT_Face face, |
160 |
FT_Bytes *GSUB_table, |
FT_Bytes *GSUB_table, |
161 |
FT_Bytes *JSTF_table ); |
FT_Bytes *JSTF_table ); |
162 |
|
|
163 |
|
/* */ |
164 |
|
|
165 |
|
/********************************************************************** |
166 |
|
* |
167 |
|
* @function: |
168 |
|
* FT_OpenType_Free |
169 |
|
* |
170 |
|
* @description: |
171 |
|
* Free the buffer allocated by OpenType validator. |
172 |
|
* |
173 |
|
* @input: |
174 |
|
* face :: |
175 |
|
* A handle to the input face. |
176 |
|
* |
177 |
|
* table :: |
178 |
|
* The pointer to the buffer that is allocated by |
179 |
|
* FT_OpenType_Validate(). |
180 |
|
* |
181 |
|
* @note: |
182 |
|
* This function must be used to free the buffer allocated by |
183 |
|
* FT_OpenType_Validate() only. |
184 |
|
*/ |
185 |
|
FT_EXPORT( void ) |
186 |
|
FT_OpenType_Free( FT_Face face, |
187 |
|
FT_Bytes table ); |
188 |
|
|
189 |
|
|
190 |
/* */ |
/* */ |
191 |
|
|
192 |
|
|