Issue 98599

Summary: PDF/A export produces always invalid PDF files
Product: gsl Reporter: timi_openoffice <blockopenoffice.1.urwald>
Component: codeAssignee: thb
Status: CLOSED DUPLICATE QA Contact: issues@gsl <issues>
Severity: Trivial    
Priority: P2 CC: blockopenoffice.1.urwald, giuseppe.castagno, issues, rainerbielefeld_ooo_qa
Version: OOo 3.1Keywords: needmoreinfo, oooqa
Target Milestone: OOo 3.x   
Hardware: All   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
test.odt
none
test.pdf
none
Adobe_reader.png
none
screenshot_1.png
none
screenshot_2.png
none
screenshot_3.png
none
screenshot_4.png
none
screenshot_5.png
none
ooo_version.png
none
Formen.ods
none
Formen-linux.pdf
none
Formen-windows.pdf none

Description timi_openoffice 2009-01-29 11:04:47 UTC
The PDF/A export produces always invalid PDF files.

- Just use an arbitrary document (for example the attached test.odt, which is
just an empty text document).
- File/Export as PDF
- Choose PDF/A as format (see screenshots)
- You get a PDF file (test.pdf)
- Open this file with Adobe Reader. You get an error message: "There was an
error processing a page. Invalid ColorSpace." See Adobe_reader.png. (I'm using
Adobe Reader 8.1.3 under Linux, but I've tested the PDF also in Windows: same
error message.)
Comment 1 timi_openoffice 2009-01-29 11:07:06 UTC
Created attachment 59740 [details]
test.odt
Comment 2 timi_openoffice 2009-01-29 11:07:38 UTC
Created attachment 59741 [details]
test.pdf
Comment 3 timi_openoffice 2009-01-29 11:08:18 UTC
Created attachment 59742 [details]
Adobe_reader.png
Comment 4 timi_openoffice 2009-01-29 11:10:44 UTC
Created attachment 59743 [details]
screenshot_1.png
Comment 5 timi_openoffice 2009-01-29 11:11:14 UTC
Created attachment 59744 [details]
screenshot_2.png
Comment 6 timi_openoffice 2009-01-29 11:11:34 UTC
Created attachment 59745 [details]
screenshot_3.png
Comment 7 timi_openoffice 2009-01-29 11:11:58 UTC
Created attachment 59746 [details]
screenshot_4.png
Comment 8 timi_openoffice 2009-01-29 11:12:22 UTC
Created attachment 59747 [details]
screenshot_5.png
Comment 9 Rainer Bielefeld 2009-01-29 12:05:09 UTC
I checked with "Ooo 3.0.0 (DE) Multilingual version German UI WIN XP: [OOO300m9
(Build9358)]" and can confirm the reported effect.
I tried with attached sample document and settings due to screenshots.  PDF
export was perfect. I can confirm the reported  error message in Acrobat Reader
for attached sample document "test.pdf".

timi_openoffice:
Please contribute information concerning your LINUX version! From what source
did you get your OpenOffice.org?
Comment 10 philipp.lohmann 2009-01-29 13:00:08 UTC
cannot confirm on linux or mac, neither in 3.0 nor in 3.1.

@rainerbielefeld: you say you can confirm on windows ?
Comment 11 Rainer Bielefeld 2009-01-29 13:12:47 UTC
@pl:
No, I only see the message opening "test.pdf", but I can not create an own
damaged .pdf from "test.odt" or completely new own document.
Comment 12 philipp.lohmann 2009-01-29 13:49:58 UTC
ok, just wanted to clarify. Same for me. I have not found the error in the file
yet, but will continue to look.
Comment 13 timi_openoffice 2009-01-29 13:58:50 UTC
The bad .pdf file was produced using openSUSE 11.1. The OOo packages are the
normal packages coming on the openSUSE 11.1 DVD (no extra repositories). The
attached screenshot (ooo_version.png) shows the version info of OOo.
Comment 14 timi_openoffice 2009-01-29 13:59:59 UTC
Created attachment 59753 [details]
ooo_version.png
Comment 15 philipp.lohmann 2009-01-29 15:56:12 UTC
the test.pdf file appended showing the error indeed has a different ICC color
space definition file. Since that is compiled in, it must be a problem of go-oo
itself or probably its patch level. I know beppec changed the output once,
perhaps go-oo didn't take that change. Or they changed the ICC profile for their
build.

