1 /***************************************************************************/ 2 /* */ 3 /* t1load.h */ 4 /* */ 5 /* Type 1 font loader (specification). */ 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 T1LOAD_H_ 20 #define T1LOAD_H_ 21 22 23 #include <ft2build.h> 24 #include FT_INTERNAL_STREAM_H 25 #include FT_INTERNAL_POSTSCRIPT_AUX_H 26 #include FT_MULTIPLE_MASTERS_H 27 28 #include "t1parse.h" 29 30 31 FT_BEGIN_HEADER 32 33 34 typedef struct T1_Loader_ 35 { 36 T1_ParserRec parser; /* parser used to read the stream */ 88 T1_Set_MM_Design( T1_Face face, 89 FT_UInt num_coords, 90 FT_Long* coords ); 91 92 FT_LOCAL( FT_Error ) 93 T1_Reset_MM_Blend( T1_Face face, 94 FT_UInt instance_index ); 95 96 FT_LOCAL( FT_Error ) 97 T1_Get_Var_Design( T1_Face face, 98 FT_UInt num_coords, 99 FT_Fixed* coords ); 100 101 FT_LOCAL( FT_Error ) 102 T1_Set_Var_Design( T1_Face face, 103 FT_UInt num_coords, 104 FT_Fixed* coords ); 105 106 FT_LOCAL( void ) 107 T1_Done_Blend( T1_Face face ); 108 109 #endif /* !T1_CONFIG_OPTION_NO_MM_SUPPORT */ 110 111 112 FT_END_HEADER 113 114 #endif /* T1LOAD_H_ */ 115 116 117 /* END */ | 1 /**************************************************************************** 2 * 3 * t1load.h 4 * 5 * Type 1 font 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 T1LOAD_H_ 20 #define T1LOAD_H_ 21 22 23 #include <ft2build.h> 24 #include FT_INTERNAL_STREAM_H 25 #include FT_INTERNAL_POSTSCRIPT_AUX_H 26 #include FT_MULTIPLE_MASTERS_H 27 28 #include "t1parse.h" 29 30 31 FT_BEGIN_HEADER 32 33 34 typedef struct T1_Loader_ 35 { 36 T1_ParserRec parser; /* parser used to read the stream */ 88 T1_Set_MM_Design( T1_Face face, 89 FT_UInt num_coords, 90 FT_Long* coords ); 91 92 FT_LOCAL( FT_Error ) 93 T1_Reset_MM_Blend( T1_Face face, 94 FT_UInt instance_index ); 95 96 FT_LOCAL( FT_Error ) 97 T1_Get_Var_Design( T1_Face face, 98 FT_UInt num_coords, 99 FT_Fixed* coords ); 100 101 FT_LOCAL( FT_Error ) 102 T1_Set_Var_Design( T1_Face face, 103 FT_UInt num_coords, 104 FT_Fixed* coords ); 105 106 FT_LOCAL( void ) 107 T1_Done_Blend( T1_Face face ); 108 109 FT_LOCAL( FT_Error ) 110 T1_Set_MM_WeightVector( T1_Face face, 111 FT_UInt len, 112 FT_Fixed* weightvector ); 113 114 FT_LOCAL( FT_Error ) 115 T1_Get_MM_WeightVector( T1_Face face, 116 FT_UInt* len, 117 FT_Fixed* weightvector ); 118 119 #endif /* !T1_CONFIG_OPTION_NO_MM_SUPPORT */ 120 121 122 FT_END_HEADER 123 124 #endif /* T1LOAD_H_ */ 125 126 127 /* END */ |