/modules/freetype2/src/gxvalid/gxvmorx4.c

http://github.com/zpao/v8monkey · C · 55 lines · 13 code · 11 blank · 31 comment · 0 complexity · 539bf5adfe99f83ae2dda4000e2db921 MD5 · raw file

  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. /* gxvalid is derived from both gxlayout module and otvalid module. */
  21. /* Development of gxlayout is supported by the Information-technology */
  22. /* Promotion Agency(IPA), Japan. */
  23. /* */
  24. /***************************************************************************/
  25. #include "gxvmorx.h"
  26. /*************************************************************************/
  27. /* */
  28. /* The macro FT_COMPONENT is used in trace mode. It is an implicit */
  29. /* parameter of the FT_TRACE() and FT_ERROR() macros, used to print/log */
  30. /* messages during execution. */
  31. /* */
  32. #undef FT_COMPONENT
  33. #define FT_COMPONENT trace_gxvmorx
  34. FT_LOCAL_DEF( void )
  35. gxv_morx_subtable_type4_validate( FT_Bytes table,
  36. FT_Bytes limit,
  37. GXV_Validator valid )
  38. {
  39. GXV_NAME_ENTER( "morx chain subtable type4 "
  40. "(Non-Contextual Glyph Substitution)" );
  41. gxv_mort_subtable_type4_validate( table, limit, valid );
  42. GXV_EXIT;
  43. }
  44. /* END */