ftstream.h File Reference

#include <ft2build.h>

Go to the source code of this file.

Classes

struct  FT_Frame_Field_

Defines

#define FT_FRAME_OP_SHIFT   2
#define FT_FRAME_OP_SIGNED   1
#define FT_FRAME_OP_LITTLE   2
#define FT_FRAME_OP_COMMAND(x)   ( x >> FT_FRAME_OP_SHIFT )
#define FT_MAKE_FRAME_OP(command, little, sign)   ( ( command << FT_FRAME_OP_SHIFT ) | ( little << 1 ) | sign )
#define FT_FRAME_OP_END   0
#define FT_FRAME_OP_START   1
#define FT_FRAME_OP_BYTE   2
#define FT_FRAME_OP_SHORT   3
#define FT_FRAME_OP_LONG   4
#define FT_FRAME_OP_OFF3   5
#define FT_FRAME_OP_BYTES   6
#define FT_FIELD_SIZE(f)   (FT_Byte)sizeof ( ((FT_STRUCTURE*)0)->f )
#define FT_FIELD_SIZE_DELTA(f)   (FT_Byte)sizeof ( ((FT_STRUCTURE*)0)->f[0] )
#define FT_FIELD_OFFSET(f)   (FT_UShort)( offsetof( FT_STRUCTURE, f ) )
#define FT_FRAME_FIELD(frame_op, field)
#define FT_MAKE_EMPTY_FIELD(frame_op)   { frame_op, 0, 0 }
#define FT_FRAME_START(size)   { ft_frame_start, 0, size }
#define FT_FRAME_END   { ft_frame_end, 0, 0 }
#define FT_FRAME_LONG(f)   FT_FRAME_FIELD( ft_frame_long_be, f )
#define FT_FRAME_ULONG(f)   FT_FRAME_FIELD( ft_frame_ulong_be, f )
#define FT_FRAME_SHORT(f)   FT_FRAME_FIELD( ft_frame_short_be, f )
#define FT_FRAME_USHORT(f)   FT_FRAME_FIELD( ft_frame_ushort_be, f )
#define FT_FRAME_OFF3(f)   FT_FRAME_FIELD( ft_frame_off3_be, f )
#define FT_FRAME_UOFF3(f)   FT_FRAME_FIELD( ft_frame_uoff3_be, f )
#define FT_FRAME_BYTE(f)   FT_FRAME_FIELD( ft_frame_byte, f )
#define FT_FRAME_CHAR(f)   FT_FRAME_FIELD( ft_frame_schar, f )
#define FT_FRAME_LONG_LE(f)   FT_FRAME_FIELD( ft_frame_long_le, f )
#define FT_FRAME_ULONG_LE(f)   FT_FRAME_FIELD( ft_frame_ulong_le, f )
#define FT_FRAME_SHORT_LE(f)   FT_FRAME_FIELD( ft_frame_short_le, f )
#define FT_FRAME_USHORT_LE(f)   FT_FRAME_FIELD( ft_frame_ushort_le, f )
#define FT_FRAME_OFF3_LE(f)   FT_FRAME_FIELD( ft_frame_off3_le, f )
#define FT_FRAME_UOFF3_LE(f)   FT_FRAME_FIELD( ft_frame_uoff3_le, f )
#define FT_FRAME_SKIP_LONG   { ft_frame_long_be, 0, 0 }
#define FT_FRAME_SKIP_SHORT   { ft_frame_short_be, 0, 0 }
#define FT_FRAME_SKIP_BYTE   { ft_frame_byte, 0, 0 }
#define FT_FRAME_BYTES(field, count)
#define FT_FRAME_SKIP_BYTES(count)   { ft_frame_skip, count, 0 }
#define FT_BYTE_(p, i)   ( ((const FT_Byte*)(p))[(i)] )
#define FT_INT8_(p, i)   ( ((const FT_Char*)(p))[(i)] )
#define FT_INT16(x)   ( (FT_Int16)(x) )
#define FT_UINT16(x)   ( (FT_UInt16)(x) )
#define FT_INT32(x)   ( (FT_Int32)(x) )
#define FT_UINT32(x)   ( (FT_UInt32)(x) )
#define FT_BYTE_I16(p, i, s)   ( FT_INT16( FT_BYTE_( p, i ) ) << (s) )
#define FT_BYTE_U16(p, i, s)   ( FT_UINT16( FT_BYTE_( p, i ) ) << (s) )
#define FT_BYTE_I32(p, i, s)   ( FT_INT32( FT_BYTE_( p, i ) ) << (s) )
#define FT_BYTE_U32(p, i, s)   ( FT_UINT32( FT_BYTE_( p, i ) ) << (s) )
#define FT_INT8_I16(p, i, s)   ( FT_INT16( FT_INT8_( p, i ) ) << (s) )
#define FT_INT8_U16(p, i, s)   ( FT_UINT16( FT_INT8_( p, i ) ) << (s) )
#define FT_INT8_I32(p, i, s)   ( FT_INT32( FT_INT8_( p, i ) ) << (s) )
#define FT_INT8_U32(p, i, s)   ( FT_UINT32( FT_INT8_( p, i ) ) << (s) )
#define FT_PEEK_SHORT(p)
#define FT_PEEK_USHORT(p)
#define FT_PEEK_LONG(p)
#define FT_PEEK_ULONG(p)
#define FT_PEEK_OFF3(p)
#define FT_PEEK_UOFF3(p)
#define FT_PEEK_SHORT_LE(p)
#define FT_PEEK_USHORT_LE(p)
#define FT_PEEK_LONG_LE(p)
#define FT_PEEK_ULONG_LE(p)
#define FT_PEEK_OFF3_LE(p)
#define FT_PEEK_UOFF3_LE(p)
#define FT_NEXT_CHAR(buffer)   ( (signed char)*buffer++ )
#define FT_NEXT_BYTE(buffer)   ( (unsigned char)*buffer++ )
#define FT_NEXT_SHORT(buffer)   ( (short)( buffer += 2, FT_PEEK_SHORT( buffer - 2 ) ) )
#define FT_NEXT_USHORT(buffer)   ( (unsigned short)( buffer += 2, FT_PEEK_USHORT( buffer - 2 ) ) )
#define FT_NEXT_OFF3(buffer)   ( (long)( buffer += 3, FT_PEEK_OFF3( buffer - 3 ) ) )
#define FT_NEXT_UOFF3(buffer)   ( (unsigned long)( buffer += 3, FT_PEEK_UOFF3( buffer - 3 ) ) )
#define FT_NEXT_LONG(buffer)   ( (long)( buffer += 4, FT_PEEK_LONG( buffer - 4 ) ) )
#define FT_NEXT_ULONG(buffer)   ( (unsigned long)( buffer += 4, FT_PEEK_ULONG( buffer - 4 ) ) )
#define FT_NEXT_SHORT_LE(buffer)   ( (short)( buffer += 2, FT_PEEK_SHORT_LE( buffer - 2 ) ) )
#define FT_NEXT_USHORT_LE(buffer)   ( (unsigned short)( buffer += 2, FT_PEEK_USHORT_LE( buffer - 2 ) ) )
#define FT_NEXT_OFF3_LE(buffer)   ( (long)( buffer += 3, FT_PEEK_OFF3_LE( buffer - 3 ) ) )
#define FT_NEXT_UOFF3_LE(buffer)   ( (unsigned long)( buffer += 3, FT_PEEK_UOFF3_LE( buffer - 3 ) ) )
#define FT_NEXT_LONG_LE(buffer)   ( (long)( buffer += 4, FT_PEEK_LONG_LE( buffer - 4 ) ) )
#define FT_NEXT_ULONG_LE(buffer)   ( (unsigned long)( buffer += 4, FT_PEEK_ULONG_LE( buffer - 4 ) ) )
#define FT_GET_MACRO(func, type)   ( (type)func( stream ) )
#define FT_GET_CHAR()   FT_GET_MACRO( FT_Stream_GetChar, FT_Char )
#define FT_GET_BYTE()   FT_GET_MACRO( FT_Stream_GetChar, FT_Byte )
#define FT_GET_SHORT()   FT_GET_MACRO( FT_Stream_GetShort, FT_Short )
#define FT_GET_USHORT()   FT_GET_MACRO( FT_Stream_GetShort, FT_UShort )
#define FT_GET_OFF3()   FT_GET_MACRO( FT_Stream_GetOffset, FT_Long )
#define FT_GET_UOFF3()   FT_GET_MACRO( FT_Stream_GetOffset, FT_ULong )
#define FT_GET_LONG()   FT_GET_MACRO( FT_Stream_GetLong, FT_Long )
#define FT_GET_ULONG()   FT_GET_MACRO( FT_Stream_GetLong, FT_ULong )
#define FT_GET_TAG4()   FT_GET_MACRO( FT_Stream_GetLong, FT_ULong )
#define FT_GET_SHORT_LE()   FT_GET_MACRO( FT_Stream_GetShortLE, FT_Short )
#define FT_GET_USHORT_LE()   FT_GET_MACRO( FT_Stream_GetShortLE, FT_UShort )
#define FT_GET_LONG_LE()   FT_GET_MACRO( FT_Stream_GetLongLE, FT_Long )
#define FT_GET_ULONG_LE()   FT_GET_MACRO( FT_Stream_GetLongLE, FT_ULong )
#define FT_READ_MACRO(func, type, var)
#define FT_READ_BYTE(var)   FT_READ_MACRO( FT_Stream_ReadChar, FT_Byte, var )
#define FT_READ_CHAR(var)   FT_READ_MACRO( FT_Stream_ReadChar, FT_Char, var )
#define FT_READ_SHORT(var)   FT_READ_MACRO( FT_Stream_ReadShort, FT_Short, var )
#define FT_READ_USHORT(var)   FT_READ_MACRO( FT_Stream_ReadShort, FT_UShort, var )
#define FT_READ_OFF3(var)   FT_READ_MACRO( FT_Stream_ReadOffset, FT_Long, var )
#define FT_READ_UOFF3(var)   FT_READ_MACRO( FT_Stream_ReadOffset, FT_ULong, var )
#define FT_READ_LONG(var)   FT_READ_MACRO( FT_Stream_ReadLong, FT_Long, var )
#define FT_READ_ULONG(var)   FT_READ_MACRO( FT_Stream_ReadLong, FT_ULong, var )
#define FT_READ_SHORT_LE(var)   FT_READ_MACRO( FT_Stream_ReadShortLE, FT_Short, var )
#define FT_READ_USHORT_LE(var)   FT_READ_MACRO( FT_Stream_ReadShortLE, FT_UShort, var )
#define FT_READ_LONG_LE(var)   FT_READ_MACRO( FT_Stream_ReadLongLE, FT_Long, var )
#define FT_READ_ULONG_LE(var)   FT_READ_MACRO( FT_Stream_ReadLongLE, FT_ULong, var )
#define FT_STREAM_POS()   FT_Stream_Pos( stream )
#define FT_STREAM_SEEK(position)   FT_SET_ERROR( FT_Stream_Seek( stream, position ) )
#define FT_STREAM_SKIP(distance)   FT_SET_ERROR( FT_Stream_Skip( stream, distance ) )
#define FT_STREAM_READ(buffer, count)
#define FT_STREAM_READ_AT(position, buffer, count)
#define FT_STREAM_READ_FIELDS(fields, object)   FT_SET_ERROR( FT_Stream_ReadFields( stream, fields, object ) )
#define FT_FRAME_ENTER(size)
#define FT_FRAME_EXIT()   FT_DEBUG_INNER( FT_Stream_ExitFrame( stream ) )
#define FT_FRAME_EXTRACT(size, bytes)
#define FT_FRAME_RELEASE(bytes)

