Bug 113685

Summary: Saving a spreadsheet as XLS(X) changes font from Liberation Sans to Arial
Product: LibreOffice Reporter: Aron Budea <aron.budea>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: telesto
Priority: medium Keywords: filter:xls
Version: 4.2.0.4 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=95953
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 108897, 109072    

Description Aron Budea 2017-11-07 08:05:13 UTC
Start a new spreadsheet, add some text and save it as XLS/XLSX.
Reopen spreadsheet.

=> Font has changed to Arial.

Font is preserved if you choose a font like Linux Biolinum, however Carlito is also substituted as Calibri.

Observed using LO 5.4.3.2 & 4.2.0.4 / Windows 7. In 4.1.0.4 the default font is Arial.
Comment 1 Michael Meeks 2017-11-09 09:49:54 UTC
This is a feature-not-bug - we do this to ensure the widest possible metric compatibility and round-trip fidelity. If we save Liberation as Liberation - then it will simply not be present on typical Windows machines - and as such the user will get mangled metrics, and a broken display.

You can check out the substitutions in VCL.xcu in the source tree =) we have lots of them, if some are missing - we should expand that.
Comment 2 Aron Budea 2021-01-07 16:49:05 UTC
*** Bug 139473 has been marked as a duplicate of this bug. ***