home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: SysTools / SysTools.zip / ft-beta.zip / freetype / lib / extend / ttkern.h < prev   
C/C++ Source or Header  |  1997-10-06  |  2KB  |  53 lines

  1. /*******************************************************************
  2.  *
  3.  *  ttkern.h                                                     1.0
  4.  *
  5.  *    Kerning support interface.            
  6.  *
  7.  *  Copyright 1996, 1997 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.  *  The kerning support is currently part of the engine extensions.
  18.  *  This file is included by 'apiext.h', the API extender included
  19.  *  by user applications. As a consequence, it should _not_ depend
  20.  *  on engine internal types. It's implementation can however..
  21.  *
  22.  ******************************************************************/
  23.  
  24. #ifndef TTKERN_H
  25. #define TTKERN_H
  26.  
  27. #include "ttcommon.h"
  28. #include "ftxkern.h"
  29.  
  30.   #ifdef __cplusplus
  31.   extern "C" {
  32.   #endif
  33.   
  34.   /* included by 'kern.c' and 'extend.c' */
  35.  
  36.   /* the following functions are called by the extensions constructor */
  37.   /* and destructor.                                                  */
  38.  
  39.   /* Create the kerning default data. This should load the kerning */
  40.   /* tables directory, but leave the table themselves on the disk. */
  41.   /* They will be loaded on demand..                               */
  42.   TT_Error  Kerning_Create( PFace        face,
  43.                             TT_Kerning*  kern );
  44.  
  45.   /* Destroy _all_ kerning information */
  46.   TT_Error  Kerning_Destroy( TT_Kerning*  kern );
  47.  
  48.   #ifdef __cplusplus
  49.   }
  50.   #endif
  51.   
  52. #endif /* TTKERN_H */
  53.