Bug 124830 - Imported WordPerfect 3.5e for Mac document does not display fonts correctly
Summary: Imported WordPerfect 3.5e for Mac document does not display fonts correctly
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-18 20:05 UTC by hal.sulphur
Modified: 2022-05-10 13:14 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Test file (5.89 KB, application/vnd.wordperfect)
2019-04-18 23:37 UTC, hal.sulphur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hal.sulphur 2019-04-18 20:05:07 UTC
Description:
I create a WP 3.5e for Mac document (within Mac OS 8.6 with the original application) with three lines in Verdana, Times New Roman and Arial respectively. When imported into LibreOffice 6.2.2.2 for Mac, the three lines appear but the first two lines are in Times New Roman.

Steps to Reproduce:
1. Create a WP 3.5e for Mac document (within Mac OS 8.6 with the original application) with three lines in Verdana, Times New Roman and Arial respectively. 
2. Import into LibreOffice 6.2.2.2 for Mac.
2. ????
3. PROFIT!

Actual Results:
Document appears with the line in Verdana appearing in Times New Roman instead.

Expected Results:
The three lines should appear in Verdana, Times New Roman and Arial.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 hal.sulphur 2019-04-18 23:37:49 UTC
Created attachment 150867 [details]
Test file

Test file
Comment 2 Alex Thurgood 2019-04-23 15:49:34 UTC
@Hal : I had to add a WPD extension to the file in order for it to be loaded by LO.

Indeed, the first line is shown in the UI as Times New Roman, instead of Verdana, and the 2nd line is also TNR (although displayed differently).
The third line is indicated as Arial.

I'm guessing that there is some kind of font substitution going on here; but given that the fonts in use in macOS8 were probably not OTF, and given that even macOS has undergone font management changes since then, it isn't going to be surprising that current LO attempts to substitute the fonts with something else when it loads the file, unless this document was displayed correctly in an earlier version of LO, which would be a regression.

Confirming - yet another font display bug on macOS.
Comment 3 Alex Thurgood 2019-04-23 15:50:01 UTC
Tested against 

Version: 6.3.0.0.alpha0+
Build ID: c74ec989eabdf7ffb5ea4d6f43757116261eaeed
CPU threads: 4; OS: Mac OS X 10.14.4; UI render: default; VCL: osx; 
Locale: fr-FR (fr_FR.UTF-8); UI-Language: en-US
Calc: threaded
Comment 4 Alex Thurgood 2019-04-23 15:54:18 UTC
Reproduced in 

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4

so problem isn't new.
Comment 5 eisa01 2020-05-09 20:03:09 UTC
Same substitution happens on Windows

TNR, TNR, and Arial

Version: 6.4.0.3 (x64)
Build ID: b0a288ab3d2d4774cb44b62f04d5d28733ac6df8
CPU threads: 2; OS: Windows 10.0 Build 18363; UI render: default; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 6 QA Administrators 2022-05-10 03:28:44 UTC Comment hidden (obsolete)
Comment 7 Michael Warner 2022-05-10 13:14:26 UTC
Based on Comment 2 and Comment 4, it appears this may be expected behavior. I'll set to Resolved NotABug, change it back if you don't agree.