Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | /***************************************************************************/ |
michael@0 | 2 | /* */ |
michael@0 | 3 | /* ttunpat.h */ |
michael@0 | 4 | /* */ |
michael@0 | 5 | /* Definitions for the unpatented TrueType hinting system */ |
michael@0 | 6 | /* */ |
michael@0 | 7 | /* Copyright 2003, 2006 by */ |
michael@0 | 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
michael@0 | 9 | /* */ |
michael@0 | 10 | /* Written by Graham Asher <graham.asher@btinternet.com> */ |
michael@0 | 11 | /* */ |
michael@0 | 12 | /* This file is part of the FreeType project, and may only be used, */ |
michael@0 | 13 | /* modified, and distributed under the terms of the FreeType project */ |
michael@0 | 14 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
michael@0 | 15 | /* this file you indicate that you have read the license and */ |
michael@0 | 16 | /* understand and accept it fully. */ |
michael@0 | 17 | /* */ |
michael@0 | 18 | /***************************************************************************/ |
michael@0 | 19 | |
michael@0 | 20 | |
michael@0 | 21 | #ifndef __TTUNPAT_H__ |
michael@0 | 22 | #define __TTUNPAT_H__ |
michael@0 | 23 | |
michael@0 | 24 | |
michael@0 | 25 | #include <ft2build.h> |
michael@0 | 26 | #include FT_FREETYPE_H |
michael@0 | 27 | |
michael@0 | 28 | #ifdef FREETYPE_H |
michael@0 | 29 | #error "freetype.h of FreeType 1 has been loaded!" |
michael@0 | 30 | #error "Please fix the directory search order for header files" |
michael@0 | 31 | #error "so that freetype.h of FreeType 2 is found first." |
michael@0 | 32 | #endif |
michael@0 | 33 | |
michael@0 | 34 | |
michael@0 | 35 | FT_BEGIN_HEADER |
michael@0 | 36 | |
michael@0 | 37 | |
michael@0 | 38 | /*************************************************************************** |
michael@0 | 39 | * |
michael@0 | 40 | * @constant: |
michael@0 | 41 | * FT_PARAM_TAG_UNPATENTED_HINTING |
michael@0 | 42 | * |
michael@0 | 43 | * @description: |
michael@0 | 44 | * A constant used as the tag of an @FT_Parameter structure to indicate |
michael@0 | 45 | * that unpatented methods only should be used by the TrueType bytecode |
michael@0 | 46 | * interpreter for a typeface opened by @FT_Open_Face. |
michael@0 | 47 | * |
michael@0 | 48 | */ |
michael@0 | 49 | #define FT_PARAM_TAG_UNPATENTED_HINTING FT_MAKE_TAG( 'u', 'n', 'p', 'a' ) |
michael@0 | 50 | |
michael@0 | 51 | /* */ |
michael@0 | 52 | |
michael@0 | 53 | FT_END_HEADER |
michael@0 | 54 | |
michael@0 | 55 | |
michael@0 | 56 | #endif /* __TTUNPAT_H__ */ |
michael@0 | 57 | |
michael@0 | 58 | |
michael@0 | 59 | /* END */ |