Edit

kc3-lang/freetype/src/otvalid/otvalid.c

Branch :

  • Show log

    Commit

  • Author : Werner Lemberg
    Date : 2007-08-08 06:38:06
    Hash : d76fe5a1
    Message : * src/otvalid/otvbase.c, src/otvalid/otvcommn.c, src/otvalid/otvgdef.c, src/otvalid/otvgpos.c, src/otvalid/otvgsub.c, src/otvalid/otvjstf.c: s/FT_INVALID_DATA/FT_INVALID_FORMAT/ where appropriate. Reported by George. * include/freetype/internal/fttrace.h: Define `trace_otvmath'. * src/otvalid/rules.mk (OTV_DRV_SRC): Add otvmath.c. * docs/CHANGES: Updated. Add `MATH' validating support to otvalid module. * include/freetype/tttags.h (TTAG_MATH): New macro. * include/freetype/ftotval.h (FT_VALIDATE_MATH): New macro. (FT_VALIDATE_OT): Updated. * src/otvalid/otmath.c: New file. * src/otvalid/otvalid.c: Include otvmath.c. * src/otvalid/otvmod.c (otv_validate): Handle `MATH' table.

  • src/otvalid/otvalid.c
  • /***************************************************************************/
    /*                                                                         */
    /*  otvalid.c                                                              */
    /*                                                                         */
    /*    FreeType validator for OpenType tables (body only).                  */
    /*                                                                         */
    /*  Copyright 2004, 2007 by                                                */
    /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
    /*                                                                         */
    /*  This file is part of the FreeType project, and may only be used,       */
    /*  modified, and distributed under the terms of the FreeType project      */
    /*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
    /*  this file you indicate that you have read the license and              */
    /*  understand and accept it fully.                                        */
    /*                                                                         */
    /***************************************************************************/
    
    #define FT_MAKE_OPTION_SINGLE_OBJECT
    
    #include <ft2build.h>
    
    #include "otvbase.c"
    #include "otvcommn.c"
    #include "otvgdef.c"
    #include "otvgpos.c"
    #include "otvgsub.c"
    #include "otvjstf.c"
    #include "otvmath.c"
    #include "otvmod.c"
    
    /* END */