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