Home | History | Annotate | Download | only in autofit

Lines Matching defs:hints

45     AF_GlyphHintsRec  hints[1];
48 af_glyph_hints_init( hints, face->memory );
78 af_glyph_hints_rescale( hints, (AF_ScriptMetrics)dummy );
80 error = af_glyph_hints_reload( hints, &face->glyph->outline );
87 AF_AxisHints axhints = &hints->axis[dim];
92 error = af_latin_hints_compute_segments( hints,
97 af_latin_hints_link_segments( hints,
144 af_glyph_hints_done( hints );
659 af_latin_hints_compute_segments( AF_GlyphHints hints,
662 AF_AxisHints axis = &hints->axis[dim];
663 FT_Memory memory = hints->memory;
667 AF_Point* contour = hints->contours;
668 AF_Point* contour_limit = contour + hints->num_contours;
684 AF_Point point = hints->points;
685 AF_Point limit = point + hints->num_points;
696 AF_Point point = hints->points;
697 AF_Point limit = point + hints->num_points;
878 af_latin_hints_link_segments( AF_GlyphHints hints,
881 AF_AxisHints axis = &hints->axis[dim];
888 len_threshold = AF_LATIN_CONSTANT( hints->metrics, 8 );
892 len_score = AF_LATIN_CONSTANT( hints->metrics, 6000 );
964 af_latin_hints_compute_edges( AF_GlyphHints hints,
967 AF_AxisHints axis = &hints->axis[dim];
969 FT_Memory memory = hints->memory;
970 AF_LatinAxis laxis = &((AF_LatinMetrics)hints->metrics)->axis[dim];
984 scale = ( dim == AF_DIMENSION_HORZ ) ? hints->x_scale
985 : hints->y_scale;
996 segment_length_threshold = FT_DivFix( 64, hints->y_scale );
1246 af_latin_hints_detect_features( AF_GlyphHints hints,
1252 error = af_latin_hints_compute_segments( hints, dim );
1255 af_latin_hints_link_segments( hints, dim );
1257 error = af_latin_hints_compute_edges( hints, dim );
1264 af_latin_hints_compute_blue_edges( AF_GlyphHints hints,
1267 AF_AxisHints axis = &hints->axis[ AF_DIMENSION_VERT ];
1361 af_latin_hints_init( AF_GlyphHints hints,
1369 af_glyph_hints_rescale( hints, (AF_ScriptMetrics)metrics );
1375 hints->x_scale = metrics->axis[AF_DIMENSION_HORZ].scale;
1376 hints->x_delta = metrics->axis[AF_DIMENSION_HORZ].delta;
1377 hints->y_scale = metrics->axis[AF_DIMENSION_VERT].scale;
1378 hints->y_delta = metrics->axis[AF_DIMENSION_VERT].delta;
1390 scaler_flags = hints->scaler_flags;
1424 hints->scaler_flags = scaler_flags;
1425 hints->other_flags = other_flags;
1490 af_latin_compute_stem_width( AF_GlyphHints hints,
1496 AF_LatinMetrics metrics = (AF_LatinMetrics) hints->metrics;
1503 if ( !AF_LATIN_HINTS_DO_STEM_ADJUST( hints ) ||
1513 if ( ( vertical && !AF_LATIN_HINTS_DO_VERT_SNAP( hints ) ) ||
1514 ( !vertical && !AF_LATIN_HINTS_DO_HORZ_SNAP( hints ) ) )
1595 if ( AF_LATIN_HINTS_DO_MONO( hints ) )
1655 af_latin_align_linked_edge( AF_GlyphHints hints,
1663 hints, dim, dist,
1672 stem_edge-hints->axis[dim].edges, stem_edge->opos / 64.0,
1678 af_latin_align_serif_edge( AF_GlyphHints hints,
1682 hints );
1700 af_latin_hint_edges( AF_GlyphHints hints,
1703 AF_AxisHints axis = &hints->axis[dim];
1715 if ( dim == AF_DIMENSION_VERT && AF_HINTS_DO_BLUES( hints ) )
1754 af_latin_align_linked_edge( hints, dim, edge1, edge2 );
1788 af_latin_align_linked_edge( hints, dim, edge2, edge );
1801 hints, dim, org_len,
1846 af_latin_align_linked_edge( hints, dim, edge, edge2 );
1859 hints, dim, org_len,
1910 hints, dim, org_len,
2033 af_latin_align_serif_edge( hints, edge->serif, edge );
2100 af_latin_hints_apply( AF_GlyphHints hints,
2108 error = af_glyph_hints_reload( hints, outline );
2115 AF_HINTS_DO_HORIZONTAL( hints ) )
2117 if ( AF_HINTS_DO_HORIZONTAL( hints ) )
2120 error = af_latin_hints_detect_features( hints, AF_DIMENSION_HORZ );
2125 if ( AF_HINTS_DO_VERTICAL( hints ) )
2127 error = af_latin_hints_detect_features( hints, AF_DIMENSION_VERT );
2131 af_latin_hints_compute_blue_edges( hints, metrics );
2146 af_warper_compute( &warper, hints, dim, &scale, &delta );
2147 af_glyph_hints_scale_dim( hints, dim, scale, delta );
2152 if ( ( dim == AF_DIMENSION_HORZ && AF_HINTS_DO_HORIZONTAL( hints ) ) ||
2153 ( dim == AF_DIMENSION_VERT && AF_HINTS_DO_VERTICAL( hints ) ) )
2155 af_latin_hint_edges( hints, (AF_Dimension)dim );
2156 af_glyph_hints_align_edge_points( hints, (AF_Dimension)dim );
2157 af_glyph_hints_align_strong_points( hints, (AF_Dimension)dim );
2158 af_glyph_hints_align_weak_points( hints, (AF_Dimension)dim );
2161 af_glyph_hints_save( hints, outline );