[Koha-bugs] [Bug 18550] Patron card creator: Print output does not respect layout units

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 5 15:13:14 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18550

--- Comment #2 from Marc Véron <veron at veron.ch> ---
Created attachment 63167
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63167&action=edit
Bug 18550 - Patron card creator: Print output does not respect layout units

To reproduce:
Text, images and barcode positions are always layed out based on PostScript
points, regardless of unit defined in card layout.

To reproduce:
- Test on top of Bug 18541 (introduces layout grid)
- Create a card layout wir a text field, an image and barcode. Use points
  as layout unit
- Activate layout grid
- Create PDF output, save.
- Change layout unit to mm.
- Create PDF output, save.
- Compare PDFs. Verify that the positions are unchanged (still using points).

- Apply patch
- Create again PDF
- Verify that elements are positionad as expected (using unit, e.g. mm)

Note: Patch not yet ready to sign-off because of som e c/p, but tests are
welcome.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list