@thb: care about PDF export for go-oo ?
Comment 16 Giuseppe Castagno (aka beppec56) 2009-01-29 18:29:11 UTC
Cannot confirm the issue in OOo 3.0.1.
Test carried out in Debian lenny, used Acrobat reader 8.1.3 to test.

At a quick analysis it seems that the test.pdf file attached to #desc3 has a ICC
color profile with a different content then the standard one provided with
vanilla OOo.

Comment 17 thb 2009-01-29 21:46:40 UTC
@pl: you bet! ;)

Closing as invalid here, filed for opensuse as 

https://bugzilla.novell.com/show_bug.cgi?id=470804
Comment 18 thb 2009-01-29 21:47:34 UTC
.
Comment 19 bjdouma 2009-03-01 16:32:36 UTC
I can confirm this issue.

Ubuntu Hardy Heron 8.04

# uname -a
Linux skyscraper 2.6.24-23-generic #1 SMP Mon Jan 26 01:04:16 UTC 2009 x86_64
GNU/Linux

# dpkg -l  | grep -i openoffice
ii  o3read                                     0.0.4-1                         
                    standalone converter for OpenOffice.org docu
ii  openoffice.org                             1:2.4.1-1ubuntu2.1              
                    OpenOffice.org Office suite
ii  openoffice.org-base                        1:2.4.1-1ubuntu2.1              
                    OpenOffice.org office suite - database
ii  openoffice.org-base-core                   1:2.4.1-1ubuntu2.1              
                    OpenOffice.org office suite -- libdba
ii  openoffice.org-calc                        1:2.4.1-1ubuntu2.1              
                    OpenOffice.org office suite - spreadsheet
ii  openoffice.org-common                      1:2.4.1-1ubuntu2.1              
                    OpenOffice.org office suite architecture ind
ii  openoffice.org-core                        1:2.4.1-1ubuntu2.1              
                    OpenOffice.org office suite architecture dep
ii  openoffice.org-draw                        1:2.4.1-1ubuntu2.1              
                    OpenOffice.org office suite - drawing
ii  openoffice.org-filter-binfilter            1:2.4.1-1ubuntu2.1              
                    Legacy filters (e.g. StarOffice 5.2) for Ope
ii  openoffice.org-filter-mobiledev            1:2.4.1-1ubuntu2.1              
                    Mobile Devices Filters for OpenOffice.org
