fontservices/freetypefontrasteriser/freetype2/include/freetype/internal/services/svgxval.h
author Shabe Razvi <shaber@symbian.org>
Wed, 21 Apr 2010 10:38:57 +0100
changeset 18 67f6b0d39020
permissions -rw-r--r--
Apply Bug 1543 - freetype.dll cannot be built
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     1
/***************************************************************************/
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     2
/*                                                                         */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     3
/*  svgxval.h                                                              */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     4
/*                                                                         */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     5
/*    FreeType API for validating TrueTypeGX/AAT tables (specification).   */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     6
/*                                                                         */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     7
/*  Copyright 2004, 2005 by                                                */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     8
/*  Masatake YAMATO, Red Hat K.K.,                                         */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     9
/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    10
/*                                                                         */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    11
/*  This file is part of the FreeType project, and may only be used,       */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    12
/*  modified, and distributed under the terms of the FreeType project      */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    13
/*  license, FTL.TXT.  By continuing to use, modify, or distribute     */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    14
/*  this file you indicate that you have read the license and              */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    15
/*  understand and accept it fully.                                        */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    16
/*                                                                         */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    17
/***************************************************************************/
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    18
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    19
/***************************************************************************/
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    20
/*                                                                         */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    21
/* gxvalid is derived from both gxlayout module and otvalid module.        */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    22
/* Development of gxlayout is supported by the Information-technology      */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    23
/* Promotion Agency(IPA), Japan.                                           */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    24
/*                                                                         */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    25
/***************************************************************************/
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    26
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    27
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    28
#ifndef __SVGXVAL_H__
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    29
#define __SVGXVAL_H__
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    30
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    31
#include FT_GX_VALIDATE_H
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    32
#include FT_INTERNAL_VALIDATE_H
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    33
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    34
FT_BEGIN_HEADER
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    35
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    36
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    37
#define FT_SERVICE_ID_GX_VALIDATE           "truetypegx-validate"
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    38
#define FT_SERVICE_ID_CLASSICKERN_VALIDATE  "classickern-validate"
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    39
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    40
  typedef FT_Error
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    41
  (*gxv_validate_func)( FT_Face   face,
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    42
                        FT_UInt   gx_flags,
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    43
                        FT_Bytes  tables[FT_VALIDATE_GX_LENGTH],
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    44
                        FT_UInt   table_length );
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    45
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    46
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    47
  typedef FT_Error
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    48
  (*ckern_validate_func)( FT_Face   face,
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    49
                          FT_UInt   ckern_flags,
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    50
                          FT_Bytes  *ckern_table );
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    51
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    52
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    53
  FT_DEFINE_SERVICE( GXvalidate )
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    54
  {
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    55
    gxv_validate_func  validate;
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    56
  };
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    57
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    58
  FT_DEFINE_SERVICE( CKERNvalidate )
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    59
  {
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    60
    ckern_validate_func  validate;
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    61
  };
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    62
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    63
  /* */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    64
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    65
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    66
FT_END_HEADER
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    67
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    68
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    69
#endif /* __SVGXVAL_H__ */
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    70
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    71
67f6b0d39020 Apply Bug 1543 - freetype.dll cannot be built
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    72
/* END */