|
|
|
@ -123,7 +123,7 @@ |
|
|
|
|
dist = -dist; |
|
|
|
|
|
|
|
|
|
if ( num_widths < AF_LATIN_MAX_WIDTHS ) |
|
|
|
|
axis->widths[ num_widths++ ].org = dist; |
|
|
|
|
axis->widths[num_widths++].org = dist; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -1308,10 +1308,10 @@ |
|
|
|
|
af_latin_hints_compute_blue_edges( AF_GlyphHints hints, |
|
|
|
|
AF_LatinMetrics metrics ) |
|
|
|
|
{ |
|
|
|
|
AF_AxisHints axis = &hints->axis[ AF_DIMENSION_VERT ]; |
|
|
|
|
AF_AxisHints axis = &hints->axis[AF_DIMENSION_VERT]; |
|
|
|
|
AF_Edge edge = axis->edges; |
|
|
|
|
AF_Edge edge_limit = edge + axis->num_edges; |
|
|
|
|
AF_LatinAxis latin = &metrics->axis[ AF_DIMENSION_VERT ]; |
|
|
|
|
AF_LatinAxis latin = &metrics->axis[AF_DIMENSION_VERT]; |
|
|
|
|
FT_Fixed scale = latin->scale; |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1330,7 +1330,7 @@ |
|
|
|
|
/* (the value 40 is heuristic) */ |
|
|
|
|
best_dist = FT_MulFix( metrics->units_per_em / 40, scale ); |
|
|
|
|
|
|
|
|
|
/* assure a minumum distance of 0.5px */ |
|
|
|
|
/* assure a minimum distance of 0.5px */ |
|
|
|
|
if ( best_dist > 64 / 2 ) |
|
|
|
|
best_dist = 64 / 2; |
|
|
|
|
|
|
|
|
|