PDF exports with arabic numerals instead of regular numbers

Bug #244353 reported by Noam Lewis
144
This bug affects 19 people
Affects Status Importance Assigned to Milestone
OpenOffice
Fix Released
Medium
Nominated for 3.1 by artur.kiliszek@o2.pl
libreoffice (Ubuntu)
Invalid
Undecided
Unassigned
openoffice.org (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

Binary package hint: openoffice.org

I am working on a OO Writer document that is mostly in Hebrew (but some English).
There are some tables pasted from OO Calc.
The document looks fine in OO Writer but when I export to PDF (using File...Export as PDF) the result PDF file contains some arabic numerals instead of normal ones in some of the tables.

Obviously when working in Hebrew, the numerals should be normal (latin) by default, not Arabic.

ProblemType: Bug
Architecture: i386
Date: Mon Jun 30 22:41:05 2008
DistroRelease: Ubuntu 8.04
Package: openoffice.org-core 1:2.4.1-1ubuntu1
PackageArchitecture: i386
ProcEnviron:
 PATH=/usr/lib/openoffice/program:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: openoffice.org
Uname: Linux 2.6.24-19-generic i686

Revision history for this message
Noam Lewis (lenoam) wrote :
Revision history for this message
Noam Lewis (lenoam) wrote :
Revision history for this message
Chris Cheney (ccheney) wrote :

I'm pretty sure that upstream bug was not the correct one, that bug report is about Arabic being exported to PDF incorrectly. This bug report is about Hebrew being exported incorrectly and showing up as Arabic.

Chris

Revision history for this message
jarlaxl lamat (jarlaxl) wrote :

I faced the same problem (arabic numbers to calc tables when i export as pdf in OO 2.4 in 2.6.24.19 generic on i386) but with an english text. The problem got solved when i unchecked the PDF/A-1 option in the export as pdf dialog. hope this helps.

Revision history for this message
Noam Lewis (lenoam) wrote :

Ok, I tested this on a document that didn't contain any Hebrew and it still happens, like jarlaxl lamat wrote in his comment. Also, unchecking the PDF/A-1 option prevents this problem for me too.

So the exact bug is:
Arabic numerals when exporting to PDF with PDF/A-1 enabled, a Writer document that contains a table pasted from Calc. Only if Calc _is still open_ when the export is being done.

Revision history for this message
Chris Cheney (ccheney) wrote :

There is an upstream bug report but it sounds like this might actually be an ooo-build problem from what has been mentioned in the upstream bug report.

Changed in openoffice:
importance: Undecided → Unknown
status: New → Unknown
Changed in openoffice.org:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
DrakeGis (drakegis) wrote :

I had a "related" problem: in a text in English with several formulas, some of the numbers in the formulas become some weird characters (I'm an ignorant in this, I believe there were Hebrew, but I'm not sure) when I export the document to PDF.
The solution I found was to only check "create PDF form" selecting "PDF" in the "submit format", in the "General" tab when the export dialog appears (I'm using the File->Export as PDF, and no the button on the toolbar). I also check "Export Bookmarks" and "Export automatically inserted blank pages" but that shouldn't change the result.
Good Luck !

Revision history for this message
bclintbe (bclintbe) wrote :

Same problem with me. I have a Writer document with several formulas inserted in. Looks fine in Writer, but when I convert to PDF some of the characters randomly show up as unusual characters. Sometimes if I export again, it seems as if some of them fix, and others get screwed up.

Revision history for this message
tchu11 (tchu11) wrote :

I have the same problem with a text document with mathematical formulae added using OpenOffice Maths after exporting it as PDF. I have a workaround by using 'Print to PDF' which comes with Ubuntu. Press Ctrl+P in OpenOffice and the document should be "printed" as a PDF file stored in /home/[your own username]/PDF folder.

This should all have been pre-installed, but if not here are the instructions:

1. In control centre (type gnome-control-center in terminal), go to 'Personal' section and click on 'Sessions'. Under 'Startup programs', make sure 'Print queue applet' is enabled.

2. Go to 'System' section and click 'Services', make sure 'Printer services (cupsys)' is enabled.

3. Go to 'Hardware section' and click on 'Printing'. See if 'Print to PDF' is under Local Printers. If not, click 'New Printer', select 'Print to PDF file' then 'Forward', select 'Generic' then 'Forward', select 'PDF file generator' then 'Forward', change the names as you wish then 'Apply'.

Revision history for this message
James Hoyland (jameshoyland) wrote :

I've been having the a similar problem but with Impress. I need to export to PDF to show my slides on the Universities lecture theater computers because they do not have OpenOffice installed (just some weired product call Microsoft Office or something like that). Anyway, in the PDF's regular numerals are randomly replaced by arabic-script numerals, both within text boxes and within equations. Very strangely objects copied and pasted from one page to another may have arabic script on one page and regular on another. There seems to be no rhyme or reason - I am not using any other non-western scripts anywhere in the docs. I tried the 'Print to PDF' workaround suggested by tpcchu but that gives me a second, presumably unrelated problem with pages being randomly either landscape or rotated to portrait - extreme annoyance. I have a whole term of lectures planned using OpenOffice impress, I would really like suggestions/solutions ASAP!

Thanks

James

Revision history for this message
John Pye (jdpipe) wrote :
Revision history for this message
jackocleebrown (jack-ocleebrown) wrote :

I also have this problem.

Using Intrepid Alpha 6 on x64.
OO version 2.4.1-8ubuntu

This is only a problem of numerals which appear within equations not in general text.
None of the "solutions" work for me, although I do find that which numerals are incorrect does seem to erratically change.
The print to pdf option is not a good solution - the resulting pdf does not contain the bookmarks.
 Attached pdf shows problems. (for example subscripts in equation 4)

This discussion of the same issue concludes that the bug is not present in the openoffice official release only in the Ubuntu packages: http://user.services.openoffice.org/en/forum/viewtopic.php?f=7&t=7796&st=0&sk=t&sd=a&start=10

Unfortunately I cannot easily test this as I am using 64bit.
I might give it a go on a virtual machine - which would be a solution for me for the short term.

I have been aware of this bug for some time and keep seeing reports which conclude it has been fixed... it is not fixed.
I see this as a major issue, I am pretty certain that I have already submitted one technical journal paper with these misprints in them!

Thanks, Jack.

Revision history for this message
Fritz Heinrichmeyer (fritz-heinrichmeyer) wrote :

Today i recognized this buggy behavior (numbers in wrong eventually hebraic -- i don't know -- font in exported pdf) with newest openoffice from ubuntu. I had to create PDF from a document with heavy formula use.

My workaround with best result: Print to generic postscript printer, choose print to file and create pdf from this output.

Some month ago i continued my work on a windows box and forgot to report a bug for this reason.

Architecture: amd64
Source: openoffice.org
Version: 1:2.4.1-9ubuntu2 from intrepid repositories

Revision history for this message
Fritz Heinrichmeyer (fritz-heinrichmeyer) wrote :

btw. test.pdf (http://launchpadlibrarian.net/17778579/test.pdf) lets acroread go nuts here on amd64.

Acroread complains about invalid color space

Revision history for this message
In , Chris Cheney (ccheney) wrote :

Created an attachment (id=248731)
file exhibiting problem

Converting a document with formulas and schedules to PDF causes various errors in numbers. (They seem to be hebrew or so instead of arabian). At each conversion, different numbers are affected, the former incorrect ones get partially correct. This appears to only happen on x86-64.

Revision history for this message
In , Rodo (rodo) wrote :

I was able to replicate it with 3-0 branch as well as with trunk.

Revision history for this message
Scott Thatcher (thatcher) wrote : Re: OpenOffice exports PDF with arabic numerals instead of regular numbers

Sorry if more information isn't needed. I've seen this bug, too--the version where strange numerals appear in English files that contain formulas. Easily reproducible using the numbers.odt file available on the openoffice bug page. This is in 64-bit Intrepid and Hardy. However, I can verify that the bug did not seem to be present when I installed OOO300m9 in Hardy from the .deb available on the openoffice.org site.

Unchecking the various PDF options in the export dialog didn't change the behavior of the bug for me.

As someone who creates lots of PDF's from files with formulas, I'll say thanks in advance for your work on this!

Revision history for this message
In , Kendy (kendy) wrote :

64bit, I'll take this one ;-)

Chris Cheney (ccheney)
Changed in openoffice.org:
status: Triaged → Confirmed
Changed in openoffice:
status: Unknown → Confirmed
Revision history for this message
In , Chris Cheney (ccheney) wrote :

I think this might not actually be 64bit specific as I found another bug report related to this which is for i386...

https://bugs.edge.launchpad.net/bugs/244353

Exporting this simple file as PDF causes the second half of the numbers to convert from arabic to hebrew.

http://launchpadlibrarian.net/15698985/test.odt

This still occurs with ooo-build-3-0-1.

Changed in openoffice:
status: Confirmed → Unknown
Changed in openoffice.org:
status: Confirmed → Triaged
Changed in openoffice:
status: Unknown → Confirmed
Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

I use OpenOffice.org (OpenSuSE) x86-64 (!!!) build from here (yast2 yum style repository)
http://download.opensuse.org/repositories/OpenOffice.org:/STABLE/openSUSE_11.1/

on an x86-64 system (now daily updated 11.1, but since 10.0).

1)
Since OO.o 3.0 in exporting each file (also a simple one word odt) in pdf/A-1 format and reading it in a Microsoft Windows XP/Vista system with Adobe Acrobat Reader (9.x), Acrobat Reader complains about invalid color space and keep the his windows empty (after closing his error/warning message dialog).

The same "bad" pdf, perfectly (!) opens and renders on Evince 2.24.1 or Okular 0.8.1/KDE 2.4.1 (all 64 bit builded apps).

2)
In the same OpenSuSE/OpenOffice notebook I also see pdf exported document (from a Writer document with some Calc tables with formulas in it) with number in the calc tables converted from arabic (e.g. "1", "23", "5.400,34", ...) to hebrew (I suppose). Not all the table were affected, but each table is either completely affected or perfect, interesting behavior...

This arabic/hebrew pdf opens and renders bad both on linux platform and Windows/Acrobat one.

I have just retested both problems with the 2009-03-07 build:
OpenOffice_org-3.0.1.3-1.1.x86_64.rpm 07-Mar-2009 06:26

(I choose a representative file). But all the problems still remain.

Hope that help.

Carlo

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

Addenda...

About 1) problem if I uncheck Pdf/A-1 export all exported documents read perfectly on all platforms.

I don't know if the experienced problems are related... But perhaps...

Carlo

Revision history for this message
In , Kendy (kendy) wrote :

Carlo: According to the comment 4, any chance to check on a 32bit system as well to be 100% sure if this is 64bit problem, or a general one?

Thank you in advance!

Changed in openoffice:
status: Confirmed → Incomplete
Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

Jan: I will try to install a 32bit system and check it asap!

Than I will post here again!

Have a nice day,

Carlo

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

Created an attachment (id=280908)
simple odt file, created on a 64 bit Novell-OOo

I 'm submitting 6 little files to make evident pdf A1 errors only on 64 bit OSes.

Carlo

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

Created an attachment (id=280909)
Bad exported (!) 64 bit OOo A-1 pdf

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

Created an attachment (id=280910)
Well exported (!) 64 bit OOo A-1 pdf

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

Created an attachment (id=280912)
Well exported (!) 64 bit OOo normal (!) pdf

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

Created an attachment (id=280913)
Well exported (!) 32 bit OOo normal (!) pdf

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

Created an attachment (id=280916)
My OOo about window, with release and build versions

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

Created an attachment (id=280918)
Export of the issue original file (64 bit OOo, bad)

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

Created an attachment (id=280919)
Export of the issue's original file (32 bit OOo, good)

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

Now, some words...! ;-)

