Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 206055
Collapse All | Expand All

(-)glabels-2.2.0/ChangeLog (+6 lines)
Lines 1-3 Link Here
1
2008-01-16  Jim Evins  <evins@snaught.com>
2
3
	* src/print.c: (print_label):
4
		Bug #1872568.  Don't apply special transforms (rotate and
5
		mirror) to clipping region or outline.
6
1
2007-12-25  Jim Evins  <evins@snaught.com>
7
2007-12-25  Jim Evins  <evins@snaught.com>
2
8
3
	* glabels.spec.in:
9
	* glabels.spec.in:
(-)glabels-2.2.0/src/print.c (-2 / +10 lines)
Lines 504-509 Link Here
504
	/* Transform coordinate system to be relative to upper corner */
504
	/* Transform coordinate system to be relative to upper corner */
505
	/* of the current label */
505
	/* of the current label */
506
	cairo_translate (pi->cr, x, y);
506
	cairo_translate (pi->cr, x, y);
507
508
	clip_to_outline (pi, label);
509
510
	cairo_save (pi->cr);
511
512
        /* Special transformations. */
507
	if (label->rotate_flag) {
513
	if (label->rotate_flag) {
508
		gl_debug (DEBUG_PRINT, "Rotate flag set");
514
		gl_debug (DEBUG_PRINT, "Rotate flag set");
509
		cairo_rotate (pi->cr, -M_PI/2.0);
515
		cairo_rotate (pi->cr, -M_PI/2.0);
Lines 514-526 Link Here
514
		cairo_scale (pi->cr, -1.0, 1.0);
520
		cairo_scale (pi->cr, -1.0, 1.0);
515
	}
521
	}
516
522
517
	clip_to_outline (pi, label);
518
        gl_label_draw (label, pi->cr, FALSE, record);
523
        gl_label_draw (label, pi->cr, FALSE, record);
524
525
	cairo_restore (pi->cr); /* From special transformations. */
526
519
	if (outline_flag) {
527
	if (outline_flag) {
520
		draw_outline (pi, label);
528
		draw_outline (pi, label);
521
	}
529
	}
522
530
523
	cairo_restore (pi->cr);
531
	cairo_restore (pi->cr);/* From translation. */
524
532
525
	gl_debug (DEBUG_PRINT, "END");
533
	gl_debug (DEBUG_PRINT, "END");
526
}
534
}

Return to bug 206055