Typedefs

typedef enum FT_Frame_Op_ FT_Frame_Op
typedef FT_Frame_Field_ FT_Frame_Field

Enumerations

enum  FT_Frame_Op_

Functions

 FT_Stream_Open (FT_Stream stream, const char *filepathname)
 FT_Stream_New (FT_Library library, const FT_Open_Args *args, FT_Stream *astream)
 FT_Stream_Free (FT_Stream stream, FT_Int external)
 FT_Stream_OpenMemory (FT_Stream stream, const FT_Byte *base, FT_ULong size)
 FT_Stream_Close (FT_Stream stream)
 FT_Stream_Seek (FT_Stream stream, FT_ULong pos)
 FT_Stream_Skip (FT_Stream stream, FT_Long distance)
 FT_Stream_Pos (FT_Stream stream)
 FT_Stream_Read (FT_Stream stream, FT_Byte *buffer, FT_ULong count)
 FT_Stream_ReadAt (FT_Stream stream, FT_ULong pos, FT_Byte *buffer, FT_ULong count)
 FT_Stream_TryRead (FT_Stream stream, FT_Byte *buffer, FT_ULong count)
 FT_Stream_EnterFrame (FT_Stream stream, FT_ULong count)
 FT_Stream_ExitFrame (FT_Stream stream)
 FT_Stream_ExtractFrame (FT_Stream stream, FT_ULong count, FT_Byte **pbytes)
 FT_Stream_ReleaseFrame (FT_Stream stream, FT_Byte **pbytes)
 FT_Stream_GetChar (FT_Stream stream)
 FT_Stream_GetShort (FT_Stream stream)
 FT_Stream_GetOffset (FT_Stream stream)
 FT_Stream_GetLong (FT_Stream stream)
 FT_Stream_GetShortLE (FT_Stream stream)
 FT_Stream_GetLongLE (FT_Stream stream)
 FT_Stream_ReadChar (FT_Stream stream, FT_Error *error)
 FT_Stream_ReadShort (FT_Stream stream, FT_Error *error)
 FT_Stream_ReadOffset (FT_Stream stream, FT_Error *error)
 FT_Stream_ReadLong (FT_Stream stream, FT_Error *error)
 FT_Stream_ReadShortLE (FT_Stream stream, FT_Error *error)
 FT_Stream_ReadLongLE (FT_Stream stream, FT_Error *error)
 FT_Stream_ReadFields (FT_Stream stream, const FT_Frame_Field *fields, void *structure)


Define Documentation

#define FT_BYTE_ ( p,
i   )     ( ((const FT_Byte*)(p))[(i)] )

Definition at line 156 of file ftstream.h.

#define FT_BYTE_I16 ( p,
i,
s   )     ( FT_INT16( FT_BYTE_( p, i ) ) << (s) )

Definition at line 164 of file ftstream.h.

#define FT_BYTE_I32 ( p,
i,
s   )     ( FT_INT32( FT_BYTE_( p, i ) ) << (s) )

Definition at line 166 of file ftstream.h.

#define FT_BYTE_U16 ( p,
i,
s   )     ( FT_UINT16( FT_BYTE_( p, i ) ) << (s) )

Definition at line 165 of file ftstream.h.

#define FT_BYTE_U32 ( p,
i,
s   )     ( FT_UINT32( FT_BYTE_( p, i ) ) << (s) )

Definition at line 167 of file ftstream.h.

#define FT_FIELD_OFFSET (  )     (FT_UShort)( offsetof( FT_STRUCTURE, f ) )

Definition at line 105 of file ftstream.h.

