misc/libfreetype/src/autofit/afcjk.h
changeset 5172 88f2e05288ba
equal deleted inserted replaced
5171:f9283dc4860d 5172:88f2e05288ba
       
     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   AF_DECLARE_SCRIPT_CLASS(af_cjk_script_class)
       
    31 
       
    32 
       
    33   FT_LOCAL( FT_Error )
       
    34   af_cjk_metrics_init( AF_LatinMetrics  metrics,
       
    35                        FT_Face          face );
       
    36 
       
    37   FT_LOCAL( void )
       
    38   af_cjk_metrics_scale( AF_LatinMetrics  metrics,
       
    39                         AF_Scaler        scaler );
       
    40 
       
    41   FT_LOCAL( FT_Error )
       
    42   af_cjk_hints_init( AF_GlyphHints    hints,
       
    43                      AF_LatinMetrics  metrics );
       
    44 
       
    45   FT_LOCAL( FT_Error )
       
    46   af_cjk_hints_apply( AF_GlyphHints    hints,
       
    47                       FT_Outline*      outline,
       
    48                       AF_LatinMetrics  metrics );
       
    49 
       
    50 /* */
       
    51 
       
    52 FT_END_HEADER
       
    53 
       
    54 #endif /* __AFCJK_H__ */
       
    55 
       
    56 
       
    57 /* END */