1 /***************************************************************************/ 2 /* */ 3 /* gxvmorx4.c */ 4 /* */ 5 /* TrueTypeGX/AAT morx table validation */ 6 /* body for "morx" type4 (Non-Contextual Glyph Substitution) subtable. */ 7 /* */ 8 /* Copyright 2005 by suzuki toshiya, Masatake YAMATO, Red Hat K.K., */ 9 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 10 /* */ 11 /* This file is part of the FreeType project, and may only be used, */ 12 /* modified, and distributed under the terms of the FreeType project */ 13 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 14 /* this file you indicate that you have read the license and */ 15 /* understand and accept it fully. */ 16 /* */ 17 /***************************************************************************/ 18 19 /***************************************************************************/ 20 /* */ 21 /* gxvalid is derived from both gxlayout module and otvalid module. */ 22 /* Development of gxlayout is supported by the Information-technology */ 23 /* Promotion Agency(IPA), Japan. */ 24 /* */ 25 /***************************************************************************/ 26 27 28 #include "gxvmorx.h" 29 30 31 /*************************************************************************/ 32 /* */ 33 /* The macro FT_COMPONENT is used in trace mode. It is an implicit */ 34 /* parameter of the FT_TRACE() and FT_ERROR() macros, used to print/log */ 35 /* messages during execution. */ 36 /* */ 37 #undef FT_COMPONENT 38 #define FT_COMPONENT trace_gxvmorx 39 40 41 FT_LOCAL_DEF( void ) gxv_morx_subtable_type4_validate(FT_Bytes table,FT_Bytes limit,GXV_Validator valid)42 gxv_morx_subtable_type4_validate( FT_Bytes table, 43 FT_Bytes limit, 44 GXV_Validator valid ) 45 { 46 GXV_NAME_ENTER( "morx chain subtable type4 " 47 "(Non-Contextual Glyph Substitution)" ); 48 49 gxv_mort_subtable_type4_validate( table, limit, valid ); 50 51 GXV_EXIT; 52 } 53 54 55 /* END */ 56