Bugzilla – Attachment 144940 Details for
Bug 10762
Make it possible to adjust the barcode height and width on labels
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10762: (follow-up) Update test plan, add kohastructure.sql files
Bug-10762-follow-up-Update-test-plan-add-kohastruc.patch (text/plain), 2.13 KB, created by
Lucas Gass (lukeg)
on 2023-01-03 15:25:15 UTC
(
hide
)
Description:
Bug 10762: (follow-up) Update test plan, add kohastructure.sql files
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2023-01-03 15:25:15 UTC
Size:
2.13 KB
patch
obsolete
>From d52ba4ddaf2e3ae0fdc315f3f268279bccc0115b Mon Sep 17 00:00:00 2001 >From: Thibaud Guillot <thibaud.guillot@biblibre.com> >Date: Mon, 2 Jan 2023 15:05:11 +0100 >Subject: [PATCH] Bug 10762: (follow-up) Update test plan, add > kohastructure.sql files > >I also change the default value for scale_height to '0.01' > >Test plan: > >1)Home > Cataloguing > Tools: Label creator > Manage Layout or New Layout >2)Make a new layout or edit an existing one >3)Notice the 2 new fields "Barcode width/Barcode height" >4)Save it like this >5)Create a batch of barcode and export if in PDF >6)Notice the size of barcode >7)Go back to your existing layout >8)Enter some values (Barcode width: 1.6 / Barcode height: 0.02), save >9)Take back your batch of barcode and export it in PDF >10)The barcode should be 2x bigger > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > C4/Creators/Layout.pm | 2 +- > installer/data/mysql/kohastructure.sql | 2 ++ > 2 files changed, 3 insertions(+), 1 deletion(-) > >diff --git a/C4/Creators/Layout.pm b/C4/Creators/Layout.pm >index 263a0d3e92a..c813c7ef9cc 100644 >--- a/C4/Creators/Layout.pm >+++ b/C4/Creators/Layout.pm >@@ -80,7 +80,7 @@ sub new { > font => 'TR', > font_size => 3, > scale_width => 0.8, >- scale_height => 0.02, >+ scale_height => 0.01, > callnum_split => 0, > text_justify => 'L', > format_string => join(', ', @{ PRESET_FIELDS() }), >diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql >index 59607073cac..9907ff25972 100644 >--- a/installer/data/mysql/kohastructure.sql >+++ b/installer/data/mysql/kohastructure.sql >@@ -2257,6 +2257,8 @@ 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.08, >+ `scale_height` decimal(28,6) NOT NULL DEFAULT 0.01, > `units` char(20) NOT NULL DEFAULT 'POINT', > `callnum_split` int(1) DEFAULT 0, > `text_justify` char(1) NOT NULL DEFAULT 'L', >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10762
:
127729
|
134754
|
144900
|
144933
|
144939
|
144940
|
144941
|
154456
|
154457
|
154458
|
154459
|
154559
|
154560
|
154561
|
154562
|
157168
|
157169
|
157170
|
157171
|
157172
|
157999
|
158014