Apache OpenOffice (AOO) Bugzilla – Issue 90663
different view of document between Windows and Linux
Last modified: 2017-05-20 11:33:40 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
Created attachment 54429 [details] document with any text in times
Created attachment 54430 [details] our freetype library on the system
Created attachment 54431 [details] pdf under redhat without setting SAL_DISABLE... to 1
Created attachment 54432 [details] pdf under Redhat with setting SAL_DISABLE_FC_SUBST to 1
Created attachment 54433 [details] pdf of the windows version
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
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?
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?
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
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
Created attachment 55073 [details] Contract in Arial
Created attachment 55074 [details] Contract in Times
Created attachment 55075 [details] Contract in Arial pdf generated with suse
Created attachment 55076 [details] Contract in Arial pdf generated with windows
Created attachment 55077 [details] Contract inTimes pdf generated with suse
Created attachment 55078 [details] Contract inTimes pdf generated with windows
Created attachment 55206 [details] unzipped Vertrag1_suse
Created attachment 55207 [details] unzipped Vertrag1_win
@ankemueller: Try different versions of freetype and different options from freetype/config/ftoption.h. Which of these options results in the best match?
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
Created attachment 55279 [details] all files from testing for more details see the readme.txt
Hi, can you confirm the bug given the provided information? Do you need any further information to evaluate this bug? Thanks, Peter
Hi, is were any further information, we can give to you, to find out more? Thanks, Anke
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...
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.
Created attachment 60043 [details] settings.xml with right param
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.
already confirmed
Reset assigne to the default "issues@openoffice.apache.org".