#define FT_FIELD_SIZE (  )     (FT_Byte)sizeof ( ((FT_STRUCTURE*)0)->f )

Definition at line 99 of file ftstream.h.

#define FT_FIELD_SIZE_DELTA (  )     (FT_Byte)sizeof ( ((FT_STRUCTURE*)0)->f[0] )

Definition at line 102 of file ftstream.h.

#define FT_FRAME_BYTE (  )     FT_FRAME_FIELD( ft_frame_byte, f )

Definition at line 126 of file ftstream.h.

Referenced by cff_font_load(), tt_face_load_os2(), and tt_face_load_pclt().

#define FT_FRAME_BYTES ( field,
count   ) 

Value:

{                            \
            ft_frame_bytes,            \
            count,                     \
            FT_FIELD_OFFSET( field )   \
          }

Definition at line 140 of file ftstream.h.

Referenced by tt_face_load_pclt().

#define FT_FRAME_CHAR (  )     FT_FRAME_FIELD( ft_frame_schar, f )

Definition at line 127 of file ftstream.h.

Referenced by tt_face_load_pclt().

#define FT_FRAME_END   { ft_frame_end, 0, 0 }

Definition at line 118 of file ftstream.h.

Referenced by cff_font_load(), check_table_dir(), sfnt_open_font(), tt_face_load_font_dir(), tt_face_load_generic_header(), tt_face_load_hhea(), tt_face_load_maxp(), tt_face_load_name(), tt_face_load_os2(), tt_face_load_pclt(), and tt_face_load_post().

#define FT_FRAME_ENTER ( size   ) 

Value:

Definition at line 517 of file ftstream.h.

Referenced by _tt_check_patents_in_range(), cff_charset_load(), cff_encoding_load(), cff_index_load_offsets(), cff_subfont_load(), check_type1_format(), cid_load_glyph(), cid_parse_dict(), cid_parser_new(), fnt_face_get_dll_font(), load_format_20(), pfr_face_get_kerning(), pfr_glyph_load_rec(), pfr_log_font_load(), pfr_phy_font_load(), sfnt_open_font(), T1_Read_Metrics(), t42_parser_init(), TT_Access_Glyph_Frame(), tt_face_load_cvt(), tt_face_load_font_dir(), tt_face_load_gasp(), and tt_face_load_name().

 
#define FT_FRAME_EXIT (  )     FT_DEBUG_INNER( FT_Stream_ExitFrame( stream ) )

Definition at line 521 of file ftstream.h.

Referenced by _tt_check_patents_in_range(), cff_charset_load(), cff_encoding_load(), cff_index_load_offsets(), cff_subfont_load(), check_type1_format(), cid_load_glyph(), cid_parse_dict(), cid_parser_new(), fnt_face_get_dll_font(), load_format_20(), pfr_face_get_kerning(), pfr_glyph_load_rec(), pfr_log_font_load(), pfr_phy_font_load(), sfnt_open_font(), T1_Read_Metrics(), t42_parser_init(), tt_face_load_cvt(), tt_face_load_font_dir(), tt_face_load_gasp(), and TT_Forget_Glyph_Frame().

#define FT_FRAME_EXTRACT ( size,
bytes   ) 

Value:

Definition at line 524 of file ftstream.h.

Referenced by cff_index_access_element(), cff_index_init(), CFF_Load_FD_Select(), cid_parser_new(), fnt_font_load(), tt_face_load_cmap(), tt_face_load_eblc(), tt_face_load_fpgm(), tt_face_load_hdmx(), tt_face_load_kern(), tt_face_load_loca(), tt_face_load_prep(), and tt_sbit_decoder_load_bitmap().

#define FT_FRAME_FIELD ( frame_op,
field   ) 

Value:

{                               \
            frame_op,                     \
            FT_FIELD_SIZE( field ),       \
            FT_FIELD_OFFSET( field )      \
          }

Definition at line 108 of file ftstream.h.

#define FT_FRAME_LONG (  )     FT_FRAME_FIELD( ft_frame_long_be, f )

Definition at line 120 of file ftstream.h.

Referenced by sfnt_open_font(), tt_face_load_generic_header(), and tt_face_load_maxp().

#define FT_FRAME_LONG_LE (  )     FT_FRAME_FIELD( ft_frame_long_le, f )

Definition at line 129 of file ftstream.h.

#define FT_FRAME_OFF3 (  )     FT_FRAME_FIELD( ft_frame_off3_be, f )

Definition at line 124 of file ftstream.h.

#define FT_FRAME_OFF3_LE (  )     FT_FRAME_FIELD( ft_frame_off3_le, f )

Definition at line 133 of file ftstream.h.

#define FT_FRAME_OP_BYTE   2

Definition at line 50 of file ftstream.h.

#define FT_FRAME_OP_BYTES   6

Definition at line 54 of file ftstream.h.

#define FT_FRAME_OP_COMMAND ( x   )     ( x >> FT_FRAME_OP_SHIFT )

Definition at line 43 of file ftstream.h.

#define FT_FRAME_OP_END   0

Definition at line 48 of file ftstream.h.

#define FT_FRAME_OP_LITTLE   2

Definition at line 42 of file ftstream.h.

#define FT_FRAME_OP_LONG   4

Definition at line 52 of file ftstream.h.

#define FT_FRAME_OP_OFF3   5

Definition at line 53 of file ftstream.h.

#define FT_FRAME_OP_SHIFT   2

Definition at line 40 of file ftstream.h.

#define FT_FRAME_OP_SHORT   3

Definition at line 51 of file ftstream.h.

#define FT_FRAME_OP_SIGNED   1

Definition at line 41 of file ftstream.h.

Referenced by FT_Stream_ReadFields().

#define FT_FRAME_OP_START   1

Definition at line 49 of file ftstream.h.

#define FT_FRAME_RELEASE ( bytes   ) 

Value:

Definition at line 529 of file ftstream.h.

Referenced by CFF_Done_FD_Select(), cff_index_done(), cff_index_forget_element(), cid_parser_done(), cid_parser_new(), fnt_font_done(), sfnt_done_face(), tt_face_done(), tt_face_done_kern(), tt_face_done_loca(), tt_face_free_eblc(), tt_face_free_hdmx(), tt_face_load_eblc(), tt_face_load_hdmx(), and tt_sbit_decoder_load_bitmap().

#define FT_FRAME_SHORT (  )     FT_FRAME_FIELD( ft_frame_short_be, f )

Definition at line 122 of file ftstream.h.

Referenced by tt_face_load_generic_header(), tt_face_load_hhea(), tt_face_load_os2(), and tt_face_load_post().

#define FT_FRAME_SHORT_LE (  )     FT_FRAME_FIELD( ft_frame_short_le, f )

Definition at line 131 of file ftstream.h.

#define FT_FRAME_SKIP_BYTE   { ft_frame_byte, 0, 0 }

Definition at line 138 of file ftstream.h.

#define FT_FRAME_SKIP_BYTES ( count   )     { ft_frame_skip, count, 0 }

Definition at line 147 of file ftstream.h.

#define FT_FRAME_SKIP_LONG   { ft_frame_long_be, 0, 0 }

Definition at line 136 of file ftstream.h.

#define FT_FRAME_SKIP_SHORT   { ft_frame_short_be, 0, 0 }

Definition at line 137 of file ftstream.h.

#define FT_FRAME_START ( size   )     { ft_frame_start, 0, size }

Definition at line 117 of file ftstream.h.

Referenced by cff_font_load(), check_table_dir(), sfnt_open_font(), tt_face_load_font_dir(), tt_face_load_generic_header(), tt_face_load_hhea(), tt_face_load_maxp(), tt_face_load_name(), tt_face_load_os2(), tt_face_load_pclt(), and tt_face_load_post().

