190dce4d38c5ff5333bea97d859d4e484e27edf0cTorne (Richard Coles)/***************************************************************************/ 290dce4d38c5ff5333bea97d859d4e484e27edf0cTorne (Richard Coles)/* */ 390dce4d38c5ff5333bea97d859d4e484e27edf0cTorne (Richard Coles)/* ttload.h */ 490dce4d38c5ff5333bea97d859d4e484e27edf0cTorne (Richard Coles)/* */ 590dce4d38c5ff5333bea97d859d4e484e27edf0cTorne (Richard Coles)/* Load the basic TrueType tables, i.e., tables that can be either in */ 690dce4d38c5ff5333bea97d859d4e484e27edf0cTorne (Richard Coles)/* TTF or OTF fonts (specification). */ 790dce4d38c5ff5333bea97d859d4e484e27edf0cTorne (Richard Coles)/* */ 890dce4d38c5ff5333bea97d859d4e484e27edf0cTorne (Richard Coles)/* Copyright 1996-2001, 2002, 2005, 2006 by */ 990dce4d38c5ff5333bea97d859d4e484e27edf0cTorne (Richard Coles)/* David Turner, Robert Wilhelm, and Werner Lemberg. */ 1090dce4d38c5ff5333bea97d859d4e484e27edf0cTorne (Richard Coles)/* */ 1190dce4d38c5ff5333bea97d859d4e484e27edf0cTorne (Richard Coles)/* This file is part of the FreeType project, and may only be used, */ 1290dce4d38c5ff5333bea97d859d4e484e27edf0cTorne (Richard Coles)/* modified, and distributed under the terms of the FreeType project */ 1390dce4d38c5ff5333bea97d859d4e484e27edf0cTorne (Richard Coles)/* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 1490dce4d38c5ff5333bea97d859d4e484e27edf0cTorne (Richard Coles)/* this file you indicate that you have read the license and */ 1590dce4d38c5ff5333bea97d859d4e484e27edf0cTorne (Richard Coles)/* understand and accept it fully. */ 1690dce4d38c5ff5333bea97d859d4e484e27edf0cTorne (Richard Coles)/* */ 17/***************************************************************************/ 18 19 20#ifndef __TTLOAD_H__ 21#define __TTLOAD_H__ 22 23 24#include "../../include/ft2build.h" 25#include "../../include/freetype/internal/ftstream.h" 26#include "../../include/freetype/internal/tttypes.h" 27 28 29FT_BEGIN_HEADER 30 31 32 FT_LOCAL( TT_Table ) 33 tt_face_lookup_table( TT_Face face, 34 FT_ULong tag ); 35 36 FT_LOCAL( FT_Error ) 37 tt_face_goto_table( TT_Face face, 38 FT_ULong tag, 39 FT_Stream stream, 40 FT_ULong* length ); 41 42 43 FT_LOCAL( FT_Error ) 44 tt_face_load_font_dir( TT_Face face, 45 FT_Stream stream ); 46 47 48 FT_LOCAL( FT_Error ) 49 tt_face_load_any( TT_Face face, 50 FT_ULong tag, 51 FT_Long offset, 52 FT_Byte* buffer, 53 FT_ULong* length ); 54 55 56 FT_LOCAL( FT_Error ) 57 tt_face_load_head( TT_Face face, 58 FT_Stream stream ); 59 60 61 FT_LOCAL( FT_Error ) 62 tt_face_load_cmap( TT_Face face, 63 FT_Stream stream ); 64 65 66 FT_LOCAL( FT_Error ) 67 tt_face_load_maxp( TT_Face face, 68 FT_Stream stream ); 69 70 71 FT_LOCAL( FT_Error ) 72 tt_face_load_name( TT_Face face, 73 FT_Stream stream ); 74 75 76 FT_LOCAL( FT_Error ) 77 tt_face_load_os2( TT_Face face, 78 FT_Stream stream ); 79 80 81 FT_LOCAL( FT_Error ) 82 tt_face_load_post( TT_Face face, 83 FT_Stream stream ); 84 85 86 FT_LOCAL( FT_Error ) 87 tt_face_load_pclt( TT_Face face, 88 FT_Stream stream ); 89 90 FT_LOCAL( void ) 91 tt_face_free_name( TT_Face face ); 92 93 94 FT_LOCAL( FT_Error ) 95 tt_face_load_gasp( TT_Face face, 96 FT_Stream stream ); 97 98#ifdef TT_CONFIG_OPTION_EMBEDDED_BITMAPS 99 100 FT_LOCAL( FT_Error ) 101 tt_face_load_bhed( TT_Face face, 102 FT_Stream stream ); 103 104#endif /* TT_CONFIG_OPTION_EMBEDDED_BITMAPS */ 105 106 107FT_END_HEADER 108 109#endif /* __TTLOAD_H__ */ 110 111 112/* END */ 113