I have installed an updated OpenSuSE 11.1 32 bit system (P4, 1 Gbyte RAM).

I have make the export of the original issue file with both the 32 bit and 64 bit systems (Novell-OOo are identical source versions as stated on the single attached png file of the about window).

I have also exported my original odt file (with many object, calc tables, inside like original post file) in the 32 bit OOo.

In both cases, only 64 bit pdf export fails (hebrew fonts)!
-----------------------------------------------------------

I have attached both the pdf files (only those exported from the original issue file).

I also have attached a new odt simple text file and the four pdf (normal and A-1) exported from both platform (32 and 64 bit).

Only 64 bit pdf A-1 export fails!
---------------------------------

Are these issues originating from the same bug?

Hope that help.

Carlo

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

I close need info status.

Changed in openoffice:
status: Incomplete → Confirmed
Revision history for this message
mahfiaz (mahfiaz) wrote : Re: [ooo-build] OpenOffice exports PDF with arabic numerals instead of regular numbers

I add to Scott Thatcher, that I have the same situation (64bit, jaunty). Playing with PDF/X-a1 settings just changes where the wrong characters show up, whether on embedded calc sheet, native formulas or in tables. Sometimes part of the formula has numbers and the other part has these wrong characters (some non-arabic numbers as seen in test.pdf).

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

