[Koha-bugs] [Bug 2499] Improvement on text wrapping algorithm needed
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Mar 6 06:19:50 CET 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2499
--- Comment #6 from wajasu <matted-34813 at mypacks.net> ---
Created attachment 15899
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=15899&action=edit
0002-Bug-2499-remove-arbitrary-line-limit-for-label-text
0002-Bug-2499-remove-arbitrary-line-limit-for-label-text
Removes the restriction for the amount of lines that may be printed in a label.
Testing: (we are testing vertical layout calculation here )
We want to see of many lines from wrapping or from many fields will print if
the font size lets them, without overlay in barcode or extending beyond the
label edge.
- print a working label exported to PDF that employs a barcode.
- edit the layout to use larger font_sizes and repeat the export to ensure the
text won't overlay the barcode
- edit the layout/template to add author, author, author in the list to get
even more rows. repeat the export to check if overlay.
- edit the layout/template to use smaller fonts (10..5) to see the effects.
- also test other label types. spine labels/splitting, just in case.
- possibly test other export types (xml/csv), though i don't believe they
apply.
Note: Since I am not getting the character font height metric from the font, I
relied on the existing line_spacer calculation, which is just the font_size.
10pt font = 10, 8pt font = 8.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list