PageRenderTime 458ms CodeModel.GetById 141ms app.highlight 180ms RepoModel.GetById 133ms app.codeStats 0ms

/src/compiler/android-ndk/jni/freetype/src/autofit/afcjk.h

http://ftk.googlecode.com/
C++ Header | 57 lines | 20 code | 18 blank | 19 comment | 0 complexity | b9338fdad271d01868b1a5c1cf7e3a44 MD5 | raw file
 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
25FT_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
52FT_END_HEADER
53
54#endif /* __AFCJK_H__ */
55
56
57/* END */