#define FT_FRAME_ULONG (  )     FT_FRAME_FIELD( ft_frame_ulong_be, f )

Definition at line 121 of file ftstream.h.

Referenced by check_table_dir(), tt_face_load_generic_header(), tt_face_load_hhea(), tt_face_load_os2(), tt_face_load_pclt(), and tt_face_load_post().

#define FT_FRAME_ULONG_LE (  )     FT_FRAME_FIELD( ft_frame_ulong_le, f )

Definition at line 130 of file ftstream.h.

#define FT_FRAME_UOFF3 (  )     FT_FRAME_FIELD( ft_frame_uoff3_be, f )

Definition at line 125 of file ftstream.h.

#define FT_FRAME_UOFF3_LE (  )     FT_FRAME_FIELD( ft_frame_uoff3_le, f )

Definition at line 134 of file ftstream.h.

#define FT_FRAME_USHORT (  )     FT_FRAME_FIELD( ft_frame_ushort_be, f )

Definition at line 123 of file ftstream.h.

Referenced by tt_face_load_font_dir(), tt_face_load_generic_header(), tt_face_load_hhea(), tt_face_load_maxp(), tt_face_load_name(), tt_face_load_os2(), and tt_face_load_pclt().

#define FT_FRAME_USHORT_LE (  )     FT_FRAME_FIELD( ft_frame_ushort_le, f )

Definition at line 132 of file ftstream.h.

 
#define FT_GET_BYTE (  )     FT_GET_MACRO( FT_Stream_GetChar, FT_Byte )

Definition at line 294 of file ftstream.h.

 
#define FT_GET_CHAR (  )     FT_GET_MACRO( FT_Stream_GetChar, FT_Char )

Definition at line 293 of file ftstream.h.

 
#define FT_GET_LONG (  )     FT_GET_MACRO( FT_Stream_GetLong, FT_Long )

Definition at line 299 of file ftstream.h.

Referenced by tt_face_load_font_dir().

 
#define FT_GET_LONG_LE (  )     FT_GET_MACRO( FT_Stream_GetLongLE, FT_Long )

Definition at line 305 of file ftstream.h.

#define FT_GET_MACRO ( func,
type   )     ( (type)func( stream ) )

Definition at line 291 of file ftstream.h.

 
#define FT_GET_OFF3 (  )     FT_GET_MACRO( FT_Stream_GetOffset, FT_Long )

Definition at line 297 of file ftstream.h.

 
#define FT_GET_SHORT (  )     FT_GET_MACRO( FT_Stream_GetShort, FT_Short )

Definition at line 295 of file ftstream.h.

Referenced by pcf_get_encodings(), and tt_face_load_cvt().

 
#define FT_GET_SHORT_LE (  )     FT_GET_MACRO( FT_Stream_GetShortLE, FT_Short )

Definition at line 303 of file ftstream.h.

Referenced by pcf_get_encodings().

 
#define FT_GET_TAG4 (  )     FT_GET_MACRO( FT_Stream_GetLong, FT_ULong )

Definition at line 301 of file ftstream.h.

Referenced by tt_face_load_font_dir().

 
#define FT_GET_ULONG (  )     FT_GET_MACRO( FT_Stream_GetLong, FT_ULong )

Definition at line 300 of file ftstream.h.

Referenced by pcf_get_bitmaps(), sfnt_open_font(), and tt_face_load_font_dir().

 
#define FT_GET_ULONG_LE (  )     FT_GET_MACRO( FT_Stream_GetLongLE, FT_ULong )

Definition at line 306 of file ftstream.h.

Referenced by pcf_get_bitmaps(), and pcf_get_encodings().

 
#define FT_GET_UOFF3 (  )     FT_GET_MACRO( FT_Stream_GetOffset, FT_ULong )

Definition at line 298 of file ftstream.h.

 
#define FT_GET_USHORT (  )     FT_GET_MACRO( FT_Stream_GetShort, FT_UShort )

Definition at line 296 of file ftstream.h.

Referenced by cff_charset_load(), load_format_20(), and tt_face_load_gasp().

 
#define FT_GET_USHORT_LE (  )     FT_GET_MACRO( FT_Stream_GetShortLE, FT_UShort )

Definition at line 304 of file ftstream.h.

Referenced by fnt_face_get_dll_font().

#define FT_INT16 ( x   )     ( (FT_Int16)(x) )

Definition at line 159 of file ftstream.h.

#define FT_INT32 ( x   )     ( (FT_Int32)(x) )

Definition at line 161 of file ftstream.h.

#define FT_INT8_ ( p,
i   )     ( ((const FT_Char*)(p))[(i)] )

Definition at line 157 of file ftstream.h.

#define FT_INT8_I16 ( p,
i,
s   )     ( FT_INT16( FT_INT8_( p, i ) ) << (s) )

Definition at line 169 of file ftstream.h.

#define FT_INT8_I32 ( p,
i,
s   )     ( FT_INT32( FT_INT8_( p, i ) ) << (s) )

Definition at line 171 of file ftstream.h.

#define FT_INT8_U16 ( p,
i,
s   )     ( FT_UINT16( FT_INT8_( p, i ) ) << (s) )

Definition at line 170 of file ftstream.h.

#define FT_INT8_U32 ( p,
i,
s   )     ( FT_UINT32( FT_INT8_( p, i ) ) << (s) )

Definition at line 172 of file ftstream.h.

#define FT_MAKE_EMPTY_FIELD ( frame_op   )     { frame_op, 0, 0 }

Definition at line 115 of file ftstream.h.

#define FT_MAKE_FRAME_OP ( command,
little,
sign   )     ( ( command << FT_FRAME_OP_SHIFT ) | ( little << 1 ) | sign )

Definition at line 45 of file ftstream.h.

#define FT_NEXT_BYTE ( buffer   )     ( (unsigned char)*buffer++ )

Definition at line 227 of file ftstream.h.

Referenced by FT_Stream_ReadFields(), gxv_array_getlimits_byte(), gxv_ClassTable_validate(), gxv_EntryTable_validate(), gxv_kern_subtable_fmt3_validate(), gxv_StateArray_validate(), gxv_XEntryTable_validate(), TT_Load_Simple_Glyph(), and tt_sbit_decoder_load_compound().

#define FT_NEXT_CHAR ( buffer   )     ( (signed char)*buffer++ )

Definition at line 224 of file ftstream.h.

Referenced by gxv_EntryTable_validate(), gxv_XEntryTable_validate(), and TT_Load_Composite_Glyph().

#define FT_NEXT_LONG ( buffer   )     ( (long)( buffer += 4, FT_PEEK_LONG( buffer - 4 ) ) )

Definition at line 242 of file ftstream.h.

Referenced by FT_Stream_GetLong(), FT_Stream_ReadLong(), gxv_EntryTable_validate(), gxv_trak_trackTable_validate(), and gxv_XEntryTable_validate().

#define FT_NEXT_LONG_LE ( buffer   )     ( (long)( buffer += 4, FT_PEEK_LONG_LE( buffer - 4 ) ) )

Definition at line 261 of file ftstream.h.

Referenced by FT_Stream_GetLongLE(), and FT_Stream_ReadLongLE().

#define FT_NEXT_OFF3 ( buffer   )     ( (long)( buffer += 3, FT_PEEK_OFF3( buffer - 3 ) ) )

Definition at line 236 of file ftstream.h.

Referenced by FT_Stream_GetOffset(), and FT_Stream_ReadOffset().

#define FT_NEXT_OFF3_LE ( buffer   )     ( (long)( buffer += 3, FT_PEEK_OFF3_LE( buffer - 3 ) ) )

