ttkern.h

Go to the documentation of this file.
00001 /***************************************************************************/
00002 /*                                                                         */
00003 /*  ttkern.h                                                               */
00004 /*                                                                         */
00005 /*    Load the basic TrueType kerning table.  This doesn't handle          */
00006 /*    kerning data within the GPOS table at the moment.                    */
00007 /*                                                                         */
00008 /*  Copyright 1996-2001, 2002, 2005, 2007 by                               */
00009 /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
00010 /*                                                                         */
00011 /*  This file is part of the FreeType project, and may only be used,       */
00012 /*  modified, and distributed under the terms of the FreeType project      */
00013 /*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
00014 /*  this file you indicate that you have read the license and              */
00015 /*  understand and accept it fully.                                        */
00016 /*                                                                         */
00017 /***************************************************************************/
00018 
00019 
00020 #ifndef __TTKERN_H__
00021 #define __TTKERN_H__
00022 
00023 
00024 #include <ft2build.h>
00025 #include FT_INTERNAL_STREAM_H
00026 #include FT_INTERNAL_TRUETYPE_TYPES_H
00027 
00028 
00029 FT_BEGIN_HEADER
00030 
00031 
00032   FT_LOCAL( FT_Error  )
00033   tt_face_load_kern( TT_Face    face,
00034                      FT_Stream  stream );
00035 
00036   FT_LOCAL( void )
00037   tt_face_done_kern( TT_Face  face );
00038 
00039   FT_LOCAL( FT_Int )
00040   tt_face_get_kerning( TT_Face     face,
00041                        FT_UInt     left_glyph,
00042                        FT_UInt     right_glyph );
00043 
00044 #define TT_FACE_HAS_KERNING( face )  ( (face)->kern_avail_bits != 0 )
00045 
00046 
00047 FT_END_HEADER
00048 
00049 #endif /* __TTKERN_H__ */
00050 
00051 
00052 /* END */

Generated on Tue Jul 5 14:13:51 2011 for ROOT_528-00b_version by  doxygen 1.5.1