| OLD | NEW |
| 1 /***************************************************************************/ | 1 /***************************************************************************/ |
| 2 /* */ | 2 /* */ |
| 3 /* sfnt.h */ | 3 /* sfnt.h */ |
| 4 /* */ | 4 /* */ |
| 5 /* High-level `sfnt' driver interface (specification). */ | 5 /* High-level `sfnt' driver interface (specification). */ |
| 6 /* */ | 6 /* */ |
| 7 /* Copyright 1996-2006, 2009, 2012-2013 by */ | 7 /* Copyright 1996-2006, 2009, 2012-2014 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 __SFNT_H__ | 19 #ifndef __SFNT_H__ |
| 20 #define __SFNT_H__ | 20 #define __SFNT_H__ |
| 21 | 21 |
| 22 | 22 |
| 23 #include "../../ft2build.h" | 23 #include <ft2build.h> |
| 24 #include "ftdriver.h" | 24 #include FT_INTERNAL_DRIVER_H |
| 25 #include "tttypes.h" | 25 #include FT_INTERNAL_TRUETYPE_TYPES_H |
| 26 | 26 |
| 27 | 27 |
| 28 FT_BEGIN_HEADER | 28 FT_BEGIN_HEADER |
| 29 | 29 |
| 30 | 30 |
| 31 /*************************************************************************/ | 31 /*************************************************************************/ |
| 32 /* */ | 32 /* */ |
| 33 /* <FuncType> */ | 33 /* <FuncType> */ |
| 34 /* TT_Init_Face_Func */ | 34 /* TT_Init_Face_Func */ |
| 35 /* */ | 35 /* */ |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 /* */ | 398 /* */ |
| 399 /* <FuncType> */ | 399 /* <FuncType> */ |
| 400 /* TT_Get_Metrics_Func */ | 400 /* TT_Get_Metrics_Func */ |
| 401 /* */ | 401 /* */ |
| 402 /* <Description> */ | 402 /* <Description> */ |
| 403 /* Load the horizontal or vertical header in a face object. */ | 403 /* Load the horizontal or vertical header in a face object. */ |
| 404 /* */ | 404 /* */ |
| 405 /* <Input> */ | 405 /* <Input> */ |
| 406 /* face :: A handle to the target face object. */ | 406 /* face :: A handle to the target face object. */ |
| 407 /* */ | 407 /* */ |
| 408 /* stream :: The input stream. */ | |
| 409 /* */ | |
| 410 /* vertical :: A boolean flag. If set, load vertical metrics. */ | 408 /* vertical :: A boolean flag. If set, load vertical metrics. */ |
| 411 /* */ | 409 /* */ |
| 412 /* <Return> */ | 410 /* gindex :: The glyph index. */ |
| 413 /* FreeType error code. 0 means success. */ | |
| 414 /* */ | 411 /* */ |
| 415 typedef FT_Error | 412 /* <Output> */ |
| 413 /* abearing :: The horizontal (or vertical) bearing. Set to zero in */ |
| 414 /* case of error. */ |
| 415 /* */ |
| 416 /* aadvance :: The horizontal (or vertical) advance. Set to zero in */ |
| 417 /* case of error. */ |
| 418 /* */ |
| 419 typedef void |
| 416 (*TT_Get_Metrics_Func)( TT_Face face, | 420 (*TT_Get_Metrics_Func)( TT_Face face, |
| 417 FT_Bool vertical, | 421 FT_Bool vertical, |
| 418 FT_UInt gindex, | 422 FT_UInt gindex, |
| 419 FT_Short* abearing, | 423 FT_Short* abearing, |
| 420 FT_UShort* aadvance ); | 424 FT_UShort* aadvance ); |
| 421 | 425 |
| 422 | 426 |
| 423 /*************************************************************************/ | 427 /*************************************************************************/ |
| 424 /* */ | 428 /* */ |
| 425 /* <FuncType> */ | 429 /* <FuncType> */ |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 698 } | 702 } |
| 699 | 703 |
| 700 #endif /* FT_CONFIG_OPTION_PIC */ | 704 #endif /* FT_CONFIG_OPTION_PIC */ |
| 701 | 705 |
| 702 FT_END_HEADER | 706 FT_END_HEADER |
| 703 | 707 |
| 704 #endif /* __SFNT_H__ */ | 708 #endif /* __SFNT_H__ */ |
| 705 | 709 |
| 706 | 710 |
| 707 /* END */ | 711 /* END */ |
| OLD | NEW |