cffload.h

Go to the documentation of this file.
00001 /***************************************************************************/
00002 /*                                                                         */
00003 /*  cffload.h                                                              */
00004 /*                                                                         */
00005 /*    OpenType & CFF data/program tables loader (specification).           */
00006 /*                                                                         */
00007 /*  Copyright 1996-2001, 2002, 2003, 2007, 2008 by                         */
00008 /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
00009 /*                                                                         */
00010 /*  This file is part of the FreeType project, and may only be used,       */
00011 /*  modified, and distributed under the terms of the FreeType project      */
00012 /*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
00013 /*  this file you indicate that you have read the license and              */
00014 /*  understand and accept it fully.                                        */
00015 /*                                                                         */
00016 /***************************************************************************/
00017 
00018 
00019 #ifndef __CFFLOAD_H__
00020 #define __CFFLOAD_H__
00021 
00022 
00023 #include <ft2build.h>
00024 #include "cfftypes.h"
00025 #include FT_SERVICE_POSTSCRIPT_CMAPS_H
00026 
00027 
00028 FT_BEGIN_HEADER
00029 
00030   FT_LOCAL( FT_UShort )
00031   cff_get_standard_encoding( FT_UInt  charcode );
00032 
00033 
00034   FT_LOCAL( FT_String* )
00035   cff_index_get_name( CFF_Index  idx,
00036                       FT_UInt    element );
00037 
00038   FT_LOCAL( FT_String* )
00039   cff_index_get_sid_string( CFF_Index          idx,
00040                             FT_UInt            sid,
00041                             FT_Service_PsCMaps psnames );
00042 
00043 
00044   FT_LOCAL( FT_Error )
00045   cff_index_access_element( CFF_Index  idx,
00046                             FT_UInt    element,
00047                             FT_Byte**  pbytes,
00048                             FT_ULong*  pbyte_len );
00049 
00050   FT_LOCAL( void )
00051   cff_index_forget_element( CFF_Index  idx,
00052                             FT_Byte**  pbytes );
00053 
00054 
00055   FT_LOCAL( FT_UInt )
00056   cff_charset_cid_to_gindex( CFF_Charset  charset,
00057                              FT_UInt      cid );
00058 
00059 
00060   FT_LOCAL( FT_Error )
00061   cff_font_load( FT_Library library, 
00062                  FT_Stream  stream,
00063                  FT_Int     face_index,
00064                  CFF_Font   font,
00065                  FT_Bool    pure_cff );
00066 
00067   FT_LOCAL( void )
00068   cff_font_done( CFF_Font  font );
00069 
00070 
00071   FT_LOCAL( FT_Byte )
00072   cff_fd_select_get( CFF_FDSelect  fdselect,
00073                      FT_UInt       glyph_index );
00074 
00075 
00076 FT_END_HEADER
00077 
00078 #endif /* __CFFLOAD_H__ */
00079 
00080 
00081 /* END */

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