[Koha-bugs] [Bug 14366] Units doesn't get saved usefully for patroncards

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 15 14:58:18 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14366

--- Comment #7 from Chris Nighswonger <cnighswonger at foundations.edu> ---
(In reply to David Cook from comment #6)
> (In reply to Chris Nighswonger from comment #3)
> > (In reply to David Cook from comment #2)
> > > Of course... I'm not sure that the actual label creator is using the
> > > different units... that's fun...
> > 
> > User selected units are converted to postscript points before rendering.
> > Postscript points are the common denominator.
> 
> Are you certain? I tried changing a label by 1cm but it looks like it only
> changed by 1pt.
> 
> I haven't had time to look into this yet, unfortunately :/.

Point conversions are done here:

http://tinyurl.com/o99ve52

This bug is addressing the fact that labels do not save the user's preferred
UOM, which explains the phenomena you are describing.

The real fix is for the labels code to be refactored to save templates as xml
as patroncard code does. That was my long-term intention when I wrote the
patroncard feature. Of course, even the best of intentions never materialize at
times. :-P

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


More information about the Koha-bugs mailing list