00001 /***************************************************************************/ 00002 /* */ 00003 /* ttpload.h */ 00004 /* */ 00005 /* TrueType-specific tables loader (specification). */ 00006 /* */ 00007 /* Copyright 1996-2001, 2002, 2005, 2006 by */ 00008 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 00009 /* */ 00010 /* This file is part of the FreeType project, and may only be used, */ 00011 /* modified, and distributed under the terms of the FreeType project */ 00012 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 00013 /* this file you indicate that you have read the license and */ 00014 /* understand and accept it fully. */ 00015 /* */ 00016 /***************************************************************************/ 00017 00018 00019 #ifndef __TTPLOAD_H__ 00020 #define __TTPLOAD_H__ 00021 00022 00023 #include <ft2build.h> 00024 #include FT_INTERNAL_TRUETYPE_TYPES_H 00025 00026 00027 FT_BEGIN_HEADER 00028 00029 00030 FT_LOCAL( FT_Error ) 00031 tt_face_load_loca( TT_Face face, 00032 FT_Stream stream ); 00033 00034 FT_LOCAL( FT_ULong ) 00035 tt_face_get_location( TT_Face face, 00036 FT_UInt gindex, 00037 FT_UInt *asize ); 00038 00039 FT_LOCAL( void ) 00040 tt_face_done_loca( TT_Face face ); 00041 00042 FT_LOCAL( FT_Error ) 00043 tt_face_load_cvt( TT_Face face, 00044 FT_Stream stream ); 00045 00046 FT_LOCAL( FT_Error ) 00047 tt_face_load_fpgm( TT_Face face, 00048 FT_Stream stream ); 00049 00050 00051 FT_LOCAL( FT_Error ) 00052 tt_face_load_prep( TT_Face face, 00053 FT_Stream stream ); 00054 00055 00056 FT_LOCAL( FT_Error ) 00057 tt_face_load_hdmx( TT_Face face, 00058 FT_Stream stream ); 00059 00060 00061 FT_LOCAL( void ) 00062 tt_face_free_hdmx( TT_Face face ); 00063 00064 00065 FT_LOCAL( FT_Byte* ) 00066 tt_face_get_device_metrics( TT_Face face, 00067 FT_UInt ppem, 00068 FT_UInt gindex ); 00069 00070 FT_END_HEADER 00071 00072 #endif /* __TTPLOAD_H__ */ 00073 00074 00075 /* END */