ii  openoffice.org-gnome                       1:2.4.1-1ubuntu2.1              
                    GNOME Integration for OpenOffice.org (VFS, G
ii  openoffice.org-gtk                         1:2.4.1-1ubuntu2.1              
                    GTK+ Integration for OpenOffice.org (Widgets
ii  openoffice.org-help-en-gb                  1:2.4.1-1ubuntu2.1              
                    English_british help for OpenOffice.org
ii  openoffice.org-help-en-us                  1:2.4.1-1ubuntu2.1              
                    English_american help for OpenOffice.org
ii  openoffice.org-help-nl                     1:2.4.1-1ubuntu2.1              
                    Dutch help for OpenOffice.org
ii  openoffice.org-hyphenation                 0.3                             
                    Hyphenation patterns for OpenOffice.org
ii  openoffice.org-hyphenation-en-us           2.3.1-2ubuntu1                  
                    US English hyphenation patterns for OpenOffi
ii  openoffice.org-impress                     1:2.4.1-1ubuntu2.1              
                    OpenOffice.org office suite - presentation
ii  openoffice.org-java-common                 1:2.4.1-1ubuntu2.1              
                    OpenOffice.org office suite Java support arc
ii  openoffice.org-l10n-common                 1:2.4.1-1ubuntu2.1              
                    common files for OpenOffice.org language and
ii  openoffice.org-l10n-en-gb                  1:2.4.1-1ubuntu2.1              
                    English_british language package for OpenOff
ii  openoffice.org-l10n-en-za                  1:2.4.1-1ubuntu2.1              
                    English_southafrican language package for Op
ii  openoffice.org-l10n-nl                     1:2.4.1-1ubuntu2.1              
                    Dutch language package for OpenOffice.org
ii  openoffice.org-math                        1:2.4.1-1ubuntu2.1              
                    OpenOffice.org office suite - equation edito
ii  openoffice.org-officebean                  1:2.4.1-1ubuntu2.1              
                    OpenOffice.org Office Bean
ii  openoffice.org-style-human                 1:2.4.1-1ubuntu2.1              
                    Human symbol style for OpenOffice.org
ii  openoffice.org-style-tango                 1:2.4.1-1ubuntu2.1              
                    Tango symbol style for OpenOffice.org
ii  openoffice.org-thesaurus-en-au             2.1-3ubuntu1                    
                    Australian English Thesaurus for OpenOffice.
ii  openoffice.org-thesaurus-en-us             1:2.4.0~m240-1ubuntu1.1         
                    English Thesaurus for OpenOffice.org
ii  openoffice.org-writer                      1:2.4.1-1ubuntu2.1              
                    OpenOffice.org office suite - word processor
ii  openoffice.org-writer2latex                0.5-6ubuntu0.1                  
                    Writer/Calc to LaTeX/XHTML converter extensi
ii  python-uno                                 1:2.4.1-1ubuntu2.1              
                    Python interface for OpenOffice.org

openoffice.org 1:2.4.1-1ubuntu2.1


PDF-1.4/A-1 document (just the text 'Hello World!) saved with OpenOffice
2.4.1.

- PDF-1.4/A-1 document cannot be opened  under Windows XP / Adobe Reader 9.0
- PDF-1.4/A-1 document cannot be opened  under Windows Vista / Adobe Reader 9.0
- PDF-1.4/A-1 document is opened without any problem under Windows XP / Adobe
Reader 7.0
- PDF-1.4/A-1 document is opened without any problem under Windows XP / OmniPage 1.5
- PDF-1.4/A-1 document is opened without any problem under Mac OSX 10.5.5 /
Preview 4.1

- a 'normal' PDF-1.4 document is opened correctly with all applications.

The error reported with Adobe Reader 9.0 is: "There was an error processing a
page. Invalid ColorSpace.", and it is a show-stopper.

bjd
20090301
Comment 20 tcernaj 2009-04-05 17:16:19 UTC
I can confirm this on Ubuntu 8.10 Intrepid, OOo version 2.4.1, x86_64. The PDF/A
could not be opened with Acrobat Reader 8.1 and 9 while the normal PDF can.

One thing that strikes me: Does anyone with a 32 bit build have this problem? So
far I've only seen reports for 64 bit systems.
Comment 21 cristobalpalmer 2009-05-03 06:27:00 UTC
Hello,

This issue affects me on Ubuntu 9.04 Jaunty. Please let me know what sort of
debugging info I can provide to help you re-open and resolve this bug.

My machine:

$ uname -srvmo
Linux 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009 x86_64 GNU/Linux
$ lsb_release -rc
Release:	9.04
Codename:	jaunty
$ dpkg -l |grep -i openoffice
ii  openoffice.org-base-core                   1:3.0.1-9ubuntu3                
            full-featured office productivity suite -- s
ii  openoffice.org-calc                        1:3.0.1-9ubuntu3                
            full-featured office productivity suite -- s
ii  openoffice.org-common                      1:3.0.1-9ubuntu3                
            full-featured office productivity suite -- a
ii  openoffice.org-core                        1:3.0.1-9ubuntu3                
            full-featured office productivity suite -- a
ii  openoffice.org-draw                        1:3.0.1-9ubuntu3                
            full-featured office productivity suite -- d
ii  openoffice.org-emailmerge                  1:3.0.1-9ubuntu3                
            full-featured office productivity suite -- e
ii  openoffice.org-gnome                       1:3.0.1-9ubuntu3                
            full-featured office productivity suite -- G
ii  openoffice.org-gtk                         1:3.0.1-9ubuntu3                
            full-featured office productivity suite -- G
ii  openoffice.org-help-en-gb                  1:3.0.1-9ubuntu2                
            full-featured office productivity suite -- E
ii  openoffice.org-help-en-us                  1:3.0.1-9ubuntu2                
            full-featured office productivity suite -- E
ii  openoffice.org-hyphenation                 0.3                             
            Hyphenation patterns for OpenOffice.org
ii  openoffice.org-hyphenation-en-us           2.4-2ubuntu1                    
            US English hyphenation patterns for OpenOffi
ii  openoffice.org-impress                     1:3.0.1-9ubuntu3                
            full-featured office productivity suite -- p
ii  openoffice.org-l10n-common                 1:3.0.1-9ubuntu2                
            common files for OpenOffice.org language and
ii  openoffice.org-l10n-en-gb                  1:3.0.1-9ubuntu2                
            full-featured office productivity suite -- E
ii  openoffice.org-l10n-en-za                  1:3.0.1-9ubuntu2                
            full-featured office productivity suite -- E
ii  openoffice.org-math                        1:3.0.1-9ubuntu3                
            full-featured office productivity suite -- e
ii  openoffice.org-style-human                 1:3.0.1-9ubuntu3                
            Human symbol style for OpenOffice.org
ii  openoffice.org-thesaurus-en-au             2.1-3.1                         
            Australian English Thesaurus for OpenOffice.
ii  openoffice.org-thesaurus-en-us             1:3.0.1-8ubuntu1                
            English Thesaurus for OpenOffice.org
ii  openoffice.org-writer                      1:3.0.1-9ubuntu3                
            full-featured office productivity suite -- w
ii  uno-libs3                                  1.4.1+OOo3.0.1-9ubuntu3         
            OpenOffice.org UNO runtime environment -- pu
ii  ure                                        1.4.1+OOo3.0.1-9ubuntu3         
            OpenOffice.org UNO runtime environment

I can also provide trivial .odt and pdf documents that demonstrate this issue.
If you believe this is an issue with acroread under 64bit Linux, could you help
me confirm that the generated .pdf files are in fact valid? If I can do that, I
can go complain to Adobe about their reader for Linux instead of bothering you here.
Comment 22 timi_openoffice 2009-11-03 12:33:58 UTC
Reopening issue.

I can now reproduce the bug it with upstream OOo. (The document is Formen.ods)

Using OOo 3.1.0 with spanish localization
(http://ftp.spnet.net/openoffice/localized/es/3.1.0/OOo_3.1.0_LinuxX86-64_install_es.tar.gz)
on Linux (openSUSE 11.2 M7) produces an invalid PDF file when using PDF/A. (see
Formen-linux.pdf)

Using OOo 3.1.1 with german localization on Windows XP however produces valid
PDF for the same document. (Formen-windows.ods) So maybe this is a linux
specific problem?
Comment 23 timi_openoffice 2009-11-03 12:36:26 UTC
Created attachment 65888 [details]
Formen.ods
Comment 24 timi_openoffice 2009-11-03 12:37:00 UTC
Created attachment 65889 [details]
Formen-linux.pdf
Comment 25 timi_openoffice 2009-11-03 12:37:31 UTC
Created attachment 65890 [details]
Formen-windows.pdf
Comment 26 Giuseppe Castagno (aka beppec56) 2009-11-09 14:18:43 UTC
May be this is the same as issue 106523?

The problem solved in issue 106523 IMHO should solve the reopening of this issue
as well, it was solved for all the 64 bit versions.
Comment 27 philipp.lohmann 2009-11-09 14:54:32 UTC
Yes, it's the very same. Thanks for pointing that out.

*** This issue has been marked as a duplicate of 106523 ***
Comment 28 philipp.lohmann 2009-11-09 14:55:00 UTC
closing