Bug 50714 - PDFs exported by LibreOffice cannot be converted by ps2ascii
Summary: PDFs exported by LibreOffice cannot be converted by ps2ascii
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
3.5.4 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pdf
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2012-06-05 01:50 UTC by bugzilla
Modified: 2022-09-13 11:13 UTC (History)
6 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 bugzilla 2012-06-05 01:50:47 UTC
I don't know if this is a bug in LibreOffice or GhostScript:
I used to use OpenOffice 2 and when I exported PDFs, their text could be extracted by using ps2ascii. I upgraded to LibreOffice 3.5.4 and now ps2ascii stopped working. When I create a text document containing "test with text" and run ps2ascii on the exported PDF, I get:
   **** Warning: Encoding not present.

   **** This file had errors that were repaired or ignored.
   **** The file was produced by: 
   **** >>>> LibreOffice 3.5 <<<<
   **** Please notify the author of the software that produced this
   **** file that it does not conform to Adobe's published PDF
   **** specification.



\Delta \Theta \Lambda \Xi \Pi \Sigma \Upsilon \Xi \Pi \Xi \Theta \Phi \Xi

GPL GhostScript 8.57
Comment 1 bfoman (inactive) 2013-01-09 09:43:28 UTC
Is this still an issue in the latest stable release of LO and GS? If yes, please add a comment and attach problematic PDF to allow others to check on different
system/build.
Comment 2 QA Administrators 2013-09-24 01:54:43 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2013-10-25 15:13:26 UTC Comment hidden (obsolete)
Comment 4 Urmas 2013-10-25 18:55:16 UTC
Bugs do not get fixed by itself.
Comment 5 bfoman (inactive) 2013-10-26 06:21:12 UTC
(In reply to comment #4)
> Bugs do not get fixed by itself.

So you can confirm that it is still an issue or reopened this just for fun?
Comment 6 Joel Madero 2014-11-06 17:50:56 UTC
Never confirmed - moving to UNCONFIRMED so QA looks at it. Thanks
Comment 7 A (Andy) 2014-11-06 22:41:49 UTC
I don't have the possibility to test it with ps2ascii.  Can anybody reproduce and confirm, that this is still prevailing?
Comment 8 Robinson Tryon (qubit) 2014-11-11 07:08:19 UTC
CONFIRMED on LibreOffice 4.4.0.0.alpha2 + Ubuntu 14.04
(with ps2ascii v9.10)

(In reply to bugzilla from comment #0)
> When I create a text document containing "test
> with text" and run ps2ascii on the exported PDF, 
>
> I get:
>    **** Warning: Encoding not present.

Here's what I get:

-----
qubit@lo:~/libreoffice/bugs/50714$ ps2ascii test-odt-file.pdf 



\Delta \Theta \Lambda \Xi \Pi \Sigma \Upsilon \Xi \Phi \Pi \Xi \Theta \Psi \Xi 
-----

The same thing happens if we export it with the more limited/archival-oriented PDF/A-1a file format.
Comment 9 Robinson Tryon (qubit) 2014-11-11 07:29:00 UTC
(In reply to bugzilla from comment #0)
> I used to use OpenOffice 2 and when I exported PDFs, their text could be
> extracted by using ps2ascii.

I don't have OOo 2, but I do have OOo 3.3.0 m20 installed. When I tried to export the PDF using these older versions, none of them had any better success than the previous tests. Oops.

So it's unclear to me if this is a regression, or just an enhancement.
Comment 10 QA Administrators 2015-12-20 16:06:30 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2019-05-14 02:54:45 UTC Comment hidden (obsolete)
Comment 12 QA Administrators 2021-05-14 04:10:46 UTC Comment hidden (obsolete)
Comment 13 Michael Warner 2021-05-14 13:06:33 UTC
No repro in:
Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: 125860dd2b0370fbacd9368d13d403f02c313f79
CPU threads: 12; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: CL
Comment 14 ⁨خالد حسني⁩ 2022-09-13 11:13:58 UTC
Closing per comment 13, but if it is still reproducible, we will need test document and the exported PDF.