Apache OpenOffice (AOO) Bugzilla – Issue 67384
The same OpenOffice writer document looks different on different installations
Last modified: 2006-08-04 22:33:13 UTC
Documents created with OpenOffice writer on one application server appear different on another one. The font sizes appear slightly larger, even though they are both the same font and point size, and so the document layout is changed. Documents that were normally one page, now spill over to a second page. The actual font sizes in the document have not changed, and the document has not been altered at all. We recently upgraded an application server running OpenOffice 2.0.2 on Gentoo, and switched from XFree86 4.3.0.1 to Xorg 6.8.2. The font sizes seem slightly different in OpenOffice, and this has affected the layout of the documents. We suspect this issue is related to the font server, or different installed fonts. Even so, why would OpenOffice documents appear different? Why is OpenOffice not immune to such changes? I will provide any additional details required, or clarifications. Thanks. Adrien Guillon
Reassigned to ES.
screenshots of the problem and a sample document with PDFs generated from both computers is one step to track down the problem...
Created attachment 38270 [details] PDF output of document on server number 1
Created attachment 38271 [details] Screen Shot of OO on Server 1
Created attachment 38272 [details] PDF output of document on server number 2
Created attachment 38273 [details] Screen Shot of OO on Server 2
I have attached PDF output and screenshots from the two servers as requested. The problem is reproducible by entering text in Time New Roman, with text which is just at the edge of the end of the screen. Then open the same document in OpenOffice on a different machine, and the layout will changed. AJ
Well, opening both PDF, acroread tells me: - Used font for PDF1: "TimesNewRomanPSMT" - Used font for PDF2: "Times-Roman" ... which means you don't have the same font on server 2 than on server 1 and there is a fallback on the next similar font. Similar but not the same and in this case with different metrics... OOo anyway will always display in the font listbox the font name used to format the document even if this font does not exit on both systems anymore. @cloph: what do you think?
Okay, I can accept that answer and perhaps repair the existing files knowing this. However, OpenOffice should at least tell me this problem exists, or guarantee a number of fonts to be present across all OpenOffice installations. Perhaps the font can be embedded into the document if it is not a standard font? What happens when I send an MS-Word doc to somebody else? Are these font issues going to exist? We store everything in Oasis Document Format, however we conduct correspondence with our customers using MS-Word. My primary concern is presentation to the outside world, if they do not have the same fonts. AJ
You can never guarantee that everybody has the same fonts installed. OOo ships the Bitstream Vera-Fonts only, but you can install Microsofts Corefonts using File|Wizards → Install Fonts from the internet or get them from http://corefonts.sourceforge.net directly That should give you the most basic fonts that everybody should have/can install. In your case it is clear that two fonts are used (one time it is a Type1 font, the other time a TTF font). Regarding OOo should tell when it uses a fallback, there is already issue 23402 (I'll mark this one duplicate of it) OOo can not embed fonts into editable documents (neither odt nor doc). Even if it would support embedding of the font in its own format, it probably will never be able to embed it in the way word does it (since Word uses a technology licencesed from (and maybe patented by) Agfa) (see also issue 20370) So the solution for you would be to install the corefonts and only use those if you need to pass the documents in enditable format. *** This issue has been marked as a duplicate of 23402 ***
closing issue.