zenilib
0.5.3.0
|
#include "pfrgload.h"
#include "pfrsbit.h"
#include "pfrload.h"
#include <FT_INTERNAL_DEBUG_H>
#include "pfrerror.h"
Go to the source code of this file.
Macros | |
#define | FT_COMPONENT trace_pfr |
Functions | |
static void | pfr_glyph_close_contour (PFR_Glyph glyph) |
static FT_Error | pfr_glyph_curve_to (PFR_Glyph glyph, FT_Vector *control1, FT_Vector *control2, FT_Vector *to) |
pfr_glyph_done (PFR_Glyph glyph) | |
static void | pfr_glyph_end (PFR_Glyph glyph) |
pfr_glyph_init (PFR_Glyph glyph, FT_GlyphLoader loader) | |
static FT_Error | pfr_glyph_line_to (PFR_Glyph glyph, FT_Vector *to) |
pfr_glyph_load (PFR_Glyph glyph, FT_Stream stream, FT_ULong gps_offset, FT_ULong offset, FT_ULong size) | |
static FT_Error | pfr_glyph_load_compound (PFR_Glyph glyph, FT_Byte *p, FT_Byte *limit) |
static FT_Error | pfr_glyph_load_rec (PFR_Glyph glyph, FT_Stream stream, FT_ULong gps_offset, FT_ULong offset, FT_ULong size) |
static FT_Error | pfr_glyph_load_simple (PFR_Glyph glyph, FT_Byte *p, FT_Byte *limit) |
static FT_Error | pfr_glyph_move_to (PFR_Glyph glyph, FT_Vector *to) |
static void | pfr_glyph_start (PFR_Glyph glyph) |
#define FT_COMPONENT trace_pfr |
Definition at line 27 of file pfrgload.c.
Definition at line 79 of file pfrgload.c.
References FT_Outline_::contours, PFR_GlyphRec_::loader, FT_Outline_::n_contours, FT_Outline_::n_points, PFR_GlyphRec_::path_begun, FT_Outline_::points, FT_Vector_::x, and FT_Vector_::y.
Referenced by pfr_glyph_end(), and pfr_glyph_move_to().
|
static |
Definition at line 161 of file pfrgload.c.
References error, FT_CURVE_TAG_CUBIC, FT_CURVE_TAG_ON, FT_ERROR, FT_GLYPHLOADER_CHECK_POINTS, PFR_GlyphRec_::loader, FT_Outline_::n_points, PFR_GlyphRec_::path_begun, FT_Outline_::points, FT_Outline_::tags, and vec.
Referenced by pfr_glyph_load_simple().
pfr_glyph_done | ( | PFR_Glyph | glyph | ) |
Definition at line 53 of file pfrgload.c.
Referenced by pfr_slot_done().
Definition at line 226 of file pfrgload.c.
References FT_GlyphLoader_Add(), PFR_GlyphRec_::loader, and pfr_glyph_close_contour().
Referenced by pfr_glyph_load_simple().
pfr_glyph_init | ( | PFR_Glyph | glyph, |
FT_GlyphLoader | loader | ||
) |
Definition at line 40 of file pfrgload.c.
References FT_GlyphLoader_Rewind(), and FT_ZERO.
Referenced by pfr_slot_init().
Definition at line 127 of file pfrgload.c.
References error, FT_CURVE_TAG_ON, FT_ERROR, FT_GLYPHLOADER_CHECK_POINTS, PFR_GlyphRec_::loader, FT_Outline_::n_points, PFR_GlyphRec_::path_begun, FT_Outline_::points, and FT_Outline_::tags.
Referenced by pfr_glyph_load_simple(), and pfr_glyph_move_to().
pfr_glyph_load | ( | PFR_Glyph | glyph, |
FT_Stream | stream, | ||
FT_ULong | gps_offset, | ||
FT_ULong | offset, | ||
FT_ULong | size | ||
) |
Definition at line 828 of file pfrgload.c.
References FT_GlyphLoader_Rewind(), and pfr_glyph_load_rec().
Referenced by pfr_slot_load().
Definition at line 557 of file pfrgload.c.
References error, FT_ERROR, FT_RENEW_ARRAY, PFR_SubGlyphRec_::gps_offset, PFR_SubGlyphRec_::gps_size, i, PFR_GlyphRec_::loader, PFR_GlyphRec_::max_subs, PFR_GlyphRec_::num_subs, PFR_CHECK, pfr_extra_items_skip(), PFR_GLYPH_EXTRA_ITEMS, PFR_GLYPH_IS_COMPOUND, PFR_NEXT_BYTE, PFR_NEXT_INT8, PFR_NEXT_LONG, PFR_NEXT_SHORT, PFR_NEXT_USHORT, PFR_SUBGLYPH_2BYTE_SIZE, PFR_SUBGLYPH_3BYTE_OFFSET, PFR_SUBGLYPH_XSCALE, PFR_SUBGLYPH_YSCALE, PFR_GlyphRec_::subs, PFR_SubGlyphRec_::x_delta, PFR_SubGlyphRec_::x_scale, PFR_SubGlyphRec_::y_delta, and PFR_SubGlyphRec_::y_scale.
Referenced by pfr_glyph_load_rec().
|
static |
Definition at line 719 of file pfrgload.c.
References FT_StreamRec_::cursor, error, FT_FRAME_ENTER, FT_FRAME_EXIT, FT_MulFix(), FT_STREAM_SEEK, FT_TRACE4, PFR_SubGlyphRec_::gps_offset, PFR_SubGlyphRec_::gps_size, i, if(), PFR_GlyphRec_::loader, FT_Outline_::n_points, PFR_GlyphRec_::num_subs, PFR_GLYPH_IS_COMPOUND, pfr_glyph_load_compound(), pfr_glyph_load_simple(), FT_Outline_::points, PFR_GlyphRec_::subs, vec, FT_Vector_::x, PFR_SubGlyphRec_::x_delta, PFR_SubGlyphRec_::x_scale, FT_Vector_::y, PFR_SubGlyphRec_::y_delta, and PFR_SubGlyphRec_::y_scale.
Referenced by pfr_glyph_load().
Definition at line 247 of file pfrgload.c.
References error, FT_ERROR, FT_PAD_CEIL, FT_RENEW_ARRAY, FT_TRACE6, FT_TRACE7, i, idx, PFR_GlyphRec_::loader, PFR_GlyphRec_::max_xy_control, PFR_CHECK, pfr_extra_items_skip(), PFR_GLYPH_1BYTE_XYCOUNT, pfr_glyph_curve_to(), pfr_glyph_end(), PFR_GLYPH_EXTRA_ITEMS, PFR_GLYPH_IS_COMPOUND, pfr_glyph_line_to(), pfr_glyph_move_to(), pfr_glyph_start(), PFR_GLYPH_XCOUNT, PFR_GLYPH_YCOUNT, PFR_NEXT_BYTE, PFR_NEXT_INT8, PFR_NEXT_SHORT, FT_Vector_::x, PFR_GlyphRec_::x_control, FT_Vector_::y, and PFR_GlyphRec_::y_control.
Referenced by pfr_glyph_load_rec().
Definition at line 202 of file pfrgload.c.
References error, FT_GLYPHLOADER_CHECK_POINTS, PFR_GlyphRec_::loader, PFR_GlyphRec_::path_begun, pfr_glyph_close_contour(), and pfr_glyph_line_to().
Referenced by pfr_glyph_load_simple().
Definition at line 120 of file pfrgload.c.
References PFR_GlyphRec_::path_begun.
Referenced by pfr_glyph_load_simple().