Issue 90663 - different view of document between Windows and Linux
Summary: different view of document between Windows and Linux
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: OOo 2.4.1
Hardware: Unknown Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-12 14:25 UTC by ankemueller
Modified: 2017-05-20 11:33 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
document with any text in times (13.83 KB, application/vnd.oasis.opendocument.text)
2008-06-12 14:26 UTC, ankemueller
no flags Details
our freetype library on the system (474.90 KB, text/plain)
2008-06-12 14:29 UTC, ankemueller
no flags Details
pdf under redhat without setting SAL_DISABLE... to 1 (151.01 KB, application/pdf)
2008-06-12 14:30 UTC, ankemueller
no flags Details
pdf under Redhat with setting SAL_DISABLE_FC_SUBST to 1 (32.17 KB, application/pdf)
2008-06-12 14:31 UTC, ankemueller
no flags Details
pdf of the windows version (45.90 KB, application/pdf)
2008-06-12 14:32 UTC, ankemueller
no flags Details
Contract in Arial (44.90 KB, application/vnd.oasis.opendocument.text)
2008-07-11 15:18 UTC, ankemueller
no flags Details
Contract in Times (42.43 KB, application/vnd.oasis.opendocument.text)
2008-07-11 15:19 UTC, ankemueller
no flags Details
Contract in Arial pdf generated with suse (59.54 KB, application/pdf)
2008-07-11 15:19 UTC, ankemueller
no flags Details
Contract in Arial pdf generated with windows (59.48 KB, application/pdf)
2008-07-11 15:20 UTC, ankemueller
no flags Details
Contract inTimes pdf generated with suse (88.16 KB, application/pdf)
2008-07-11 15:20 UTC, ankemueller
no flags Details
Contract inTimes pdf generated with windows (88.13 KB, application/pdf)
2008-07-11 15:21 UTC, ankemueller
no flags Details
unzipped Vertrag1_suse (119.86 KB, text/plain)
2008-07-18 13:18 UTC, hdu@apache.org
no flags Details
unzipped Vertrag1_win (119.11 KB, text/plain)
2008-07-18 13:19 UTC, hdu@apache.org
no flags Details
all files from testing for more details see the readme.txt (2.07 MB, application/x-compressed)
2008-07-22 12:06 UTC, ankemueller
no flags Details
settings.xml with right param (7.31 KB, text/xml)
2009-02-09 12:22 UTC, ankemueller
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description ankemueller 2008-06-12 14:25:39 UTC
Hi,
we have an application that shows documents in windows and linux. we've got a
report from one of our customers, that they have differencies between the
documents on both plattforms. The customer uses Times New Roman as font and the
line spacing under linux was too big. We found out that there is an env variable
SAL_DISABLE_FC_SUBST and we set it to 1. Now the document is no longer too long,
but it's too short. The Times font will be rendered about 0.2pt less than under
windows.
We got this bug through our support system with OOo 2.4, but it is still in the
current 2.4.1 version. The bug is repeatable on a redhat system and on a suse
system. We use a self compiled libfreetype library and can send this to you,
also a writer document and pdfs from the different plattforms. 
How can I submit attachments for that issue?
Thanks for your help
Anke Müller
Comment 1 ankemueller 2008-06-12 14:26:49 UTC
Created attachment 54429 [details]
document with any text in times
Comment 2 ankemueller 2008-06-12 14:29:43 UTC
Created attachment 54430 [details]
our freetype library on the system
Comment 3 ankemueller 2008-06-12 14:30:58 UTC
Created attachment 54431 [details]
pdf under redhat without setting SAL_DISABLE... to 1
Comment 4 ankemueller 2008-06-12 14:31:56 UTC
Created attachment 54432 [details]
pdf under Redhat with setting SAL_DISABLE_FC_SUBST to 1
Comment 5 ankemueller 2008-06-12 14:32:30 UTC
Created attachment 54433 [details]
pdf of the windows version
Comment 6 ankemueller 2008-07-02 14:15:52 UTC
I set Prio to 1 because, the Differenz between the documents is for our
customers a. great problem. Could I have a Feedback, if where is a fix in
another Office Version, or if you now a workaround?

Thanks for answering

Anke
Comment 7 michael.ruess 2008-07-02 15:01:54 UTC
Priority "P1" is not exactly accurate for this case. Changing Prio to P3. Please
have a look at http://www.openoffice.org/scdocs/ddIssues_EnterModify.html#priority

