finishing function header formatting

updating copyrights
This commit is contained in:
Werner Lemberg 2001-06-28 17:49:10 +00:00
parent 3544916a6b
commit 08146ba16b
184 changed files with 960 additions and 774 deletions

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Build macros of the FreeType 2 library. */ /* Build macros of the FreeType 2 library. */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Unix-specific FreeType low-level system interface (body). */ /* Unix-specific FreeType low-level system interface (body). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* VMS-specific configuration file (specification only). */ /* VMS-specific configuration file (specification only). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Unix-specific FreeType low-level system interface (body). */ /* Unix-specific FreeType low-level system interface (body). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType chunk cache (specification). */ /* FreeType chunk cache (specification). */
/* */ /* */
/* Copyright 2000 by */ /* Copyright 2000-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -83,25 +83,32 @@ FT_BEGIN_HEADER
/* */ /* */
/* used to set "element_max", "element_count" and "element_size" */ /* used to set "element_max", "element_count" and "element_size" */
typedef FT_Error (*FTC_ChunkSet_SizesFunc) ( FTC_ChunkSet cset, typedef FT_Error
FT_Pointer type ); (*FTC_ChunkSet_SizesFunc)( FTC_ChunkSet cset,
FT_Pointer type );
typedef FT_Error (*FTC_ChunkSet_InitFunc) ( FTC_ChunkSet cset, typedef FT_Error
FT_Pointer type ); (*FTC_ChunkSet_InitFunc)( FTC_ChunkSet cset,
FT_Pointer type );
typedef void (*FTC_ChunkSet_DoneFunc) ( FTC_ChunkSet cset ); typedef void
(*FTC_ChunkSet_DoneFunc)( FTC_ChunkSet cset );
typedef FT_Bool (*FTC_ChunkSet_CompareFunc)( FTC_ChunkSet cset, typedef FT_Bool
FT_Pointer type ); (*FTC_ChunkSet_CompareFunc)( FTC_ChunkSet cset,
FT_Pointer type );
typedef FT_Error (*FTC_ChunkSet_NewNodeFunc) ( FTC_ChunkSet cset, typedef FT_Error
FT_UInt index, (*FTC_ChunkSet_NewNodeFunc)( FTC_ChunkSet cset,
FTC_ChunkNode* anode ); FT_UInt index,
FTC_ChunkNode* anode );
typedef void (*FTC_ChunkSet_DestroyNodeFunc)( FTC_ChunkNode node ); typedef void
(*FTC_ChunkSet_DestroyNodeFunc)( FTC_ChunkNode node );
typedef FT_ULong (*FTC_ChunkSet_SizeNodeFunc) ( FTC_ChunkNode node ); typedef FT_ULong
(*FTC_ChunkSet_SizeNodeFunc)( FTC_ChunkNode node );
typedef struct FTC_ChunkSet_Class_ typedef struct FTC_ChunkSet_Class_
@ -165,10 +172,11 @@ FT_BEGIN_HEADER
/* cache sub-system internals. */ /* cache sub-system internals. */
/* */ /* */
FT_EXPORT( FT_Error ) FTC_ChunkNode_Init( FTC_ChunkNode node, FT_EXPORT( FT_Error )
FTC_ChunkSet cset, FTC_ChunkNode_Init( FTC_ChunkNode node,
FT_UInt index, FTC_ChunkSet cset,
FT_Bool alloc ); FT_UInt index,
FT_Bool alloc );
#define FTC_ChunkNode_Ref( n ) \ #define FTC_ChunkNode_Ref( n ) \
FTC_CACHENODE_TO_DATA_P( &(n)->root )->ref_count++ FTC_CACHENODE_TO_DATA_P( &(n)->root )->ref_count++
@ -179,32 +187,37 @@ FT_BEGIN_HEADER
/* chunk set objects */ /* chunk set objects */
FT_EXPORT( void ) FTC_ChunkNode_Destroy( FTC_ChunkNode node ); FT_EXPORT( void )
FTC_ChunkNode_Destroy( FTC_ChunkNode node );
FT_EXPORT( FT_Error ) FTC_ChunkSet_New ( FTC_Chunk_Cache cache, FT_EXPORT( FT_Error )
FT_Pointer type, FTC_ChunkSet_New( FTC_Chunk_Cache cache,
FTC_ChunkSet *aset ); FT_Pointer type,
FTC_ChunkSet *aset );
FT_EXPORT( FT_Error ) FTC_ChunkSet_Lookup_Node( FT_EXPORT( FT_Error )
FTC_ChunkSet cset, FTC_ChunkSet_Lookup_Node( FTC_ChunkSet cset,
FT_UInt glyph_index, FT_UInt glyph_index,
FTC_ChunkNode* anode, FTC_ChunkNode* anode,
FT_UInt *anindex ); FT_UInt *anindex );
/* chunk cache objects */ /* chunk cache objects */
FT_EXPORT( FT_Error ) FTC_Chunk_Cache_Init ( FTC_Chunk_Cache cache ); FT_EXPORT( FT_Error )
FTC_Chunk_Cache_Init( FTC_Chunk_Cache cache );
FT_EXPORT( void ) FTC_Chunk_Cache_Done ( FTC_Chunk_Cache cache ); FT_EXPORT( void )
FTC_Chunk_Cache_Done( FTC_Chunk_Cache cache );
FT_EXPORT( FT_Error ) FTC_Chunk_Cache_Lookup( FTC_Chunk_Cache cache, FT_EXPORT( FT_Error )
FT_Pointer type, FTC_Chunk_Cache_Lookup( FTC_Chunk_Cache cache,
FT_UInt gindex, FT_Pointer type,
FTC_ChunkNode *anode, FT_UInt gindex,
FT_UInt *aindex ); FTC_ChunkNode *anode,
FT_UInt *aindex );
FT_END_HEADER FT_END_HEADER

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType abstract glyph cache (specification). */ /* FreeType abstract glyph cache (specification). */
/* */ /* */
/* Copyright 2000 by */ /* Copyright 2000-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -93,24 +93,30 @@ FT_BEGIN_HEADER
/* Glyph set methods. */ /* Glyph set methods. */
/* */ /* */
typedef FT_Error (*FTC_GlyphSet_InitFunc) ( FTC_GlyphSet gset, typedef FT_Error
FT_Pointer type ); (*FTC_GlyphSet_InitFunc)( FTC_GlyphSet gset,
FT_Pointer type );
typedef void (*FTC_GlyphSet_DoneFunc) ( FTC_GlyphSet gset ); typedef void
(*FTC_GlyphSet_DoneFunc)( FTC_GlyphSet gset );
typedef FT_Bool (*FTC_GlyphSet_CompareFunc) ( FTC_GlyphSet gset, typedef FT_Bool
FT_Pointer type ); (*FTC_GlyphSet_CompareFunc)( FTC_GlyphSet gset,
FT_Pointer type );
typedef FT_Error (*FTC_GlyphSet_NewNodeFunc) ( FTC_GlyphSet gset, typedef FT_Error
FT_UInt gindex, (*FTC_GlyphSet_NewNodeFunc)( FTC_GlyphSet gset,
FTC_GlyphNode* anode ); FT_UInt gindex,
FTC_GlyphNode* anode );
typedef void (*FTC_GlyphSet_DestroyNodeFunc)( FTC_GlyphNode node, typedef void
FTC_GlyphSet gset ); (*FTC_GlyphSet_DestroyNodeFunc)( FTC_GlyphNode node,
FTC_GlyphSet gset );
typedef FT_ULong (*FTC_GlyphSet_SizeNodeFunc) ( FTC_GlyphNode node, typedef FT_ULong
FTC_GlyphSet gset ); (*FTC_GlyphSet_SizeNodeFunc)( FTC_GlyphNode node,
FTC_GlyphSet gset );
typedef struct FTC_GlyphSet_Class_ typedef struct FTC_GlyphSet_Class_
@ -168,9 +174,10 @@ FT_BEGIN_HEADER
/* cache sub-system internals. */ /* cache sub-system internals. */
/* */ /* */
FT_EXPORT( void ) FTC_GlyphNode_Init( FTC_GlyphNode node, FT_EXPORT( void )
FTC_GlyphSet gset, FTC_GlyphNode_Init( FTC_GlyphNode node,
FT_UInt gindex ); FTC_GlyphSet gset,
FT_UInt gindex );
#define FTC_GlyphNode_Ref( n ) \ #define FTC_GlyphNode_Ref( n ) \
FTC_CACHENODE_TO_DATA_P( &(n)->root )->ref_count++ FTC_CACHENODE_TO_DATA_P( &(n)->root )->ref_count++
@ -179,27 +186,32 @@ FT_BEGIN_HEADER
FTC_CACHENODE_TO_DATA_P( &(n)->root )->ref_count-- FTC_CACHENODE_TO_DATA_P( &(n)->root )->ref_count--
FT_EXPORT( void ) FTC_GlyphNode_Destroy( FTC_GlyphNode node, FT_EXPORT( void )
FTC_Glyph_Cache cache ); FTC_GlyphNode_Destroy( FTC_GlyphNode node,
FTC_Glyph_Cache cache );
FT_EXPORT( FT_Error ) FTC_Glyph_Cache_Init( FTC_Glyph_Cache cache ); FT_EXPORT( FT_Error )
FTC_Glyph_Cache_Init( FTC_Glyph_Cache cache );
FT_EXPORT( void ) FTC_Glyph_Cache_Done( FTC_Glyph_Cache cache ); FT_EXPORT( void )
FTC_Glyph_Cache_Done( FTC_Glyph_Cache cache );
FT_EXPORT( FT_Error ) FTC_GlyphSet_New( FTC_Glyph_Cache cache, FT_EXPORT( FT_Error )
FT_Pointer type, FTC_GlyphSet_New( FTC_Glyph_Cache cache,
FTC_GlyphSet *aset ); FT_Pointer type,
FTC_GlyphSet *aset );
FT_EXPORT( FT_Error ) FTC_GlyphSet_Lookup_Node( FT_EXPORT( FT_Error )
FTC_GlyphSet gset, FTC_GlyphSet_Lookup_Node( FTC_GlyphSet gset,
FT_UInt glyph_index, FT_UInt glyph_index,
FTC_GlyphNode *anode ); FTC_GlyphNode *anode );
FT_EXPORT( FT_Error ) FTC_Glyph_Cache_Lookup( FTC_Glyph_Cache cache, FT_EXPORT( FT_Error )
FT_Pointer type, FTC_Glyph_Cache_Lookup( FTC_Glyph_Cache cache,
FT_UInt gindex, FT_Pointer type,
FTC_GlyphNode *anode ); FT_UInt gindex,
FTC_GlyphNode *anode );
FT_END_HEADER FT_END_HEADER

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType Image cache (body). */ /* FreeType Image cache (body). */
/* */ /* */
/* Copyright 2000 by */ /* Copyright 2000-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -127,8 +127,9 @@ FT_BEGIN_HEADER
/* <Return> */ /* <Return> */
/* FreeType error code. 0 means success. */ /* FreeType error code. 0 means success. */
/* */ /* */
FT_EXPORT( FT_Error ) FTC_Image_Cache_New( FTC_Manager manager, FT_EXPORT( FT_Error )
FTC_Image_Cache *acache ); FTC_Image_Cache_New( FTC_Manager manager,
FTC_Image_Cache *acache );
/*************************************************************************/ /*************************************************************************/
@ -162,10 +163,11 @@ FT_BEGIN_HEADER
/* taken by the glyphs it holds, the returned glyph might disappear */ /* taken by the glyphs it holds, the returned glyph might disappear */
/* on a later invocation of this function! It's a cache after all... */ /* on a later invocation of this function! It's a cache after all... */
/* */ /* */
FT_EXPORT( FT_Error ) FTC_Image_Cache_Lookup( FTC_Image_Cache cache, FT_EXPORT( FT_Error )
FTC_Image_Desc* desc, FTC_Image_Cache_Lookup( FTC_Image_Cache cache,
FT_UInt gindex, FTC_Image_Desc* desc,
FT_Glyph *aglyph ); FT_UInt gindex,
FT_Glyph *aglyph );
/* */ /* */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType Cache Manager (specification). */ /* FreeType Cache Manager (specification). */
/* */ /* */
/* Copyright 2000 by */ /* Copyright 2000-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -161,7 +161,8 @@ FT_BEGIN_HEADER
/* The reason this function is exported is to allow client-specific */ /* The reason this function is exported is to allow client-specific */
/* cache classes. */ /* cache classes. */
/* */ /* */
FT_EXPORT( void ) FTC_Manager_Compress( FTC_Manager manager ); FT_EXPORT( void )
FTC_Manager_Compress( FTC_Manager manager );
/*************************************************************************/ /*************************************************************************/
@ -223,8 +224,9 @@ FT_BEGIN_HEADER
/* <Return> */ /* <Return> */
/* The size of a given cache node in bytes. */ /* The size of a given cache node in bytes. */
/* */ /* */
typedef FT_ULong (*FTC_CacheNode_SizeFunc)( FTC_CacheNode node, typedef FT_ULong
FT_Pointer cache_data ); (*FTC_CacheNode_SizeFunc)( FTC_CacheNode node,
FT_Pointer cache_data );
/*************************************************************************/ /*************************************************************************/
@ -242,8 +244,9 @@ FT_BEGIN_HEADER
/* */ /* */
/* cache_data :: A generic pointer passed to the destructor. */ /* cache_data :: A generic pointer passed to the destructor. */
/* */ /* */
typedef void (*FTC_CacheNode_DestroyFunc)( FTC_CacheNode node, typedef void
FT_Pointer cache_data ); (*FTC_CacheNode_DestroyFunc)( FTC_CacheNode node,
FT_Pointer cache_data );
/*************************************************************************/ /*************************************************************************/
@ -293,7 +296,8 @@ FT_BEGIN_HEADER
/* <Input> */ /* <Input> */
/* cache :: A handle to the new cache. */ /* cache :: A handle to the new cache. */
/* */ /* */
typedef FT_Error (*FTC_Cache_InitFunc)( FTC_Cache cache ); typedef FT_Error
(*FTC_Cache_InitFunc)( FTC_Cache cache );
/*************************************************************************/ /*************************************************************************/
@ -307,7 +311,8 @@ FT_BEGIN_HEADER
/* <Input> */ /* <Input> */
/* cache :: A handle to the target cache. */ /* cache :: A handle to the target cache. */
/* */ /* */
typedef void (*FTC_Cache_DoneFunc)( FTC_Cache cache ); typedef void
(*FTC_Cache_DoneFunc)( FTC_Cache cache );
/*************************************************************************/ /*************************************************************************/

