freetype2/src/sfnt/ttload.h

112 lines
2.4 KiB
C
Raw Normal View History

/****************************************************************************
*
* ttload.h
*
* Load the basic TrueType tables, i.e., tables that can be either in
* TTF or OTF fonts (specification).
*
2023-01-17 09:18:25 +01:00
* Copyright (C) 1996-2023 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of the FreeType project
* 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.
*
*/
1999-12-17 00:11:37 +01:00
#ifndef TTLOAD_H_
#define TTLOAD_H_
1999-12-17 00:11:37 +01:00
2000-12-08 17:17:16 +01:00
#include <freetype/internal/ftstream.h>
#include <freetype/internal/tttypes.h>
1999-12-17 00:11:37 +01:00
FT_BEGIN_HEADER
1999-12-17 00:11:37 +01:00
2000-12-08 17:17:16 +01:00
FT_LOCAL( TT_Table )
tt_face_lookup_table( TT_Face face,
FT_ULong tag );
1999-12-17 00:11:37 +01:00
FT_LOCAL( FT_Error )
tt_face_goto_table( TT_Face face,
FT_ULong tag,
FT_Stream stream,
FT_ULong* length );
1999-12-17 00:11:37 +01:00
FT_LOCAL( FT_Error )
tt_face_load_font_dir( TT_Face face,
FT_Stream stream );
1999-12-17 00:11:37 +01:00
FT_LOCAL( FT_Error )
tt_face_load_any( TT_Face face,
FT_ULong tag,
FT_Long offset,
FT_Byte* buffer,
FT_ULong* length );
1999-12-17 00:11:37 +01:00
FT_LOCAL( FT_Error )
tt_face_load_head( TT_Face face,
FT_Stream stream );
1999-12-17 00:11:37 +01:00
FT_LOCAL( FT_Error )
tt_face_load_cmap( TT_Face face,
FT_Stream stream );
1999-12-17 00:11:37 +01:00
FT_LOCAL( FT_Error )
tt_face_load_maxp( TT_Face face,
FT_Stream stream );
1999-12-17 00:11:37 +01:00
FT_LOCAL( FT_Error )
tt_face_load_name( TT_Face face,
FT_Stream stream );
1999-12-17 00:11:37 +01:00
2001-06-28 01:25:46 +02:00
FT_LOCAL( FT_Error )
tt_face_load_os2( TT_Face face,
FT_Stream stream );
1999-12-17 00:11:37 +01:00
FT_LOCAL( FT_Error )
tt_face_load_post( TT_Face face,
FT_Stream stream );
1999-12-17 00:11:37 +01:00
FT_LOCAL( FT_Error )
tt_face_load_pclt( TT_Face face,
FT_Stream stream );
1999-12-17 00:11:37 +01:00
FT_LOCAL( void )
tt_face_free_name( TT_Face face );
1999-12-17 00:11:37 +01:00
FT_LOCAL( FT_Error )
tt_face_load_gasp( TT_Face face,
FT_Stream stream );
1999-12-17 00:11:37 +01:00
#ifdef TT_CONFIG_OPTION_EMBEDDED_BITMAPS
FT_LOCAL( FT_Error )
tt_face_load_bhed( TT_Face face,
FT_Stream stream );
#endif /* TT_CONFIG_OPTION_EMBEDDED_BITMAPS */
1999-12-17 00:11:37 +01:00
FT_END_HEADER
#endif /* TTLOAD_H_ */
1999-12-17 00:11:37 +01:00
/* END */