Bug 36819: Default layout data prints squished barcodes

This patch changes the default layout data for the barcode
width.

To test:
**On a fresh db**
1. Go to Cataloging > Label creator
2. Click New > Label batch
3. Enter the following barcodes in the text field (or enter your own)

39999000010114
39999000010138
39999000010152
39999000011333
39999000002331
39999000002355

4. Click Add items
5. Click Export full batch
6. Choose the following
   - Template: Avery 5160 | 1 x 2-5/8
   - Layout: Label test
7. Click Export
8. Click Download as PDF
9. Open the PDF
   --> Note the squished barcodes
10. Apply patch and reset_all
11. Redo steps 1 to 9
    --> Note the barcodes now look OK

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 98f69862f3)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Caroline Cyr La Rose 2024-05-08 17:01:08 -04:00 committed by Fridolin Somers
parent 7b9552cc3c
commit 28dc22e304
1 changed files with 1 additions and 1 deletions

View File

@ -2377,7 +2377,7 @@ CREATE TABLE `creator_layouts` (
`oblique_title` int(1) DEFAULT 1,
`font` char(10) NOT NULL DEFAULT 'TR',
`font_size` int(4) NOT NULL DEFAULT 10,
`scale_width` decimal(28,6) NOT NULL DEFAULT 0.080000,
`scale_width` decimal(28,6) NOT NULL DEFAULT 0.800000,
`scale_height` decimal(28,6) NOT NULL DEFAULT 0.010000,
`units` char(20) NOT NULL DEFAULT 'POINT',
`callnum_split` int(1) DEFAULT 0,