View File

@ -4,7 +4,7 @@
/* */ /* */
/* A small-bitmap cache (specification). */ /* A small-bitmap cache (specification). */
/* */ /* */
/* Copyright 2000 by */ /* Copyright 2000-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -130,8 +130,9 @@ FT_BEGIN_HEADER
/* <Return> */ /* <Return> */
/* FreeType error code. 0 means success. */ /* FreeType error code. 0 means success. */
/* */ /* */
FT_EXPORT( FT_Error ) FTC_SBit_Cache_New( FTC_Manager manager, FT_EXPORT( FT_Error )
FTC_SBit_Cache *acache ); FTC_SBit_Cache_New( FTC_Manager manager,
FTC_SBit_Cache *acache );
/*************************************************************************/ /*************************************************************************/
@ -162,10 +163,11 @@ FT_BEGIN_HEADER
/* The descriptor's `buffer' field is set to 0 to indicate a missing */ /* The descriptor's `buffer' field is set to 0 to indicate a missing */
/* glyph bitmap. */ /* glyph bitmap. */
/* */ /* */
FT_EXPORT( FT_Error ) FTC_SBit_Cache_Lookup( FTC_SBit_Cache cache, FT_EXPORT( FT_Error )
FTC_Image_Desc* desc, FTC_SBit_Cache_Lookup( FTC_SBit_Cache cache,
FT_UInt gindex, FTC_Image_Desc* desc,
FTC_SBit *sbit ); FT_UInt gindex,
FTC_SBit *sbit );
/* */ /* */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Simple LRU list-cache (specification). */ /* Simple LRU list-cache (specification). */
/* */ /* */
/* Copyright 2000 by */ /* Copyright 2000-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -89,26 +89,30 @@ FT_BEGIN_HEADER
FT_UInt lru_size; /* object size in bytes */ FT_UInt lru_size; /* object size in bytes */
/* this method is used to initialize a new list element node */ /* this method is used to initialize a new list element node */
FT_Error (*init_element)( FT_Lru lru, FT_Error
FT_LruNode node ); (*init_element)( FT_Lru lru,
FT_LruNode node );
/* this method is used to finalize a given list element node */ /* this method is used to finalize a given list element node */
void (*done_element)( FT_Lru lru, void
FT_LruNode node ); (*done_element)( FT_Lru lru,
FT_LruNode node );
/* If defined, this method is called when the list if full */ /* If defined, this method is called when the list if full */
/* during the lookup process -- it is used to change the contents */ /* during the lookup process -- it is used to change the contents */
/* of a list element node, instead of calling `done_element()', */ /* of a list element node, instead of calling `done_element()', */
/* then `init_element'. Set it to 0 for default behaviour. */ /* then `init_element'. Set it to 0 for default behaviour. */
FT_Error (*flush_element)( FT_Lru lru, FT_Error
FT_LruNode node, (*flush_element)( FT_Lru lru,
FT_LruKey new_key ); FT_LruNode node,
FT_LruKey new_key );
/* If defined, this method is used to compare a list element node */ /* If defined, this method is used to compare a list element node */
/* with a given key during a lookup. If set to 0, the `key' */ /* with a given key during a lookup. If set to 0, the `key' */
/* fields will be directly compared instead. */ /* fields will be directly compared instead. */
FT_Bool (*compare_element)( FT_LruNode node, FT_Bool
FT_LruKey key ); (*compare_element)( FT_LruNode node,
FT_LruKey key );
} FT_Lru_Class; } FT_Lru_Class;
@ -117,9 +121,10 @@ FT_BEGIN_HEADER
/* is part of a selection for FT_Lru_Remove_Selection(). The function */ /* is part of a selection for FT_Lru_Remove_Selection(). The function */
/* must return true (i.e., non-null) to indicate that the node is part */ /* must return true (i.e., non-null) to indicate that the node is part */
/* of it. */ /* of it. */
typedef FT_Bool (*FT_Lru_Selector)( FT_Lru lru, typedef FT_Bool
FT_LruNode node, (*FT_Lru_Selector)( FT_Lru lru,
FT_Pointer data ); FT_LruNode node,
FT_Pointer data );
typedef struct FT_LruRec_ typedef struct FT_LruRec_
@ -138,31 +143,38 @@ FT_BEGIN_HEADER
} FT_LruRec; } FT_LruRec;
FT_EXPORT( FT_Error ) FT_Lru_New( const FT_Lru_Class* clazz, FT_EXPORT( FT_Error )
FT_UInt max_elements, FT_Lru_New( const FT_Lru_Class* clazz,
FT_Pointer user_data, FT_UInt max_elements,
FT_Memory memory, FT_Pointer user_data,
FT_Bool pre_alloc, FT_Memory memory,
FT_Lru *anlru ); FT_Bool pre_alloc,
FT_Lru *anlru );
FT_EXPORT( void ) FT_Lru_Reset( FT_Lru lru ); FT_EXPORT( void )
FT_Lru_Reset( FT_Lru lru );
FT_EXPORT( void ) FT_Lru_Done ( FT_Lru lru ); FT_EXPORT( void )
FT_Lru_Done ( FT_Lru lru );
FT_EXPORT( FT_Error ) FT_Lru_Lookup_Node( FT_Lru lru, FT_EXPORT( FT_Error )
FT_LruKey key, FT_Lru_Lookup_Node( FT_Lru lru,
FT_LruNode *anode ); FT_LruKey key,
FT_LruNode *anode );
FT_EXPORT( FT_Error ) FT_Lru_Lookup( FT_Lru lru, FT_EXPORT( FT_Error )
FT_LruKey key, FT_Lru_Lookup( FT_Lru lru,
FT_Pointer *anobject ); FT_LruKey key,
FT_Pointer *anobject );
FT_EXPORT( void ) FT_Lru_Remove_Node( FT_Lru lru, FT_EXPORT( void )
FT_LruNode node ); FT_Lru_Remove_Node( FT_Lru lru,
FT_LruNode node );
FT_EXPORT( void ) FT_Lru_Remove_Selection( FT_Lru lru, FT_EXPORT( void )
FT_Lru_Selector selector, FT_Lru_Remove_Selection( FT_Lru lru,
FT_Pointer data ); FT_Lru_Selector selector,
FT_Pointer data );
FT_END_HEADER FT_END_HEADER

View File

@ -4,7 +4,7 @@
/* */ /* */
/* ANSI-specific configuration file (specification only). */ /* ANSI-specific configuration file (specification only). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Build macros of the FreeType 2 library. */ /* Build macros of the FreeType 2 library. */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* User-selectable configuration macros (specification only). */ /* User-selectable configuration macros (specification only). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType high-level API and common types (specification only). */ /* FreeType high-level API and common types (specification only). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType exact bbox computation (specification). */ /* FreeType exact bbox computation (specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType Cache subsystem. */ /* FreeType Cache subsystem. */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType error codes (specification). */ /* FreeType error codes (specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType convenience functions to handle glyphs (specification). */ /* FreeType convenience functions to handle glyphs (specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -5,7 +5,7 @@
/* FreeType glyph image formats and default raster interface */ /* FreeType glyph image formats and default raster interface */
/* (specification). */ /* (specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Generic list support for FreeType (specification). */ /* Generic list support for FreeType (specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Additional Mac-specific API. */ /* Additional Mac-specific API. */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* Just van Rossum, David Turner, Robert Wilhelm, and Werner Lemberg. */ /* Just van Rossum, David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType Multiple Master font interface (specification). */ /* FreeType Multiple Master font interface (specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType modules public interface (specification). */ /* FreeType modules public interface (specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -5,7 +5,7 @@
/* Support for the FT_Outline type used to store glyph shapes of */ /* Support for the FT_Outline type used to store glyph shapes of */
/* most scalable font formats (specification). */ /* most scalable font formats (specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType renderer modules public interface (specification). */ /* FreeType renderer modules public interface (specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -7,7 +7,7 @@
/* */ /* */
/* This is _not_ used to retrieve glyph names! */ /* This is _not_ used to retrieve glyph names! */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -5,7 +5,7 @@
/* FreeType synthesizing code for emboldening and slanting */ /* FreeType synthesizing code for emboldening and slanting */
/* (specification). */ /* (specification). */
/* */ /* */
/* Copyright 2000 by */ /* Copyright 2000-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType low-level system interface definition (specification). */ /* FreeType low-level system interface definition (specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType simple types definitions (specification only). */ /* FreeType simple types definitions (specification only). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* High-level `autohint' module-specific interface (specification). */ /* High-level `autohint' module-specific interface (specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -101,11 +101,11 @@ FT_BEGIN_HEADER
/* */ /* */
/* global_len :: The size in bytes of the global hints. */ /* global_len :: The size in bytes of the global hints. */
/* */ /* */
typedef void (*FT_AutoHinter_Get_Global_Func)( typedef void
FT_AutoHinter hinter, (*FT_AutoHinter_Get_Global_Func)( FT_AutoHinter hinter,
FT_Face face, FT_Face face,
void** global_hints, void** global_hints,
long* global_len ); long* global_len );
/*************************************************************************/ /*************************************************************************/
@ -123,8 +123,9 @@ FT_BEGIN_HEADER
/* */ /* */
/* global :: A pointer to retrieved global hints to discard. */ /* global :: A pointer to retrieved global hints to discard. */
/* */ /* */
typedef void (*FT_AutoHinter_Done_Global_Func)( FT_AutoHinter hinter, typedef void
void* global ); (*FT_AutoHinter_Done_Global_Func)( FT_AutoHinter hinter,
void* global );
/*************************************************************************/ /*************************************************************************/
@ -142,8 +143,9 @@ FT_BEGIN_HEADER
/* */ /* */
/* face :: A handle to the face. */ /* face :: A handle to the face. */
/* */ /* */
typedef void (*FT_AutoHinter_Reset_Func)( FT_AutoHinter hinter, typedef void
FT_Face face ); (*FT_AutoHinter_Reset_Func)( FT_AutoHinter hinter,
FT_Face face );
/*************************************************************************/ /*************************************************************************/
@ -167,11 +169,12 @@ FT_BEGIN_HEADER
/* It will call the font driver with FT_Load_Glyph(), with */ /* It will call the font driver with FT_Load_Glyph(), with */
/* FT_LOAD_NO_SCALE set. */ /* FT_LOAD_NO_SCALE set. */
/* */ /* */
typedef FT_Error (*FT_AutoHinter_Load_Func)( FT_AutoHinter hinter, typedef FT_Error
FT_GlyphSlot slot, (*FT_AutoHinter_Load_Func)( FT_AutoHinter hinter,
FT_Size size, FT_GlyphSlot slot,
FT_UInt glyph_index, FT_Size size,
FT_ULong load_flags ); FT_UInt glyph_index,
FT_ULong load_flags );
/*************************************************************************/ /*************************************************************************/