Definition at line 255 of file ftstream.h.

#define FT_NEXT_SHORT ( buffer   )     ( (short)( buffer += 2, FT_PEEK_SHORT( buffer - 2 ) ) )

Definition at line 230 of file ftstream.h.

Referenced by FT_Stream_GetShort(), FT_Stream_ReadShort(), gxv_EntryTable_validate(), gxv_feat_name_index_validate(), gxv_kern_subtable_fmt0_pairs_validate(), gxv_lcar_LookupValue_validate(), gxv_lookup_value_load(), gxv_opbd_LookupValue_validate(), gxv_XEntryTable_validate(), otv_SingleSubst_validate(), pfr_extra_item_load_stem_snaps(), TT_Load_Composite_Glyph(), TT_Load_Glyph_Header(), and TT_Load_Simple_Glyph().

#define FT_NEXT_SHORT_LE ( buffer   )     ( (short)( buffer += 2, FT_PEEK_SHORT_LE( buffer - 2 ) ) )

Definition at line 249 of file ftstream.h.

Referenced by FNT_Load_Glyph(), FT_Stream_GetShortLE(), and FT_Stream_ReadShortLE().

#define FT_NEXT_ULONG ( buffer   )     ( (unsigned long)( buffer += 4, FT_PEEK_ULONG( buffer - 4 ) ) )

Definition at line 245 of file ftstream.h.

Referenced by FT_Stream_ReadFields(), gxv_bsln_validate(), gxv_EntryTable_validate(), gxv_feat_name_validate(), gxv_feat_validate(), gxv_just_actSubrecord_type0_validate(), gxv_just_actSubrecord_type2_validate(), gxv_just_actSubrecord_type4_validate(), gxv_just_actSubrecord_validate(), gxv_just_justClassTable_validate(), gxv_just_pcActionRecord_validate(), gxv_just_validate(), gxv_just_wdc_entry_validate(), gxv_just_wdp_entry_validate(), gxv_kern_validate_generic(), gxv_lcar_validate(), gxv_mort_chain_validate(), gxv_mort_featurearray_validate(), gxv_mort_subtable_type2_ligActionOffset_validate(), gxv_mort_subtables_validate(), gxv_mort_validate(), gxv_morx_chain_validate(), gxv_morx_subtable_type1_substitutionTable_validate(), gxv_morx_subtable_type2_ligActionIndex_validate(), gxv_morx_subtable_type2_opttable_load(), gxv_morx_subtable_type5_insertionGlyphList_load(), gxv_morx_subtables_validate(), gxv_morx_validate(), gxv_opbd_validate(), gxv_prop_validate(), gxv_trak_trackData_validate(), gxv_trak_validate(), gxv_XEntryTable_validate(), gxv_XStateTable_validate(), otv_BASE_validate(), otv_ExtensionPos_validate(), otv_ExtensionSubst_validate(), otv_GDEF_validate(), otv_GPOS_validate(), otv_GSUB_validate(), otv_JSTF_validate(), otv_MATH_validate(), pfr_face_get_kerning(), tt_face_get_kerning(), tt_face_get_location(), tt_face_load_eblc(), tt_face_load_hdmx(), tt_face_load_kern(), tt_sbit_decoder_init(), and tt_sbit_decoder_load_image().

#define FT_NEXT_ULONG_LE ( buffer   )     ( (unsigned long)( buffer += 4, FT_PEEK_ULONG_LE( buffer - 4 ) ) )

Definition at line 264 of file ftstream.h.

Referenced by FNT_Load_Glyph(), and FT_Stream_ReadFields().

#define FT_NEXT_UOFF3 ( buffer   )     ( (unsigned long)( buffer += 3, FT_PEEK_UOFF3( buffer - 3 ) ) )

Definition at line 239 of file ftstream.h.

Referenced by FT_Stream_ReadFields().

#define FT_NEXT_UOFF3_LE ( buffer   )     ( (unsigned long)( buffer += 3, FT_PEEK_UOFF3_LE( buffer - 3 ) ) )

Definition at line 258 of file ftstream.h.

Referenced by FT_Stream_ReadFields().

#define FT_NEXT_USHORT ( buffer   )     ( (unsigned short)( buffer += 2, FT_PEEK_USHORT( buffer - 2 ) ) )

Definition at line 233 of file ftstream.h.

Referenced by cff_fd_select_get(), FT_Stream_ReadFields(), gxv_array_getlimits_ushort(), gxv_BinSrchHeader_validate(), gxv_bsln_LookupFmt4_transit(), gxv_bsln_parts_fmt2_validate(), gxv_bsln_validate(), gxv_ClassTable_validate(), gxv_EntryTable_validate(), gxv_feat_name_validate(), gxv_feat_setting_validate(), gxv_feat_validate(), gxv_just_actSubrecord_type0_validate(), gxv_just_actSubrecord_type1_validate(), gxv_just_actSubrecord_type2_validate(), gxv_just_actSubrecord_type5_validate(), gxv_just_actSubrecord_validate(), gxv_just_justClassTable_validate(), gxv_just_justData_validate(), gxv_just_validate(), gxv_just_wdp_entry_validate(), gxv_kern_subtable_fmt0_pairs_validate(), gxv_kern_subtable_fmt1_entry_validate(), gxv_kern_subtable_fmt1_valueTable_load(), gxv_kern_subtable_fmt2_clstbl_validate(), gxv_kern_subtable_fmt2_validate(), gxv_kern_subtable_fmt3_validate(), gxv_kern_subtable_validate(), gxv_kern_validate_generic(), gxv_lcar_LookupFmt4_transit(), gxv_lcar_LookupValue_validate(), gxv_lcar_validate(), gxv_lookup_value_load(), gxv_LookupTable_fmt2_validate(), gxv_LookupTable_fmt4_validate(), gxv_LookupTable_fmt6_validate(), gxv_LookupTable_fmt8_validate(), gxv_LookupTable_validate(), gxv_mort_chain_validate(), gxv_mort_featurearray_validate(), gxv_mort_subtable_type1_substitutionTable_load(), gxv_mort_subtable_type1_substTable_validate(), gxv_mort_subtable_type2_ligatureTable_validate(), gxv_mort_subtable_type2_opttable_load(), gxv_mort_subtable_type4_lookupfmt4_transit(), gxv_mort_subtable_type5_InsertList_validate(), gxv_mort_subtables_validate(), gxv_morx_subtable_type1_LookupFmt4_transit(), gxv_morx_subtable_type1_substitutionTable_load(), gxv_morx_subtable_type2_ligatureTable_validate(), gxv_morx_subtable_type5_InsertList_validate(), gxv_opbd_validate(), gxv_prop_LookupFmt4_transit(), gxv_prop_validate(), gxv_StateTable_validate(), gxv_trak_trackData_validate(), gxv_trak_trackTable_validate(), gxv_trak_validate(), gxv_XClassTable_lookupfmt4_transit(), gxv_XEntryTable_validate(), gxv_XStateArray_validate(), otv_AlternateSubst_validate(), otv_Anchor_validate(), otv_Axis_validate(), otv_BaseCoord_validate(), otv_BaseScript_validate(), otv_BaseScriptList_validate(), otv_BaseTagList_validate(), otv_BaseValues_validate(), otv_CaretValue_validate(), otv_ChainContextPos_validate(), otv_ChainContextSubst_validate(), otv_ClassDef_validate(), otv_ContextPos_validate(), otv_ContextSubst_validate(), otv_Coverage_get_count(), otv_Coverage_get_first(), otv_Coverage_get_last(), otv_Coverage_validate(), otv_CursivePos_validate(), otv_Device_validate(), otv_ExtensionPos_validate(), otv_ExtensionSubst_validate(), otv_Feature_get_count(), otv_Feature_validate(), otv_FeatureList_validate(), otv_GlyphAssembly_validate(), otv_GPOS_validate(), otv_GSUB_validate(), otv_GSUBGPOS_get_Lookup_count(), otv_GSUBGPOS_have_MarkAttachmentType_flag(), otv_JSTF_validate(), otv_JstfScript_validate(), otv_LangSys_validate(), otv_Ligature_validate(), otv_LigatureSubst_validate(), otv_Lookup_validate(), otv_LookupList_get_count(), otv_LookupList_validate(), otv_MarkArray_validate(), otv_MarkBasePos_validate(), otv_MarkLigPos_validate(), otv_MarkMarkPos_validate(), otv_MATH_validate(), otv_MathGlyphConstruction_validate(), otv_MathGlyphInfo_validate(), otv_MathItalicsCorrectionInfo_validate(), otv_MathKern_validate(), otv_MathKernInfo_validate(), otv_MathVariants_validate(), otv_MinMax_validate(), otv_MultipleSubst_validate(), otv_O_x_Ox(), otv_PairPos_validate(), otv_PairSet_validate(), otv_ReverseChainSingleSubst_validate(), otv_Script_validate(), otv_ScriptList_validate(), otv_SinglePos_validate(), otv_SingleSubst_validate(), otv_u_C_x_Ox(), otv_u_O_O_O_O_x_Onx(), otv_u_O_O_u_O_O(), otv_u_O_O_x_Onx(), otv_u_x_Ox_y_Oy_z_Oz_p_sp(), otv_u_x_y_Ox_sy(), otv_x_Ox(), otv_x_sxy(), otv_x_ux(), otv_x_ux_y_uy_z_uz_p_sp(), otv_x_y_ux_sy(), tt_face_get_kerning(), tt_face_get_location(), tt_face_load_hdmx(), tt_face_load_kern(), TT_Load_Composite_Glyph(), TT_Load_Simple_Glyph(), tt_name_entry_ascii_from_utf16(), tt_sbit_decoder_load_compound(), and tt_sbit_decoder_load_image().

