+2008-01-16 Jim Evins <evins@snaught.com>
+
+ * src/print.c: (print_label):
+ Bug #1872568. Don't apply special transforms (rotate and
+ mirror) to clipping region or outline.
+
2008-01-01 Jim Evins <evins@snaught.com>
* src/util.c:
/* Transform coordinate system to be relative to upper corner */
/* of the current label */
cairo_translate (pi->cr, x, y);
+
+ clip_to_outline (pi, label);
+
+ cairo_save (pi->cr);
+
+ /* Special transformations. */
if (label->rotate_flag) {
gl_debug (DEBUG_PRINT, "Rotate flag set");
cairo_rotate (pi->cr, -M_PI/2.0);
cairo_scale (pi->cr, -1.0, 1.0);
}
- clip_to_outline (pi, label);
gl_label_draw (label, pi->cr, FALSE, record);
+
+ cairo_restore (pi->cr); /* From special transformations. */
+
if (outline_flag) {
draw_outline (pi, label);
}
- cairo_restore (pi->cr);
+ cairo_restore (pi->cr); /* From translation. */
gl_debug (DEBUG_PRINT, "END");
}