View File

@ -5,7 +5,7 @@
/* Basic OpenType/CFF type definitions and interface (specification */ /* Basic OpenType/CFF type definitions and interface (specification */
/* only). */ /* only). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -5,7 +5,7 @@
/* Basic Windows FNT/FON type definitions and interface (specification */ /* Basic Windows FNT/FON type definitions and interface (specification */
/* only). */ /* only). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Arithmetic computations (specification). */ /* Arithmetic computations (specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -41,6 +41,7 @@ FT_BEGIN_HEADER
#define SQRT_64( z ) FT_Sqrt64( z ) #define SQRT_64( z ) FT_Sqrt64( z )
/*************************************************************************/ /*************************************************************************/
/* */ /* */
/* <Function> */ /* <Function> */
@ -57,7 +58,8 @@ FT_BEGIN_HEADER
/* <Return> */ /* <Return> */
/* The 32-bit square-root. */ /* The 32-bit square-root. */
/* */ /* */
FT_EXPORT( FT_Int32 ) FT_Sqrt64( FT_Int64 l ); FT_EXPORT( FT_Int32 )
FT_Sqrt64( FT_Int64 l );
#else /* !FT_LONG64 */ #else /* !FT_LONG64 */
@ -94,9 +96,10 @@ FT_BEGIN_HEADER
/* <Note> */ /* <Note> */
/* Will be wrapped by the ADD_64() macro. */ /* Will be wrapped by the ADD_64() macro. */
/* */ /* */
FT_EXPORT( void ) FT_Add64( FT_Int64* x, FT_EXPORT( void )
FT_Int64* y, FT_Add64( FT_Int64* x,
FT_Int64 *z ); FT_Int64* y,
FT_Int64 *z );
/*************************************************************************/ /*************************************************************************/
@ -117,9 +120,10 @@ FT_BEGIN_HEADER
/* <Note> */ /* <Note> */
/* Will be wrapped by the MUL_64() macro. */ /* Will be wrapped by the MUL_64() macro. */
/* */ /* */
FT_EXPORT( void ) FT_MulTo64( FT_Int32 x, FT_EXPORT( void )
FT_Int32 y, FT_MulTo64( FT_Int32 x,
FT_Int64 *z ); FT_Int32 y,
FT_Int64 *z );
/*************************************************************************/ /*************************************************************************/
@ -141,12 +145,14 @@ FT_BEGIN_HEADER
/* <Note> */ /* <Note> */
/* Will be wrapped by the DIV_64() macro. */ /* Will be wrapped by the DIV_64() macro. */
/* */ /* */
FT_EXPORT( FT_Int32 ) FT_Div64by32( FT_Int64* x, FT_EXPORT( FT_Int32 )
FT_Int32 y ); FT_Div64by32( FT_Int64* x,
FT_Int32 y );
#define SQRT_64( z ) FT_Sqrt64( &z ) #define SQRT_64( z ) FT_Sqrt64( &z )
/*************************************************************************/ /*************************************************************************/
/* */ /* */
/* <Function> */ /* <Function> */
@ -163,7 +169,9 @@ FT_BEGIN_HEADER
/* <Return> */ /* <Return> */
/* The 32-bit square-root. */ /* The 32-bit square-root. */
/* */ /* */
FT_EXPORT( FT_Int32 ) FT_Sqrt64( FT_Int64* x ); FT_EXPORT( FT_Int32 )
FT_Sqrt64( FT_Int64* x );
#endif /* !FT_LONG64 */ #endif /* !FT_LONG64 */
@ -178,6 +186,7 @@ FT_BEGIN_HEADER
#define SQRT_32( x ) FT_Sqrt32( x ) #define SQRT_32( x ) FT_Sqrt32( x )
/*************************************************************************/ /*************************************************************************/
/* */ /* */
/* <Function> */ /* <Function> */
@ -193,7 +202,9 @@ FT_BEGIN_HEADER
/* <Return> */ /* <Return> */
/* The result of `sqrt(x)'. */ /* The result of `sqrt(x)'. */
/* */ /* */
FT_EXPORT( FT_Int32 ) FT_Sqrt32( FT_Int32 x ); FT_EXPORT( FT_Int32 )
FT_Sqrt32( FT_Int32 x );
#endif /* !FT_CONFIG_OPTION_OLD_CALCS */ #endif /* !FT_CONFIG_OPTION_OLD_CALCS */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Debugging and logging component (specification). */ /* Debugging and logging component (specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -146,8 +146,9 @@ FT_BEGIN_HEADER
/* */ /* */
/* level :: The tracing level. */ /* level :: The tracing level. */
/* */ /* */
FT_EXPORT( void ) FT_SetTraceLevel( FT_Trace component, FT_EXPORT( void )
char level ); FT_SetTraceLevel( FT_Trace component,
char level );
#elif defined( FT_DEBUG_LEVEL_ERROR ) #elif defined( FT_DEBUG_LEVEL_ERROR )
@ -193,10 +194,12 @@ FT_BEGIN_HEADER
} while ( 0 ) } while ( 0 )
/* print a message */ /* print a message */
FT_EXPORT( void ) FT_Message( const char* fmt, ... ); FT_EXPORT( void )
FT_Message( const char* fmt, ... );
/* print a message and exit */ /* print a message and exit */
FT_EXPORT( void ) FT_Panic( const char* fmt, ... ); FT_EXPORT( void )
FT_Panic( const char* fmt, ... );
#define FT_ERROR( varformat ) FT_Message varformat #define FT_ERROR( varformat ) FT_Message varformat

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType font driver interface (specification). */ /* FreeType font driver interface (specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -27,59 +27,72 @@
FT_BEGIN_HEADER FT_BEGIN_HEADER
typedef FT_Error (*FTDriver_initFace) ( FT_Stream stream, typedef FT_Error
FT_Face face, (*FTDriver_initFace)( FT_Stream stream,
FT_Int typeface_index, FT_Face face,
FT_Int num_params, FT_Int typeface_index,
FT_Parameter* parameters ); FT_Int num_params,
FT_Parameter* parameters );
typedef void (*FTDriver_doneFace) ( FT_Face face ); typedef void
(*FTDriver_doneFace)( FT_Face face );
typedef FT_Error (*FTDriver_initSize) ( FT_Size size ); typedef FT_Error
(*FTDriver_initSize)( FT_Size size );
typedef void (*FTDriver_doneSize) ( FT_Size size ); typedef void
(*FTDriver_doneSize)( FT_Size size );
typedef FT_Error (*FTDriver_initGlyphSlot)( FT_GlyphSlot slot ); typedef FT_Error
(*FTDriver_initGlyphSlot)( FT_GlyphSlot slot );
typedef void (*FTDriver_doneGlyphSlot)( FT_GlyphSlot slot ); typedef void
(*FTDriver_doneGlyphSlot)( FT_GlyphSlot slot );
typedef FT_Error (*FTDriver_setCharSizes) ( FT_Size size, typedef FT_Error
FT_F26Dot6 char_width, (*FTDriver_setCharSizes)( FT_Size size,
FT_F26Dot6 char_height, FT_F26Dot6 char_width,
FT_UInt horz_resolution, FT_F26Dot6 char_height,
FT_UInt vert_resolution ); FT_UInt horz_resolution,
FT_UInt vert_resolution );
typedef FT_Error (*FTDriver_setPixelSizes)( FT_Size size, typedef FT_Error
FT_UInt pixel_width, (*FTDriver_setPixelSizes)( FT_Size size,
FT_UInt pixel_height ); FT_UInt pixel_width,
FT_UInt pixel_height );
typedef FT_Error (*FTDriver_loadGlyph) ( FT_GlyphSlot slot, typedef FT_Error
FT_Size size, (*FTDriver_loadGlyph)( FT_GlyphSlot slot,
FT_UInt glyph_index, FT_Size size,
FT_Int load_flags ); FT_UInt glyph_index,
FT_Int load_flags );
typedef FT_UInt (*FTDriver_getCharIndex) ( FT_CharMap charmap, typedef FT_UInt
FT_Long charcode ); (*FTDriver_getCharIndex)( FT_CharMap charmap,
FT_Long charcode );
typedef FT_Error (*FTDriver_getKerning) ( FT_Face face, typedef FT_Error
FT_UInt left_glyph, (*FTDriver_getKerning)( FT_Face face,
FT_UInt right_glyph, FT_UInt left_glyph,
FT_Vector* kerning ); FT_UInt right_glyph,
FT_Vector* kerning );
typedef FT_Error (*FTDriver_attachFile) ( FT_Face face, typedef FT_Error
FT_Stream stream ); (*FTDriver_attachFile)( FT_Face face,
FT_Stream stream );
typedef FT_Error (*FTDriver_getAdvances) ( FT_Face face, typedef FT_Error
FT_UInt first, (*FTDriver_getAdvances)( FT_Face face,
FT_UInt count, FT_UInt first,
FT_Bool vertical, FT_UInt count,
FT_UShort* advances ); FT_Bool vertical,
FT_UShort* advances );
/*************************************************************************/ /*************************************************************************/

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType extensions implementation (specification). */ /* FreeType extensions implementation (specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -59,8 +59,9 @@ FT_BEGIN_HEADER
/* data, as the finalizer will get called later by the function's */ /* data, as the finalizer will get called later by the function's */
/* caller. */ /* caller. */
/* */ /* */
typedef FT_Error (*FT_Extension_Initializer)( void* ext, typedef FT_Error
FT_Face face ); (*FT_Extension_Initializer)( void* ext,
FT_Face face );
/*************************************************************************/ /*************************************************************************/
@ -80,8 +81,9 @@ FT_BEGIN_HEADER
/* face :: A handle to the source face object the extension is */ /* face :: A handle to the source face object the extension is */
/* associated with. */ /* associated with. */
/* */ /* */
typedef void (*FT_Extension_Finalizer)( void* ext, typedef void
FT_Face face ); (*FT_Extension_Finalizer)( void* ext,
FT_Face face );
/*************************************************************************/ /*************************************************************************/
@ -145,30 +147,31 @@ FT_BEGIN_HEADER
/* <Return> */ /* <Return> */
/* FreeType error code. 0 means success. */ /* FreeType error code. 0 means success. */
/* */ /* */
FT_EXPORT( FT_Error ) FT_Register_Extension( FT_Driver driver, FT_EXPORT( FT_Error )
FT_Extension_Class* clazz ); FT_Register_Extension( FT_Driver driver,
FT_Extension_Class* clazz );
#ifdef FT_CONFIG_OPTION_EXTEND_ENGINE #ifdef FT_CONFIG_OPTION_EXTEND_ENGINE
/* Initialize the extension component */ /* Initialize the extension component */
FT_LOCAL FT_LOCAL FT_Error
FT_Error FT_Init_Extensions( FT_Library library ); FT_Init_Extensions( FT_Library library );
/* Finalize the extension component */ /* Finalize the extension component */
FT_LOCAL FT_LOCAL FT_Error
FT_Error FT_Done_Extensions( FT_Library library ); FT_Done_Extensions( FT_Library library );
/* Create an extension within a face object. Called by the */ /* Create an extension within a face object. Called by the */
/* face object constructor. */ /* face object constructor. */
FT_LOCAL FT_LOCAL FT_Error
FT_Error FT_Create_Extensions( FT_Face face ); FT_Create_Extensions( FT_Face face );
/* Destroy all extensions within a face object. Called by the */ /* Destroy all extensions within a face object. Called by the */
/* face object destructor. */ /* face object destructor. */
FT_LOCAL FT_LOCAL FT_Error
FT_Error FT_Destroy_Extensions( FT_Face face ); FT_Destroy_Extensions( FT_Face face );
#endif #endif
@ -194,9 +197,10 @@ FT_BEGIN_HEADER
/* <Return> */ /* <Return> */
/* A generic pointer to the extension block. */ /* A generic pointer to the extension block. */
/* */ /* */
FT_EXPORT( void* ) FT_Get_Extension( FT_Face face, FT_EXPORT( void* )
const char* extension_id, FT_Get_Extension( FT_Face face,
void** extension_interface ); const char* extension_id,
void** extension_interface );
FT_END_HEADER FT_END_HEADER