#define FT_NEXT_USHORT_LE ( buffer   )     ( (unsigned short)( buffer += 2, FT_PEEK_USHORT_LE( buffer - 2 ) ) )

Definition at line 252 of file ftstream.h.

Referenced by FNT_Load_Glyph(), and FT_Stream_ReadFields().

#define FT_PEEK_LONG ( p   ) 

Value:

FT_INT32( FT_INT8_I32( p, 0, 24 ) | \
                                     FT_BYTE_I32( p, 1, 16 ) | \
                                     FT_BYTE_I32( p, 2,  8 ) | \
                                     FT_BYTE_I32( p, 3,  0 ) )

Definition at line 181 of file ftstream.h.

#define FT_PEEK_LONG_LE ( p   ) 

Value:

FT_INT32( FT_INT8_I32( p, 3, 24 ) | \
                                        FT_BYTE_I32( p, 2, 16 ) | \
                                        FT_BYTE_I32( p, 1,  8 ) | \
                                        FT_BYTE_I32( p, 0,  0 ) )

Definition at line 205 of file ftstream.h.

#define FT_PEEK_OFF3 ( p   ) 

Value:

FT_INT32( FT_INT8_I32( p, 0, 16 ) | \
                                     FT_BYTE_I32( p, 1,  8 ) | \
                                     FT_BYTE_I32( p, 2,  0 ) )

Definition at line 191 of file ftstream.h.

Referenced by cff_index_load_offsets().

#define FT_PEEK_OFF3_LE ( p   ) 

Value:

FT_INT32( FT_INT8_I32( p, 2, 16 ) | \
                                        FT_BYTE_I32( p, 1,  8 ) | \
                                        FT_BYTE_I32( p, 0,  0 ) )

Definition at line 215 of file ftstream.h.

#define FT_PEEK_SHORT ( p   ) 

Value:

FT_INT16( FT_INT8_I16( p, 0, 8) | \
                                      FT_BYTE_I16( p, 1, 0) )

Definition at line 175 of file ftstream.h.

Referenced by pfr_face_get_kerning(), and tt_face_get_kerning().

#define FT_PEEK_SHORT_LE ( p   ) 

Value:

FT_INT16( FT_INT8_I16( p, 1, 8 ) | \
                                         FT_BYTE_I16( p, 0, 0 ) )

Definition at line 199 of file ftstream.h.

#define FT_PEEK_ULONG ( p   ) 

Value:

FT_UINT32( FT_BYTE_U32( p, 0, 24 ) | \
                                       FT_BYTE_U32( p, 1, 16 ) | \
                                       FT_BYTE_U32( p, 2,  8 ) | \
                                       FT_BYTE_U32( p, 3,  0 ) )

Definition at line 186 of file ftstream.h.

Referenced by cff_index_load_offsets(), and t42_parse_sfnts().

#define FT_PEEK_ULONG_LE ( p   ) 

Value:

FT_UINT32( FT_BYTE_U32( p, 3, 24 ) | \
                                          FT_BYTE_U32( p, 2, 16 ) | \
                                          FT_BYTE_U32( p, 1,  8 ) | \
                                          FT_BYTE_U32( p, 0,  0 ) )

Definition at line 210 of file ftstream.h.

Referenced by T1_Read_Metrics(), and T1_Read_PFM().

#define FT_PEEK_UOFF3 ( p   ) 

Value:

FT_UINT32( FT_BYTE_U32( p, 0, 16 ) | \
                                       FT_BYTE_U32( p, 1,  8 ) | \
                                       FT_BYTE_U32( p, 2,  0 ) )

Definition at line 195 of file ftstream.h.

#define FT_PEEK_UOFF3_LE ( p   ) 

Value:

FT_UINT32( FT_BYTE_U32( p, 2, 16 ) | \
                                          FT_BYTE_U32( p, 1,  8 ) | \
                                          FT_BYTE_U32( p, 0,  0 ) )

Definition at line 219 of file ftstream.h.

#define FT_PEEK_USHORT ( p   ) 

Value:

FT_UINT16( FT_BYTE_U16( p, 0, 8 ) | \
                                        FT_BYTE_U16( p, 1, 0 ) )

Definition at line 178 of file ftstream.h.

Referenced by cff_index_load_offsets(), and tt_sbit_decoder_load_image().

#define FT_PEEK_USHORT_LE ( p   ) 

Value:

FT_UINT16( FT_BYTE_U16( p, 1, 8 ) |  \
                                           FT_BYTE_U16( p, 0, 0 ) )

Definition at line 202 of file ftstream.h.

Referenced by T1_Read_PFM().

#define FT_READ_BYTE ( var   )     FT_READ_MACRO( FT_Stream_ReadChar, FT_Byte, var )

Definition at line 313 of file ftstream.h.

Referenced by cff_charset_load(), cff_encoding_load(), cff_index_init(), CFF_Load_FD_Select(), and load_format_20().

#define FT_READ_CHAR ( var   )     FT_READ_MACRO( FT_Stream_ReadChar, FT_Char, var )

Definition at line 314 of file ftstream.h.

#define FT_READ_LONG ( var   )     FT_READ_MACRO( FT_Stream_ReadLong, FT_Long, var )

Definition at line 319 of file ftstream.h.

Referenced by FT_Raccess_Get_DataOffsets(), and pcf_get_bitmaps().

#define FT_READ_LONG_LE ( var   )     FT_READ_MACRO( FT_Stream_ReadLongLE, FT_Long, var )

Definition at line 324 of file ftstream.h.

