/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. #ifndef __AFCJK_H__
  18. #define __AFCJK_H__
  19. #include "afhints.h"
  20. FT_BEGIN_HEADER
  21. /* the CJK-specific script class */
  22. AF_DECLARE_SCRIPT_CLASS(af_cjk_script_class)
  23. FT_LOCAL( FT_Error )
  24. af_cjk_metrics_init( AF_LatinMetrics metrics,
  25. FT_Face face );
  26. FT_LOCAL( void )
  27. af_cjk_metrics_scale( AF_LatinMetrics metrics,
  28. AF_Scaler scaler );
  29. FT_LOCAL( FT_Error )
  30. af_cjk_hints_init( AF_GlyphHints hints,
  31. AF_LatinMetrics metrics );
  32. FT_LOCAL( FT_Error )
  33. af_cjk_hints_apply( AF_GlyphHints hints,
  34. FT_Outline* outline,
  35. AF_LatinMetrics metrics );
  36. /* */
  37. FT_END_HEADER
  38. #endif /* __AFCJK_H__ */
  39. /* END */