Hi Everyone!

We are going to solve this issue... :-)

I just perform some new tests with my documents and the official issue test .odt too.

I have just updated my OOo to version 3.1.0.2 from here:
http://download.opensuse.org/repositories/OpenOffice.org:/UNSTABLE/openSUSE_11.1/

My notebook is an updated OpenSuSE 11.1 x86-64 installation (Intel Centrino dual core 3 MByte cache, EM64T capable, 4 GByte RAM... an Acer Aspire 8920G). I opened my test document and the issue's official one and exported them to both pdf and pdf/A-1a.

My test viewers are:

- 32 bit Adobe Acrobat Reader 9.1.1 italian on 64 bit Windows Vista HP 64 bit italian;
- 64 bit evince 2.26.1 on gnome 2.27.x on OpenSuSE 11.1;
- 64 bit okular 0.8.3 on KDE 4.2.3 release 120 on OpenSuSE 11.1.

Both "pdf only" exports are now correct (yeah! ;-) ) on my 64 bit pc and correctly opens on each of the three test viewers.

Both "pdf/A-1a" exports open on linux viewers but maintain some Hebrew font characters while Acrobat Reader still complains about invalid color space and keep the his windows empty (after closing his error/warning message dialogs, some subsequent ones).

Now I post the two exported pdf versions of the issue test file.

Hope this help,

Carlo

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

Created an attachment (id=293691)
 Export of the issue's original file (64 bit OOo, pdf only, good)

I set obsolete three of my old attachments.

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

Created an attachment (id=293692)
Export of the issue's original file (64 bit OOo 3.1.0.2, pdf/A-1a, bad)

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

A final little consideration.

Are the two ("pdf only" and "pdf/A-1a") pdf export software "modules" sharing too few (!) coding lines so that a bug fixing in the first one doesn't fix the second one for the "same" behaviour part?

Are the two software "modules" better re-engineered together in a new one?! It seems to remember that an Italian coder develop the second one so I feel me particularly close to my fellow-citizen work.

Hope to give us interesting ideas! ;-)

Carlo

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

Hi Everyone!

I have just updated my OOo to version *3.1.0.4* from here:
http://download.opensuse.org/repositories/OpenOffice.org:/UNSTABLE/openSUSE_11.1/

I just perform some new tests with my documents and the official issue test
.odt too.

I have got the same results of my previous post (that for 3.1.0.2: pdf only perfect on all three test viewer and pdf/A-1a bad that opens only on evince and Okular) with some little differences:

- with my personal test document I got an embedded calc table object (in the fourth page and as first export error from the first page besides I have 5 or calc table object before this one) with all digits in numbers as an empty character (the classical empty square that stay for undefined char). None Hebrew font char appear. Furthermore, as already experienced in the past, if I export only the fourth page the table is perfecly exported... En error drift or similar trouble?

- the issue test document exports are bad in different area with respect to the same 3.1.0.2 ones. I attach them to this issue just now.

Hope that help.

Carlo

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

Created an attachment (id=294062)
Export of the issue's original file (64 bit OOo 3.1.0.4, pdf only, good)

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

Created an attachment (id=294063)
Export of the issue's original file (64 bit OOo 3.1.0.4, pdf/A-1a, bad)

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

No different behaviours with new 3.1.0.5 x86-64 release on

http://download.opensuse.org/repositories/OpenOffice.org:/UNSTABLE/openSUSE_11.1/

Exported pdf are similar to 3.1.0.4 ones.
I change status to Assigned and version to OpenOffice.org 3.1 with the hope to obtain more interest, attention to this problem.

May Gentoo people, being experienced to parameterize code and compilation on many (!) different platforms, help us a lot?!!!

Carlo

