2018-06-03 09:01:17 +02:00
|
|
|
/****************************************************************************
|
|
|
|
*
|
|
|
|
* afmodule.h
|
|
|
|
*
|
|
|
|
* Auto-fitter module implementation (specification).
|
|
|
|
*
|
2019-01-22 20:31:44 +01:00
|
|
|
* Copyright 2003-2019 by
|
2018-06-03 09:01:17 +02: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.
|
|
|
|
*
|
|
|
|
*/
|
2005-03-03 18:09:08 +01:00
|
|
|
|
|
|
|
|
2016-01-12 21:37:13 +01:00
|
|
|
#ifndef AFMODULE_H_
|
|
|
|
#define AFMODULE_H_
|
2004-02-03 22:34:29 +01:00
|
|
|
|
|
|
|
#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
|
|
|
|
|
|
|
/*
|
2018-06-03 09:01:17 +02:00
|
|
|
* This is the `extended' FT_Module structure that holds the
|
|
|
|
* 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
|
2015-11-02 09:06:36 +01:00
|
|
|
FT_Bool no_stem_darkening;
|
|
|
|
FT_Int darken_params[8];
|
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
|
|
|
|
|
2016-01-12 21:37:13 +01:00
|
|
|
#endif /* AFMODULE_H_ */
|
2005-03-03 18:09:08 +01:00
|
|
|
|
|
|
|
|
|
|
|
/* END */
|