Bringing apdf from vendor into main branch.
[AROS-Contrib.git] / apdf / freetype2 / cff / cffload.h
blob2057308cb5b5e5c9a179b023ad96084442d20d23
1 /***************************************************************************/
2 /* */
3 /* cffload.h */
4 /* */
5 /* OpenType & CFF data/program tables loader (specification). */
6 /* */
7 /* Copyright 1996-2001, 2002 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 /***************************************************************************/
19 #ifndef __CFFLOAD_H__
20 #define __CFFLOAD_H__
23 #include <ft2build.h>
24 #include FT_INTERNAL_CFF_TYPES_H
25 #include FT_INTERNAL_POSTSCRIPT_NAMES_H
28 FT_BEGIN_HEADER
30 FT_LOCAL( FT_UShort )
31 CFF_Get_Standard_Encoding( FT_UInt charcode );
34 FT_LOCAL( FT_String* )
35 CFF_Get_Name( CFF_Index idx,
36 FT_UInt element );
38 FT_LOCAL( FT_String* )
39 CFF_Get_String( CFF_Index idx,
40 FT_UInt sid,
41 PSNames_Service psnames_interface );
44 FT_LOCAL( FT_Error )
45 CFF_Access_Element( CFF_Index idx,
46 FT_UInt element,
47 FT_Byte** pbytes,
48 FT_ULong* pbyte_len );
50 FT_LOCAL( void )
51 CFF_Forget_Element( CFF_Index idx,
52 FT_Byte** pbytes );
55 FT_LOCAL( FT_Error )
56 CFF_Load_Font( FT_Stream stream,
57 FT_Int face_index,
58 CFF_Font font );
60 FT_LOCAL( void )
61 CFF_Done_Font( CFF_Font font );
64 FT_LOCAL( FT_Byte )
65 CFF_Get_FD( CFF_FDSelect select,
66 FT_UInt glyph_index );
69 FT_END_HEADER
71 #endif /* __CFFLOAD_H__ */
74 /* END */