Bug 104702 - German umlauts (ä,ö,ü) getting lost in exported pdf
Summary: German umlauts (ä,ö,ü) getting lost in exported pdf
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
5.2.3.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-15 18:41 UTC by don-elgrun
Modified: 2018-05-16 11:14 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Test File with umlauts in different stylesheets (9.15 KB, application/vnd.oasis.opendocument.text)
2016-12-17 18:15 UTC, don-elgrun
Details
clip from exported PDF (5.2.4.1) -- not reproduced (7.99 KB, image/png)
2016-12-17 19:25 UTC, V Stuart Foote
Details
Sight of test document in Libre Office (376.82 KB, image/jpeg)
2016-12-19 08:49 UTC, don-elgrun
Details
Sight of document in x-change Viewer (391.66 KB, image/jpeg)
2016-12-19 08:50 UTC, don-elgrun
Details
Zoomed into xchange-viewer sight: the dots are there! (265.94 KB, image/jpeg)
2016-12-19 08:51 UTC, don-elgrun
Details
Sight of exported pdf in acrobat reader (226.33 KB, image/jpeg)
2016-12-19 08:52 UTC, don-elgrun
Details
Test file (12.08 KB, application/vnd.oasis.opendocument.presentation)
2017-06-02 10:43 UTC, Ettore Atalan
Details
Test file after PDF export (13.14 KB, application/pdf)
2017-06-02 10:44 UTC, Ettore Atalan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description don-elgrun 2016-12-15 18:41:47 UTC
Description:
I hae tested this issue, it only occurs in specific stylesheets ("title"-Stylesheets). Umlauts like ä, ö or ü are getting transformed into mere a,o and u within the resulting pdf-file, which is very very annoying.

Steps to Reproduce:
1.Set a title with an umlaut
2.give it the stylesheet title or title1-4 (german: Überschrift1-4)
3.Export the pdf-File

Actual Results:  
The ä,ö and ü-letters are transformed into a, o and u

Expected Results:
It should let the umlauts be umlauts


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0 Cyberfox/50.0
Comment 1 V Stuart Foote 2016-12-16 03:57:16 UTC
A test document with example of styles dropping format would be helpful--but we mostly need to know the font that the "title" style is corrupt with.

So we know the configuration of your system please post the Help -> About dialog entry.

Also, please identify the version of MS Windows,  and the graphics card and driver you are using.

All of those will impact the behavior of OpenGL or default GDI+ font fall back.
Comment 2 don-elgrun 2016-12-17 18:15:24 UTC
Created attachment 129727 [details]
Test File with umlauts in different stylesheets
Comment 3 don-elgrun 2016-12-17 18:19:48 UTC
So here are the additional informations:

- the font is Liberation Sans
- Operating System is Windows 10 Pro x64
- Graphics Card is Intel HD 4000, Driver-Vers.: 10.18.10.4358
Comment 4 V Stuart Foote 2016-12-17 19:25:25 UTC
Created attachment 129730 [details]
clip from exported PDF (5.2.4.1) -- not reproduced

Can not reproduce, on Windows 10 Pro 64-bit en-US with 
Version: 5.2.4.1 (x64)
Build ID: 9b50003582f07ac674d6451e411e9b77cccd2b22
CPU Threads: 8; OS Version: Windows 6.19; UI Render: default or GL 
Locale: en-US (en_US); Calc: group

and Tools -> Options -> Language Settings -> Languages: Ignore system input language  checked

The export to PDF encodes the correct glyphs (u+00e4, u+00fc, u+00f6, u+00c4, u+00d6, u+00dc) from Liberation Sans and Liberation Serif into the PDFs.

Likewise not reproduced with
Version: 5.2.2.2 (x64)
Build ID: 8f96e87c890bf8fa77463cd4b640a2312823f3ad
CPU Threads: 8; OS Version: Windows 6.19; UI Render: GL; 
Locale: en-US (en_US); Calc: CL
Comment 5 Buovjaga 2016-12-18 18:31:54 UTC
Could you test with 5.3 http://dev-builds.libreoffice.org/pre-releases/win/x86_64/LibreOfficeDev_5.3.0.0.beta2_Win_x64.msi

