https://bugs.documentfoundation.org/show_bug.cgi?id=96928

            Bug ID: 96928
           Summary: Print (including preview) moves Code-128 font fields
                    down (appears to add empty line)
           Product: LibreOffice
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Using version 4.2.8.2 on Ubuntu (Bug does not occur on Windows!)

When using the free Code-128 truetype font from Deutscher Zoll (German
customs):
http://www.zoll.de/SharedDocs/Downloads/DE/Links-fuer-Inhaltseiten/Fachthemen/Zoelle/Atlas/code_128.zip;jsessionid=A20DAD2281332DA76D68A2D97AAF1349.live0482?__blob=publicationFile&v=8

everything works fine on screen and when exporting a PDF file. However, if I
try to print a document, anything that uses the Code-128 font will be moved
down. This shows in the actual print, but also in print preview, so it's
probably not a driver issue.

Prepare for reproducing:
- download the font, install it
- open Calc / new document
- write any string into cell A1 (e.g. "Hello world")
- write any other string into cell A2 (e.g. "Line2")
- show print preview: Strings show in correct order, as expected.

To reproduce:
- Change font to Code-128 in cell A1 only, leave A2 unchanged
- show print preview again: Bar code will overlap with the "Line2" string

To make it worse (and maybe get a hint why this is happening):
- format cell A1 to vertically align text to the top
- show print preview: Bar code is almost below the "line2" string, as if the
vertical position had been inverted.

To work around, you need to increase the height of line 1. Very annoying, as it
wastes valuable print space.

I wrote myself a few macros that generate proper Code-128 barcodes, and they
work great since summer 2013. Sometime in 2015, I upgraded the computer and
Ubuntu version, then had to tinker with the very-high cell in order to have the
bar code on the printed sheet. Unfortunately, I can't remember the old LO
version that printed the code properly.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to