Home | History | Annotate | Download | only in autofit

Lines Matching refs:hints

60     AF_GlyphHintsRec  hints[1];
66 af_glyph_hints_init( hints, face->memory );
104 af_glyph_hints_rescale( hints, (AF_ScriptMetrics)dummy );
106 error = af_glyph_hints_reload( hints, &face->glyph->outline );
113 AF_AxisHints axhints = &hints->axis[dim];
118 error = af_latin_hints_compute_segments( hints,
123 af_latin_hints_link_segments( hints,
192 af_glyph_hints_done( hints );
793 af_latin_hints_compute_segments( AF_GlyphHints hints,
796 AF_AxisHints axis = &hints->axis[dim];
797 FT_Memory memory = hints->memory;
801 AF_Point* contour = hints->contours;
802 AF_Point* contour_limit = contour + hints->num_contours;
818 AF_Point point = hints->points;
819 AF_Point limit = point + hints->num_points;
830 AF_Point point = hints->points;
831 AF_Point limit = point + hints->num_points;
1013 af_latin_hints_link_segments( AF_GlyphHints hints,
1016 AF_AxisHints axis = &hints->axis[dim];
1023 len_threshold = AF_LATIN_CONSTANT( hints->metrics, 8 );
1027 len_score = AF_LATIN_CONSTANT( hints->metrics, 6000 );
1106 af_latin_hints_compute_edges( AF_GlyphHints hints,
1109 AF_AxisHints axis = &hints->axis[dim];
1111 FT_Memory memory = hints->memory;
1112 hints->metrics)->axis[dim];
1128 scale = ( dim == AF_DIMENSION_HORZ ) ? hints->x_scale
1129 : hints->y_scale;
1142 segment_length_threshold = FT_DivFix( 64, hints->y_scale );
1400 af_latin_hints_detect_features( AF_GlyphHints hints,
1406 error = af_latin_hints_compute_segments( hints, dim );
1409 af_latin_hints_link_segments( hints, dim );
1411 error = af_latin_hints_compute_edges( hints, dim );
1421 af_latin_hints_compute_blue_edges( AF_GlyphHints hints,
1424 AF_AxisHints axis = &hints->axis[AF_DIMENSION_VERT];
1522 af_latin_hints_init( AF_GlyphHints hints,
1530 af_glyph_hints_rescale( hints, (AF_ScriptMetrics)metrics );
1536 hints->x_scale = metrics->axis[AF_DIMENSION_HORZ].scale;
1537 hints->x_delta = metrics->axis[AF_DIMENSION_HORZ].delta;
1538 hints->y_scale = metrics->axis[AF_DIMENSION_VERT].scale;
1539 hints->y_delta = metrics->axis[AF_DIMENSION_VERT].delta;
1549 scaler_flags = hints->scaler_flags;
1583 hints->scaler_flags = scaler_flags;
1584 hints->other_flags = other_flags;
1651 af_latin_compute_stem_width( AF_GlyphHints hints,
1657 AF_LatinMetrics metrics = (AF_LatinMetrics) hints->metrics;
1664 if ( !AF_LATIN_HINTS_DO_STEM_ADJUST( hints ) ||
1674 if ( ( vertical && !AF_LATIN_HINTS_DO_VERT_SNAP( hints ) ) ||
1675 ( !vertical && !AF_LATIN_HINTS_DO_HORZ_SNAP( hints ) ) )
1755 if ( AF_LATIN_HINTS_DO_MONO( hints ) )
1815 af_latin_align_linked_edge( AF_GlyphHints hints,
1823 hints, dim, dist,
1832 stem_edge-hints->axis[dim].edges, stem_edge->opos / 64.0,
1841 af_latin_align_serif_edge( AF_GlyphHints hints,
1845 FT_UNUSED( hints );
1865 af_latin_hint_edges( AF_GlyphHints hints,
1868 AF_AxisHints axis = &hints->axis[dim];
1887 if ( dim == AF_DIMENSION_VERT && AF_HINTS_DO_BLUES( hints ) )
1936 af_latin_align_linked_edge( hints, dim, edge1, edge2 );
1974 af_latin_align_linked_edge( hints, dim, edge2, edge );
1993 hints, dim, org_len,
2046 af_latin_align_linked_edge( hints, dim, edge, edge2 );
2063 hints, dim, org_len,
2124 hints, dim, org_len,
2256 af_latin_align_serif_edge( hints, edge->serif, edge );
2354 af_latin_hints_apply( AF_GlyphHints hints,
2362 error = af_glyph_hints_reload( hints, outline );
2369 AF_HINTS_DO_HORIZONTAL( hints ) )
2371 if ( AF_HINTS_DO_HORIZONTAL( hints ) )
2374 error = af_latin_hints_detect_features( hints, AF_DIMENSION_HORZ );
2379 if ( AF_HINTS_DO_VERTICAL( hints ) )
2381 error = af_latin_hints_detect_features( hints, AF_DIMENSION_VERT );
2385 af_latin_hints_compute_blue_edges( hints, metrics );
2400 af_warper_compute( &warper, hints, (AF_Dimension)dim,
2402 af_glyph_hints_scale_dim( hints, (AF_Dimension)dim,
2408 if ( ( dim == AF_DIMENSION_HORZ && AF_HINTS_DO_HORIZONTAL( hints ) ) ||
2409 ( dim == AF_DIMENSION_VERT && AF_HINTS_DO_VERTICAL( hints ) ) )
2411 af_latin_hint_edges( hints, (AF_Dimension)dim );
2412 af_glyph_hints_align_edge_points( hints, (AF_Dimension)dim );
2413 af_glyph_hints_align_strong_points( hints, (AF_Dimension)dim );
2414 af_glyph_hints_align_weak_points( hints, (AF_Dimension)dim );
2417 af_glyph_hints_save( hints, outline );