24 #define xxAF_SORT_SEGMENTS 318 #ifdef AF_SORT_SEGMENTS 362 #define AF_HINTS_TEST_SCALER( h, f ) ( (h)->scaler_flags & (f) ) 363 #define AF_HINTS_TEST_OTHER( h, f ) ( (h)->other_flags & (f) ) 366 #ifdef FT_DEBUG_AUTOFIT 368 #define AF_HINTS_DO_HORIZONTAL( h ) \ 369 ( !_af_debug_disable_horz_hints && \ 370 !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_HORIZONTAL ) ) 372 #define AF_HINTS_DO_VERTICAL( h ) \ 373 ( !_af_debug_disable_vert_hints && \ 374 !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_VERTICAL ) ) 376 #define AF_HINTS_DO_ADVANCE( h ) \ 377 !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_ADVANCE ) 379 #define AF_HINTS_DO_BLUES( h ) ( !_af_debug_disable_blue_hints ) 383 #define AF_HINTS_DO_HORIZONTAL( h ) \ 384 !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_HORIZONTAL ) 386 #define AF_HINTS_DO_VERTICAL( h ) \ 387 !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_VERTICAL ) 389 #define AF_HINTS_DO_ADVANCE( h ) \ 390 !AF_HINTS_TEST_SCALER( h, AF_SCALER_FLAG_NO_ADVANCE ) 392 #define AF_HINTS_DO_BLUES( h ) 1 405 AF_Segment *asegment );
442 #ifdef AF_CONFIG_OPTION_USE_WARPER 455 #define AF_SEGMENT_LEN( seg ) ( (seg)->max_coord - (seg)->min_coord ) 457 #define AF_SEGMENT_DIST( seg1, seg2 ) ( ( (seg1)->pos > (seg2)->pos ) \ 458 ? (seg1)->pos - (seg2)->pos \ 459 : (seg2)->pos - (seg1)->pos )
struct AF_AxisHintsRec_ * AF_AxisHints
GLenum GLenum GLenum GLenum GLenum scale
FT_BEGIN_HEADER typedef signed long FT_Pos
af_glyph_hints_align_strong_points(AF_GlyphHints hints, AF_Dimension dim)
af_axis_hints_new_segment(AF_AxisHints axis, FT_Memory memory, AF_Segment *asegment)
af_axis_hints_new_edge(AF_AxisHints axis, FT_Int fpos, AF_Direction dir, FT_Memory memory, AF_Edge *edge)
struct AF_SegmentRec_ * AF_Segment
af_glyph_hints_align_edge_points(AF_GlyphHints hints, AF_Dimension dim)
struct AF_EdgeRec_ * AF_Edge
enum AF_Direction_ AF_Direction
struct AF_GlyphHintsRec_ AF_GlyphHintsRec
af_direction_compute(FT_Pos dx, FT_Pos dy)
struct AF_PointRec_ * AF_Point
enum AF_Edge_Flags_ AF_Edge_Flags
struct AF_EdgeRec_ AF_EdgeRec
af_glyph_hints_init(AF_GlyphHints hints, FT_Memory memory)
struct AF_PointRec_ AF_PointRec
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
af_glyph_hints_reload(AF_GlyphHints hints, FT_Outline *outline)
struct AF_AxisHintsRec_ AF_AxisHintsRec
af_glyph_hints_rescale(AF_GlyphHints hints, AF_ScriptMetrics metrics)
FT_BEGIN_HEADER enum AF_Dimension_ AF_Dimension
FT_BEGIN_HEADER struct AF_WidthRec_ * AF_Width
af_glyph_hints_align_weak_points(AF_GlyphHints hints, AF_Dimension dim)
af_glyph_hints_done(AF_GlyphHints hints)
struct AF_SegmentRec_ AF_SegmentRec
GLsizei GLenum const GLvoid GLuint GLsizei GLfloat * metrics
af_glyph_hints_save(AF_GlyphHints hints, FT_Outline *outline)