Set to NEEDINFO.
Change back to UNCONFIRMED, if the problem persists with 5.3.
Comment 6 don-elgrun 2016-12-18 21:21:35 UTC
Did some testing today - and one option that i didn't expect seems to be the problem: My pdf-viewer! I use Pdf-X-Change Viewer a long time now and without ever having problems interpreting pdf-files.
However, in Acrobat-Reader DC, the umlauts in the testfiles pdf-export are shown correctly. This occurs only with Liberation Sans, though.
I will have a try with 5.3 the next days but i now think this was indeed no Libre-Office Bug at all-
Nevertheless - thanks for the support this far!!
Comment 7 Aron Budea 2016-12-19 00:27:23 UTC
Is this like bug 89246, except not with Type 1 fonts this time?
Comment 8 Buovjaga 2016-12-19 07:32:38 UTC
(In reply to Aron Budea from comment #7)
> Is this like bug 89246, except not with Type 1 fonts this time?

Yes, no substitution.. if the original font is indeed Lib. sans.
Comment 9 don-elgrun 2016-12-19 08:49:07 UTC
Created attachment 129765 [details]
Sight of test document in Libre Office
Comment 10 don-elgrun 2016-12-19 08:50:10 UTC
Created attachment 129766 [details]
Sight of document in x-change Viewer
Comment 11 don-elgrun 2016-12-19 08:51:25 UTC
Created attachment 129767 [details]
Zoomed into xchange-viewer sight: the dots are there!
Comment 12 don-elgrun 2016-12-19 08:52:18 UTC
Created attachment 129768 [details]
Sight of exported pdf in acrobat reader
Comment 13 don-elgrun 2016-12-19 08:57:56 UTC
I personally have no idea wether the font or the pdf-reader or libre-office is the source of the problem. I submitted some jpegs which represents quite all that i can provide: Test file in 5.3Dev and the pdf-Output in different readers. Interesting is that the dots of the umlauts don't get lost, but get displaced.
My workaround is using another font (like Times or Liberation Serif) or alternatively using the acrobat reader (for in prints with x-change viewer, the dots on the umlauts are also displaced as seen in the document)
I set the bug report back to unconfirmed
Comment 14 Buovjaga 2016-12-19 09:02:17 UTC
Have the umlauts with Liberation Sans, exported as PDF, viewed with X-change viewer, ever worked for you with an older version of LibreOffice?
Comment 15 don-elgrun 2016-12-19 09:36:32 UTC
I'm using Libre Office and PDF-X-Change Viewer together a long time now (since the libre office branch started) - and i always exported documents as pdf before printing without noticing any problems (and i used stylesheets quite excessively). 
Liberation Sans seems to be the standart font for the title-stylesheets, although i cannot recall, wether this was always so or not. 

So in conclusion, there is quite a chance that this problem didn't exist in a former version of Libre-Office. 
But I have to test this theory (lookup old documents/ install older Version) before i can be sure about this.
Comment 16 Buovjaga 2016-12-19 11:53:27 UTC
(In reply to don-elgrun from comment #15)
> So in conclusion, there is quite a chance that this problem didn't exist in
> a former version of Libre-Office. 
> But I have to test this theory (lookup old documents/ install older Version)
> before i can be sure about this.

You could use this to install old versions https://wiki.documentfoundation.org/SI-GUI
Installer link: http://tdf.io/siguiexe
Comment 17 Telesto 2017-01-21 20:42:09 UTC
Export to PDF will be fine using PDF-Xchange (with probably every LibO version) when the test document is created with Version: 4.1.0.4 (probably any version in the 4.1 branch) Build ID: 89ea49ddacd9aa532507cbf852f2bb22b1ace28
Comment 18 Ettore Atalan 2017-06-02 10:43:34 UTC
Created attachment 133805 [details]
Test file

I'm struggling with the same problem in LibreOffice Impress using its default font Liberation Sans.
Comment 19 Ettore Atalan 2017-06-02 10:44:11 UTC
Created attachment 133806 [details]
Test file after PDF export
Comment 20 Buovjaga 2017-06-02 11:00:48 UTC
(In reply to Ettore Atalan from comment #19)
> Created attachment 133806 [details]
> Test file after PDF export

And what PDF viewer is causing you trouble? The file works fine with Okular and Firefox PDF viewer.
Comment 21 Xisco Faulí 2017-10-31 17:12:56 UTC
(In reply to Buovjaga from comment #20)
> (In reply to Ettore Atalan from comment #19)
> > Created attachment 133806 [details]
> > Test file after PDF export
> 
> And what PDF viewer is causing you trouble? The file works fine with Okular
> and Firefox PDF viewer.

Dear Reporter,
Could you please answer the question above?
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the question is answered
Comment 22 QA Administrators 2018-05-02 15:46:33 UTC Comment hidden (obsolete)
Comment 23 Timur 2018-05-16 11:14:37 UTC
I think it's safe to close this one. 
I had similar issue when testing Bug 115117 and old PDF-Xchange Viewer 2.5 was the culprit. New version didn't have problem. And Adobe works fine.