| 1 | /**************************************************************************** |
| 2 | * |
| 3 | * t1gload.h |
| 4 | * |
| 5 | * Type 1 Glyph Loader (specification). |
| 6 | * |
| 7 | * Copyright (C) 1996-2019 by |
| 8 | * David Turner, Robert Wilhelm, and Werner Lemberg. |
| 9 | * |
| 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 |
| 12 | * license, LICENSE.TXT. By continuing to use, modify, or distribute |
| 13 | * this file you indicate that you have read the license and |
| 14 | * understand and accept it fully. |
| 15 | * |
| 16 | */ |
| 17 | |
| 18 | |
| 19 | #ifndef T1GLOAD_H_ |
| 20 | #define T1GLOAD_H_ |
| 21 | |
| 22 | |
| 23 | #include <ft2build.h> |
| 24 | #include "t1objs.h" |
| 25 | |
| 26 | |
| 27 | FT_BEGIN_HEADER |
| 28 | |
| 29 | |
| 30 | FT_LOCAL( FT_Error ) |
| 31 | T1_Compute_Max_Advance( T1_Face face, |
| 32 | FT_Pos* max_advance ); |
| 33 | |
| 34 | FT_LOCAL( FT_Error ) |
| 35 | T1_Get_Advances( FT_Face face, |
| 36 | FT_UInt first, |
| 37 | FT_UInt count, |
| 38 | FT_Int32 load_flags, |
| 39 | FT_Fixed* advances ); |
| 40 | |
| 41 | FT_LOCAL( FT_Error ) |
| 42 | T1_Load_Glyph( FT_GlyphSlot glyph, |
| 43 | FT_Size size, |
| 44 | FT_UInt glyph_index, |
| 45 | FT_Int32 load_flags ); |
| 46 | |
| 47 | |
| 48 | FT_END_HEADER |
| 49 | |
| 50 | #endif /* T1GLOAD_H_ */ |
| 51 | |
| 52 | |
| 53 | /* END */ |
| 54 | |