View File

@ -4,7 +4,7 @@
/* */ /* */
/* The FreeType memory management macros (specification). */ /* The FreeType memory management macros (specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg */ /* David Turner, Robert Wilhelm, and Werner Lemberg */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -78,9 +78,10 @@ FT_BEGIN_HEADER
/* <Return> */ /* <Return> */
/* FreeType error code. 0 means success. */ /* FreeType error code. 0 means success. */
/* */ /* */
FT_BASE( FT_Error ) FT_Alloc( FT_Memory memory, FT_BASE( FT_Error )
FT_Long size, FT_Alloc( FT_Memory memory,
void* *P ); FT_Long size,
void* *P );
/*************************************************************************/ /*************************************************************************/
@ -111,10 +112,11 @@ FT_BEGIN_HEADER
/* All callers of FT_Realloc() _must_ provide the current block size */ /* All callers of FT_Realloc() _must_ provide the current block size */
/* as well as the new one. */ /* as well as the new one. */
/* */ /* */
FT_BASE( FT_Error ) FT_Realloc( FT_Memory memory, FT_BASE( FT_Error )
FT_Long current, FT_Realloc( FT_Memory memory,
FT_Long size, FT_Long current,
void** P ); FT_Long size,
void** P );
/*************************************************************************/ /*************************************************************************/
@ -140,8 +142,9 @@ FT_BEGIN_HEADER
/* This is a strong convention within all of FreeType and its */ /* This is a strong convention within all of FreeType and its */
/* drivers. */ /* drivers. */
/* */ /* */
FT_BASE( void ) FT_Free( FT_Memory memory, FT_BASE( void )
void** P ); FT_Free( FT_Memory memory,
void** P );

View File

