Bug 147595 - Adding a barcode variant with a text label
Summary: Adding a barcode variant with a text label
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: QR-code
  Show dependency treegraph
 
Reported: 2022-02-22 15:21 UTC by kabilo
Modified: 2023-08-31 13:06 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kabilo 2022-02-22 15:21:02 UTC
Description:
Would it also be possible to create a barcode variant with a text label?

Actual Results:
barcode without text label is generated

Expected Results:
enable barcode generation with text label


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Samuel Mehrbrodt (allotropia) 2022-02-23 13:01:28 UTC
Is Barcode ever used without text?
Maybe we don't need another variant, just always add the text below.
Comment 2 kabilo 2022-02-23 14:44:41 UTC
Text label printing (and possible alignment) is usually an optional item in specialized programs. I always print it, Thanks
Comment 3 Tex2002ans 2023-08-31 13:06:08 UTC
> Is Barcode ever used without text?

Yes.

> Maybe we don't need another variant, just always add the text below.

No. Text should always be an optional addon.

(Often enabled by default, but should still be optional.)

- - -

Having text along with the barcodes is very important for things like ISBNs on books or back of book covers.

This allows a human to read what the heck the barcode says, and not *require* a scanning device to tell them.

- - -

The best document I ever came across on all the different barcode variants/types was for a LaTeX package called:

- pst-barcode

A PDF of their documentation can be found here:

- http://mirrors.ctan.org/graphics/pstricks/contrib/pst-barcode/doc/pst-barcode-doc.pdf

Text/Numbers can be written:

- Below/Above the barcode.
- "Inside"/"Overlapping" the barcode slightly.
- Along the whole length of the barcode
   - Where each text character goes below its equivalent barcode symbol.
   - So each letter could have large "gaps" between them.
   - (Or, text just written normally + centered below barcode.)

See the documentation for all sorts of example images and detailed descriptions.

- - -

I suspect for this enhancement, it would be okay just to produce:

- Centered text.
- Below the barcode.

and have a checkbox to turn it on/off.