Bug 135602 - Fileopen DOCX: substitute fonts not working on open when odt with Wingdings saved as DOCX in Linux/Mac (OK in Win and OK as DOC)
Summary: Fileopen DOCX: substitute fonts not working on open when odt with Wingdings s...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All Linux (All)
: low normal
Assignee: Not Assigned
URL: https://ask.libreoffice.org/en/questi...
Depends on:
Blocks: Font-Substitution DOCX-Character
  Show dependency treegraph
Reported: 2020-08-10 10:17 UTC by kan
Modified: 2022-04-05 07:04 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

1.odt (8.45 KB, application/vnd.oasis.opendocument.text)
2020-08-10 10:30 UTC, kan
image 1 (10.38 KB, image/png)
2020-08-10 10:33 UTC, kan
image 2 (12.98 KB, image/png)
2020-08-10 10:33 UTC, kan
2.docx (4.33 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-08-10 10:34 UTC, kan
1.odt saved as DOCX in Word (15.87 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2022-04-05 03:09 UTC, Aron Budea

Note You need to log in before you can comment on or make changes to this bug.
Description kan 2020-08-10 10:17:19 UTC
I have a docx file, coming from MSO [probably not, see update below] directly without any editing from LO, containing tick and cross symbols from Wingdings 2 as shown in image 1. Wingdings 2 is not available but it's being substituted effectively as in image 1. utf-16 codes for characters are U+f050 and U+f04f.

observation1: If i make any change to this docx, even if not touching these symbols, and save as docx using LO [2.docx], then it is not being substituted correctly anymore as shown in image 2 upon reopening the 2.docx. Also happens if I use safe mode to edit and reopen.

observation2: But if i make changes to original docx file and save as odt instead of docx, then substitution is working ok, until I save it as docx.

Lot more details at https://ask.libreoffice.org/en/question/259206/docx-compatibility-substitute-fonts-not-working-when-docxodt-saved-as-docx-by-lo/
Comment 1 kan 2020-08-10 10:30:56 UTC
Created attachment 164098 [details]
Comment 2 kan 2020-08-10 10:33:04 UTC
Created attachment 164099 [details]
image 1
Comment 3 kan 2020-08-10 10:33:29 UTC
Created attachment 164100 [details]
image 2
Comment 4 kan 2020-08-10 10:34:34 UTC
Created attachment 164101 [details]
Comment 5 SteveDee 2020-09-10 02:21:28 UTC
I have been unable to reproduce this bug in the following builds:

Version: (x64)
Build ID: 0ce51a4fd21bff07a5c061082cc82c5ed232f115
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: GL; VCL: win; 
Locale: en-AU (en_US); UI-Language: en-GB
Calc: CL


Version: (x64)
Build ID: fb8334aa79e811bb6780e072e24d2580932f1031
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: en-AU (en_US); UI: en-GB
Calc: CL

I think this might be MacOS specific as outlined in the ask.libreoffice post.
Comment 6 Timur 2020-11-06 11:49:34 UTC
DOCX attachment 164101 [details] is LO saved (seen if unzipped) so not relevant as a source. 
It's good to follow Ask but you need to review what's written there, not just copy. I don't have time to read all.

This is confusing report, please write exact steps. 
And test with master from https://dev-builds.libreoffice.org/daily/master/current.html.
Comment 7 Timur 2020-11-06 13:39:05 UTC
This bug is Linux only and DOCX only, OK in Win and with DOC.
1. Open ODT attachment 164098 [details] 
2. Save as DOCX
Experienced: wrong open of Wingdings in LO and good in MSO
Comment 8 Aron Budea 2022-04-05 03:09:26 UTC
Created attachment 179312 [details]
1.odt saved as DOCX in Word

There's a FILEOPEN aspect of this bug as well, see 1.odt that was saved as DOCX in Word, it doesn't show the correct symbols when opened.
Comment 9 Timur 2022-04-05 07:04:03 UTC
Simple workaround is to replace Wingdings for OpenSymbol in Options-Fonts table.
I shared my table in bug 64509 as attachment 167165 [details].
When there's no Wingdings in Linux, who knows what LO replaces it with (bug 61134).