zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ttload.c File Reference
#include <ft2build.h>
#include <FT_INTERNAL_DEBUG_H>
#include <FT_INTERNAL_STREAM_H>
#include <FT_TRUETYPE_TAGS_H>
#include "ttload.h"
#include "sferrors.h"

Go to the source code of this file.

Macros

#define FT_COMPONENT   trace_ttload
 
#define FT_STRUCTURE   TT_TableRec
 
#define FT_STRUCTURE   SFNT_HeaderRec
 
#define FT_STRUCTURE   TT_Header
 
#define FT_STRUCTURE   TT_MaxProfile
 
#define FT_STRUCTURE   TT_NameTableRec
 
#define FT_STRUCTURE   TT_NameEntryRec
 
#define FT_STRUCTURE   TT_OS2
 
#define FT_STRUCTURE   TT_Postscript
 
#define FT_STRUCTURE   TT_PCLT
 

Functions

static FT_Error check_table_dir (SFNT_Header sfnt, FT_Stream stream)
 
 tt_face_free_name (TT_Face face)
 
 tt_face_goto_table (TT_Face face, FT_ULong tag, FT_Stream stream, FT_ULong *length)
 
 tt_face_load_any (TT_Face face, FT_ULong tag, FT_Long offset, FT_Byte *buffer, FT_ULong *length)
 
 tt_face_load_cmap (TT_Face face, FT_Stream stream)
 
 tt_face_load_font_dir (TT_Face face, FT_Stream stream)
 
 tt_face_load_gasp (TT_Face face, FT_Stream stream)
 
static FT_Error tt_face_load_generic_header (TT_Face face, FT_Stream stream, FT_ULong tag)
 
 tt_face_load_head (TT_Face face, FT_Stream stream)
 
 tt_face_load_maxp (TT_Face face, FT_Stream stream)
 
 tt_face_load_name (TT_Face face, FT_Stream stream)
 
 tt_face_load_os2 (TT_Face face, FT_Stream stream)
 
 tt_face_load_pclt (TT_Face face, FT_Stream stream)
 
 tt_face_load_post (TT_Face face, FT_Stream stream)
 
 tt_face_lookup_table (TT_Face face, FT_ULong tag)
 

Macro Definition Documentation

#define FT_COMPONENT   trace_ttload

Definition at line 37 of file ttload.c.

#define FT_STRUCTURE   TT_TableRec
#define FT_STRUCTURE   SFNT_HeaderRec
#define FT_STRUCTURE   TT_Header
#define FT_STRUCTURE   TT_MaxProfile
#define FT_STRUCTURE   TT_NameTableRec
#define FT_STRUCTURE   TT_NameEntryRec
#define FT_STRUCTURE   TT_OS2
#define FT_STRUCTURE   TT_Postscript
#define FT_STRUCTURE   TT_PCLT

Function Documentation

tt_face_goto_table ( TT_Face  face,
FT_ULong  tag,
FT_Stream  stream,
FT_ULong length 
)
tt_face_load_any ( TT_Face  face,
FT_ULong  tag,
FT_Long  offset,
FT_Byte buffer,
FT_ULong length 
)
tt_face_load_cmap ( TT_Face  face,
FT_Stream  stream 
)

Definition at line 913 of file ttload.c.

References error, FT_FRAME_EXTRACT, and TTAG_cmap.

tt_face_load_gasp ( TT_Face  face,
FT_Stream  stream 
)
static FT_Error tt_face_load_generic_header ( TT_Face  face,
FT_Stream  stream,
FT_ULong  tag 
)
static
tt_face_load_head ( TT_Face  face,
FT_Stream  stream 
)

Definition at line 585 of file ttload.c.

References tt_face_load_generic_header(), and TTAG_head.

tt_face_load_pclt ( TT_Face  face,
FT_Stream  stream 
)
tt_face_lookup_table ( TT_Face  face,
FT_ULong  tag 
)