Bug 102322 - Incorrect Text Field appearance in exported PDF files
Summary: Incorrect Text Field appearance in exported PDF files
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
5.1.5.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pdf
Depends on:
Blocks: RTL-CTL PDF-Export
  Show dependency treegraph
 
Reported: 2016-09-21 09:15 UTC by alexrait
Modified: 2023-10-15 13:44 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
ODT file with a text box (8.68 KB, application/vnd.oasis.opendocument.text)
2016-09-21 09:15 UTC, alexrait
Details
Exported PDF from the ODT. (2.81 KB, application/pdf)
2016-09-21 09:16 UTC, alexrait
Details
Exported PDF from the ODT - seems OK (68.54 KB, application/pdf)
2018-09-17 19:53 UTC, Idan Miara
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alexrait 2016-09-21 09:15:56 UTC
Created attachment 127506 [details]
ODT file with a text box

The default text of a PDF text field exported from ODT is not shown properly when this text is in Hebrew.

The attached sample contains such an ODT, export it to PDF to see that does not show Hebrew, unless the field is clicked.
Comment 1 alexrait 2016-09-21 09:16:32 UTC
Created attachment 127507 [details]
Exported PDF from the ODT.
Comment 2 Aron Budea 2016-09-22 05:54:03 UTC
My PDF reader (FoxIt Reader) shows an overlay light-blue fill with the text backwards (so like הקידב), which disappears and reveals the correct text when clicked.
But yeah, it's not correct, and LO v5.2.1.2 / Windows 7 produces such a PDF.
Comment 3 Omer Zak 2017-11-14 10:11:27 UTC
I tested in:

Version: 6.0.0.0.alpha1+
Build ID: 9050854c35c389466923f0224a36572d36cd471a
CPU threads: 8; OS: Linux 4.9; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.utf8); Calc: group

OS: Debian 64bit Stretch (Debian 9.2, with some backported packages)


When it opened the demo.odt file, the text in the Text Field was displayed left justified with correct RTL order.
After export to the PDF file, the text was displayed right justified with correct RTL order.
Comment 4 Idan Miara 2018-09-17 19:51:18 UTC
I couldn't reproduce this bug on the 6.1.1.2 on Win10.
Printed to pdf using MS print to PDF. output as expected.
Was it fixed?
Comment 5 Idan Miara 2018-09-17 19:53:56 UTC
Created attachment 144959 [details]
Exported PDF from the ODT - seems OK

I can't reproduce this bug.
Comment 6 QA Administrators 2019-09-20 03:05:26 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2021-09-20 03:39:08 UTC Comment hidden (obsolete)
Comment 8 Rajasekaran Karunanithi 2022-12-07 22:19:37 UTC
(In reply to Aron Budea from comment #2)
> My PDF reader (FoxIt Reader) shows an overlay light-blue fill with the text
> backwards (so like הקידב), which disappears and reveals the correct text
> when clicked.
> But yeah, it's not correct, and LO v5.2.1.2 / Windows 7 produces such a PDF.

I also got the same result in LO 7.4.3.2 under Windows 10(x64).I am using FoxitReader too.I opened the exported pdf in Firefox and after I clicked the light blue area it shows another inner blue rectangle frame outside of the Hebrew text.

Version: 7.4.3.2 (x64) / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: ta-IN (en_IN); UI: en-US
Calc: threaded
Comment 9 Dayana James 2023-10-15 13:44:12 UTC
(In reply to Rajasekaran Karunanithi from comment #8)
> (In reply to Aron Budea from comment #2)
> > My PDF reader (FoxIt Reader) shows an overlay light-blue fill with the text
> > backwards (so like הקידב), which disappears and reveals the correct text
> > when clicked.
> > But yeah, it's not correct, and LO v5.2.1.2 / Windows 7 produces such a PDF.
> 
> I also got the same result in LO 7.4.3.2 under Windows 10(x64).I am using
> FoxitReader too.I opened the exported pdf in Firefox and after I clicked the
> light blue area it shows another inner blue rectangle frame outside of the
> Hebrew text.
> 
> Version: 7.4.3.2 (x64) / LibreOffice Community
> Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
> CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL:
> win
> Locale: ta-IN (en_IN); UI: en-US
> Calc: threaded



I also got the same result today with light blue background pdf export. After clicked light blue background the text is normal with white background.Still it is not fixed.

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e9374f74385d7dfe77d1902d3d82af20143bc775
CPU threads: 4; OS: Windows 10.0 Build 22000; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded