zenilib
0.5.3.0
|
#include <ft2build.h>
#include <FT_INTERNAL_DEBUG_H>
#include <FT_INTERNAL_STREAM_H>
#include <FT_TRUETYPE_TAGS_H>
#include "ttpost.h"
#include "sferrors.h"
Go to the source code of this file.
Macros | |
#define | FT_COMPONENT trace_ttpost |
#define | MAC_NAME(x) ( (FT_String*)tt_post_default_names[x] ) |
Functions | |
static FT_Error | load_format_20 (TT_Face face, FT_Stream stream, FT_Long post_limit) |
static FT_Error | load_format_25 (TT_Face face, FT_Stream stream, FT_Long post_limit) |
static FT_Error | load_post_names (TT_Face face) |
tt_face_free_ps_names (TT_Face face) | |
tt_face_get_ps_name (TT_Face face, FT_UInt idx, FT_String **PSname) | |
Variables | |
static const FT_String *const | tt_post_default_names [258] |
#define MAC_NAME | ( | x | ) | ( (FT_String*)tt_post_default_names[x] ) |
Definition at line 65 of file ttpost.c.
Referenced by tt_face_get_ps_name().
Definition at line 156 of file ttpost.c.
References error, TT_Post_NamesRec_::format_20, FT_ERROR, FT_FRAME_ENTER, FT_FRAME_EXIT, FT_FREE, FT_GET_USHORT, FT_MAX, FT_NEW_ARRAY, FT_READ_BYTE, FT_READ_USHORT, FT_STREAM_POS, FT_STREAM_READ, FT_TRACE6, TT_Post_20Rec_::glyph_indices, TT_Post_20Rec_::glyph_names, idx, TT_FaceRec_::max_profile, FT_StreamRec_::memory, TT_Post_NamesRec_::names, TT_Post_20Rec_::num_glyphs, num_names, TT_Post_20Rec_::num_names, TT_MaxProfile_::numGlyphs, and TT_FaceRec_::postscript_names.
Referenced by load_post_names().
Definition at line 308 of file ttpost.c.
References error, TT_Post_NamesRec_::format_25, FT_FREE, FT_NEW_ARRAY, FT_READ_USHORT, FT_STREAM_READ, FT_UNUSED, idx, TT_FaceRec_::max_profile, FT_StreamRec_::memory, TT_Post_NamesRec_::names, TT_Post_25_::num_glyphs, TT_MaxProfile_::numGlyphs, TT_Post_25_::offsets, and TT_FaceRec_::postscript_names.
Referenced by load_post_names().
Definition at line 374 of file ttpost.c.
References error, TT_Postscript_::FormatType, FT_STREAM_POS, FT_STREAM_SKIP, TT_FaceRec_::goto_table, load_format_20(), load_format_25(), TT_Post_NamesRec_::loaded, TT_FaceRec_::postscript, TT_FaceRec_::postscript_names, TT_FaceRec_::root, FT_FaceRec_::stream, and TTAG_post.
Referenced by tt_face_get_ps_name().
tt_face_free_ps_names | ( | TT_Face | face | ) |
Definition at line 415 of file ttpost.c.
References TT_Post_NamesRec_::format_20, TT_Post_NamesRec_::format_25, FT_FREE, TT_Post_20Rec_::glyph_indices, TT_Post_20Rec_::glyph_names, TT_Post_NamesRec_::loaded, TT_Post_NamesRec_::names, TT_Post_20Rec_::num_glyphs, TT_Post_25_::num_glyphs, TT_Post_20Rec_::num_names, and TT_Post_25_::offsets.
Definition at line 477 of file ttpost.c.
References error, TT_Post_NamesRec_::format_20, TT_Post_NamesRec_::format_25, TT_Post_20Rec_::glyph_indices, TT_Post_20Rec_::glyph_names, idx, if(), load_post_names(), TT_Post_NamesRec_::loaded, MAC_NAME, TT_Post_NamesRec_::names, TT_Post_20Rec_::num_glyphs, TT_Post_25_::num_glyphs, and TT_Post_25_::offsets.
Referenced by FT_DEFINE_SERVICE_SFNT_TABLEREC().