David Turner | d2b1f35 | 1999-12-16 23:11:37 +0000 | [diff] [blame] | 1 | /***************************************************************************/ |
| 2 | /* */ |
| 3 | /* ttpload.h */ |
| 4 | /* */ |
Wu, Chia-I (吳佳一) | f5aa47b | 2006-02-14 06:40:10 +0000 | [diff] [blame] | 5 | /* TrueType-specific tables loader (specification). */ |
David Turner | d2b1f35 | 1999-12-16 23:11:37 +0000 | [diff] [blame] | 6 | /* */ |
Wu, Chia-I (吳佳一) | f5aa47b | 2006-02-14 06:40:10 +0000 | [diff] [blame] | 7 | /* Copyright 1996-2001, 2002, 2005, 2006 by */ |
David Turner | d2b1f35 | 1999-12-16 23:11:37 +0000 | [diff] [blame] | 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
| 9 | /* */ |
Werner Lemberg | 78575dc | 2000-06-12 19:36:41 +0000 | [diff] [blame] | 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 */ |
David Turner | d2b1f35 | 1999-12-16 23:11:37 +0000 | [diff] [blame] | 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 | |
Werner Lemberg | 90d9964 | 2000-12-09 00:45:38 +0000 | [diff] [blame] | 19 | #ifndef __TTPLOAD_H__ |
| 20 | #define __TTPLOAD_H__ |
David Turner | d2b1f35 | 1999-12-16 23:11:37 +0000 | [diff] [blame] | 21 | |
Werner Lemberg | cc069be | 2000-12-08 16:17:16 +0000 | [diff] [blame] | 22 | |
David Turner | 19ed8af | 2000-12-08 02:42:29 +0000 | [diff] [blame] | 23 | #include <ft2build.h> |
| 24 | #include FT_INTERNAL_TRUETYPE_TYPES_H |
David Turner | d2b1f35 | 1999-12-16 23:11:37 +0000 | [diff] [blame] | 25 | |
Werner Lemberg | cc069be | 2000-12-08 16:17:16 +0000 | [diff] [blame] | 26 | |
David Turner | 19ed8af | 2000-12-08 02:42:29 +0000 | [diff] [blame] | 27 | FT_BEGIN_HEADER |
David Turner | d2b1f35 | 1999-12-16 23:11:37 +0000 | [diff] [blame] | 28 | |
Werner Lemberg | cc069be | 2000-12-08 16:17:16 +0000 | [diff] [blame] | 29 | |
David Turner | bc82f1b | 2002-03-01 02:26:22 +0000 | [diff] [blame] | 30 | FT_LOCAL( FT_Error ) |
David Turner | b08fe2d | 2002-08-27 20:20:29 +0000 | [diff] [blame] | 31 | tt_face_load_loca( TT_Face face, |
Werner Lemberg | 4a2305c | 2001-06-28 07:17:51 +0000 | [diff] [blame] | 32 | FT_Stream stream ); |
David Turner | d2b1f35 | 1999-12-16 23:11:37 +0000 | [diff] [blame] | 33 | |
David Turner | e70d553 | 2005-02-22 16:53:06 +0000 | [diff] [blame] | 34 | FT_LOCAL( FT_ULong ) |
Werner Lemberg | e793092 | 2005-03-01 02:13:50 +0000 | [diff] [blame] | 35 | tt_face_get_location( TT_Face face, |
| 36 | FT_UInt gindex, |
| 37 | FT_UInt *asize ); |
David Turner | e70d553 | 2005-02-22 16:53:06 +0000 | [diff] [blame] | 38 | |
| 39 | FT_LOCAL( void ) |
| 40 | tt_face_done_loca( TT_Face face ); |
| 41 | |
David Turner | bc82f1b | 2002-03-01 02:26:22 +0000 | [diff] [blame] | 42 | FT_LOCAL( FT_Error ) |
David Turner | b08fe2d | 2002-08-27 20:20:29 +0000 | [diff] [blame] | 43 | tt_face_load_cvt( TT_Face face, |
| 44 | FT_Stream stream ); |
David Turner | d2b1f35 | 1999-12-16 23:11:37 +0000 | [diff] [blame] | 45 | |
David Turner | bc82f1b | 2002-03-01 02:26:22 +0000 | [diff] [blame] | 46 | FT_LOCAL( FT_Error ) |
David Turner | b08fe2d | 2002-08-27 20:20:29 +0000 | [diff] [blame] | 47 | tt_face_load_fpgm( TT_Face face, |
| 48 | FT_Stream stream ); |
David Turner | d2b1f35 | 1999-12-16 23:11:37 +0000 | [diff] [blame] | 49 | |
Werner Lemberg | cc069be | 2000-12-08 16:17:16 +0000 | [diff] [blame] | 50 | |
Wu, Chia-I (吳佳一) | f5aa47b | 2006-02-14 06:40:10 +0000 | [diff] [blame] | 51 | FT_LOCAL( FT_Error ) |
| 52 | tt_face_load_prep( TT_Face face, |
| 53 | FT_Stream stream ); |
| 54 | |
| 55 | |
| 56 | FT_LOCAL( FT_Error ) |
| 57 | tt_face_load_hdmx( TT_Face face, |
| 58 | FT_Stream stream ); |
| 59 | |
| 60 | |
| 61 | FT_LOCAL( void ) |
| 62 | tt_face_free_hdmx( TT_Face face ); |
| 63 | |
| 64 | |
| 65 | FT_LOCAL( FT_Byte* ) |
| 66 | tt_face_get_device_metrics( TT_Face face, |
David Turner | da95af6 | 2006-03-20 13:32:33 +0000 | [diff] [blame] | 67 | FT_UInt ppem, |
Wu, Chia-I (吳佳一) | f5aa47b | 2006-02-14 06:40:10 +0000 | [diff] [blame] | 68 | FT_UInt gindex ); |
| 69 | |
David Turner | 19ed8af | 2000-12-08 02:42:29 +0000 | [diff] [blame] | 70 | FT_END_HEADER |
Werner Lemberg | bd5ae40 | 2000-07-05 04:32:02 +0000 | [diff] [blame] | 71 | |
Werner Lemberg | 90d9964 | 2000-12-09 00:45:38 +0000 | [diff] [blame] | 72 | #endif /* __TTPLOAD_H__ */ |
David Turner | d2b1f35 | 1999-12-16 23:11:37 +0000 | [diff] [blame] | 73 | |
| 74 | |
| 75 | /* END */ |