#include <ft2build.h>
#include "ttload.h"
#include "sferrors.h"
Go to the source code of this file.
#define FT_STRUCTURE TT_PCLT |
#define FT_STRUCTURE TT_Postscript |
#define FT_STRUCTURE TT_OS2 |
#define FT_STRUCTURE TT_NameEntryRec |
#define FT_STRUCTURE TT_NameTableRec |
#define FT_STRUCTURE TT_MaxProfile |
#define FT_STRUCTURE TT_Header |
#define FT_STRUCTURE SFNT_HeaderRec |
#define FT_STRUCTURE TT_TableRec |
static FT_Error check_table_dir | ( | SFNT_Header | sfnt, | |
FT_Stream | stream | |||
) | [static] |
Definition at line 168 of file ttload.c.
References error, FT_FRAME_END, FT_FRAME_START, FT_FRAME_ULONG, FT_READ_ULONG, FT_STREAM_READ_FIELDS, FT_STREAM_SEEK, FT_TRACE2, SFNT_HeaderRec_::num_tables, SFNT_HeaderRec_::offset, PC3::stream(), TTAG_bhed, TTAG_head, TTAG_META, and TTAG_SING.
Referenced by tt_face_load_font_dir().
tt_face_free_name | ( | TT_Face | face | ) |
Definition at line 125 of file ttload.c.
References error, FT_STREAM_SEEK, and tt_face_lookup_table().
tt_face_load_any | ( | TT_Face | face, | |
FT_ULong | tag, | |||
FT_Long | offset, | |||
FT_Byte * | buffer, | |||
FT_ULong * | length | |||
) |
Definition at line 458 of file ttload.c.
References error, FT_STREAM_READ_AT, size, PC3::stream(), and tt_face_lookup_table().
Definition at line 318 of file ttload.c.
References check_table_dir(), entry, SFNT_HeaderRec_::entry_selector, error, SFNT_HeaderRec_::format_tag, FT_FRAME_END, FT_FRAME_ENTER, FT_FRAME_EXIT, FT_FRAME_START, FT_FRAME_USHORT, FT_GET_LONG, FT_GET_TAG4, FT_GET_ULONG, FT_QNEW_ARRAY, FT_READ_ULONG, FT_STREAM_POS, FT_STREAM_READ_FIELDS, FT_STREAM_SEEK, FT_TRACE2, RooFitShortHand::L(), SFNT_HeaderRec_::num_tables, SFNT_HeaderRec_::offset, SFNT_HeaderRec_::range_shift, and SFNT_HeaderRec_::search_range.
Definition at line 1193 of file ttload.c.
References error, FT_FRAME_ENTER, FT_FRAME_EXIT, FT_GET_USHORT, FT_QNEW_ARRAY, FT_TRACE3, TT_GaspRangeRec_::gaspFlag, j, RooFitShortHand::L(), and TTAG_gasp.
static FT_Error tt_face_load_generic_header | ( | TT_Face | face, | |
FT_Stream | stream, | |||
FT_ULong | tag | |||
) | [static] |
Definition at line 524 of file ttload.c.
References error, FT_FRAME_END, FT_FRAME_LONG, FT_FRAME_SHORT, FT_FRAME_START, FT_FRAME_ULONG, FT_FRAME_USHORT, FT_STREAM_READ_FIELDS, FT_TRACE3, and PC3::stream().
Referenced by tt_face_load_head().
Definition at line 614 of file ttload.c.
References error, FT_FRAME_END, FT_FRAME_LONG, FT_FRAME_START, FT_FRAME_USHORT, FT_STREAM_READ_FIELDS, FT_TRACE0, FT_TRACE3, TT_MaxProfile_::maxComponentDepth, TT_MaxProfile_::maxComponentElements, TT_MaxProfile_::maxCompositeContours, TT_MaxProfile_::maxCompositePoints, TT_MaxProfile_::maxContours, TT_MaxProfile_::maxFunctionDefs, TT_MaxProfile_::maxInstructionDefs, TT_MaxProfile_::maxPoints, TT_MaxProfile_::maxSizeOfInstructions, TT_MaxProfile_::maxStackElements, TT_MaxProfile_::maxStorage, TT_MaxProfile_::maxTwilightPoints, TT_MaxProfile_::maxZones, TT_MaxProfile_::numGlyphs, TTAG_maxp, version, TT_MaxProfile_::version, and x10000L.
Definition at line 722 of file ttload.c.
References entry, error, FT_ERROR, FT_FRAME_END, FT_FRAME_ENTER, FT_FRAME_START, FT_FRAME_USHORT, FT_NEW_ARRAY, FT_STREAM_POS, FT_STREAM_READ_FIELDS, if(), and TTAG_name.
Definition at line 933 of file ttload.c.
References error, TT_OS2_::fsSelection, FT_FRAME_BYTE, FT_FRAME_END, FT_FRAME_SHORT, FT_FRAME_START, FT_FRAME_ULONG, FT_FRAME_USHORT, FT_STREAM_READ_FIELDS, FT_TRACE3, TT_OS2_::sCapHeight, TT_OS2_::sTypoAscender, TT_OS2_::sTypoDescender, TT_OS2_::sxHeight, TTAG_OS2, TT_OS2_::ulCodePageRange1, TT_OS2_::ulCodePageRange2, TT_OS2_::usBreakChar, TT_OS2_::usDefaultChar, TT_OS2_::usMaxContext, TT_OS2_::usWinAscent, TT_OS2_::usWinDescent, version, and TT_OS2_::version.
Definition at line 1133 of file ttload.c.
References error, FT_FRAME_BYTE, FT_FRAME_BYTES, FT_FRAME_CHAR, FT_FRAME_END, FT_FRAME_START, FT_FRAME_ULONG, FT_FRAME_USHORT, FT_STREAM_READ_FIELDS, TTAG_PCLT, and Version.
Definition at line 1073 of file ttload.c.
References error, TT_Postscript_::FormatType, FT_FRAME_END, FT_FRAME_SHORT, FT_FRAME_START, FT_FRAME_ULONG, FT_STREAM_READ_FIELDS, FT_TRACE3, TT_Postscript_::isFixedPitch, and TTAG_post.
Definition at line 56 of file ttload.c.
References entry, FALSE, FT_Bool, FT_TRACE4, if(), and TRUE.
Referenced by sfnt_load_face(), tt_face_goto_table(), and tt_face_load_any().