Skip to content

Commit

Permalink
Bug 28100 - Font option CAIRO_HINT_METRICS_OFF unhonoured on win32
Browse files Browse the repository at this point in the history
Fix typo.  Ouch!
  • Loading branch information
Richard Procter authored and Behdad Esfahbod committed May 14, 2010
1 parent 3a550eb commit 435329a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cairo-win32-font.c
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ _cairo_win32_scaled_font_init_glyph_metrics (cairo_win32_scaled_font_t *scaled_f
extents.height = scaled_font->base.ctm.yy * (font_extents.ascent + font_extents.descent) / scaled_font->y_scale;
extents.x_advance = extents.width;
extents.y_advance = 0;
} else if (scaled_font->preserve_axes && scaled_font->base.options.hint_style != CAIRO_HINT_METRICS_OFF) {
} else if (scaled_font->preserve_axes && scaled_font->base.options.hint_metrics != CAIRO_HINT_METRICS_OFF) {
/* If we aren't rotating / skewing the axes, then we get the metrics
* from the GDI in device space and convert to font space.
*/
Expand Down

0 comments on commit 435329a

Please sign in to comment.