Referenced by pcf_get_bitmaps().

#define FT_READ_MACRO ( func,
type,
var   ) 

Value:

( var = (type)func( stream, &error ), \
            error != FT_Err_Ok )

Definition at line 309 of file ftstream.h.

#define FT_READ_OFF3 ( var   )     FT_READ_MACRO( FT_Stream_ReadOffset, FT_Long, var )

Definition at line 317 of file ftstream.h.

#define FT_READ_SHORT ( var   )     FT_READ_MACRO( FT_Stream_ReadShort, FT_Short, var )

Definition at line 315 of file ftstream.h.

Referenced by _tt_face_check_patents(), and tt_face_get_metrics().

#define FT_READ_SHORT_LE ( var   )     FT_READ_MACRO( FT_Stream_ReadShortLE, FT_Short, var )

Definition at line 322 of file ftstream.h.

#define FT_READ_ULONG ( var   )     FT_READ_MACRO( FT_Stream_ReadLong, FT_ULong, var )

Definition at line 320 of file ftstream.h.

Referenced by check_table_dir(), pcf_get_metrics(), pcf_get_properties(), sfnt_open_font(), and tt_face_load_font_dir().

#define FT_READ_ULONG_LE ( var   )     FT_READ_MACRO( FT_Stream_ReadLongLE, FT_ULong, var )

Definition at line 325 of file ftstream.h.

Referenced by pcf_get_accel(), pcf_get_metrics(), pcf_get_properties(), and read_pfb_tag().

#define FT_READ_UOFF3 ( var   )     FT_READ_MACRO( FT_Stream_ReadOffset, FT_ULong, var )

Definition at line 318 of file ftstream.h.

Referenced by pfr_log_font_load().

#define FT_READ_USHORT ( var   )     FT_READ_MACRO( FT_Stream_ReadShort, FT_UShort, var )

Definition at line 316 of file ftstream.h.

Referenced by _tt_face_check_patents(), cff_charset_load(), cff_index_init(), CFF_Load_FD_Select(), FT_Raccess_Get_DataOffsets(), FT_Raccess_Get_HeaderInfo(), load_format_20(), load_format_25(), pcf_get_metrics(), pfr_log_font_count(), pfr_log_font_load(), read_pfb_tag(), tt_face_get_metrics(), and TT_Process_Composite_Glyph().

#define FT_READ_USHORT_LE ( var   )     FT_READ_MACRO( FT_Stream_ReadShortLE, FT_UShort, var )

Definition at line 323 of file ftstream.h.

Referenced by pcf_get_metrics().

 
#define FT_STREAM_POS (  )     FT_Stream_Pos( stream )

Definition at line 493 of file ftstream.h.

Referenced by cff_font_load(), cff_index_init(), cid_parser_new(), fnt_face_get_dll_font(), pfr_phy_font_load(), sfnt_open_font(), T1_Get_Private_Dict(), tt_face_load_font_dir(), tt_face_load_hmtx(), tt_face_load_name(), TT_Load_Composite_Glyph(), tt_loader_init(), and tt_sbit_decoder_init().

#define FT_STREAM_READ ( buffer,
count   ) 

Value:

Definition at line 502 of file ftstream.h.

Referenced by cff_index_read_offset(), cid_parse_dict(), cid_parser_new(), load_format_20(), load_format_25(), PCF_Glyph_Load(), T1_Get_Private_Dict(), T1_New_Parser(), t42_parser_init(), and TT_Process_Composite_Glyph().

#define FT_STREAM_READ_AT ( position,
buffer,
count   ) 

Value:

Definition at line 507 of file ftstream.h.

Referenced by cid_load_glyph(), and tt_face_load_any().

#define FT_STREAM_READ_FIELDS ( fields,
object   )     FT_SET_ERROR( FT_Stream_ReadFields( stream, fields, object ) )

Definition at line 513 of file ftstream.h.

Referenced by cff_font_load(), check_table_dir(), fnt_face_get_dll_font(), fnt_font_load(), pcf_get_accel(), pcf_get_metric(), pcf_get_properties(), pcf_read_TOC(), pfr_header_load(), sfnt_open_font(), tt_face_load_font_dir(), tt_face_load_generic_header(), tt_face_load_hhea(), tt_face_load_maxp(), tt_face_load_name(), tt_face_load_os2(), tt_face_load_pclt(), and tt_face_load_post().

#define FT_STREAM_SEEK ( position   )     FT_SET_ERROR( FT_Stream_Seek( stream, position ) )

Definition at line 496 of file ftstream.h.

Referenced by _tt_check_patents_in_table(), _tt_face_check_patents(), BDF_Face_Init(), cff_charset_load(), cff_encoding_load(), cff_face_init(), cff_font_load(), cff_index_access_element(), cff_index_load_offsets(), CFF_Load_FD_Select(), cff_subfont_load(), check_table_dir(), check_type1_format(), cid_face_init(), cid_load_glyph(), cid_parse_dict(), cid_parser_new(), fnt_face_get_dll_font(), fnt_font_load(), PCF_Glyph_Load(), pcf_read_TOC(), pfr_face_get_kerning(), pfr_glyph_load_rec(), pfr_header_load(), pfr_log_font_count(), pfr_log_font_load(), pfr_phy_font_load(), sfnt_init_face(), T1_Get_Private_Dict(), T1_New_Parser(), t42_parser_init(), TT_Access_Glyph_Frame(), tt_face_get_metrics(), tt_face_goto_table(), tt_face_init(), tt_face_load_font_dir(), TT_Process_Composite_Glyph(), and tt_sbit_decoder_load_bitmap().

#define FT_STREAM_SKIP ( distance   )     FT_SET_ERROR( FT_Stream_Skip( stream, distance ) )

Definition at line 499 of file ftstream.h.

Referenced by _tt_face_check_patents(), cff_font_load(), cff_index_init(), FT_Raccess_Get_DataOffsets(), FT_Raccess_Get_HeaderInfo(), load_post_names(), pcf_get_properties(), pcf_seek_to_table_type(), pfr_log_font_load(), T1_Get_Private_Dict(), T1_New_Parser(), and t42_parser_init().

#define FT_UINT16 ( x   )     ( (FT_UInt16)(x) )

Definition at line 160 of file ftstream.h.

#define FT_UINT32 ( x   )     ( (FT_UInt32)(x) )

Definition at line 162 of file ftstream.h.


Typedef Documentation

typedef struct FT_Frame_Field_ FT_Frame_Field

typedef enum FT_Frame_Op_ FT_Frame_Op


Enumeration Type Documentation

enum FT_Frame_Op_

Definition at line 57 of file ftstream.h.


Function Documentation

FT_Stream_Close ( FT_Stream  stream  ) 

Definition at line 49 of file ftstream.c.

Referenced by FT_New_Face_From_SFNT(), FT_Stream_Free(), main(), and PCF_Face_Done().

FT_Stream_EnterFrame ( FT_Stream  stream,
FT_ULong  count 
)

Definition at line 234 of file ftstream.c.

References error, FT_ASSERT, FT_ERROR, FT_FREE, ft_mem_qalloc(), and FT_QALLOC.

Referenced by FT_Access_Frame(), FT_Stream_ExtractFrame(), FT_Stream_ReadFields(), parse_afm(), pcf_get_bitmaps(), and pcf_get_encodings().

FT_Stream_ExitFrame ( FT_Stream  stream  ) 

Definition at line 300 of file ftstream.c.

References FT_ASSERT, FT_FREE, ft_mem_free(), and NULL.

Referenced by FT_Forget_Frame(), FT_Stream_ReadFields(), pcf_get_bitmaps(), and pcf_get_encodings().

