1 /***************************************************************************/ 2 /* */ 3 /* tttags.h */ 4 /* */ 5 /* Tags for TrueType and OpenType tables (specification only). */ 6 /* */ 7 /* Copyright 1996-2018 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 TTAGS_H_ 20 #define TTAGS_H_ 21 22 23 #include <ft2build.h> 24 #include FT_FREETYPE_H 25 26 #ifdef FREETYPE_H 27 #error "freetype.h of FreeType 1 has been loaded!" 28 #error "Please fix the directory search order for header files" 29 #error "so that freetype.h of FreeType 2 is found first." 30 #endif 31 32 33 FT_BEGIN_HEADER 34 35 36 #define TTAG_avar FT_MAKE_TAG( 'a', 'v', 'a', 'r' ) 37 #define TTAG_BASE FT_MAKE_TAG( 'B', 'A', 'S', 'E' ) 38 #define TTAG_bdat FT_MAKE_TAG( 'b', 'd', 'a', 't' ) 39 #define TTAG_BDF FT_MAKE_TAG( 'B', 'D', 'F', ' ' ) 40 #define TTAG_bhed FT_MAKE_TAG( 'b', 'h', 'e', 'd' ) 41 #define TTAG_bloc FT_MAKE_TAG( 'b', 'l', 'o', 'c' ) 42 #define TTAG_bsln FT_MAKE_TAG( 'b', 's', 'l', 'n' ) 43 #define TTAG_CBDT FT_MAKE_TAG( 'C', 'B', 'D', 'T' ) 44 #define TTAG_CBLC FT_MAKE_TAG( 'C', 'B', 'L', 'C' ) 45 #define TTAG_CFF FT_MAKE_TAG( 'C', 'F', 'F', ' ' ) 46 #define TTAG_CFF2 FT_MAKE_TAG( 'C', 'F', 'F', '2' ) 47 #define TTAG_CID FT_MAKE_TAG( 'C', 'I', 'D', ' ' ) 48 #define TTAG_cmap FT_MAKE_TAG( 'c', 'm', 'a', 'p' ) 49 #define TTAG_cvar FT_MAKE_TAG( 'c', 'v', 'a', 'r' ) 50 #define TTAG_cvt FT_MAKE_TAG( 'c', 'v', 't', ' ' ) 51 #define TTAG_DSIG FT_MAKE_TAG( 'D', 'S', 'I', 'G' ) 52 #define TTAG_EBDT FT_MAKE_TAG( 'E', 'B', 'D', 'T' ) 53 #define TTAG_EBLC FT_MAKE_TAG( 'E', 'B', 'L', 'C' ) 54 #define TTAG_EBSC FT_MAKE_TAG( 'E', 'B', 'S', 'C' ) 55 #define TTAG_feat FT_MAKE_TAG( 'f', 'e', 'a', 't' ) 56 #define TTAG_FOND FT_MAKE_TAG( 'F', 'O', 'N', 'D' ) 57 #define TTAG_fpgm FT_MAKE_TAG( 'f', 'p', 'g', 'm' ) 58 #define TTAG_fvar FT_MAKE_TAG( 'f', 'v', 'a', 'r' ) 59 #define TTAG_gasp FT_MAKE_TAG( 'g', 'a', 's', 'p' ) 60 #define TTAG_GDEF FT_MAKE_TAG( 'G', 'D', 'E', 'F' ) 61 #define TTAG_glyf FT_MAKE_TAG( 'g', 'l', 'y', 'f' ) 62 #define TTAG_GPOS FT_MAKE_TAG( 'G', 'P', 'O', 'S' ) 63 #define TTAG_GSUB FT_MAKE_TAG( 'G', 'S', 'U', 'B' ) 64 #define TTAG_gvar FT_MAKE_TAG( 'g', 'v', 'a', 'r' ) 65 #define TTAG_HVAR FT_MAKE_TAG( 'H', 'V', 'A', 'R' ) 66 #define TTAG_hdmx FT_MAKE_TAG( 'h', 'd', 'm', 'x' ) 67 #define TTAG_head FT_MAKE_TAG( 'h', 'e', 'a', 'd' ) 68 #define TTAG_hhea FT_MAKE_TAG( 'h', 'h', 'e', 'a' ) | 1 /**************************************************************************** 2 * 3 * tttags.h 4 * 5 * Tags for TrueType and OpenType tables (specification only). 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 TTAGS_H_ 20 #define TTAGS_H_ 21 22 23 #include <ft2build.h> 24 #include FT_FREETYPE_H 25 26 #ifdef FREETYPE_H 27 #error "freetype.h of FreeType 1 has been loaded!" 28 #error "Please fix the directory search order for header files" 29 #error "so that freetype.h of FreeType 2 is found first." 30 #endif 31 32 33 FT_BEGIN_HEADER 34 35 36 #define TTAG_avar FT_MAKE_TAG( 'a', 'v', 'a', 'r' ) 37 #define TTAG_BASE FT_MAKE_TAG( 'B', 'A', 'S', 'E' ) 38 #define TTAG_bdat FT_MAKE_TAG( 'b', 'd', 'a', 't' ) 39 #define TTAG_BDF FT_MAKE_TAG( 'B', 'D', 'F', ' ' ) 40 #define TTAG_bhed FT_MAKE_TAG( 'b', 'h', 'e', 'd' ) 41 #define TTAG_bloc FT_MAKE_TAG( 'b', 'l', 'o', 'c' ) 42 #define TTAG_bsln FT_MAKE_TAG( 'b', 's', 'l', 'n' ) 43 #define TTAG_CBDT FT_MAKE_TAG( 'C', 'B', 'D', 'T' ) 44 #define TTAG_CBLC FT_MAKE_TAG( 'C', 'B', 'L', 'C' ) 45 #define TTAG_CFF FT_MAKE_TAG( 'C', 'F', 'F', ' ' ) 46 #define TTAG_CFF2 FT_MAKE_TAG( 'C', 'F', 'F', '2' ) 47 #define TTAG_CID FT_MAKE_TAG( 'C', 'I', 'D', ' ' ) 48 #define TTAG_cmap FT_MAKE_TAG( 'c', 'm', 'a', 'p' ) 49 #define TTAG_COLR FT_MAKE_TAG( 'C', 'O', 'L', 'R' ) 50 #define TTAG_CPAL FT_MAKE_TAG( 'C', 'P', 'A', 'L' ) 51 #define TTAG_cvar FT_MAKE_TAG( 'c', 'v', 'a', 'r' ) 52 #define TTAG_cvt FT_MAKE_TAG( 'c', 'v', 't', ' ' ) 53 #define TTAG_DSIG FT_MAKE_TAG( 'D', 'S', 'I', 'G' ) 54 #define TTAG_EBDT FT_MAKE_TAG( 'E', 'B', 'D', 'T' ) 55 #define TTAG_EBLC FT_MAKE_TAG( 'E', 'B', 'L', 'C' ) 56 #define TTAG_EBSC FT_MAKE_TAG( 'E', 'B', 'S', 'C' ) 57 #define TTAG_feat FT_MAKE_TAG( 'f', 'e', 'a', 't' ) 58 #define TTAG_FOND FT_MAKE_TAG( 'F', 'O', 'N', 'D' ) 59 #define TTAG_fpgm FT_MAKE_TAG( 'f', 'p', 'g', 'm' ) 60 #define TTAG_fvar FT_MAKE_TAG( 'f', 'v', 'a', 'r' ) 61 #define TTAG_gasp FT_MAKE_TAG( 'g', 'a', 's', 'p' ) 62 #define TTAG_GDEF FT_MAKE_TAG( 'G', 'D', 'E', 'F' ) 63 #define TTAG_glyf FT_MAKE_TAG( 'g', 'l', 'y', 'f' ) 64 #define TTAG_GPOS FT_MAKE_TAG( 'G', 'P', 'O', 'S' ) 65 #define TTAG_GSUB FT_MAKE_TAG( 'G', 'S', 'U', 'B' ) 66 #define TTAG_gvar FT_MAKE_TAG( 'g', 'v', 'a', 'r' ) 67 #define TTAG_HVAR FT_MAKE_TAG( 'H', 'V', 'A', 'R' ) 68 #define TTAG_hdmx FT_MAKE_TAG( 'h', 'd', 'm', 'x' ) 69 #define TTAG_head FT_MAKE_TAG( 'h', 'e', 'a', 'd' ) 70 #define TTAG_hhea FT_MAKE_TAG( 'h', 'h', 'e', 'a' ) |