Issue 67384

Summary: The same OpenOffice writer document looks different on different installations
Product: Writer Reporter: guila <guila>
Component: formattingAssignee: eric.savary
Status: CLOSED DUPLICATE QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 2.0.2Keywords: oooqa
Target Milestone: ---   
Hardware: All   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
PDF output of document on server number 1
none
Screen Shot of OO on Server 1
none
PDF output of document on server number 2
none
Screen Shot of OO on Server 2 none

Description guila 2006-07-14 20:50:55 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
Comment 1 michael.ruess 2006-07-17 11:06:21 UTC
Reassigned to ES.
Comment 2 lohmaier 2006-07-25 00:40:06 UTC
screenshots of the problem and a sample document with PDFs generated from both
computers is one step to track down the problem...
Comment 3 guila 2006-08-04 17:52:19 UTC
Created attachment 38270 [details]
PDF output of document on server number 1
Comment 4 guila 2006-08-04 17:52:55 UTC
Created attachment 38271 [details]
Screen Shot of OO on Server 1
Comment 5 guila 2006-08-04 17:53:16 UTC
Created attachment 38272 [details]
PDF output of document on server number 2
Comment 6 guila 2006-08-04 17:53:43 UTC
Created attachment 38273 [details]
Screen Shot of OO on Server 2
Comment 7 guila 2006-08-04 17:55:10 UTC
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
Comment 8 eric.savary 2006-08-04 18:10:43 UTC
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?
Comment 9 guila 2006-08-04 19:39:33 UTC
   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
Comment 10 lohmaier 2006-08-04 22:31:22 UTC
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 ***
Comment 11 lohmaier 2006-08-04 22:33:13 UTC
closing issue.