1 /***************************************************************************/
5 /* Auto-fitter dummy routines to be used if no hinting should be */
6 /* performed (body). */
8 /* Copyright 2003, 2004, 2005 by */
9 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
11 /* This file is part of the FreeType project, and may only be used, */
12 /* modified, and distributed under the terms of the FreeType project */
13 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
14 /* this file you indicate that you have read the license and */
15 /* understand and accept it fully. */
17 /***************************************************************************/
25 af_dummy_hints_init( AF_GlyphHints hints
,
26 AF_ScriptMetrics metrics
)
28 af_glyph_hints_rescale( hints
,
35 af_dummy_hints_apply( AF_GlyphHints hints
,
45 AF_DEFINE_SCRIPT_CLASS(af_dummy_script_class
,
49 sizeof( AF_ScriptMetricsRec
),
51 (AF_Script_InitMetricsFunc
) NULL
,
52 (AF_Script_ScaleMetricsFunc
)NULL
,
53 (AF_Script_DoneMetricsFunc
) NULL
,
55 (AF_Script_InitHintsFunc
) af_dummy_hints_init
,
56 (AF_Script_ApplyHintsFunc
) af_dummy_hints_apply