]>
git.saurik.com Git - wxWidgets.git/blob - src/freetype/autohint/ahhint.h
   1 /***************************************************************************/ 
   5 /*    Glyph hinter (declaration).                                          */ 
   7 /*  Copyright 2000 Catharon Productions Inc.                               */ 
   8 /*  Author: David Turner                                                   */ 
  10 /*  This file is part of the Catharon Typography Project and shall only    */ 
  11 /*  be used, modified, and distributed under the terms of the Catharon     */ 
  12 /*  Open Source License that should come with this file under the name     */ 
  13 /*  `CatharonLicense.txt'.  By continuing to use, modify, or distribute    */ 
  14 /*  this file you indicate that you have read the license and              */ 
  15 /*  understand and accept it fully.                                        */ 
  17 /*  Note that this license is compatible with the FreeType license.        */ 
  19 /***************************************************************************/ 
  26 #ifdef FT_FLAT_COMPILE 
  32 #include <autohint/ahglobal.h> 
  37 #define AH_HINT_DEFAULT        0 
  38 #define AH_HINT_NO_ALIGNMENT   1 
  39 #define AH_HINT_NO_HORZ_EDGES  0x20000L 
  40 #define AH_HINT_NO_VERT_EDGES  0x40000L 
  43   /* create a new empty hinter object */ 
  44   FT_Error 
ah_hinter_new( FT_Library   library
, 
  45                           AH_Hinter
**  ahinter 
); 
  47   /* Load a hinted glyph in the hinter */ 
  48   FT_Error  
ah_hinter_load_glyph( AH_Hinter
*    hinter
, 
  54   /* finalize a hinter object */ 
  55   void  ah_hinter_done( AH_Hinter
*  hinter 
); 
  58   void  ah_hinter_done_face_globals( AH_Face_Globals
*  globals 
); 
  60   void  ah_hinter_get_global_hints( AH_Hinter
*  hinter
, 
  65   void  ah_hinter_done_global_hints( AH_Hinter
*  hinter
,