Created attachment 26968 [details] Call number splitting selected See the attached images. If I choose to not split call numbers I get zeros on my labels - if I do split the call number then I see the call number.
Created attachment 26969 [details] splitting works
Created attachment 26970 [details] Same batch without splitting
Created attachment 26972 [details] Labels with split call numbers
Created attachment 26973 [details] Labels without split call numbers
I tested this on 3.14.3 (I don't have a working 3.12 atm) and cannot duplicate the problem. I've added as set of pdfs showing with and without splitting. A quick look over the commit history for C4::Labels::Label does not indicate any significant changes. But that is only a quick look. I wonder if someone else with a 3.12 system could confirm this bug?
1. in the label creator tool, create two layouts for BIB only, selecting just the callnumber field, and setting the font to some reasonable size. On one of the layouts check the split callnumbers option; on the other leave it unchecked. 2. create a small batch of labels 3. export the batch twice; once using the layout with "split callnumber" selected and the other with the layout without the splitting option 4. compare the two resulting pdfs, checking to see if the one produced using the non-splitting template prints the numbers as expected.
I saw something like this, if you looked in the log it would say label-create-pdf.pl: Increasing $Text::Wrap::columns from 0 to 2 at /usr/share/koha/lib/C4/Labels/Label.pm line 442, Decreasing the left text margin to 0 seemed to fix it.
(this was in 3.20.2, btw.)
label-create-pdf.pl: Use of uninitialized value $string_width in addition (+) at /usr/share/koha/lib/C4/Labels/Label.pm line 466. this one also possibly helpful.