#include "afhints.h"
Go to the source code of this file.
#define AF_LATIN_CONSTANT | ( | metrics, | |||
c | ) | ( ( (c) * (FT_Long)( (AF_LatinMetrics)(metrics) )->units_per_em ) / 2048 ) |
Definition at line 34 of file aflatin.h.
Referenced by af_latin2_hints_link_segments(), af_latin2_metrics_init_widths(), af_latin_hints_link_segments(), and af_latin_metrics_init_widths().
Definition at line 164 of file aflatin.h.
Referenced by af_latin2_compute_stem_width(), and af_latin_compute_stem_width().
Definition at line 173 of file aflatin.h.
Referenced by af_latin2_compute_stem_width(), and af_latin_compute_stem_width().
Definition at line 170 of file aflatin.h.
Referenced by af_latin2_compute_stem_width(), and af_latin_compute_stem_width().
Definition at line 167 of file aflatin.h.
Referenced by af_latin2_compute_stem_width(), and af_latin_compute_stem_width().
#define AF_LATIN_IS_TOP_BLUE | ( | b | ) |
Value:
( (b) == AF_LATIN_BLUE_CAPITAL_TOP || \ (b) == AF_LATIN_BLUE_SMALL_F_TOP || \ (b) == AF_LATIN_BLUE_SMALL_TOP )
Definition at line 69 of file aflatin.h.
Referenced by af_latin2_metrics_init_blues(), and af_latin_metrics_init_blues().
#define AF_LATIN_MAX_WIDTHS 16 |
Definition at line 73 of file aflatin.h.
Referenced by af_latin2_metrics_init_widths(), and af_latin_metrics_init_widths().
typedef struct AF_LatinAxisRec_ * AF_LatinAxis |
typedef struct AF_LatinAxisRec_ AF_LatinAxisRec |
typedef struct AF_LatinBlueRec_ * AF_LatinBlue |
typedef struct AF_LatinBlueRec_ AF_LatinBlueRec |
typedef struct AF_LatinMetricsRec_ * AF_LatinMetrics |
typedef struct AF_LatinMetricsRec_ AF_LatinMetricsRec |
af_latin_hints_compute_edges | ( | AF_GlyphHints | hints, | |
AF_Dimension | dim | |||
) |
Definition at line 964 of file aflatin.c.
References af_axis_hints_new_edge(), AF_DIMENSION_HORZ, AF_DIR_RIGHT, AF_DIR_UP, axis, AF_SegmentRec_::dir, dir(), ROOT::Math::gv_detail::dist(), AF_LatinAxisRec_::edge_distance_threshold, AF_SegmentRec_::edge_next, error, AF_SegmentRec_::first, for(), FT_DivFix(), FT_MulFix(), FT_Pos, FT_ZERO, AF_SegmentRec_::height, if(), AF_SegmentRec_::last, AF_SegmentRec_::pos, and AF_SegmentRec_::serif.
Referenced by af_latin_hints_detect_features().
af_latin_hints_compute_segments | ( | AF_GlyphHints | hints, | |
AF_Dimension | dim | |||
) |
Definition at line 659 of file aflatin.c.
References AF_DIMENSION_HORZ, AF_EDGE_NORMAL, axis, error, AF_SegmentRec_::flags, for(), FT_ABS, FT_Bool, FT_Pos, FT_ZERO, if(), NULL, AF_PointRec_::out_dir, AF_PointRec_::prev, and AF_SegmentRec_::score.
Referenced by af_latin_hints_detect_features(), and af_latin_metrics_init_widths().
af_latin_hints_detect_features | ( | AF_GlyphHints | hints, | |
AF_Dimension | dim | |||
) |
Definition at line 1246 of file aflatin.c.
References af_latin_hints_compute_edges(), af_latin_hints_compute_segments(), af_latin_hints_link_segments(), and error.
Referenced by af_latin_hints_apply().
af_latin_hints_link_segments | ( | AF_GlyphHints | hints, | |
AF_Dimension | dim | |||
) |
Definition at line 878 of file aflatin.c.
References AF_LATIN_CONSTANT, axis, AF_SegmentRec_::dir, ROOT::Math::gv_detail::dist(), AF_SegmentRec_::first, for(), FT_Pos, if(), AF_SegmentRec_::last, len, AF_SegmentRec_::link, max, AF_SegmentRec_::max_coord, min, AF_SegmentRec_::min_coord, AF_SegmentRec_::pos, and AF_SegmentRec_::score.
Referenced by af_latin_hints_detect_features(), and af_latin_metrics_init_widths().
af_latin_metrics_check_digits | ( | AF_LatinMetrics | metrics, | |
FT_Face | face | |||
) |
Definition at line 402 of file aflatin.c.
References FT_Bool, FT_Get_Advance(), FT_Get_Char_Index(), FT_LOAD_IGNORE_TRANSFORM, FT_LOAD_NO_HINTING, FT_LOAD_NO_SCALE, and i.
Referenced by af_latin_metrics_init().
af_latin_metrics_init | ( | AF_LatinMetrics | metrics, | |
FT_Face | face | |||
) |
Definition at line 448 of file aflatin.c.
References af_latin_metrics_check_digits(), af_latin_metrics_init_blues(), af_latin_metrics_init_widths(), error, FT_ENCODING_ADOBE_LATIN_1, FT_ENCODING_ADOBE_STANDARD, FT_ENCODING_NONE, FT_ENCODING_UNICODE, FT_Select_Charmap(), and FT_Set_Charmap().
af_latin_metrics_init_widths | ( | AF_LatinMetrics | metrics, | |
FT_Face | face, | |||
FT_ULong | charcode | |||
) |
Definition at line 40 of file aflatin.c.
References AF_DIMENSION_HORZ, AF_DIMENSION_MAX, AF_DIMENSION_VERT, af_glyph_hints_init(), af_glyph_hints_reload(), af_glyph_hints_rescale(), AF_LATIN_CONSTANT, af_latin_hints_compute_segments(), af_latin_hints_link_segments(), AF_LATIN_MAX_WIDTHS, af_sort_widths(), axis, AF_GlyphHintsRec_::axis, ROOT::Math::gv_detail::dist(), dummy, error, AF_ScalerRec_::face, AF_ScalerRec_::flags, FT_Get_Char_Index(), FT_Load_Glyph(), FT_LOAD_NO_SCALE, FT_Pos, FT_RENDER_MODE_NORMAL, FT_ZERO, if(), RooFitShortHand::L(), AF_GlyphHintsRec_::memory, AF_ScalerRec_::render_mode, AF_ScalerRec_::x_delta, AF_ScalerRec_::x_scale, AF_ScalerRec_::y_delta, and AF_ScalerRec_::y_scale.
Referenced by af_latin_metrics_init().
af_latin_metrics_scale | ( | AF_LatinMetrics | metrics, | |
AF_Scaler | scaler | |||
) |
Definition at line 639 of file aflatin.c.
References AF_DIMENSION_HORZ, AF_DIMENSION_VERT, and af_latin_metrics_scale_dim().