Bug 113685 - Saving a spreadsheet as XLS(X) changes font from Liberation Sans to Arial
Summary: Saving a spreadsheet as XLS(X) changes font from Liberation Sans to Arial
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:xls
: 139473 (view as bug list)
Depends on:
Blocks: XLSX XLS
  Show dependency treegraph
 
Reported: 2017-11-07 08:05 UTC by Aron Budea
Modified: 2021-01-07 16:49 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***