https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42943
Martin Renvoize (ashimema) <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] | |o.uk --- Comment #12 from Martin Renvoize (ashimema) <[email protected]> --- This makes a lot of sense to me.. my only slight worry is how does it affect other fields and the overall useful space one can use for a label.. C4/Labels/Label.pm:460-469 — unbounded wrapped-line count can push subsequent label fields off the label. $text_lly (the vertical cursor) is initialized once before the LABEL_FIELDS loop and decremented for every rendered line across all fields on the label — it's never reset per field. The sibling non-callnumber branch a few lines below caps output to 2 lines (title) or 1 line (everything else) for exactly this reason. The new callnumber branch has no such cap: if a call number is split into N parts and each part wraps into M lines, that's N×M lines consuming vertical space meant for later fields (e.g. barcode, homebranch). This doesn't corrupt data or crash anything, but it trades the reported bug (horizontal overrun) for a potentially worse one (fields overlapping/pushed off the label) on longer or multi-part call numbers. Worth capping wrapped call-number lines to some reasonable max (e.g. 3-4), consistent with the pattern used just below. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