FT_Stream_ExtractFrame ( FT_Stream  stream,
FT_ULong  count,
FT_Byte **  pbytes 
)

Definition at line 193 of file ftstream.c.

References error, and FT_Stream_EnterFrame().

Referenced by FT_Extract_Frame().

FT_Stream_Free ( FT_Stream  stream,
FT_Int  external 
)

Definition at line 191 of file ftobjs.c.

References FT_FREE, and FT_Stream_Close().

Referenced by destroy_face(), FT_Attach_Stream(), and FT_Open_Face().

FT_Stream_GetChar ( FT_Stream  stream  ) 

Definition at line 330 of file ftstream.c.

References FT_ASSERT, and result().

FT_Stream_GetLong ( FT_Stream  stream  ) 

Definition at line 402 of file ftstream.c.

References FT_ASSERT, FT_NEXT_LONG, p, and result().

FT_Stream_GetLongLE ( FT_Stream  stream  ) 

Definition at line 420 of file ftstream.c.

References FT_ASSERT, FT_NEXT_LONG_LE, p, and result().

FT_Stream_GetOffset ( FT_Stream  stream  ) 

Definition at line 384 of file ftstream.c.

References FT_ASSERT, FT_NEXT_OFF3, p, and result().

FT_Stream_GetShort ( FT_Stream  stream  ) 

Definition at line 346 of file ftstream.c.

References FT_ASSERT, FT_NEXT_SHORT, p, and result().

FT_Stream_GetShortLE ( FT_Stream  stream  ) 

Definition at line 365 of file ftstream.c.

References FT_ASSERT, FT_NEXT_SHORT_LE, p, and result().

FT_Stream_New ( FT_Library  library,
const FT_Open_Args args,
FT_Stream astream 
)

Definition at line 129 of file ftobjs.c.

References error, FT_FREE, FT_NEW, FT_OPEN_MEMORY, FT_OPEN_PATHNAME, FT_OPEN_STREAM, FT_Stream_Open(), FT_Stream_OpenMemory(), and PC3::stream().

Referenced by FT_Attach_Stream(), and FT_Open_Face().

FT_Stream_Open ( FT_Stream  stream,
const char *  filepathname 
)

Definition at line 381 of file ftsystem.c.

References SysFile::file, ft_amiga_stream_close(), ft_amiga_stream_io(), ft_ansi_stream_close(), ft_ansi_stream_io(), FT_ERROR, FT_FILE, ft_fopen, ft_fseek, ft_ftell, FT_TRACE1, SysFile::iobuf_end, SysFile::iobuf_start, NULL, SEEK_END, and SEEK_SET.

FT_Stream_OpenMemory ( FT_Stream  stream,
const FT_Byte base,
FT_ULong  size 
)

Definition at line 35 of file ftstream.c.

Referenced by FT_New_Face_From_SFNT(), FT_New_Memory_Stream(), FT_Stream_New(), and load_truetype_glyph().

FT_Stream_Pos ( FT_Stream  stream  ) 

Definition at line 103 of file ftstream.c.

Referenced by tt_face_load_loca().

FT_Stream_Read ( FT_Stream  stream,
FT_Byte buffer,
FT_ULong  count 
)

Definition at line 110 of file ftstream.c.

References FT_Stream_ReadAt().

Referenced by FT_Raccess_Get_HeaderInfo(), FT_Read_Stream(), and pcf_get_properties().

FT_Stream_ReadAt ( FT_Stream  stream,
FT_ULong  pos,
FT_Byte buffer,
FT_ULong  count 
)

Definition at line 119 of file ftstream.c.

References error, FT_ERROR, and FT_MEM_COPY.

Referenced by FT_Read_Stream_At(), and FT_Stream_Read().

FT_Stream_ReadChar ( FT_Stream  stream,
FT_Error error 
)

Definition at line 438 of file ftstream.c.

References FT_ASSERT, FT_ERROR, RooFitShortHand::L(), and result().

FT_Stream_ReadFields ( FT_Stream  stream,
const FT_Frame_Field fields,
void *  structure 
)

Definition at line 710 of file ftstream.c.

References error, FT_Bool, FT_CHAR_BIT, ft_frame_byte, ft_frame_bytes, ft_frame_long_be, ft_frame_long_le, ft_frame_off3_be, ft_frame_off3_le, FT_FRAME_OP_SIGNED, ft_frame_schar, ft_frame_short_be, ft_frame_short_le, ft_frame_skip, ft_frame_start, ft_frame_ulong_be, ft_frame_ulong_le, ft_frame_uoff3_be, ft_frame_uoff3_le, ft_frame_ushort_be, ft_frame_ushort_le, FT_MEM_COPY, FT_NEXT_BYTE, FT_NEXT_ULONG, FT_NEXT_ULONG_LE, FT_NEXT_UOFF3, FT_NEXT_UOFF3_LE, FT_NEXT_USHORT, FT_NEXT_USHORT_LE, FT_Stream_EnterFrame(), FT_Stream_ExitFrame(), len, p, and value.

FT_Stream_ReadLong ( FT_Stream  stream,
FT_Error error 
)

Definition at line 616 of file ftstream.c.

References FT_ASSERT, FT_ERROR, FT_NEXT_LONG, RooFitShortHand::L(), p, ROOT::reads(), and result().

FT_Stream_ReadLongLE ( FT_Stream  stream,
FT_Error error 
)

Definition at line 663 of file ftstream.c.

References FT_ASSERT, FT_ERROR, FT_NEXT_LONG_LE, RooFitShortHand::L(), p, ROOT::reads(), and result().

FT_Stream_ReadOffset ( FT_Stream  stream,
FT_Error error 
)

Definition at line 569 of file ftstream.c.

References FT_ASSERT, FT_ERROR, FT_NEXT_OFF3, RooFitShortHand::L(), p, ROOT::reads(), and result().

FT_Stream_ReadShort ( FT_Stream  stream,
FT_Error error 
)

Definition at line 475 of file ftstream.c.

References FT_ASSERT, FT_ERROR, FT_NEXT_SHORT, RooFitShortHand::L(), p, ROOT::reads(), and result().

FT_Stream_ReadShortLE ( FT_Stream  stream,
FT_Error error 
)

Definition at line 522 of file ftstream.c.

References FT_ASSERT, FT_ERROR, FT_NEXT_SHORT_LE, RooFitShortHand::L(), p, ROOT::reads(), and result().

FT_Stream_ReleaseFrame ( FT_Stream  stream,
FT_Byte **  pbytes 
)

Definition at line 215 of file ftstream.c.

References FT_FREE, ft_mem_free(), and NULL.

Referenced by FT_Release_Frame().

FT_Stream_Seek ( FT_Stream  stream,
FT_ULong  pos 
)

Definition at line 57 of file ftstream.c.

References error, and FT_ERROR.

Referenced by ft_lzwstate_io(), FT_Open_Face(), FT_Raccess_Get_DataOffsets(), FT_Raccess_Get_HeaderInfo(), FT_Seek_Stream(), and FT_Stream_Skip().

FT_Stream_Skip ( FT_Stream  stream,
FT_Long  distance 
)

Definition at line 92 of file ftstream.c.

References FT_Stream_Seek().

Referenced by FT_Skip_Stream().

FT_Stream_TryRead ( FT_Stream  stream,
FT_Byte buffer,
FT_ULong  count 
)

Definition at line 164 of file ftstream.c.

References FT_MEM_COPY.

Referenced by _bdf_readstream(), ft_lzwstate_io(), and ft_lzwstate_refill().


Generated on Tue Jul 5 15:58:20 2011 for ROOT_528-00b_version by  doxygen 1.5.1