2018-06-03 22:00:42 +02:00
|
|
|
/****************************************************************************
|
|
|
|
*
|
|
|
|
* svgxval.h
|
|
|
|
*
|
|
|
|
* FreeType API for validating TrueTypeGX/AAT tables (specification).
|
|
|
|
*
|
2020-01-19 17:05:19 +01:00
|
|
|
* Copyright (C) 2004-2020 by
|
2018-06-03 22:00:42 +02:00
|
|
|
* Masatake YAMATO, Red Hat K.K.,
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
*
|
|
|
|
* gxvalid is derived from both gxlayout module and otvalid module.
|
|
|
|
* Development of gxlayout is supported by the Information-technology
|
|
|
|
* Promotion Agency(IPA), Japan.
|
|
|
|
*
|
|
|
|
*/
|
2005-08-24 06:31:31 +02:00
|
|
|
|
2005-08-25 08:00:55 +02:00
|
|
|
|
2016-01-12 21:37:13 +01:00
|
|
|
#ifndef SVGXVAL_H_
|
|
|
|
#define SVGXVAL_H_
|
2005-08-24 06:31:31 +02:00
|
|
|
|
2020-06-08 13:31:55 +02:00
|
|
|
#include <freetype/ftgxval.h>
|
|
|
|
#include <freetype/internal/ftvalid.h>
|
2005-08-24 06:31:31 +02:00
|
|
|
|
|
|
|
FT_BEGIN_HEADER
|
|
|
|
|
|
|
|
|
|
|
|
#define FT_SERVICE_ID_GX_VALIDATE "truetypegx-validate"
|
|
|
|
#define FT_SERVICE_ID_CLASSICKERN_VALIDATE "classickern-validate"
|
|
|
|
|
|
|
|
typedef FT_Error
|
2005-08-25 08:00:55 +02:00
|
|
|
(*gxv_validate_func)( FT_Face face,
|
|
|
|
FT_UInt gx_flags,
|
|
|
|
FT_Bytes tables[FT_VALIDATE_GX_LENGTH],
|
|
|
|
FT_UInt table_length );
|
2005-08-24 06:31:31 +02:00
|
|
|
|
|
|
|
|
|
|
|
typedef FT_Error
|
2005-08-25 08:00:55 +02:00
|
|
|
(*ckern_validate_func)( FT_Face face,
|
|
|
|
FT_UInt ckern_flags,
|
|
|
|
FT_Bytes *ckern_table );
|
2005-08-24 06:31:31 +02:00
|
|
|
|
|
|
|
|
|
|
|
FT_DEFINE_SERVICE( GXvalidate )
|
|
|
|
{
|
|
|
|
gxv_validate_func validate;
|
|
|
|
};
|
|
|
|
|
|
|
|
FT_DEFINE_SERVICE( CKERNvalidate )
|
|
|
|
{
|
|
|
|
ckern_validate_func validate;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* */
|
|
|
|
|
|
|
|
|
|
|
|
FT_END_HEADER
|
|
|
|
|
|
|
|
|
2016-01-12 21:37:13 +01:00
|
|
|
#endif /* SVGXVAL_H_ */
|
2005-08-24 06:31:31 +02:00
|
|
|
|
|
|
|
|
|
|
|
/* END */
|