2004-03-27 09:43:17 +01:00
|
|
|
#include "afdummy.h"
|
2004-06-09 22:18:35 +02:00
|
|
|
#include "afhints.h"
|
2004-03-27 09:43:17 +01:00
|
|
|
|
|
|
|
|
|
|
|
static FT_Error
|
|
|
|
af_dummy_hints_init( AF_GlyphHints hints,
|
|
|
|
AF_ScriptMetrics metrics )
|
|
|
|
{
|
2004-06-04 19:41:59 +02:00
|
|
|
af_glyph_hints_rescale( hints,
|
|
|
|
metrics );
|
|
|
|
return 0;
|
2004-03-27 09:43:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static FT_Error
|
|
|
|
af_dummy_hints_apply( AF_GlyphHints hints,
|
|
|
|
FT_Outline* outline )
|
|
|
|
{
|
2004-06-04 19:41:59 +02:00
|
|
|
FT_UNUSED( hints );
|
|
|
|
FT_UNUSED( outline );
|
|
|
|
|
|
|
|
return 0;
|
2004-03-27 09:43:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
FT_LOCAL_DEF( const AF_ScriptClassRec ) af_dummy_script_class =
|
|
|
|
{
|
|
|
|
AF_SCRIPT_NONE,
|
|
|
|
NULL,
|
|
|
|
|
|
|
|
sizeof( AF_ScriptMetricsRec ),
|
|
|
|
(AF_Script_InitMetricsFunc) NULL,
|
|
|
|
(AF_Script_ScaleMetricsFunc) NULL,
|
|
|
|
(AF_Script_DoneMetricsFunc) NULL,
|
|
|
|
|
|
|
|
(AF_Script_InitHintsFunc) af_dummy_hints_init,
|
|
|
|
(AF_Script_ApplyHintsFunc) af_dummy_hints_apply
|
|
|
|
};
|