@ -4,7 +4,7 @@
/* */ /* */
/* The FreeType private base classes (specification). */ /* The FreeType private base classes (specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -175,6 +175,7 @@ FT_BEGIN_HEADER
} FT_GlyphSlot_InternalRec; } FT_GlyphSlot_InternalRec;
/*************************************************************************/ /*************************************************************************/
/*************************************************************************/ /*************************************************************************/
/*************************************************************************/ /*************************************************************************/
@ -264,8 +265,9 @@ FT_BEGIN_HEADER
/* You should better be familiar with FreeType internals to know */ /* You should better be familiar with FreeType internals to know */
/* which module to look for, and what its interface is :-) */ /* which module to look for, and what its interface is :-) */
/* */ /* */
FT_BASE( const void* ) FT_Get_Module_Interface( FT_Library library, FT_BASE( const void* )
const char* mod_name ); FT_Get_Module_Interface( FT_Library library,
const char* mod_name );
/*************************************************************************/ /*************************************************************************/
@ -317,8 +319,9 @@ FT_BEGIN_HEADER
/* <Return> */ /* <Return> */
/* FreeType error code. 0 means success. */ /* FreeType error code. 0 means success. */
/* */ /* */
FT_EXPORT( FT_Error ) FT_New_Size( FT_Face face, FT_EXPORT( FT_Error )
FT_Size* size ); FT_New_Size( FT_Face face,
FT_Size* size );
/*************************************************************************/ /*************************************************************************/
@ -335,7 +338,8 @@ FT_BEGIN_HEADER
/* <Return> */ /* <Return> */
/* FreeType error code. 0 means success. */ /* FreeType error code. 0 means success. */
/* */ /* */
FT_EXPORT( FT_Error ) FT_Done_Size( FT_Size size ); FT_EXPORT( FT_Error )
FT_Done_Size( FT_Size size );
/*************************************************************************/ /*************************************************************************/
@ -358,8 +362,9 @@ FT_BEGIN_HEADER
/* <Return> */ /* <Return> */
/* FreeType error code. 0 means success. */ /* FreeType error code. 0 means success. */
/* */ /* */
FT_BASE( FT_Error ) FT_New_GlyphSlot( FT_Face face, FT_BASE( FT_Error )
FT_GlyphSlot *aslot ); FT_New_GlyphSlot( FT_Face face,
FT_GlyphSlot *aslot );
/*************************************************************************/ /*************************************************************************/
@ -375,7 +380,8 @@ FT_BEGIN_HEADER
/* <Input> */ /* <Input> */
/* slot :: A handle to a target glyph slot. */ /* slot :: A handle to a target glyph slot. */
/* */ /* */
FT_BASE( void ) FT_Done_GlyphSlot( FT_GlyphSlot slot ); FT_BASE( void )
FT_Done_GlyphSlot( FT_GlyphSlot slot );
/*************************************************************************/ /*************************************************************************/
@ -442,33 +448,40 @@ FT_BEGIN_HEADER
}; };
FT_BASE( FT_Error ) FT_GlyphLoader_New( FT_Memory memory, FT_BASE( FT_Error )
FT_GlyphLoader* *aloader ); FT_GlyphLoader_New( FT_Memory memory,
FT_GlyphLoader* *aloader );
FT_BASE( FT_Error ) FT_GlyphLoader_Create_Extra( FT_BASE( FT_Error )
FT_GlyphLoader* loader ); FT_GlyphLoader_Create_Extra( FT_GlyphLoader* loader );
FT_BASE( void ) FT_GlyphLoader_Done( FT_GlyphLoader* loader ); FT_BASE( void )
FT_GlyphLoader_Done( FT_GlyphLoader* loader );
FT_BASE( void ) FT_GlyphLoader_Reset( FT_GlyphLoader* loader ); FT_BASE( void )
FT_GlyphLoader_Reset( FT_GlyphLoader* loader );
FT_BASE( void ) FT_GlyphLoader_Rewind( FT_GlyphLoader* loader ); FT_BASE( void )
FT_GlyphLoader_Rewind( FT_GlyphLoader* loader );
FT_BASE( FT_Error ) FT_GlyphLoader_Check_Points( FT_BASE( FT_Error )
FT_GlyphLoader* loader, FT_GlyphLoader_Check_Points( FT_GlyphLoader* loader,
FT_UInt n_points, FT_UInt n_points,
FT_UInt n_contours ); FT_UInt n_contours );
FT_BASE( FT_Error ) FT_GlyphLoader_Check_Subglyphs( FT_BASE( FT_Error )
FT_GlyphLoader* loader, FT_GlyphLoader_Check_Subglyphs( FT_GlyphLoader* loader,
FT_UInt n_subs ); FT_UInt n_subs );
FT_BASE( void ) FT_GlyphLoader_Prepare( FT_GlyphLoader* loader ); FT_BASE( void )
FT_GlyphLoader_Prepare( FT_GlyphLoader* loader );
FT_BASE( void ) FT_GlyphLoader_Add( FT_GlyphLoader* loader ); FT_BASE( void )
FT_GlyphLoader_Add( FT_GlyphLoader* loader );
FT_BASE( FT_Error ) FT_GlyphLoader_Copy_Points( FT_GlyphLoader* target, FT_BASE( FT_Error )
FT_GlyphLoader* source ); FT_GlyphLoader_Copy_Points( FT_GlyphLoader* target,
FT_GlyphLoader* source );
/*************************************************************************/ /*************************************************************************/
@ -647,18 +660,21 @@ FT_BEGIN_HEADER
} FT_LibraryRec; } FT_LibraryRec;
FT_BASE( FT_Renderer ) FT_Lookup_Renderer( FT_Library library, FT_BASE( FT_Renderer )
FT_Glyph_Format format, FT_Lookup_Renderer( FT_Library library,
FT_ListNode* node ); FT_Glyph_Format format,
FT_ListNode* node );
FT_BASE( FT_Error ) FT_Render_Glyph_Internal( FT_Library library, FT_BASE( FT_Error )
FT_GlyphSlot slot, FT_Render_Glyph_Internal( FT_Library library,
FT_UInt render_mode ); FT_GlyphSlot slot,
FT_UInt render_mode );
typedef FT_Error (*FT_Glyph_Name_Requester)( FT_Face face, typedef FT_Error
FT_UInt glyph_index, (*FT_Glyph_Name_Requester)( FT_Face face,
FT_Pointer buffer, FT_UInt glyph_index,
FT_UInt buffer_max ); FT_Pointer buffer,
FT_UInt buffer_max );
#ifndef FT_CONFIG_OPTION_NO_DEFAULT_SYSTEM #ifndef FT_CONFIG_OPTION_NO_DEFAULT_SYSTEM
@ -680,8 +696,9 @@ FT_BEGIN_HEADER
/* <Return> */ /* <Return> */
/* FreeType error code. 0 means success. */ /* FreeType error code. 0 means success. */
/* */ /* */
FT_EXPORT( FT_Error ) FT_New_Stream( const char* filepathname, FT_EXPORT( FT_Error )
FT_Stream astream ); FT_New_Stream( const char* filepathname,
FT_Stream astream );
/*************************************************************************/ /*************************************************************************/
@ -695,7 +712,8 @@ FT_BEGIN_HEADER
/* <Input> */ /* <Input> */
/* stream :: The stream to be closed and destroyed. */ /* stream :: The stream to be closed and destroyed. */
/* */ /* */
FT_EXPORT( void ) FT_Done_Stream( FT_Stream stream ); FT_EXPORT( void )
FT_Done_Stream( FT_Stream stream );
/*************************************************************************/ /*************************************************************************/
@ -709,7 +727,8 @@ FT_BEGIN_HEADER
/* <Return> */ /* <Return> */
/* A pointer to the new memory object. 0 in case of error. */ /* A pointer to the new memory object. 0 in case of error. */
/* */ /* */
FT_EXPORT( FT_Memory ) FT_New_Memory( void ); FT_EXPORT( FT_Memory )
FT_New_Memory( void );
/*************************************************************************/ /*************************************************************************/
@ -723,7 +742,8 @@ FT_BEGIN_HEADER
/* <Input> */ /* <Input> */
/* memory :: A handle to the memory manager. */ /* memory :: A handle to the memory manager. */
/* */ /* */
FT_EXPORT( void ) FT_Done_Memory( FT_Memory memory ); FT_EXPORT( void )
FT_Done_Memory( FT_Memory memory );
#endif /* !FT_CONFIG_OPTION_NO_DEFAULT_SYSTEM */ #endif /* !FT_CONFIG_OPTION_NO_DEFAULT_SYSTEM */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Stream handling(specification). */ /* Stream handling(specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -259,75 +259,98 @@ FT_BEGIN_HEADER
#define READ_ULongLE( var ) FT_READ_MACRO( FT_Read_LongLE, FT_ULong, var ) #define READ_ULongLE( var ) FT_READ_MACRO( FT_Read_LongLE, FT_ULong, var )
FT_BASE( void ) FT_New_Memory_Stream( FT_Library library, FT_BASE( void )
FT_Byte* base, FT_New_Memory_Stream( FT_Library library,
FT_ULong size, FT_Byte* base,
FT_Stream stream ); FT_ULong size,
FT_Stream stream );
FT_BASE( FT_Error ) FT_Seek_Stream( FT_Stream stream, FT_BASE( FT_Error )
FT_ULong pos ); FT_Seek_Stream( FT_Stream stream,
FT_ULong pos );
FT_BASE( FT_Error ) FT_Skip_Stream( FT_Stream stream, FT_BASE( FT_Error )
FT_Long distance ); FT_Skip_Stream( FT_Stream stream,
FT_Long distance );
FT_BASE( FT_Long ) FT_Stream_Pos( FT_Stream stream ); FT_BASE( FT_Long )
FT_Stream_Pos( FT_Stream stream );
FT_BASE( FT_Error ) FT_Read_Stream( FT_Stream stream, FT_BASE( FT_Error )
FT_Byte* buffer, FT_Read_Stream( FT_Stream stream,
FT_ULong count ); FT_Byte* buffer,
FT_ULong count );
FT_BASE( FT_Error ) FT_Read_Stream_At( FT_Stream stream, FT_BASE( FT_Error )
FT_ULong pos, FT_Read_Stream_At( FT_Stream stream,
FT_Byte* buffer, FT_ULong pos,
FT_ULong count ); FT_Byte* buffer,
FT_ULong count );
FT_BASE( FT_Error ) FT_Access_Frame( FT_Stream stream, FT_BASE( FT_Error )
FT_ULong count ); FT_Access_Frame( FT_Stream stream,
FT_ULong count );
FT_BASE( void ) FT_Forget_Frame( FT_Stream stream ); FT_BASE( void )
FT_Forget_Frame( FT_Stream stream );
FT_BASE( FT_Error ) FT_Extract_Frame( FT_Stream stream, FT_BASE( FT_Error )
FT_ULong count, FT_Extract_Frame( FT_Stream stream,
FT_Byte** pbytes ); FT_ULong count,
FT_Byte** pbytes );
FT_BASE( void ) FT_Release_Frame( FT_Stream stream, FT_BASE( void )
FT_Byte** pbytes ); FT_Release_Frame( FT_Stream stream,
FT_Byte** pbytes );
FT_BASE( FT_Char ) FT_Get_Char( FT_Stream stream ); FT_BASE( FT_Char )
FT_Get_Char( FT_Stream stream );
FT_BASE( FT_Short ) FT_Get_Short( FT_Stream stream ); FT_BASE( FT_Short )
FT_Get_Short( FT_Stream stream );
FT_BASE( FT_Long ) FT_Get_Offset( FT_Stream stream ); FT_BASE( FT_Long )
FT_Get_Offset( FT_Stream stream );
FT_BASE( FT_Long ) FT_Get_Long( FT_Stream stream ); FT_BASE( FT_Long )
FT_Get_Long( FT_Stream stream );
FT_BASE( FT_Short ) FT_Get_ShortLE( FT_Stream stream ); FT_BASE( FT_Short )
FT_Get_ShortLE( FT_Stream stream );
FT_BASE( FT_Long ) FT_Get_LongLE( FT_Stream stream ); FT_BASE( FT_Long )
FT_Get_LongLE( FT_Stream stream );
FT_BASE( FT_Char ) FT_Read_Char( FT_Stream stream, FT_BASE( FT_Char )
FT_Error* error ); FT_Read_Char( FT_Stream stream,
FT_Error* error );
FT_BASE( FT_Short ) FT_Read_Short( FT_Stream stream, FT_BASE( FT_Short )
FT_Error* error ); FT_Read_Short( FT_Stream stream,
FT_Error* error );
FT_BASE( FT_Long ) FT_Read_Offset( FT_Stream stream, FT_BASE( FT_Long )
FT_Error* error ); FT_Read_Offset( FT_Stream stream,
FT_Error* error );
FT_BASE( FT_Long ) FT_Read_Long( FT_Stream stream, FT_BASE( FT_Long )
FT_Error* error ); FT_Read_Long( FT_Stream stream,
FT_Error* error );
FT_BASE( FT_Short ) FT_Read_ShortLE( FT_Stream stream, FT_BASE( FT_Short )
FT_Error* error ); FT_Read_ShortLE( FT_Stream stream,
FT_Error* error );
FT_BASE( FT_Long ) FT_Read_LongLE( FT_Stream stream, FT_BASE( FT_Long )
FT_Error* error ); FT_Read_LongLE( FT_Stream stream,
FT_Error* error );
FT_BASE( FT_Error ) FT_Read_Fields( FT_Stream stream, FT_BASE( FT_Error )
const FT_Frame_Field* fields, FT_Read_Fields( FT_Stream stream,
void* structure ); const FT_Frame_Field* fields,
void* structure );
#define USE_Stream( resource, stream ) \ #define USE_Stream( resource, stream ) \

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Internal header files (specification only). */ /* Internal header files (specification only). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -2,7 +2,7 @@
FreeType font driver for pcf fonts FreeType font driver for pcf fonts
Copyright (C) 2000 by Copyright (C) 2000-2001 by
Francesco Zappa Nardelli Francesco Zappa Nardelli
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy

View File

@ -5,7 +5,7 @@
/* Auxiliary functions and data structures related to PostScript fonts */ /* Auxiliary functions and data structures related to PostScript fonts */
/* (specification). */ /* (specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -60,18 +60,22 @@ FT_BEGIN_HEADER
/* */ /* */
typedef struct PS_Table_Funcs_ typedef struct PS_Table_Funcs_
{ {
FT_Error (*init) ( PS_Table* table, FT_Error
FT_Int count, (*init)( PS_Table* table,
FT_Memory memory ); FT_Int count,
FT_Memory memory );
void (*done) ( PS_Table* table ); void
(*done)( PS_Table* table );
FT_Error (*add) ( PS_Table* table, FT_Error
FT_Int index, (*add)( PS_Table* table,
void* object, FT_Int index,
FT_Int length ); void* object,
FT_Int length );
void (*release)( PS_Table* table ); void
(*release)( PS_Table* table );
} PS_Table_Funcs; } PS_Table_Funcs;
@ -190,8 +194,9 @@ FT_BEGIN_HEADER
} T1_Field_Location; } T1_Field_Location;
typedef void (*T1_Field_Parser)( FT_Face face, typedef void
FT_Pointer parser ); (*T1_Field_Parser)( FT_Face face,
FT_Pointer parser );
/* structure type used to model object fields */ /* structure type used to model object fields */
@ -291,45 +296,57 @@ FT_BEGIN_HEADER
typedef struct T1_Parser_Funcs_ typedef struct T1_Parser_Funcs_
{ {
void (*init) ( T1_Parser* parser, void
FT_Byte* base, (*init)( T1_Parser* parser,
FT_Byte* limit, FT_Byte* base,
FT_Memory memory ); FT_Byte* limit,
FT_Memory memory );
void (*done) ( T1_Parser* parser ); void
(*done)( T1_Parser* parser );
void (*skip_spaces) ( T1_Parser* parser ); void
void (*skip_alpha) ( T1_Parser* parser ); (*skip_spaces)( T1_Parser* parser );
void
(*skip_alpha)( T1_Parser* parser );
FT_Long (*to_int) ( T1_Parser* parser ); FT_Long
FT_Fixed (*to_fixed) ( T1_Parser* parser, (*to_int)( T1_Parser* parser );
FT_Int power_ten ); FT_Fixed
FT_Int (*to_coord_array)( T1_Parser* parser, (*to_fixed)( T1_Parser* parser,
FT_Int max_coords, FT_Int power_ten );
FT_Short* coords ); FT_Int
FT_Int (*to_fixed_array)( T1_Parser* parser, (*to_coord_array)( T1_Parser* parser,
FT_Int max_values, FT_Int max_coords,
FT_Fixed* values, FT_Short* coords );
FT_Int power_ten ); FT_Int
(*to_fixed_array)( T1_Parser* parser,
FT_Int max_values,
FT_Fixed* values,
FT_Int power_ten );
void (*to_token) ( T1_Parser* parser, void
T1_Token* token ); (*to_token)( T1_Parser* parser,
void (*to_token_array)( T1_Parser* parser, T1_Token* token );
T1_Token* tokens, void
FT_UInt max_tokens, (*to_token_array)( T1_Parser* parser,
FT_Int* pnum_tokens ); T1_Token* tokens,
FT_UInt max_tokens,
FT_Int* pnum_tokens );
FT_Error (*load_field) ( T1_Parser* parser, FT_Error
const T1_Field* field, (*load_field)( T1_Parser* parser,
void** objects, const T1_Field* field,
FT_UInt max_objects, void** objects,
FT_ULong* pflags ); FT_UInt max_objects,
FT_ULong* pflags );
FT_Error (*load_field_table)( T1_Parser* parser, FT_Error
const T1_Field* field, (*load_field_table)( T1_Parser* parser,
void** objects, const T1_Field* field,
FT_UInt max_objects, void** objects,
FT_ULong* pflags ); FT_UInt max_objects,
FT_ULong* pflags );
} T1_Parser_Funcs; } T1_Parser_Funcs;
@ -380,35 +397,43 @@ FT_BEGIN_HEADER
typedef struct T1_Builder_ T1_Builder; typedef struct T1_Builder_ T1_Builder;
typedef FT_Error (*T1_Builder_Check_Points_Func) ( T1_Builder* builder, typedef FT_Error
FT_Int count ); (*T1_Builder_Check_Points_Func)( T1_Builder* builder,
FT_Int count );
typedef void (*T1_Builder_Add_Point_Func) ( T1_Builder* builder, typedef void
FT_Pos x, (*T1_Builder_Add_Point_Func)( T1_Builder* builder,
FT_Pos y, FT_Pos x,
FT_Byte flag ); FT_Pos y,
FT_Byte flag );
typedef FT_Error (*T1_Builder_Add_Point1_Func) ( T1_Builder* builder, typedef FT_Error
FT_Pos x, (*T1_Builder_Add_Point1_Func)( T1_Builder* builder,
FT_Pos y ); FT_Pos x,
FT_Pos y );
typedef FT_Error (*T1_Builder_Add_Contour_Func) ( T1_Builder* builder ); typedef FT_Error
(*T1_Builder_Add_Contour_Func)( T1_Builder* builder );
typedef FT_Error (*T1_Builder_Start_Point_Func) ( T1_Builder* builder, typedef FT_Error
FT_Pos x, (*T1_Builder_Start_Point_Func)( T1_Builder* builder,
FT_Pos y ); FT_Pos x,
FT_Pos y );
typedef void (*T1_Builder_Close_Contour_Func)( T1_Builder* builder ); typedef void
(*T1_Builder_Close_Contour_Func)( T1_Builder* builder );
typedef struct T1_Builder_Funcs_ typedef struct T1_Builder_Funcs_
{ {
void (*init)( T1_Builder* builder, void
FT_Face face, (*init)( T1_Builder* builder,
FT_Size size, FT_Face face,
FT_GlyphSlot slot ); FT_Size size,
FT_GlyphSlot slot );
void (*done)( T1_Builder* builder ); void
(*done)( T1_Builder* builder );
T1_Builder_Check_Points_Func check_points; T1_Builder_Check_Points_Func check_points;
T1_Builder_Add_Point_Func add_point; T1_Builder_Add_Point_Func add_point;
@ -551,25 +576,29 @@ FT_BEGIN_HEADER
typedef struct T1_Decoder_Funcs_ T1_Decoder_Funcs; typedef struct T1_Decoder_Funcs_ T1_Decoder_Funcs;
typedef FT_Error (*T1_Decoder_Callback)( T1_Decoder* decoder, typedef FT_Error
FT_UInt glyph_index ); (*T1_Decoder_Callback)( T1_Decoder* decoder,
FT_UInt glyph_index );
struct T1_Decoder_Funcs_ struct T1_Decoder_Funcs_
{ {
FT_Error (*init) ( T1_Decoder* decoder, FT_Error
FT_Face face, (*init)( T1_Decoder* decoder,
FT_Size size, FT_Face face,
FT_GlyphSlot slot, FT_Size size,
FT_Byte** glyph_names, FT_GlyphSlot slot,
T1_Blend* blend, FT_Byte** glyph_names,
T1_Decoder_Callback callback ); T1_Blend* blend,
T1_Decoder_Callback callback );
void (*done) ( T1_Decoder* decoder ); void
(*done)( T1_Decoder* decoder );
FT_Error (*parse_charstrings)( T1_Decoder* decoder, FT_Error
FT_Byte* base, (*parse_charstrings)( T1_Decoder* decoder,
FT_UInt len ); FT_Byte* base,
FT_UInt len );
}; };
@ -621,9 +650,11 @@ FT_BEGIN_HEADER
const T1_Builder_Funcs* t1_builder_funcs; const T1_Builder_Funcs* t1_builder_funcs;
const T1_Decoder_Funcs* t1_decoder_funcs; const T1_Decoder_Funcs* t1_decoder_funcs;
void (*t1_decrypt)( FT_Byte* buffer, void
FT_Offset length, (*t1_decrypt)( FT_Byte* buffer,
FT_UShort seed ); FT_Offset length,
FT_UShort seed );
} PSAux_Interface; } PSAux_Interface;

