2005-03-03 18:09:08 +01:00
|
|
|
/***************************************************************************/
|
|
|
|
/* */
|
|
|
|
/* afmodule.h */
|
|
|
|
/* */
|
|
|
|
/* Auto-fitter module implementation (specification). */
|
|
|
|
/* */
|
2015-01-17 20:41:43 +01:00
|
|
|
/* Copyright 2003-2015 by */
|
2005-03-03 18:09:08 +01:00
|
|
|
/* 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. */
|
|
|
|
/* */
|
|
|
|
/***************************************************************************/
|
|
|
|
|
|
|
|
|
2004-02-03 22:34:29 +01:00
|
|
|
#ifndef __AFMODULE_H__
|
|
|
|
#define __AFMODULE_H__
|
|
|
|
|
|
|
|
#include <ft2build.h>
|
2009-09-25 16:57:30 +02:00
|
|
|
#include FT_INTERNAL_OBJECTS_H
|
2004-02-03 22:34:29 +01:00
|
|
|
#include FT_MODULE_H
|
|
|
|
|
|
|
|
|
|
|
|
FT_BEGIN_HEADER
|
|
|
|
|
2012-09-14 12:26:57 +02:00
|
|
|
|
|
|
|
/*
|
2015-04-21 07:13:59 +02:00
|
|
|
* This is the `extended' FT_Module structure that holds the
|
2015-01-14 16:01:19 +01:00
|
|
|
* autofitter's global data.
|
2012-09-14 12:26:57 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
typedef struct AF_ModuleRec_
|
|
|
|
{
|
|
|
|
FT_ModuleRec root;
|
|
|
|
|
2013-12-21 21:31:38 +01:00
|
|
|
FT_UInt fallback_style;
|
2013-12-27 19:26:04 +01:00
|
|
|
FT_UInt default_script;
|
2015-04-21 07:13:59 +02:00
|
|
|
#ifdef AF_CONFIG_OPTION_USE_WARPER
|
|
|
|
FT_Bool warping;
|
|
|
|
#endif
|
2012-09-15 10:33:43 +02:00
|
|
|
|
2015-01-14 16:01:19 +01:00
|
|
|
} AF_ModuleRec, *AF_Module;
|
2012-09-14 12:26:57 +02:00
|
|
|
|
|
|
|
|
2015-04-21 07:13:59 +02:00
|
|
|
FT_DECLARE_MODULE( autofit_module_class )
|
2004-02-03 22:34:29 +01:00
|
|
|
|
|
|
|
|
|
|
|
FT_END_HEADER
|
|
|
|
|
|
|
|
#endif /* __AFMODULE_H__ */
|
2005-03-03 18:09:08 +01:00
|
|
|
|
|
|
|
|
|
|
|
/* END */
|