Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / modules / freetype2 / src / autofit / afcjk.h
blob9f77fda14306db8b1afb43dbfecc9d497f9a50d2
1 /***************************************************************************/
2 /* */
3 /* afcjk.h */
4 /* */
5 /* Auto-fitter hinting routines for CJK script (specification). */
6 /* */
7 /* Copyright 2006, 2007 by */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9 /* */
10 /* This file is part of the FreeType project, and may only be used, */
11 /* modified, and distributed under the terms of the FreeType project */
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 /* this file you indicate that you have read the license and */
14 /* understand and accept it fully. */
15 /* */
16 /***************************************************************************/
19 #ifndef __AFCJK_H__
20 #define __AFCJK_H__
22 #include "afhints.h"
25 FT_BEGIN_HEADER
28 /* the CJK-specific script class */
30 FT_CALLBACK_TABLE const AF_ScriptClassRec
31 af_cjk_script_class;
34 FT_LOCAL( FT_Error )
35 af_cjk_metrics_init( AF_LatinMetrics metrics,
36 FT_Face face );
38 FT_LOCAL( void )
39 af_cjk_metrics_scale( AF_LatinMetrics metrics,
40 AF_Scaler scaler );
42 FT_LOCAL( FT_Error )
43 af_cjk_hints_init( AF_GlyphHints hints,
44 AF_LatinMetrics metrics );
46 FT_LOCAL( FT_Error )
47 af_cjk_hints_apply( AF_GlyphHints hints,
48 FT_Outline* outline,
49 AF_LatinMetrics metrics );
51 /* */
53 FT_END_HEADER
55 #endif /* __AFCJK_H__ */
58 /* END */