Changed in openoffice:
status: Confirmed → In Progress
Revision history for this message
Florian Hopfmüller (fhopfmueller) wrote : Re: [ooo-build] OpenOffice exports PDF with arabic numerals instead of regular numbers

I can confirm this bug with gentoo linux and the app-office/openoffice package.
As a workaround I suggest printing the document to a .ps file via the print menu, and using ps2pdf to convert it to a pdf. That worked for me.

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

Yesterday I updated to 3.1.0.98.1 OOo build from this repo:
http://download.opensuse.org/repositories/OpenOffice.org:/UNSTABLE/openSUSE_11.1/

I test it again both with this issue's test document and my one (a writer document with less than 10 calc table inserted inside it that seems to issue one in the mean of a writer document with some object inserted).

In both cases I got (on my x84-64 platform):

- pdf only exports are bad (some hebrew font charaters instead of arabic ones), but read both on linux (Okular Version 0.8.80 on KDE 4.2.90, GhostView 1.5, my evince 2.27.1 since a month ago refuse to read pdf at all, "PDF Document (application/pdf) not supported"...) and on Windows Vista Home Premium 64 bit on Abobe Acrobat Reader 9.1.2 (32 bit);

- pdf/A-1a exports are fine (!), but read only on linux (Okular Version 0.8.80 on KDE 4.2.90); on Windows Vista Home Premium 64 bit on Abobe Acrobat Reader 9.1.2 (32 bit) I get the usual message that complains about an invalid color space.

During lasts releases I get the best result on x86-64 platform respectively for:

- pdf only exports from release 3.1.0.4 *appear to be perfect* and they read well on all test viewers and platforms (linux and Windows);

- pdf/A-1a exports from release 3.1.0.98.1 *appear to be perfect* and they read well only on linux test viewers and platforms (linux and Windows); on Windows Vista Home Premium 64 bit on Abobe Acrobat Reader 9.1.2 (32 bit) I get the usual message that complains about an invalid color space.

After this post will follow last two updated exports (pdf only and pdf/A-1a).

Hope that help,

Carlo

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

Created an attachment (id=298923)
Export of the issue's original file (64 bit OOo 3.1.0.98.1, pdf/A-1a, appear perfect but invalid color space on Acrobat on Windows)

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

Created an attachment (id=298924)
Export of the issue's original file (64 bit OOo 3.1.0.98.1, pdf only, bad)

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

3.1.0.5 and 3.1.0.6 exports (never submitted, but stored on my pc so that you can ask for them if needed) have been always worse and never appear perfect.

Carlo

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

3.1.0.99.1 exports (pdf/A-1a and normal pdf) seem to be perfect (no more Hebrew chars!) and open in Evince (2.27.4) (updated OpenSuSE 11.1, x86-64, 2.6.29.6).

So it happens in Windows, but only NON pdf/A-1a version opens while the pdf/A-1a export still raise the message "Invalid color space" in Acrobat Reader 9.1.2 (win32 version).

I will next attach the exported pdf files.

We are going to close this issue... ;-)

Carlo

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

Created an attachment (id=307758)
Export of the issue's original file (64 bit OOo 3.1.0.99.1, pdf only, appear perfect)

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

Created an attachment (id=307759)
Export of the issue's original file (64 bit OOo 3.1.0.99.1, pdf/A-1a, appear perfect in linux but invalid color space on Acrobat on Windows)

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