View File

@ -5,7 +5,7 @@
/* High-level interface for the `PSNames' module (in charge of */ /* High-level interface for the `PSNames' module (in charge of */
/* various functions related to Postscript glyph names conversion). */ /* various functions related to Postscript glyph names conversion). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -52,7 +52,8 @@ FT_BEGIN_HEADER
/* This function will not be compiled if the configuration macro */ /* This function will not be compiled if the configuration macro */
/* FT_CONFIG_OPTION_ADOBE_GLYPH_LIST is undefined. */ /* FT_CONFIG_OPTION_ADOBE_GLYPH_LIST is undefined. */
/* */ /* */
typedef FT_ULong (*PS_Unicode_Value_Func)( const char* glyph_name ); typedef FT_ULong
(*PS_Unicode_Value_Func)( const char* glyph_name );
/*************************************************************************/ /*************************************************************************/
@ -82,9 +83,10 @@ FT_BEGIN_HEADER
/* This function will not be compiled if the configuration macro */ /* This function will not be compiled if the configuration macro */
/* FT_CONFIG_OPTION_ADOBE_GLYPH_LIST is undefined. */ /* FT_CONFIG_OPTION_ADOBE_GLYPH_LIST is undefined. */
/* */ /* */
typedef FT_UInt (*PS_Unicode_Index_Func)( FT_UInt num_glyphs, typedef FT_UInt
const char** glyph_names, (*PS_Unicode_Index_Func)( FT_UInt num_glyphs,
FT_ULong unicode ); const char** glyph_names,
FT_ULong unicode );
/*************************************************************************/ /*************************************************************************/
@ -106,10 +108,12 @@ FT_BEGIN_HEADER
/* This function will not be compiled if the configuration macro */ /* This function will not be compiled if the configuration macro */
/* FT_CONFIG_OPTION_POSTSCRIPT_NAMES is undefined. */ /* FT_CONFIG_OPTION_POSTSCRIPT_NAMES is undefined. */
/* */ /* */
typedef const char* (*PS_Macintosh_Name_Func)( FT_UInt name_index ); typedef const char*
(*PS_Macintosh_Name_Func)( FT_UInt name_index );
typedef const char* (*PS_Adobe_Std_Strings_Func)( FT_UInt string_index ); typedef const char*
(*PS_Adobe_Std_Strings_Func)( FT_UInt string_index );
typedef struct PS_UniMap_ typedef struct PS_UniMap_
@ -152,13 +156,15 @@ FT_BEGIN_HEADER
} PS_Unicodes; } PS_Unicodes;
typedef FT_Error (*PS_Build_Unicodes_Func)( FT_Memory memory, typedef FT_Error
FT_UInt num_glyphs, (*PS_Build_Unicodes_Func)( FT_Memory memory,
const char** glyph_names, FT_UInt num_glyphs,
PS_Unicodes* unicodes ); const char** glyph_names,
PS_Unicodes* unicodes );
typedef FT_UInt (*PS_Lookup_Unicode_Func)( PS_Unicodes* unicodes, typedef FT_UInt
FT_UInt unicode ); (*PS_Lookup_Unicode_Func)( PS_Unicodes* unicodes,
FT_UInt unicode );
/*************************************************************************/ /*************************************************************************/

View File

@ -4,7 +4,7 @@
/* */ /* */
/* High-level `sfnt' driver interface (specification). */ /* High-level `sfnt' driver interface (specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -63,12 +63,12 @@ FT_BEGIN_HEADER
/* should then call the TT_Load_Face_Func() callback to read the rest */ /* should then call the TT_Load_Face_Func() callback to read the rest */
/* of the SFNT tables in the object. */ /* of the SFNT tables in the object. */
/* */ /* */
typedef typedef FT_Error
FT_Error (*TT_Init_Face_Func)( FT_Stream stream, (*TT_Init_Face_Func)( FT_Stream stream,
TT_Face face, TT_Face face,
FT_Int face_index, FT_Int face_index,
FT_Int num_params, FT_Int num_params,
FT_Parameter* params ); FT_Parameter* params );
/*************************************************************************/ /*************************************************************************/
@ -99,12 +99,12 @@ FT_BEGIN_HEADER
/* <Note> */ /* <Note> */
/* This function must be called after TT_Init_Face_Func(). */ /* This function must be called after TT_Init_Face_Func(). */
/* */ /* */
typedef typedef FT_Error
FT_Error (*TT_Load_Face_Func)( FT_Stream stream, (*TT_Load_Face_Func)( FT_Stream stream,
TT_Face face, TT_Face face,
FT_Int face_index, FT_Int face_index,
FT_Int num_params, FT_Int num_params,
FT_Parameter* params ); FT_Parameter* params );
/*************************************************************************/ /*************************************************************************/
@ -121,13 +121,13 @@ FT_BEGIN_HEADER
/* <Note> */ /* <Note> */
/* This function does NOT destroy the face object. */ /* This function does NOT destroy the face object. */
/* */ /* */
typedef typedef void
void (*TT_Done_Face_Func)( TT_Face face ); (*TT_Done_Face_Func)( TT_Face face );
typedef typedef FT_Module_Interface
FT_Module_Interface (*SFNT_Get_Interface_Func)( FT_Module module, (*SFNT_Get_Interface_Func)( FT_Module module,
const char* interface ); const char* interface );
/*************************************************************************/ /*************************************************************************/
@ -161,11 +161,11 @@ FT_BEGIN_HEADER
/* This function checks that the header is valid by looking at the */ /* This function checks that the header is valid by looking at the */
/* values of `search_range', `entry_selector', and `range_shift'. */ /* values of `search_range', `entry_selector', and `range_shift'. */
/* */ /* */
typedef typedef FT_Error
FT_Error (*TT_Load_SFNT_Header_Func)( TT_Face face, (*TT_Load_SFNT_Header_Func)( TT_Face face,
FT_Stream stream, FT_Stream stream,
FT_Long face_index, FT_Long face_index,
SFNT_Header* sfnt ); SFNT_Header* sfnt );
/*************************************************************************/ /*************************************************************************/
@ -191,10 +191,10 @@ FT_BEGIN_HEADER
/* format tag. This is the case just after a call to */ /* format tag. This is the case just after a call to */
/* TT_Load_Format_Tag(). */ /* TT_Load_Format_Tag(). */
/* */ /* */
typedef typedef FT_Error
FT_Error (*TT_Load_Directory_Func)( TT_Face face, (*TT_Load_Directory_Func)( TT_Face face,
FT_Stream stream, FT_Stream stream,
SFNT_Header* sfnt ); SFNT_Header* sfnt );
/*************************************************************************/ /*************************************************************************/
@ -237,12 +237,12 @@ FT_BEGIN_HEADER
/* <Return> */ /* <Return> */
/* TrueType error code. 0 means success. */ /* TrueType error code. 0 means success. */
/* */ /* */
typedef typedef FT_Error
FT_Error (*TT_Load_Any_Func)( TT_Face face, (*TT_Load_Any_Func)( TT_Face face,
FT_ULong tag, FT_ULong tag,
FT_Long offset, FT_Long offset,
FT_Byte *buffer, FT_Byte *buffer,
FT_ULong* length ); FT_ULong* length );
/*************************************************************************/ /*************************************************************************/
@ -277,14 +277,14 @@ FT_BEGIN_HEADER
/* <Note> */ /* <Note> */
/* The `map.buffer' field is always freed before the glyph is loaded. */ /* The `map.buffer' field is always freed before the glyph is loaded. */
/* */ /* */
typedef typedef FT_Error
FT_Error (*TT_Load_SBit_Image_Func)( TT_Face face, (*TT_Load_SBit_Image_Func)( TT_Face face,
FT_ULong strike_index, FT_ULong strike_index,
FT_UInt glyph_index, FT_UInt glyph_index,
FT_UInt load_flags, FT_UInt load_flags,
FT_Stream stream, FT_Stream stream,
FT_Bitmap *amap, FT_Bitmap *amap,
TT_SBit_Metrics *ametrics ); TT_SBit_Metrics *ametrics );
/*************************************************************************/ /*************************************************************************/
@ -310,11 +310,11 @@ FT_BEGIN_HEADER
/* FreeType error code. 0 means success. Returns an error if no */ /* FreeType error code. 0 means success. Returns an error if no */
/* sbit strike exists for the selected ppem values. */ /* sbit strike exists for the selected ppem values. */
/* */ /* */
typedef typedef FT_Error
FT_Error (*TT_Set_SBit_Strike_Func)( TT_Face face, (*TT_Set_SBit_Strike_Func)( TT_Face face,
FT_Int x_ppem, FT_Int x_ppem,
FT_Int y_ppem, FT_Int y_ppem,
FT_ULong *astrike_index ); FT_ULong *astrike_index );
/*************************************************************************/ /*************************************************************************/
@ -336,10 +336,10 @@ FT_BEGIN_HEADER
/* <Output> */ /* <Output> */
/* FreeType error code. 0 means success. */ /* FreeType error code. 0 means success. */
/* */ /* */
typedef typedef FT_Error
FT_Error (*TT_Get_PS_Name_Func)( TT_Face face, (*TT_Get_PS_Name_Func)( TT_Face face,
FT_UInt index, FT_UInt index,
FT_String** PSname ); FT_String** PSname );
/*************************************************************************/ /*************************************************************************/
@ -360,10 +360,10 @@ FT_BEGIN_HEADER
/* <Return> */ /* <Return> */
/* FreeType error code. 0 means success. */ /* FreeType error code. 0 means success. */
/* */ /* */
typedef typedef FT_Error
FT_Error (*TT_Load_Metrics_Func)( TT_Face face, (*TT_Load_Metrics_Func)( TT_Face face,
FT_Stream stream, FT_Stream stream,
FT_Bool vertical ); FT_Bool vertical );
/*************************************************************************/ /*************************************************************************/
@ -390,10 +390,10 @@ FT_BEGIN_HEADER
/* opened). In case of error, all partially allocated tables are */ /* opened). In case of error, all partially allocated tables are */
/* released. */ /* released. */
/* */ /* */
typedef typedef FT_Error
FT_Error (*TT_CharMap_Load_Func)( TT_Face face, (*TT_CharMap_Load_Func)( TT_Face face,
TT_CMapTable* cmap, TT_CMapTable* cmap,
FT_Stream input ); FT_Stream input );
/*************************************************************************/ /*************************************************************************/
@ -412,9 +412,9 @@ FT_BEGIN_HEADER
/* <Return> */ /* <Return> */
/* FreeType error code. 0 means success. */ /* FreeType error code. 0 means success. */
/* */ /* */
typedef typedef FT_Error
FT_Error (*TT_CharMap_Free_Func)( TT_Face face, (*TT_CharMap_Free_Func)( TT_Face face,
TT_CMapTable* cmap ); TT_CMapTable* cmap );
/*************************************************************************/ /*************************************************************************/
@ -437,9 +437,9 @@ FT_BEGIN_HEADER
/* The function will use `face->goto_table' to seek the stream to */ /* The function will use `face->goto_table' to seek the stream to */
/* the start of the table. */ /* the start of the table. */
/* */ /* */
typedef typedef FT_Error
FT_Error (*TT_Load_Table_Func)( TT_Face face, (*TT_Load_Table_Func)( TT_Face face,
FT_Stream stream ); FT_Stream stream );
/*************************************************************************/ /*************************************************************************/
@ -453,8 +453,8 @@ FT_BEGIN_HEADER
/* <Input> */ /* <Input> */
/* face :: A handle to the target face object. */ /* face :: A handle to the target face object. */
/* */ /* */
typedef typedef void
void (*TT_Free_Table_Func)( TT_Face face ); (*TT_Free_Table_Func)( TT_Face face );
/*************************************************************************/ /*************************************************************************/

