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 /***************************************************************************/ 17 18 19 #ifndef __AFCJK_H__ 20 #define __AFCJK_H__ 21 22 #include "afhints.h" 23 24 25 FT_BEGIN_HEADER 26 27 28 /* the CJK-specific script class */ 29 30 FT_CALLBACK_TABLE const AF_ScriptClassRec 31 af_cjk_script_class; 32 33 34 FT_LOCAL( FT_Error ) 35 af_cjk_metrics_init( AF_LatinMetrics metrics, 36 FT_Face face ); 37 38 FT_LOCAL( void ) 39 af_cjk_metrics_scale( AF_LatinMetrics metrics, 40 AF_Scaler scaler ); 41 42 FT_LOCAL( FT_Error ) 43 af_cjk_hints_init( AF_GlyphHints hints, 44 AF_LatinMetrics metrics ); 45 46 FT_LOCAL( FT_Error ) 47 af_cjk_hints_apply( AF_GlyphHints hints, 48 FT_Outline* outline, 49 AF_LatinMetrics metrics ); 50 51 /* */ 52 53 FT_END_HEADER 54 55 #endif /* __AFCJK_H__ */ 56 57 58 /* END */ 59