vrshoot

diff libs/ft2static/freetype/internal/services/svgxval.h @ 0:b2f14e535253

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 01 Feb 2014 19:58:19 +0200
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libs/ft2static/freetype/internal/services/svgxval.h	Sat Feb 01 19:58:19 2014 +0200
     1.3 @@ -0,0 +1,72 @@
     1.4 +/***************************************************************************/
     1.5 +/*                                                                         */
     1.6 +/*  svgxval.h                                                              */
     1.7 +/*                                                                         */
     1.8 +/*    FreeType API for validating TrueTypeGX/AAT tables (specification).   */
     1.9 +/*                                                                         */
    1.10 +/*  Copyright 2004, 2005 by                                                */
    1.11 +/*  Masatake YAMATO, Red Hat K.K.,                                         */
    1.12 +/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
    1.13 +/*                                                                         */
    1.14 +/*  This file is part of the FreeType project, and may only be used,       */
    1.15 +/*  modified, and distributed under the terms of the FreeType project      */
    1.16 +/*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
    1.17 +/*  this file you indicate that you have read the license and              */
    1.18 +/*  understand and accept it fully.                                        */
    1.19 +/*                                                                         */
    1.20 +/***************************************************************************/
    1.21 +
    1.22 +/***************************************************************************/
    1.23 +/*                                                                         */
    1.24 +/* gxvalid is derived from both gxlayout module and otvalid module.        */
    1.25 +/* Development of gxlayout is supported by the Information-technology      */
    1.26 +/* Promotion Agency(IPA), Japan.                                           */
    1.27 +/*                                                                         */
    1.28 +/***************************************************************************/
    1.29 +
    1.30 +
    1.31 +#ifndef __SVGXVAL_H__
    1.32 +#define __SVGXVAL_H__
    1.33 +
    1.34 +#include FT_GX_VALIDATE_H
    1.35 +#include FT_INTERNAL_VALIDATE_H
    1.36 +
    1.37 +FT_BEGIN_HEADER
    1.38 +
    1.39 +
    1.40 +#define FT_SERVICE_ID_GX_VALIDATE           "truetypegx-validate"
    1.41 +#define FT_SERVICE_ID_CLASSICKERN_VALIDATE  "classickern-validate"
    1.42 +
    1.43 +  typedef FT_Error
    1.44 +  (*gxv_validate_func)( FT_Face   face,
    1.45 +                        FT_UInt   gx_flags,
    1.46 +                        FT_Bytes  tables[FT_VALIDATE_GX_LENGTH],
    1.47 +                        FT_UInt   table_length );
    1.48 +
    1.49 +
    1.50 +  typedef FT_Error
    1.51 +  (*ckern_validate_func)( FT_Face   face,
    1.52 +                          FT_UInt   ckern_flags,
    1.53 +                          FT_Bytes  *ckern_table );
    1.54 +
    1.55 +
    1.56 +  FT_DEFINE_SERVICE( GXvalidate )
    1.57 +  {
    1.58 +    gxv_validate_func  validate;
    1.59 +  };
    1.60 +
    1.61 +  FT_DEFINE_SERVICE( CKERNvalidate )
    1.62 +  {
    1.63 +    ckern_validate_func  validate;
    1.64 +  };
    1.65 +
    1.66 +  /* */
    1.67 +
    1.68 +
    1.69 +FT_END_HEADER
    1.70 +
    1.71 +
    1.72 +#endif /* __SVGXVAL_H__ */
    1.73 +
    1.74 +
    1.75 +/* END */