MRU->HDU: I cannot reproduce the problem using OO2 and 3 on SUSE. Could you
please have a look if you can see something from the attached information?
Comment 8 hdu@apache.org 2008-07-03 09:48:08 UTC
The PDFs show that the line height matches quite well, it is font height that seems to be 
the problem, right. Is this problem only visible in PDFs?
Comment 9 ankemueller 2008-07-07 13:52:37 UTC
Hello,
unfortunately I answered the email I've got from your tracking system, that's
why the answer now a little bit late.
thanks for helping us.
No - we can see the problem also in the OO-Writer. We made the pdf to see
directly printed out and hold on a light how much the difference is. But we see
the difference behaviour also in the writer-window (maybe a whole paragraph is
on another page by windows and under suse or redhat it is devided).
We have exactly the same options in "extras/options/OpenOffice.org
Writer/Kompatiblität" on all systems and we copied the windows-fonts used on the
windows-testsystem into the truetype-directory under our linux-testsystems.
I hope that help you.

Anke

Comment 10 ankemueller 2008-07-11 15:08:53 UTC
You are right. To give you further information I tested the dummy odt I send to
you with an actual OOo distribution. with times the text seems to be the same,
but in arial I see a very minimal difference. 
I' ve made a sendable version of the document, that does'nt contain confidentiel
information. In this documents you can see the differences better.
Maybe there is coherence with header and footer. But I don't know.
I send to documents and the pdf-versions from suse and windows. I hope that may
help more.

Thanks
Anke
Comment 11 ankemueller 2008-07-11 15:18:40 UTC
Created attachment 55073 [details]
Contract in Arial
Comment 12 ankemueller 2008-07-11 15:19:07 UTC
Created attachment 55074 [details]
Contract in Times
Comment 13 ankemueller 2008-07-11 15:19:53 UTC
Created attachment 55075 [details]
Contract in Arial pdf generated with suse
Comment 14 ankemueller 2008-07-11 15:20:22 UTC
Created attachment 55076 [details]
Contract in Arial pdf generated with windows
Comment 15 ankemueller 2008-07-11 15:20:53 UTC
Created attachment 55077 [details]
Contract inTimes pdf generated with suse
Comment 16 ankemueller 2008-07-11 15:21:24 UTC
Created attachment 55078 [details]
Contract inTimes pdf generated with windows
Comment 17 hdu@apache.org 2008-07-18 13:18:50 UTC
Created attachment 55206 [details]
unzipped Vertrag1_suse
Comment 18 hdu@apache.org 2008-07-18 13:19:36 UTC
Created attachment 55207 [details]
unzipped Vertrag1_win
Comment 19 hdu@apache.org 2008-07-18 14:18:09 UTC
@ankemueller: Try different versions of freetype and different options from freetype/config/ftoption.h. 
Which of these options results in the best match?
Comment 20 ankemueller 2008-07-18 14:33:12 UTC
Ok, that seems to be an goog option, 
can see under your systems the differences, too?
And if not - which options for freetyp are you using, can you send me a
ftoption.h, that you using to compile freetype?

Thanks 
Anke Müller
Comment 21 ankemueller 2008-07-22 12:06:32 UTC
Created attachment 55279 [details]
all files from testing for more details see the readme.txt
Comment 22 pjentsch 2008-08-11 15:12:00 UTC
Hi, 

can you confirm the bug given the provided information? Do you need any further
information to evaluate this bug?

Thanks, 
Peter
Comment 23 ankemueller 2008-08-25 15:20:15 UTC
Hi,
is were any further information, we can give to you, to find out more?

Thanks,

Anke
Comment 24 hdu@apache.org 2008-08-28 14:33:18 UTC
The info seems to suffice, thanks. But have a look at the issue number and guess how many issues have 
higher priorities vs. how many developers work at them...
Comment 25 ankemueller 2009-02-09 12:20:42 UTC
We set the status to resolved because, we found a solution based on #60945.
To resolve take settings.xml and add
<config:config-item config:name="UnxForceZeroExtLeading"
config:type="boolean">false</config:config-item>
after setting that param, we have no difference between our windows and linux
documents.
Comment 26 ankemueller 2009-02-09 12:22:47 UTC
Created attachment 60043 [details]
settings.xml with right param
Comment 27 hdu@apache.org 2009-02-11 06:52:53 UTC
Thanks for the update! This compatibility flag is also available as a checkbox in the UI:
Tools->Options->Writer->Compatibility->DoNotAddLeading

There seems to be an issue with document import not setting this compatibility flag automatically.
Comment 28 hdu@apache.org 2009-02-11 06:54:08 UTC
already confirmed
Comment 29 Marcus 2017-05-20 11:33:40 UTC
Reset assigne to the default "issues@openoffice.apache.org".