34#define AF_LATIN_CONSTANT( metrics, c ) \
35 ( ( (c) * (FT_Long)( (AF_LatinMetrics)(metrics) )->units_per_em ) / 2048 )
54#define AF_LATIN_IS_TOP_BLUE( b ) \
55 ( (b)->properties & AF_BLUE_PROPERTY_LATIN_TOP )
56#define AF_LATIN_IS_SUB_TOP_BLUE( b ) \
57 ( (b)->properties & AF_BLUE_PROPERTY_LATIN_SUB_TOP )
58#define AF_LATIN_IS_NEUTRAL_BLUE( b ) \
59 ( (b)->properties & AF_BLUE_PROPERTY_LATIN_NEUTRAL )
60#define AF_LATIN_IS_X_HEIGHT_BLUE( b ) \
61 ( (b)->properties & AF_BLUE_PROPERTY_LATIN_X_HEIGHT )
62#define AF_LATIN_IS_LONG_BLUE( b ) \
63 ( (b)->properties & AF_BLUE_PROPERTY_LATIN_LONG )
65#define AF_LATIN_MAX_WIDTHS 16
68#define AF_LATIN_BLUE_ACTIVE ( 1U << 0 )
69#define AF_LATIN_BLUE_TOP ( 1U << 1 )
70#define AF_LATIN_BLUE_SUB_TOP ( 1U << 2 )
72#define AF_LATIN_BLUE_NEUTRAL ( 1U << 3 )
73#define AF_LATIN_BLUE_ADJUSTMENT ( 1U << 4 )
143#define AF_LATIN_HINTS_HORZ_SNAP ( 1U << 0 )
144#define AF_LATIN_HINTS_VERT_SNAP ( 1U << 1 )
145#define AF_LATIN_HINTS_STEM_ADJUST ( 1U << 2 )
147#define AF_LATIN_HINTS_MONO ( 1U << 3 )
150#define AF_LATIN_HINTS_DO_HORZ_SNAP( h ) \
151 AF_HINTS_TEST_OTHER( h, AF_LATIN_HINTS_HORZ_SNAP )
153#define AF_LATIN_HINTS_DO_VERT_SNAP( h ) \
154 AF_HINTS_TEST_OTHER( h, AF_LATIN_HINTS_VERT_SNAP )
156#define AF_LATIN_HINTS_DO_STEM_ADJUST( h ) \
157 AF_HINTS_TEST_OTHER( h, AF_LATIN_HINTS_STEM_ADJUST )
159#define AF_LATIN_HINTS_DO_MONO( h ) \
160 AF_HINTS_TEST_OTHER( h, AF_LATIN_HINTS_MONO )
FT_BEGIN_HEADER enum AF_Dimension_ AF_Dimension
af_latin_metrics_init(AF_LatinMetrics metrics, FT_Face face)
struct AF_LatinBlueRec_ AF_LatinBlueRec
struct AF_LatinBlueRec_ * AF_LatinBlue
#define AF_LATIN_MAX_WIDTHS
struct AF_LatinMetricsRec_ AF_LatinMetricsRec
af_latin_metrics_scale(AF_LatinMetrics metrics, AF_Scaler scaler)
af_latin_hints_link_segments(AF_GlyphHints hints, FT_UInt width_count, AF_WidthRec *widths, AF_Dimension dim)
af_latin_hints_compute_segments(AF_GlyphHints hints, AF_Dimension dim)
struct AF_LatinMetricsRec_ * AF_LatinMetrics
struct AF_LatinAxisRec_ * AF_LatinAxis
af_latin_metrics_init_widths(AF_LatinMetrics metrics, FT_Face face)
af_latin_metrics_check_digits(AF_LatinMetrics metrics, FT_Face face)
af_latin_hints_compute_edges(AF_GlyphHints hints, AF_Dimension dim)
af_latin_hints_detect_features(AF_GlyphHints hints, FT_UInt width_count, AF_WidthRec *widths, AF_Dimension dim)
struct AF_LatinAxisRec_ AF_LatinAxisRec
#define AF_DECLARE_WRITING_SYSTEM_CLASS(writing_system_class)
FT_BEGIN_HEADER struct AF_WidthRec_ AF_WidthRec
FT_BEGIN_HEADER typedef signed long FT_Pos
FT_BEGIN_HEADER typedef unsigned char FT_Bool
GLenum GLuint GLint GLenum face
GLsizei GLenum const GLvoid GLuint GLsizei GLfloat * metrics
namespace GUID const ADDRINFOEXW * hints
AF_LatinBlueRec blues[AF_BLUE_STRINGSET_MAX]
AF_WidthRec widths[AF_LATIN_MAX_WIDTHS]
FT_Pos edge_distance_threshold
AF_LatinAxisRec axis[AF_DIMENSION_MAX]