| OLD | NEW |
| 1 /***************************************************************************/ | 1 /***************************************************************************/ |
| 2 /* */ | 2 /* */ |
| 3 /* ttgload.h */ | 3 /* ttgload.h */ |
| 4 /* */ | 4 /* */ |
| 5 /* TrueType Glyph Loader (specification). */ | 5 /* TrueType Glyph Loader (specification). */ |
| 6 /* */ | 6 /* */ |
| 7 /* Copyright 1996-2006, 2008, 2011 by */ | 7 /* Copyright 1996-2006, 2008, 2011 by */ |
| 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ | 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
| 9 /* */ | 9 /* */ |
| 10 /* This file is part of the FreeType project, and may only be used, */ | 10 /* This file is part of the FreeType project, and may only be used, */ |
| 11 /* modified, and distributed under the terms of the FreeType project */ | 11 /* modified, and distributed under the terms of the FreeType project */ |
| 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ | 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
| 13 /* this file you indicate that you have read the license and */ | 13 /* this file you indicate that you have read the license and */ |
| 14 /* understand and accept it fully. */ | 14 /* understand and accept it fully. */ |
| 15 /* */ | 15 /* */ |
| 16 /***************************************************************************/ | 16 /***************************************************************************/ |
| 17 | 17 |
| 18 | 18 |
| 19 #ifndef __TTGLOAD_H__ | 19 #ifndef __TTGLOAD_H__ |
| 20 #define __TTGLOAD_H__ | 20 #define __TTGLOAD_H__ |
| 21 | 21 |
| 22 | 22 |
| 23 #include "../../include/ft2build.h" | 23 #include <ft2build.h> |
| 24 #include "ttobjs.h" | 24 #include "ttobjs.h" |
| 25 | 25 |
| 26 #ifdef TT_USE_BYTECODE_INTERPRETER | 26 #ifdef TT_USE_BYTECODE_INTERPRETER |
| 27 #include "ttinterp.h" | 27 #include "ttinterp.h" |
| 28 #endif | 28 #endif |
| 29 | 29 |
| 30 | 30 |
| 31 FT_BEGIN_HEADER | 31 FT_BEGIN_HEADER |
| 32 | 32 |
| 33 | 33 |
| 34 FT_LOCAL( void ) | 34 FT_LOCAL( void ) |
| 35 TT_Init_Glyph_Loading( TT_Face face ); | 35 TT_Init_Glyph_Loading( TT_Face face ); |
| 36 | 36 |
| 37 FT_LOCAL( void ) | 37 FT_LOCAL( void ) |
| 38 TT_Get_HMetrics( TT_Face face, | 38 TT_Get_HMetrics( TT_Face face, |
| 39 FT_UInt idx, | 39 FT_UInt idx, |
| 40 FT_Short* lsb, | 40 FT_Short* lsb, |
| 41 FT_UShort* aw ); | 41 FT_UShort* aw ); |
| 42 | 42 |
| 43 FT_LOCAL( void ) | 43 FT_LOCAL( void ) |
| 44 TT_Get_VMetrics( TT_Face face, | 44 TT_Get_VMetrics( TT_Face face, |
| 45 FT_UInt idx, | 45 FT_UInt idx, |
| 46 FT_Pos yMax, |
| 46 FT_Short* tsb, | 47 FT_Short* tsb, |
| 47 FT_UShort* ah ); | 48 FT_UShort* ah ); |
| 48 | 49 |
| 49 FT_LOCAL( FT_Error ) | 50 FT_LOCAL( FT_Error ) |
| 50 TT_Load_Glyph( TT_Size size, | 51 TT_Load_Glyph( TT_Size size, |
| 51 TT_GlyphSlot glyph, | 52 TT_GlyphSlot glyph, |
| 52 FT_UInt glyph_index, | 53 FT_UInt glyph_index, |
| 53 FT_Int32 load_flags ); | 54 FT_Int32 load_flags ); |
| 54 | 55 |
| 55 | 56 |
| 56 FT_END_HEADER | 57 FT_END_HEADER |
| 57 | 58 |
| 58 #endif /* __TTGLOAD_H__ */ | 59 #endif /* __TTGLOAD_H__ */ |
| 59 | 60 |
| 60 | 61 |
| 61 /* END */ | 62 /* END */ |
| OLD | NEW |