View File

@ -5,7 +5,7 @@
/* Basic Type1/Type2 type definitions and interface (specification */ /* Basic Type1/Type2 type definitions and interface (specification */
/* only). */ /* only). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -5,7 +5,7 @@
/* Basic SFNT/TrueType type definitions and interface (specification */ /* Basic SFNT/TrueType type definitions and interface (specification */
/* only). */ /* only). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -92,7 +92,7 @@ FT_BEGIN_HEADER
/* */ /* */
/* range_shift :: Must be num_tables*16 - search_range. */ /* range_shift :: Must be num_tables*16 - search_range. */
/* */ /* */
typedef struct SFNT_Header_ typedef struct SFNT_Header_
{ {
FT_ULong format_tag; FT_ULong format_tag;
FT_UShort num_tables; FT_UShort num_tables;
@ -995,9 +995,9 @@ FT_BEGIN_HEADER
typedef struct TT_CMapTable_ TT_CMapTable; typedef struct TT_CMapTable_ TT_CMapTable;
typedef typedef FT_UInt
FT_UInt (*TT_CharMap_Func)( TT_CMapTable* charmap, (*TT_CharMap_Func)( TT_CMapTable* charmap,
FT_ULong char_code ); FT_ULong char_code );
/* charmap table */ /* charmap table */
@ -1099,7 +1099,8 @@ FT_BEGIN_HEADER
/* a function type used for the truetype bytecode interpreter hooks */ /* a function type used for the truetype bytecode interpreter hooks */
typedef FT_Error (*TT_Interpreter)( void* exec_context ); typedef FT_Error
(*TT_Interpreter)( void* exec_context );
/* forward declaration */ /* forward declaration */
typedef struct TT_Loader_ TT_Loader; typedef struct TT_Loader_ TT_Loader;
@ -1130,11 +1131,11 @@ FT_BEGIN_HEADER
/* <Note> */ /* <Note> */
/* The stream cursor must be at the font file's origin. */ /* The stream cursor must be at the font file's origin. */
/* */ /* */
typedef typedef FT_Error
FT_Error (*TT_Goto_Table_Func)( TT_Face face, (*TT_Goto_Table_Func)( TT_Face face,
FT_ULong tag, FT_ULong tag,
FT_Stream stream, FT_Stream stream,
FT_ULong* length ); FT_ULong* length );
/*************************************************************************/ /*************************************************************************/
@ -1165,11 +1166,11 @@ FT_BEGIN_HEADER
/* alternative formats (e.g. compressed ones) might use something */ /* alternative formats (e.g. compressed ones) might use something */
/* different. */ /* different. */
/* */ /* */
typedef typedef FT_Error
FT_Error (*TT_Access_Glyph_Frame_Func)( TT_Loader* loader, (*TT_Access_Glyph_Frame_Func)( TT_Loader* loader,
FT_UInt glyph_index, FT_UInt glyph_index,
FT_ULong offset, FT_ULong offset,
FT_UInt byte_count ); FT_UInt byte_count );
/*************************************************************************/ /*************************************************************************/
@ -1187,8 +1188,8 @@ FT_BEGIN_HEADER
/* <Return> */ /* <Return> */
/* FreeType error code. 0 means success. */ /* FreeType error code. 0 means success. */
/* */ /* */
typedef typedef FT_Error
FT_Error (*TT_Load_Glyph_Element_Func)( TT_Loader* loader ); (*TT_Load_Glyph_Element_Func)( TT_Loader* loader );
/*************************************************************************/ /*************************************************************************/
@ -1202,8 +1203,8 @@ FT_BEGIN_HEADER
/* <Input> */ /* <Input> */
/* loader :: The current TrueType glyph loader object. */ /* loader :: The current TrueType glyph loader object. */
/* */ /* */
typedef typedef void
void (*TT_Forget_Glyph_Frame_Func)( TT_Loader* loader ); (*TT_Forget_Glyph_Frame_Func)( TT_Loader* loader );

View File

@ -5,7 +5,7 @@
/* Basic Type 1/Type 2 tables definitions and interface (specification */ /* Basic Type 1/Type 2 tables definitions and interface (specification */
/* only). */ /* only). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* TrueType name ID definitions (specification only). */ /* TrueType name ID definitions (specification only). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -5,7 +5,7 @@
/* Basic SFNT/TrueType tables definitions and interface */ /* Basic SFNT/TrueType tables definitions and interface */
/* (specification only). */ /* (specification only). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Tags for TrueType tables (specification only). */ /* Tags for TrueType tables (specification only). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -5,7 +5,7 @@
/* FreeType 2 build and setup macros. */ /* FreeType 2 build and setup macros. */
/* (Generic version) */ /* (Generic version) */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -5,7 +5,7 @@
/* A routine used to compute vector angles with limited accuracy */ /* A routine used to compute vector angles with limited accuracy */
/* and very high speed (body). */ /* and very high speed (body). */
/* */ /* */
/* Copyright 2000 Catharon Productions Inc. */ /* Copyright 2000-2001 Catharon Productions Inc. */
/* Author: David Turner */ /* Author: David Turner */
/* */ /* */
/* This file is part of the Catharon Typography Project and shall only */ /* This file is part of the Catharon Typography Project and shall only */

View File

@ -5,7 +5,7 @@
/* A routine used to compute vector angles with limited accuracy */ /* A routine used to compute vector angles with limited accuracy */
/* and very high speed (specification). */ /* and very high speed (specification). */
/* */ /* */
/* Copyright 2000 Catharon Productions Inc. */ /* Copyright 2000-2001 Catharon Productions Inc. */
/* Author: David Turner */ /* Author: David Turner */
/* */ /* */
/* This file is part of the Catharon Typography Project and shall only */ /* This file is part of the Catharon Typography Project and shall only */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Routines used to compute global metrics automatically (body). */ /* Routines used to compute global metrics automatically (body). */
/* */ /* */
/* Copyright 2000 Catharon Productions Inc. */ /* Copyright 2000-2001 Catharon Productions Inc. */
/* Author: David Turner */ /* Author: David Turner */
/* */ /* */
/* This file is part of the Catharon Typography Project and shall only */ /* This file is part of the Catharon Typography Project and shall only */

View File

@ -5,7 +5,7 @@
/* Routines used to compute global metrics automatically */ /* Routines used to compute global metrics automatically */
/* (specification). */ /* (specification). */
/* */ /* */
/* Copyright 2000 Catharon Productions Inc. */ /* Copyright 2000-2001 Catharon Productions Inc. */
/* Author: David Turner */ /* Author: David Turner */
/* */ /* */
/* This file is part of the Catharon Typography Project and shall only */ /* This file is part of the Catharon Typography Project and shall only */

View File

@ -5,7 +5,7 @@
/* Routines used to load and analyze a given glyph before hinting */ /* Routines used to load and analyze a given glyph before hinting */
/* (body). */ /* (body). */
/* */ /* */
/* Copyright 2000 Catharon Productions Inc. */ /* Copyright 2000-2001 Catharon Productions Inc. */
/* Author: David Turner */ /* Author: David Turner */
/* */ /* */
/* This file is part of the Catharon Typography Project and shall only */ /* This file is part of the Catharon Typography Project and shall only */

View File

@ -5,7 +5,7 @@
/* Routines used to load and analyze a given glyph before hinting */ /* Routines used to load and analyze a given glyph before hinting */
/* (specification). */ /* (specification). */
/* */ /* */
/* Copyright 2000 Catharon Productions Inc. */ /* Copyright 2000-2001 Catharon Productions Inc. */
/* Author: David Turner */ /* Author: David Turner */
/* */ /* */
/* This file is part of the Catharon Typography Project and shall only */ /* This file is part of the Catharon Typography Project and shall only */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Glyph hinter (body). */ /* Glyph hinter (body). */
/* */ /* */
/* Copyright 2000 Catharon Productions Inc. */ /* Copyright 2000-2001 Catharon Productions Inc. */
/* Author: David Turner */ /* Author: David Turner */
/* */ /* */
/* This file is part of the Catharon Typography Project and shall only */ /* This file is part of the Catharon Typography Project and shall only */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Glyph hinter (declaration). */ /* Glyph hinter (declaration). */
/* */ /* */
/* Copyright 2000 Catharon Productions Inc. */ /* Copyright 2000-2001 Catharon Productions Inc. */
/* Author: David Turner */ /* Author: David Turner */
/* */ /* */
/* This file is part of the Catharon Typography Project and shall only */ /* This file is part of the Catharon Typography Project and shall only */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Glyph loader for the auto-hinting module (declaration only). */ /* Glyph loader for the auto-hinting module (declaration only). */
/* */ /* */
/* Copyright 2000 Catharon Productions Inc. */ /* Copyright 2000-2001 Catharon Productions Inc. */
/* Author: David Turner */ /* Author: David Turner */
/* */ /* */
/* This file is part of the Catharon Typography Project and shall only */ /* This file is part of the Catharon Typography Project and shall only */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Auto-hinting module implementation (declaration). */ /* Auto-hinting module implementation (declaration). */
/* */ /* */
/* Copyright 2000 Catharon Productions Inc. */ /* Copyright 2000-2001 Catharon Productions Inc. */
/* Author: David Turner */ /* Author: David Turner */
/* */ /* */
/* This file is part of the Catharon Typography Project and shall only */ /* This file is part of the Catharon Typography Project and shall only */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Auto-hinting module (declaration). */ /* Auto-hinting module (declaration). */
/* */ /* */
/* Copyright 2000 Catharon Productions Inc. */ /* Copyright 2000-2001 Catharon Productions Inc. */
/* Author: David Turner */ /* Author: David Turner */
/* */ /* */
/* This file is part of the Catharon Typography Project and shall only */ /* This file is part of the Catharon Typography Project and shall only */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType auto hinting outline optimization (body). */ /* FreeType auto hinting outline optimization (body). */
/* */ /* */
/* Copyright 2000 Catharon Productions Inc. */ /* Copyright 2000-2001 Catharon Productions Inc. */
/* Author: David Turner */ /* Author: David Turner */
/* */ /* */
/* This file is part of the Catharon Typography Project and shall only */ /* This file is part of the Catharon Typography Project and shall only */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType auto hinting outline optimization (declaration). */ /* FreeType auto hinting outline optimization (declaration). */
/* */ /* */
/* Copyright 2000 Catharon Productions Inc. */ /* Copyright 2000-2001 Catharon Productions Inc. */
/* Author: David Turner */ /* Author: David Turner */
/* */ /* */
/* This file is part of the Catharon Typography Project and shall only */ /* This file is part of the Catharon Typography Project and shall only */

View File

@ -5,7 +5,7 @@
/* General types and definitions for the auto-hint module */ /* General types and definitions for the auto-hint module */
/* (specification only). */ /* (specification only). */
/* */ /* */
/* Copyright 2000 Catharon Productions Inc. */ /* Copyright 2000-2001 Catharon Productions Inc. */
/* Author: David Turner */ /* Author: David Turner */
/* */ /* */
/* This file is part of the Catharon Typography Project and shall only */ /* This file is part of the Catharon Typography Project and shall only */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Automatic Hinting wrapper (body only). */ /* Automatic Hinting wrapper (body only). */
/* */ /* */
/* Copyright 2000 Catharon Productions Inc. */ /* Copyright 2000-2001 Catharon Productions Inc. */
/* Author: David Turner */ /* Author: David Turner */
/* */ /* */
/* This file is part of the Catharon Typography Project and shall only */ /* This file is part of the Catharon Typography Project and shall only */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Single object library component (body only). */ /* Single object library component (body only). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType bbox computation (body). */ /* FreeType bbox computation (body). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used */ /* This file is part of the FreeType project, and may only be used */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Arithmetic computations (body). */ /* Arithmetic computations (body). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Debugging and logging component (body). */ /* Debugging and logging component (body). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType extensions implementation (body). */ /* FreeType extensions implementation (body). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType convenience functions to handle glyphs (body). */ /* FreeType convenience functions to handle glyphs (body). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType initialization layer (body). */ /* FreeType initialization layer (body). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Generic list support for FreeType (body). */ /* Generic list support for FreeType (body). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Mac FOND support. Written by just@letterror.com. */ /* Mac FOND support. Written by just@letterror.com. */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* Just van Rossum, David Turner, Robert Wilhelm, and Werner Lemberg. */ /* Just van Rossum, David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Multiple Master font support (body). */ /* Multiple Master font support (body). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -7,7 +7,7 @@
/* */ /* */
/* This is _not_ used to retrieve glyph names! */ /* This is _not_ used to retrieve glyph names! */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* The FreeType private base classes (body). */ /* The FreeType private base classes (body). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType outline management (body). */ /* FreeType outline management (body). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* I/O stream support (body). */ /* I/O stream support (body). */
/* */ /* */
/* Copyright 2000 by */ /* Copyright 2000-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType synthesizing code for emboldening and slanting (body). */ /* FreeType synthesizing code for emboldening and slanting (body). */
/* */ /* */
/* Copyright 2000 by */ /* Copyright 2000-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* ANSI-specific FreeType low-level system interface (body). */ /* ANSI-specific FreeType low-level system interface (body). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

2
src/cache/ftcache.c vendored
View File

@ -4,7 +4,7 @@
/* */ /* */
/* The FreeType Caching sub-system (body only). */ /* The FreeType Caching sub-system (body only). */
/* */ /* */
/* Copyright 2000 by */ /* Copyright 2000-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType chunk cache cache (body). */ /* FreeType chunk cache cache (body). */
/* */ /* */
/* Copyright 2000 by */ /* Copyright 2000-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType Glyph Image (FT_Glyph) cache (body). */ /* FreeType Glyph Image (FT_Glyph) cache (body). */
/* */ /* */
/* Copyright 2000 by */ /* Copyright 2000-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

11
src/cache/ftcimage.c vendored
View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType Image cache (body). */ /* FreeType Image cache (body). */
/* */ /* */
/* Copyright 2000 by */ /* Copyright 2000-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -265,6 +265,8 @@
}; };
/* documentation is in ftcimage.h */
FT_EXPORT_DEF( FT_Error ) FT_EXPORT_DEF( FT_Error )
FTC_Image_Cache_New( FTC_Manager manager, FTC_Image_Cache_New( FTC_Manager manager,
FTC_Image_Cache *acache ) FTC_Image_Cache *acache )
@ -276,6 +278,8 @@
} }
/* documentation is in ftcimage.h */
FT_EXPORT_DEF( FT_Error ) FT_EXPORT_DEF( FT_Error )
FTC_Image_Cache_Lookup( FTC_Image_Cache cache, FTC_Image_Cache_Lookup( FTC_Image_Cache cache,
FTC_Image_Desc* desc, FTC_Image_Desc* desc,
@ -285,15 +289,16 @@
FT_Error error; FT_Error error;
FTC_GlyphNode node; FTC_GlyphNode node;
/* some argument checks are delayed to FTC_Glyph_Cache_Lookup */ /* some argument checks are delayed to FTC_Glyph_Cache_Lookup */
if (!aglyph) if ( !aglyph )
return FTC_Err_Invalid_Argument; return FTC_Err_Invalid_Argument;
error = FTC_Glyph_Cache_Lookup( (FTC_Glyph_Cache)cache, error = FTC_Glyph_Cache_Lookup( (FTC_Glyph_Cache)cache,
desc, gindex, &node ); desc, gindex, &node );
if (!error) if ( !error )
*aglyph = ((FTC_GlyphImage)node)->ft_glyph; *aglyph = ((FTC_GlyphImage)node)->ft_glyph;
return error; return error;

15
src/cache/ftcmanag.c vendored
View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType Cache Manager (body). */ /* FreeType Cache Manager (body). */
/* */ /* */
/* Copyright 2000 by */ /* Copyright 2000-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -212,6 +212,8 @@
}; };
/* documentation is in ftcache.h */
FT_EXPORT_DEF( FT_Error ) FT_EXPORT_DEF( FT_Error )
FTC_Manager_New( FT_Library library, FTC_Manager_New( FT_Library library,
FT_UInt max_faces, FT_UInt max_faces,
@ -279,6 +281,8 @@
} }
/* documentation is in ftcache.h */
FT_EXPORT_DEF( void ) FT_EXPORT_DEF( void )
FTC_Manager_Done( FTC_Manager manager ) FTC_Manager_Done( FTC_Manager manager )
{ {
@ -316,6 +320,8 @@
} }
/* documentation is in ftcache.h */
FT_EXPORT_DEF( void ) FT_EXPORT_DEF( void )
FTC_Manager_Reset( FTC_Manager manager ) FTC_Manager_Reset( FTC_Manager manager )
{ {
@ -328,6 +334,8 @@
} }
/* documentation is in ftcache.h */
FT_EXPORT_DEF( FT_Error ) FT_EXPORT_DEF( FT_Error )
FTC_Manager_Lookup_Face( FTC_Manager manager, FTC_Manager_Lookup_Face( FTC_Manager manager,
FTC_FaceID face_id, FTC_FaceID face_id,
@ -342,6 +350,8 @@
} }
/* documentation is in ftcache.h */
FT_EXPORT_DEF( FT_Error ) FT_EXPORT_DEF( FT_Error )
FTC_Manager_Lookup_Size( FTC_Manager manager, FTC_Manager_Lookup_Size( FTC_Manager manager,
FTC_Font font, FTC_Font font,
@ -390,6 +400,9 @@
/* `Compress' the manager's data, i.e., get rid of old cache nodes */ /* `Compress' the manager's data, i.e., get rid of old cache nodes */
/* that are not referenced anymore in order to limit the total */ /* that are not referenced anymore in order to limit the total */
/* memory used by the cache. */ /* memory used by the cache. */
/* documentation is in ftcmanag.h */
FT_EXPORT_DEF( void ) FT_EXPORT_DEF( void )
FTC_Manager_Compress( FTC_Manager manager ) FTC_Manager_Compress( FTC_Manager manager )
{ {

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType sbits manager (body). */ /* FreeType sbits manager (body). */
/* */ /* */
/* Copyright 2000 by */ /* Copyright 2000-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -358,6 +358,8 @@
}; };
/* documentation is in ftcsbits.h */
FT_EXPORT_DEF( FT_Error ) FT_EXPORT_DEF( FT_Error )
FTC_SBit_Cache_New( FTC_Manager manager, FTC_SBit_Cache_New( FTC_Manager manager,
FTC_SBit_Cache *acache ) FTC_SBit_Cache *acache )
@ -369,6 +371,8 @@
} }
/* documentation is in ftcsbits.h */
FT_EXPORT_DEF( FT_Error ) FT_EXPORT_DEF( FT_Error )
FTC_SBit_Cache_Lookup( FTC_SBit_Cache cache, FTC_SBit_Cache_Lookup( FTC_SBit_Cache cache,
FTC_Image_Desc* desc, FTC_Image_Desc* desc,

2
src/cache/ftlru.c vendored
View File

@ -4,7 +4,7 @@
/* */ /* */
/* Simple LRU list-cache (body). */ /* Simple LRU list-cache (body). */
/* */ /* */
/* Copyright 2000 by */ /* Copyright 2000-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* FreeType OpenType driver component (body only). */ /* FreeType OpenType driver component (body only). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* OpenType font driver implementation (body). */ /* OpenType font driver implementation (body). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* High-level OpenType driver interface (specification). */ /* High-level OpenType driver interface (specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* OpenType Glyph Loader (body). */ /* OpenType Glyph Loader (body). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* OpenType Glyph Loader (specification). */ /* OpenType Glyph Loader (specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* OpenType and CFF data/program tables loader (body) */ /* OpenType and CFF data/program tables loader (body) */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* OpenType & CFF data/program tables loader (specification). */ /* OpenType & CFF data/program tables loader (specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* OpenType objects manager (body). */ /* OpenType objects manager (body). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* OpenType objects manager (specification). */ /* OpenType objects manager (specification). */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* CFF token stream parser (body) */ /* CFF token stream parser (body) */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* CFF token stream parser (specification) */ /* CFF token stream parser (specification) */
/* */ /* */
/* Copyright 1996-2000 by */ /* Copyright 1996-2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */

Some files were not shown because too many files have changed in this diff Show More