00001 /***************************************************************************/ 00002 /* */ 00003 /* afcjk.h */ 00004 /* */ 00005 /* Auto-fitter hinting routines for CJK script (specification). */ 00006 /* */ 00007 /* Copyright 2006, 2007 by */ 00008 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 00009 /* */ 00010 /* This file is part of the FreeType project, and may only be used, */ 00011 /* modified, and distributed under the terms of the FreeType project */ 00012 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 00013 /* this file you indicate that you have read the license and */ 00014 /* understand and accept it fully. */ 00015 /* */ 00016 /***************************************************************************/ 00017 00018 00019 #ifndef __AFCJK_H__ 00020 #define __AFCJK_H__ 00021 00022 #include "afhints.h" 00023 00024 00025 FT_BEGIN_HEADER 00026 00027 00028 /* the CJK-specific script class */ 00029 00030 AF_DECLARE_SCRIPT_CLASS(af_cjk_script_class) 00031 00032 00033 FT_LOCAL( FT_Error ) 00034 af_cjk_metrics_init( AF_LatinMetrics metrics, 00035 FT_Face face ); 00036 00037 FT_LOCAL( void ) 00038 af_cjk_metrics_scale( AF_LatinMetrics metrics, 00039 AF_Scaler scaler ); 00040 00041 FT_LOCAL( FT_Error ) 00042 af_cjk_hints_init( AF_GlyphHints hints, 00043 AF_LatinMetrics metrics ); 00044 00045 FT_LOCAL( FT_Error ) 00046 af_cjk_hints_apply( AF_GlyphHints hints, 00047 FT_Outline* outline, 00048 AF_LatinMetrics metrics ); 00049 00050 /* */ 00051 00052 FT_END_HEADER 00053 00054 #endif /* __AFCJK_H__ */ 00055 00056 00057 /* END */