1999-12-17 00:11:37 +01:00
|
|
|
/***************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* ttload.h */
|
|
|
|
/* */
|
|
|
|
/* Load the basic TrueType tables, i.e., tables that can be either in */
|
2000-07-02 02:27:53 +02:00
|
|
|
/* TTF or OTF fonts (specification). */
|
1999-12-17 00:11:37 +01:00
|
|
|
/* */
|
2000-06-05 07:26:15 +02:00
|
|
|
/* Copyright 1996-2000 by */
|
1999-12-17 00:11:37 +01:00
|
|
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
|
|
|
/* */
|
2000-06-05 07:26:15 +02:00
|
|
|
/* This file is part of the FreeType project, and may only be used, */
|
|
|
|
/* modified, and distributed under the terms of the FreeType project */
|
1999-12-17 00:11:37 +01:00
|
|
|
/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
|
|
|
|
/* this file you indicate that you have read the license and */
|
|
|
|
/* understand and accept it fully. */
|
|
|
|
/* */
|
|
|
|
/***************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef TTLOAD_H
|
|
|
|
#define TTLOAD_H
|
|
|
|
|
|
|
|
|
2000-05-11 20:23:52 +02:00
|
|
|
#include <freetype/internal/ftstream.h>
|
|
|
|
#include <freetype/internal/tttypes.h>
|
2000-06-05 07:26:15 +02:00
|
|
|
|
1999-12-17 00:11:37 +01:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2000-05-12 14:17:15 +02:00
|
|
|
LOCAL_DEF
|
1999-12-17 00:11:37 +01:00
|
|
|
TT_Table* TT_LookUp_Table( TT_Face face,
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_ULong tag );
|
1999-12-17 00:11:37 +01:00
|
|
|
|
2000-01-27 14:56:02 +01:00
|
|
|
LOCAL_DEF
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_Error TT_Goto_Table( TT_Face face,
|
|
|
|
FT_ULong tag,
|
2000-06-05 07:26:15 +02:00
|
|
|
FT_Stream stream,
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_ULong* length );
|
1999-12-17 00:11:37 +01:00
|
|
|
|
|
|
|
|
2000-01-27 14:56:02 +01:00
|
|
|
LOCAL_DEF
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_Error TT_Load_SFNT_Header( TT_Face face,
|
2000-06-05 07:26:15 +02:00
|
|
|
FT_Stream stream,
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_Long face_index,
|
2000-06-05 07:26:15 +02:00
|
|
|
SFNT_Header* sfnt );
|
1999-12-17 00:11:37 +01:00
|
|
|
LOCAL_DEF
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_Error TT_Load_Directory( TT_Face face,
|
2000-05-29 22:37:41 +02:00
|
|
|
FT_Stream stream,
|
|
|
|
SFNT_Header* sfnt );
|
1999-12-17 00:11:37 +01:00
|
|
|
|
|
|
|
LOCAL_DEF
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_Error TT_Load_Any( TT_Face face,
|
|
|
|
FT_ULong tag,
|
|
|
|
FT_Long offset,
|
1999-12-17 00:11:37 +01:00
|
|
|
void* buffer,
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_Long* length );
|
1999-12-17 00:11:37 +01:00
|
|
|
|
|
|
|
|
|
|
|
LOCAL_DEF
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_Error TT_Load_Header( TT_Face face,
|
1999-12-17 00:11:37 +01:00
|
|
|
FT_Stream stream );
|
|
|
|
|
|
|
|
|
|
|
|
LOCAL_DEF
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_Error TT_Load_Metrics_Header( TT_Face face,
|
1999-12-17 00:11:37 +01:00
|
|
|
FT_Stream stream,
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_Bool vertical );
|
1999-12-17 00:11:37 +01:00
|
|
|
|
|
|
|
|
|
|
|
LOCAL_DEF
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_Error TT_Load_CMap( TT_Face face,
|
1999-12-17 00:11:37 +01:00
|
|
|
FT_Stream stream );
|
|
|
|
|
|
|
|
|
|
|
|
LOCAL_DEF
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_Error TT_Load_MaxProfile( TT_Face face,
|
1999-12-17 00:11:37 +01:00
|
|
|
FT_Stream stream );
|
|
|
|
|
|
|
|
|
|
|
|
LOCAL_DEF
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_Error TT_Load_Names( TT_Face face,
|
1999-12-17 00:11:37 +01:00
|
|
|
FT_Stream stream );
|
|
|
|
|
|
|
|
|
|
|
|
LOCAL_DEF
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_Error TT_Load_OS2( TT_Face face,
|
1999-12-17 00:11:37 +01:00
|
|
|
FT_Stream stream );
|
|
|
|
|
|
|
|
|
|
|
|
LOCAL_DEF
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_Error TT_Load_PostScript( TT_Face face,
|
1999-12-17 00:11:37 +01:00
|
|
|
FT_Stream stream );
|
|
|
|
|
|
|
|
|
|
|
|
LOCAL_DEF
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_Error TT_Load_Hdmx( TT_Face face,
|
1999-12-17 00:11:37 +01:00
|
|
|
FT_Stream stream );
|
|
|
|
|
2000-05-18 18:18:05 +02:00
|
|
|
LOCAL_DEF
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_Error TT_Load_PCLT( TT_Face face,
|
2000-05-18 18:18:05 +02:00
|
|
|
FT_Stream stream );
|
1999-12-17 00:11:37 +01:00
|
|
|
|
|
|
|
LOCAL_DEF
|
|
|
|
void TT_Free_Names( TT_Face face );
|
|
|
|
|
|
|
|
|
|
|
|
LOCAL_DEF
|
|
|
|
void TT_Free_Hdmx ( TT_Face face );
|
|
|
|
|
|
|
|
|
|
|
|
LOCAL_DEF
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_Error TT_Load_Kern( TT_Face face,
|
1999-12-17 00:11:37 +01:00
|
|
|
FT_Stream stream );
|
|
|
|
|
|
|
|
|
|
|
|
LOCAL_DEF
|
2000-06-16 21:34:52 +02:00
|
|
|
FT_Error TT_Load_Gasp( TT_Face face,
|
1999-12-17 00:11:37 +01:00
|
|
|
FT_Stream stream );
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* TTLOAD_H */
|
|
|
|
|
|
|
|
|
|
|
|
/* END */
|