Bugfix: Fixing issues with the patron card pdf rendering code
authorChris Nighswonger <cnighswonger@foundations.edu>
Mon, 8 Feb 2010 16:01:55 +0000 (11:01 -0500)
committerGalen Charlton <gmcharlt@gmail.com>
Mon, 8 Feb 2010 16:25:49 +0000 (11:25 -0500)
commit7b1a3d1ae89ef8f665aeda9ec16e68f44bbb9891
tree5a83f1fdf599a3b17e3725eb5e8048d5cd475cde
parent745ac87c20b4166cb28ada18eebcc7e39948042a
Bugfix: Fixing issues with the patron card pdf rendering code

This patch fixes two bugs:

1. Correcting the text alignment alogrithms for center and right alignment

2. Changes a reference to layout to a copy of the layout to avoid performing
operations on the layout.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
C4/Patroncards/Lib.pm
C4/Patroncards/Patroncard.pm
patroncards/create-pdf.pl