+2008-01-30 Jim Evins <evins@snaught.com>
+
+ * src/label-text.c: (get_size), (draw_object), (draw_shadow):
+ Don't turn off cairo_hint_metrics. This causes serious issues with
+ bitmap fonts.
+
2008-01-29 Jim Evins <evins@snaught.com>
* src/print-op.c: (gl_print_op_construct),
fontmap = pango_cairo_font_map_new ();
context = pango_cairo_font_map_create_context (PANGO_CAIRO_FONT_MAP (fontmap));
options = cairo_font_options_create ();
- cairo_font_options_set_hint_metrics (options, CAIRO_HINT_METRICS_OFF);
cairo_font_options_set_hint_style (options, CAIRO_HINT_STYLE_NONE);
pango_cairo_context_set_font_options (context, options);
cairo_font_options_destroy (options);
layout = pango_cairo_create_layout (cr);
font_options = cairo_font_options_create ();
- cairo_font_options_set_hint_metrics (font_options, CAIRO_HINT_METRICS_OFF);
cairo_font_options_set_hint_style (font_options, CAIRO_HINT_STYLE_NONE);
context = pango_layout_get_context (layout);
pango_cairo_context_set_font_options (context, font_options);
layout = pango_cairo_create_layout (cr);
font_options = cairo_font_options_create ();
- cairo_font_options_set_hint_metrics (font_options, CAIRO_HINT_METRICS_OFF);
cairo_font_options_set_hint_style (font_options, CAIRO_HINT_STYLE_NONE);
context = pango_layout_get_context (layout);
pango_cairo_context_set_font_options (context, font_options);