00001 /***************************************************************************/ 00002 /* */ 00003 /* gxvmorx4.c */ 00004 /* */ 00005 /* TrueTypeGX/AAT morx table validation */ 00006 /* body for "morx" type4 (Non-Contextual Glyph Substitution) subtable. */ 00007 /* */ 00008 /* Copyright 2005 by suzuki toshiya, Masatake YAMATO, Red Hat K.K., */ 00009 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 00010 /* */ 00011 /* This file is part of the FreeType project, and may only be used, */ 00012 /* modified, and distributed under the terms of the FreeType project */ 00013 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 00014 /* this file you indicate that you have read the license and */ 00015 /* understand and accept it fully. */ 00016 /* */ 00017 /***************************************************************************/ 00018 00019 /***************************************************************************/ 00020 /* */ 00021 /* gxvalid is derived from both gxlayout module and otvalid module. */ 00022 /* Development of gxlayout is supported by the Information-technology */ 00023 /* Promotion Agency(IPA), Japan. */ 00024 /* */ 00025 /***************************************************************************/ 00026 00027 00028 #include "gxvmorx.h" 00029 00030 00031 /*************************************************************************/ 00032 /* */ 00033 /* The macro FT_COMPONENT is used in trace mode. It is an implicit */ 00034 /* parameter of the FT_TRACE() and FT_ERROR() macros, used to print/log */ 00035 /* messages during execution. */ 00036 /* */ 00037 #undef FT_COMPONENT 00038 #define FT_COMPONENT trace_gxvmorx 00039 00040 00041 FT_LOCAL_DEF( void ) 00042 gxv_morx_subtable_type4_validate( FT_Bytes table, 00043 FT_Bytes limit, 00044 GXV_Validator valid ) 00045 { 00046 GXV_NAME_ENTER( "morx chain subtable type4 " 00047 "(Non-Contextual Glyph Substitution)" ); 00048 00049 gxv_mort_subtable_type4_validate( table, limit, valid ); 00050 00051 GXV_EXIT; 00052 } 00053 00054 00055 /* END */