From e675919eedc4f9899fcdc596dc7be429e55670fa Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Sat, 5 Oct 2002 04:50:02 +0000 Subject: [PATCH] Fixed coordinate system for rotated labels. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@147 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- glabels2/src/print.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/glabels2/src/print.c b/glabels2/src/print.c index e98fdba4..d978ee7c 100644 --- a/glabels2/src/print.c +++ b/glabels2/src/print.c @@ -496,7 +496,8 @@ print_label (PrintInfo *pi, gnome_print_translate (pi->pc, x, y); if (gl_label_get_rotate_flag (label)) { gl_debug (DEBUG_PRINT, "Rotate flag set"); - gnome_print_rotate (pi->pc, 90.0); + gnome_print_rotate (pi->pc, -90.0); + gnome_print_translate (pi->pc, -width, 0.0); } if ( reverse_flag ) { gnome_print_translate (pi->pc, width, 0.0); -- 2.39.5