About "Invalid color space" on 64 bit platform export there already is an opened issue 467181 (https://bugzilla.novell.com/show_bug.cgi?id=467181).

So that, in my opinion, this issue could be closed! After some other tests, perhaps. My other own documents whose exports previous broken, now are fine but in the pdf/A-1a version still yield the "Invalid color space" message.

So that we can only go on in the associated issue (467181).

Revision history for this message
In , Kendy (kendy) wrote :

Carlo: Thank you a lot for your testing! Unfortunately I am not sure what exactly caused that the issue is fixed now :-( Petr, do you have an idea, please? Did you see a commit that could be related to this?

Revision history for this message
In , Pmladek (pmladek) wrote :

I am not aware about any related fix on ooo-build. I wonder if it might be related to an upstream fix.

For example, http://www.openoffice.org/issues/show_bug.cgi?id=102378 fixes a recent regression in the PDF export code. It seems that the code handling fonts is also shared with the printing functionality, ...

Revision history for this message
Antonio J. de Oliveira (ajoliveira) wrote : Re: [ooo-build] OpenOffice exports PDF with arabic numerals instead of regular numbers

2.6.28-14-generic #46-Ubuntu 64-bit
I can correct the file by editing calc tables changing some bit, mostly after 1 or 2 edits the problem is gone, but it is nagging. It ofte happens when the document is previously edited by oo windows version...

Revision history for this message
In , RGB (ricardo-berlasso) wrote :

I have the same problem: OOo 3.1, Novell build from the "ooo stable" repo change some number to another alphabet. Same file, same system but with Sun build work without problems.
I'm using a 64 bits system with openSUSE 11.1

Revision history for this message
tedus (david-jp-ramsay) wrote : Re: [ooo-build] OpenOffice exports PDF with arabic numerals instead of regular numbers

Having the same problem.

English document containing MANY formula and for each export to PDF from ooo im random getting Arabic numerals in place of english digits.
None of the above fix's help.
Print to .ps is fine but then cups-pdf is only printing the first page for me. If anyone can suggest a work around...
If i reinstall ooo not from rep would that help.

ubuntu 9.04 64bit
ooo 3.01

Revision history for this message
Chris Cheney (ccheney) wrote :

Do you still have this issue with the new version in Ubuntu 9.04 with the ppa at https://launchpad.net/~openoffice-pkgs/+archive/ppa or Ubuntu Karmic?

Revision history for this message
tedus (david-jp-ramsay) wrote :

Just finished install ooo updates and yeah problem is still there.

Seems to be less frequent though and im getting what looks like numerals from another language now.

My work "around" has been to print to file in ooo .ps then open that with the standard viewer (eye of gnome or whatever) then print to file again but this time you get the option to print to file as pdf instead of .ps

cheers

Revision history for this message
Achim (ach1m) wrote :

Jaunty [NOT WORKING]

Linux ubuntu 2.6.31-9-generic #29-Ubuntu SMP Sun Aug 30 17:39:26 UTC 2009 x86_64 GNU/Linux

openoffice.org:
  Installiert: 1:3.1.1-1ubuntu1~jaunty1
  Kandidat: 1:3.1.1-1ubuntu1~jaunty1
  Versions-Tabelle:
 *** 1:3.1.1-1ubuntu1~jaunty1 0
        500 http://ppa.launchpad.net jaunty/main Packages
        100 /var/lib/dpkg/status
     1:3.0.1-9ubuntu3 0
        500 ftp://192.168.0.100 jaunty/main Packages

Karmic Alpha5 [NOT WORKING]

Linux ubuntu 2.6.31-9-generic #29-Ubuntu SMP Sun Aug 30 17:39:26 UTC 2009 x86_64 GNU/Linux

openoffice.org:
  Installiert: (keine)
  Kandidat: 1:3.1.1-1ubuntu1
  Versions-Tabelle:
     1:3.1.1-1ubuntu1 0
        500 http://archive.ubuntu.com karmic/main Packages

Karmic Daily [SEEMS TO WORK]

Linux achim-laptop 2.6.31-10-generic #31-Ubuntu SMP Thu Sep 10 14:14:28 UTC 2009 i686 GNU/Linux

openoffice.org:
  Installiert: (keine)
  Kandidat: 1:3.1.1-1ubuntu2
  Versions-Tabelle:
     1:3.1.1-1ubuntu2 0
        500 http://de.archive.ubuntu.com karmic/main Packages

As it seems this problem is still present but only on x86_64 platform. I wasn't able to reproduce this problem on my x86 system. The package version of the x86 system is not the same as of the x86_64 system, so I am not 100% if it is a x86_64 problem.

Regards
Achim

Revision history for this message
Antonio J. de Oliveira (ajoliveira) wrote :

Installed the ppa and haven't seen the bug since then on 64-bit Jaunty.

Revision history for this message
chemwords (martinus-werts) wrote :

I have the same type of problem on Ubuntu 9.04 (64-bit) with the Ubuntu OpenOffice (3.0.1). Upon PDF export, some numeric characters in Math equations are replaced, especially in sub and superscripts.

Using a colleague's OpenOffice 3.1.0 on Windows XP, no PDF export problem was encountered and the math looks normal. For now, I will use this method to generate PDF, while waiting that hopefully the problem will be solved in Ubuntu OpenOffice 3.1.1 which appears to be included in the upcoming Ubuntu 9.10.

While looking for a solution to the problem, I had the impression that it is mostly 64-bit Linux users who encounter this problem.

See also:
http://qa.openoffice.org/issues/show_bug.cgi?id=87669

Revision history for this message
Antonio J. de Oliveira (ajoliveira) wrote :

I am running 64-bit Jaunty, installed the ppa as described above (OO3.1 for Linux) and the problem vanished.

Revision history for this message
Achim (ach1m) wrote : Re: [Bug 244353] Re: [ooo-build] OpenOffice exports PDF with arabic numerals instead of regular numbers

> I am running 64-bit Jaunty, installed the ppa as described above (OO3.1
> for Linux) and the problem vanished.

That is not entirely true, with complex documents the problem is still
present.

Take a look at comment #22

Regards
Achim

Revision history for this message
Antonio J. de Oliveira (ajoliveira) wrote : Re: [ooo-build] OpenOffice exports PDF with arabic numerals instead of regular numbers

Achim, I suggest that we exchange one or 2 documents with proven problems, going to try out one on my 32-bit system without ppa, it was the same a few days ago...I will get back to you, not today, I am crowded with work...
Cheers/Antonio

Revision history for this message
Achim (ach1m) wrote : Re: [Bug 244353] Re: [ooo-build] OpenOffice exports PDF with arabic numerals instead of regular numbers
  • Test2.pdf Edit (39.0 KiB, application/pdf; name="Test2.pdf")
  • Test2.odt Edit (74.9 KiB, application/vnd.oasis.opendocument.text; name="Test2.odt")

Oliveira:
> Achim, I suggest that we exchange one or 2 documents with proven problems, going to try out one on my 32-bit system without ppa, it was the same a few days ago...I will get back to you, not today, I am crowded with work...
> Cheers/Antonio

Okay, so I have a new (simple) Test Dokument. As you can see the
PDF-File has still strange characters.

I think if you embed a spreadsheet the result can be even worse, as you
can see in comment #22.

openoffice.org:
  Installiert: 1:3.1.1-1ubuntu1~jaunty1
  Kandidat: 1:3.1.1-1ubuntu1~jaunty1
  Versions-Tabelle:
 *** 1:3.1.1-1ubuntu1~jaunty1 0
        500 http://ppa.launchpad.net jaunty/main Packages
        100 /var/lib/dpkg/status
     1:3.0.1-9ubuntu3 0
        500 ftp://192.168.0.100 jaunty/main Packages

$ uname -m
x86_64

Regards
Achim

Revision history for this message
jackocleebrown (jack-ocleebrown) wrote : Re: [ooo-build] OpenOffice exports PDF with arabic numerals instead of regular numbers

Achim,

Just tested your document on karmic alpha 6 with the current official karmic OO.org package which is 1:3.1.1-2ubuntu1 (karmic)
I am on 64bit.

Firstly let me just be clear that if I download test.odt and export as pdf I get erroneous characters (please see attached file "testexport.pdf").

However because I have been messing around with mozplugger, the first time I tried it opened test.odt readonly and I had a perfect export of the pdf. This seems to be repeatable - if I change the permissions so that I do not have write permission before I open test.odt in OO I can export the pdf perfectly (see attached file "testexport_ro.pdf").

Please can you see if this happens for you too. Perhaps it was a fluke.

uname -a:
2.6.31-10-generic #35-Ubuntu SMP Tue Sep 22 17:33:14 UTC 2009 x86_64 GNU/Linux

Revision history for this message
jackocleebrown (jack-ocleebrown) wrote :

second attachment.

Revision history for this message
Achim (ach1m) wrote :

I am not able to reproduce, what you have seen. If I open the file with read only permission I still get wrong characters.

The interesting part is, that the document from you, that you opened with read only permission is smaller in size.

36,1 KiB vs. 39.5KiB

I also noticed that there are less fonts embeded in the smaller document.

Regards
Achim

Revision history for this message
Antonio J. de Oliveira (ajoliveira) wrote :

Hi

This was what I got on 64-bit, you were right, it still does the trick...

Revision history for this message
Antonio J. de Oliveira (ajoliveira) wrote :
  • trash.odt Edit (21.0 KiB, application/vnd.oasis.opendocument.text)

try this one...it exports cleanly here...

Revision history for this message
Achim (ach1m) wrote : Re: [Bug 244353] Re: [ooo-build] OpenOffice exports PDF with arabic numerals instead of regular numbers

Oliveira:

> try this one...it exports cleanly here...
>
> ** Attachment added: "trash.odt"

That file works, but isn't a good test case, there is too less
information on the page.

If I have documents with 10+ pages the chance is very high that there
are wrong characters.

Regards
Achim

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

It seems that the problem has been finally fixed in the vanilla trunk:
http://www.openoffice.org/issues/show_bug.cgi?id=106523

Someone may check if all the problems discussed in the current issue are fixed by the reported vanilla one?

Have a nice day,

Carlo

Revision history for this message
In , RGB (ricardo-berlasso) wrote :

@ Carlo Strata: I think the linked report is for another issue (problems with color space in exported pdf). This report is about characters being wrongly replaced on pdf export, and only affect Novell build.

Revision history for this message
In , Carlo-strata (carlo-strata) wrote :

But are you truly sure that the reported vanilla fix (C type related) doesn't fix this issue too??? This was and is my hypothesis but I can't check it at the moment.

And you, could you check it?

Revision history for this message
In , RGB (ricardo-berlasso) wrote :

As I said before, vanilla OOo do not show the problem. Only way to test if this fix the problem is to have a Novell build based on that vanilla build, and I don't have access to it now. Correct me if I'm wrong, but I think the "unstable" OOo branch for Novell build is based on OOO320_mX (X = 4 now) while the linked issue is solved for OOo 3.3, that is OOO300_mY with Y > 60

Revision history for this message
NoOp (glgxg) wrote : Re: [ooo-build] OpenOffice exports PDF with arabic numerals instead of regular numbers

I exported to pdf the
test2.odt listed in
<https://bugs.launchpad.net/openoffice/+bug/244353/comments/28>
in (U)OOo 3.1:
$ cat /usr/lib/openoffice/program/versionrc
[Version]
AllLanguages=en-US
BuildVersion=openoffice.org-core 1:3.1.1-5ubuntu1, Thu Oct 22 20:13:41
UTC 2009
buildid=310m19(Build:9420)
ExtensionUpdateURL=http://updateext.services.openoffice.org/ProductUpdateService/check.Update
OOOBaseVersion=3.1
ProductBuildid=9420
ProductMajor=310
ProductMinor=19
ProductSource=OOO310
UpdateID=OpenOffice.org_3_en-US
UpdateURL=
UpdateUserAgent=<PRODUCT> (${buildid}; ${_OS}; ${_ARCH};
BundledLanguages=${AllLanguages})
Vendor=Debian and Ubuntu

and got garbage fonts in the output. See: Test2UOOo.pdf

I then opened the doc
in standard OOo 3.1:
$ cat /opt/openoffice.org3/program/versionrc
[Version]
AllLanguages=en-US
buildid=310m19(Build:9420)
ExtensionUpdateURL=http://updateext.services.openoffice.org/ProductUpdateService/check.Update
OOOBaseVersion=3.1
ProductBuildid=9420
ProductMajor=310
ProductMinor=19
ProductSource=OOO310
UpdateID=OpenOffice.org_3_en-US
UpdateURL=http://update32.services.openoffice.org/ProductUpdateService/check.Update?pkgfmt=deb
UpdateUserAgent=<PRODUCT> (${buildid}; ${_OS}; ${_ARCH};
BundledLanguages=${AllLanguages})

and the export was also wrong, see: Test2standardOOo.pdf

But then tested from standard OOo (s)OOo again and the export was fine, see: Test2standardOOo2.pdf

I've since tried to reproduce in (U)OOo and (s)OOo and have not been able to do so. I notice in the Test2UOOo.pdf and Test2standardOOo.pdf files that DejaVuSeriff-italic font is included. The pdf files without issue do not include these. So perhaps it's a DejaVu font issue?

Also note that printing to a cups-pdf printer and/or to a ps file produces a correct pdf. But given that the bug is not reliably reproducable this should only be taken as a "maybe"?

Revision history for this message
NoOp (glgxg) wrote :
Revision history for this message
NoOp (glgxg) wrote :
Revision history for this message
AFarris01 (afarris01) wrote :

First off: I'm using Ubuntu's OpenOffice, installed from repositories, fully up to date... I experience the same issue as many others here have reported with embedded OpenOffice.org Math formulas, but I don't appear to have any issues with embedded tables. The problem seems to be completely random, as I tried exporting the same document several times in a row, both with the 'Export Directly as PDF' button on the toolbar, and the 'File > Export as PDF' menu option... both methods produce errors, though the latter seems to produce far fewer errors when selecting the "PDF/A-1a" option (which turns off the default option of 'Create PDF Form, of type FDF').

When I try exporting the odt file listed in comment #1, the file exports normally, and as I would have expected it to. However, when exporting the test document in comment #28, it produces erroneous characters, though not very many (see attachment: Test2.pdf).

andrew@BEC-LIN:~$ cat /usr/lib/openoffice/program/versionrc
[Version]
AllLanguages=en-US
BuildVersion=openoffice.org-core 1:3.1.1-5ubuntu1, Thu Oct 22 20:13:41 UTC 2009
buildid=310m19(Build:9420)
ExtensionUpdateURL=http://updateext.services.openoffice.org/ProductUpdateService/check.Update
OOOBaseVersion=3.1
ProductBuildid=9420
ProductMajor=310
ProductMinor=19
ProductSource=OOO310
UpdateID=OpenOffice.org_3_en-US
UpdateURL=
UpdateUserAgent=<PRODUCT> (${buildid}; ${_OS}; ${_ARCH}; BundledLanguages=${AllLanguages})
Vendor=Debian and Ubuntu

Revision history for this message
AFarris01 (afarris01) wrote :

The error seems to happen more often in very long documents, so as an example, I'm uploading a copy of a lab report I wrote this past semester, which includes embedded tables, pictures, and formula boxes. When exporting on either of my computers, random numbers from different formula boxes get messed up, and the location and severity seem to vary randomly as well. The pdf's that im attaching of that report were all made within a few moments of each-other, using the "Export to PDF" button on the toolbar.

Revision history for this message
AFarris01 (afarris01) wrote :
Revision history for this message
AFarris01 (afarris01) wrote :

Note how, on the previous PDF export, the bulk of errors are on page 6 of the report, yet on the second export, which is attached, (exported less than 30 seconds later) the errors are on pages 3 and 8

Revision history for this message
jackocleebrown (jack-ocleebrown) wrote :

@AFarris01

I have experienced this problem persistently for around a year now on various versions of OO but I have not seen it the last few times that I have exported pdfs.

It looks like we have exactly the same package installed for OO (on ubuntu 9.10 I presume)

jacko@mpc540:~$ cat /usr/lib/openoffice/program/versionrc
[Version]
AllLanguages=en-US
BuildVersion=openoffice.org-core 1:3.1.1-5ubuntu1, Thu Oct 22 20:13:41 UTC 2009
buildid=310m19(Build:9420)
ExtensionUpdateURL=http://updateext.services.openoffice.org/ProductUpdateService/check.Update
OOOBaseVersion=3.1
ProductBuildid=9420
ProductMajor=310
ProductMinor=19
ProductSource=OOO310
UpdateID=OpenOffice.org_3_en-US
UpdateURL=
UpdateUserAgent=<PRODUCT> (${buildid}; ${_OS}; ${_ARCH}; BundledLanguages=${AllLanguages})
Vendor=Debian and Ubuntu
jacko@mpc540:~$

I have downloaded your odt and exported and it looks fine to me (see attached) can you spot any errors?? I exported three times and it was fine on all occasions (I too have seen the errors moving around the document)

I am racking my brain to work out if I have changed my config but I cannot think of anything significant.

Revision history for this message
jackocleebrown (jack-ocleebrown) wrote :

Just noticed that the file size of my pdf was much bigger than yours so I checked my pdf export options (attached).
When I choose "JPEG compression" or "Reduce Image Quality" I get formula errors in the pdf - although they do not look the same as yours, rather than Arabic characters I get a rectangle character appearing in numerous places.

Try replicating my settings and seeing if you still have the same problem.

Revision history for this message
AFarris01 (afarris01) wrote :

@jackocleebrown

You're correct, I'm on ubuntu 9.10. Also, I checked the file...didn't see any errors! very odd indeed... I don't think it's a config issue, because I'm getting the same results on a fresh install of ubuntu on my laptop, as well as a long-standing upgraded one on my desktop.

What are your settings under 'File > Export as PDF"? It seems, to me anyway, that with the "PDF/A-1a" option selected, I get far fewer errors on the output documents than the defualt, which is 'Create PDF Form: FDF'

Revision history for this message
jackocleebrown (jack-ocleebrown) wrote :

@AFarris01

Replied above (#43) with the settings I used.

Revision history for this message
NoOp (glgxg) wrote :

This issue is not just an (U)OOo or Novell/go-oo issue. Please see standard OOo upstream bug:
http://www.openoffice.org/issues/show_bug.cgi?id=105912
[Formula symbols export weirdly to PDF when several objects in document]

I tested w/standard OOo & attached a copy of my PDF to the report.

That bug is left as an open issue from:
http://www.openoffice.org/issues/show_bug.cgi?id=107358
[Issue 107358 blocks: 87669 99999 100007 101715 105912 87669,99999,100007,101715,105912]

Revision history for this message
AFarris01 (afarris01) wrote :

@jackocleebrown

that was weird... the last reply I saw from you was your long one... our replies must have crossed paths.

About the settings:
My "Export to PDF" defaulted to using the "JPEG Compression", and a quality of 90%. I tried a variety of combinations on the quality and format settings that seem to have been affecting it to see the different results, and here's what I came up with:

90% JPEG compression, FDF style PDF -- Significant Errors
90% JPEG compression, A-1a style PDF -- Minor Errors/No Errors (varies)
90% JPEG compression, FDF style PDF, clicking 'lossless' then back to 90% -- No Errors/Minor Errors (varies)
90% JPEG compression, A-1a style PDF, clicking 'lossless' then back to 90% -- No Errors/Significant Errors (varies)
80% JPEG compression, FDF style PDF -- Significant Errors
80% JPEG compression, A-1a style PDF -- Significant Errors ** This one generated corrupted tables. I had never seen this before this test.
50% JPEG compression, FDF style PDF -- Minor Errors
50% JPEG compression, A-1a style PDF -- Minor Errors/No errors (varies)
10% JPEG compression, FDF style PDF -- Significant Errors
10% JPEG compression, A-1a style PDF -- Minor Errors
Lossless compression, FDF style PDF -- Minor Errors
Lossless compression, A-1a style PDF -- Significant Errors

I've attached all my test exports for others to view... All were made using my report document, as it was uploaded earlier.

Revision history for this message
NoOp (glgxg) wrote :

I've added some updated testing results on upstream http://www.openoffice.org/issues/show_bug.cgi?id=105912. Tested/testing on OOo 3.2RC1 (OOO320_m8). So far I've not been able to produce a corrupted PDF using that version on linux, WinXP, or Win2K.

Revision history for this message
In , RGB (ricardo-berlasso) wrote :

It seems the problem is fixed with OOo 3.2 from "stable" repo. At least, I cannot reproduce it with same documents that gave problems on previous versions.

Revision history for this message
In , Pmladek (pmladek) wrote :

Thanks a lot for the feedback. I am closing this bug as fixed according to the comment #42.

Revision history for this message
In , Pmladek (pmladek) wrote :

.

Revision history for this message
Dr D J Clark (djc-online) wrote : Re: [ooo-build] OpenOffice exports PDF with arabic numerals instead of regular numbers

Econtered this today. The document was originally a word file (.doc) Added some rows and colums from another open OO spreadsheet and then tried to export as PDF. Numbers but not text in the spreadsheet objects appeared in wrong (appears to be hebrew) font. Tried various fonts, saved doc as ODT rather than DOC, tried again, and again etc. Sometimes the problem seemed fixed with a change of font if saving closing and reopening the file before exporting. The problem appears random in than some times a save or change of font appears to fix the problem only to findanother table has reverted to the erroneous font in the pdf.

Revision history for this message
Dr D J Clark (djc-online) wrote :

This seems to affect the 64bit version
3.0.1 OOO300m15 (build:9379)
openoffice.org-core 1.3.0.1-9ubuntu3.2 Fri Feb 19 23:33:57 UTC 2010

but not the 32 bit
OpenOffice.org 3.1.1
OOO310m19 (build:9420)
openoffice.org-core 1:3.1.1-5ubuntu1.1 Fri Feb 19 23:52:09 UTC 2010

as transfering the .odt file to another machine and creating the pdf with the latter version was ok.

<rant>
I hate OpenOffice, every stupid misfeature in MS Office doggedly imitated and then some more of their own. If I didn't need to use it for all the stupid .doc and .ppt file idiots send me I would never touch it. What's wrong with plain text.

Chris Cheney (ccheney)
tags: added: hardy
Changed in openoffice:
importance: Unknown → Medium
status: In Progress → Fix Released
Revision history for this message
penalvch (penalvch) wrote :

Noam Lewis, this issue is unreproducible using LibreOffice Writer via the Terminal:

cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/244353/+attachment/313739/+files/test.odt && unoconv --listener && unoconv -f pdf test.odt

wait a few seconds then type:

acroread test.odt

looks as it does in Writer. Does this work for you?

lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.3.2-1ubuntu5
  Candidate: 1:3.3.2-1ubuntu5
  Version table:
 *** 1:3.3.2-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
        500 http://us.archive.ubuntu.com/ubuntu/ natty-proposed/main i386 Packages
        100 /var/lib/dpkg/status
     1:3.3.2-1ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

apt-cache policy unoconv
unoconv:
  Installed: 0.3-6
  Candidate: 0.3-6
  Version table:
 *** 0.3-6 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/universe i386 Packages
        100 /var/lib/dpkg/status

apt-cache policy acroread
acroread:
  Installed: 9.4.2-0natty1
  Candidate: 9.4.2-0natty1
  Version table:
 *** 9.4.2-0natty1 0
        500 http://archive.canonical.com/ubuntu/ natty/partner i386 Packages
        100 /var/lib/dpkg/status

Changed in libreoffice (Ubuntu):
status: New → Incomplete
penalvch (penalvch)
Changed in openoffice.org (Ubuntu):
importance: Medium → Low
Changed in openoffice.org (Ubuntu):
status: Triaged → Won't Fix
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote : migrating packaging from OpenOffice.org to Libreoffice

[This is an automated message.]
There are no new official OpenOffice.org releases in Ubuntu packaging anymore => Won't Fix

If the problem persists, please mark this bug as "also affects project Libreoffice" or "also affects distribution Libreoffice (Ubuntu)" if that has not happened already.

Please leave references to upstream OpenOffice.org bugs in place to allow cross pollination.

penalvch (penalvch)
summary: - [ooo-build] OpenOffice exports PDF with arabic numerals instead of
- regular numbers
+ PDF exports with arabic numerals instead of regular numbers
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

closing as invalid (expired) because of missing reply

Changed in libreoffice (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.