Bug 151883 - LibreOffice cannot use document-support fonts in macOS 13
Summary: LibreOffice cannot use document-support fonts in macOS 13
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.3.7.2 release
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Fonts
  Show dependency treegraph
 
Reported: 2022-11-04 00:26 UTC by Stephen Heumann
Modified: 2022-12-28 14:09 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example document using document-support fonts (3.01 KB, text/rtf)
2022-11-04 00:29 UTC, Stephen Heumann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Heumann 2022-11-04 00:26:53 UTC
Description:
Recent versions of macOS include some fonts that are described as document-support fonts. An Apple support document (https://support.apple.com/en-us/HT213266) lists these fonts toward the bottom and describes them a follows:

"These fonts are available only to documents that already use the font, or to apps that request the font by name. Some are older fonts that were included with earlier versions of macOS or Apple apps."

In macOS 13, LibreOffice cannot display these fonts (even in existing documents) and will substitute them instead.  It would be nice if they could be used, at least for the documented purpose of supporting existing documents.

This behavior is different from macOS 11, where document-support fonts can be used.  I have not tested on macOS 12.

Steps to Reproduce:
1. Open a document containing a document-support font (e.g. Garamond).
2. Check whether the correct font is used.

Actual Results:
The correct font is not used, and the font name is italicized to indicate it was substituted.

Expected Results:
The specified font is used.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.4.2.3 / LibreOffice Community
Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf
CPU threads: 10; OS: Mac OS X 13.0; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Stephen Heumann 2022-11-04 00:29:33 UTC
Created attachment 183399 [details]
Example document using document-support fonts

This is an example document showing the problem. It contains the Garamond and Times fonts, which are document-support fonts in macOS 13.

Note that Apple's TextEdit and Pages can display this document with proper fonts in macOS 13, so the fonts clearly are present and usable.
Comment 2 Alex Thurgood 2022-11-04 10:57:16 UTC
With the test document provided, I see the Garamond font displayed correctly.

With the Times font, if I select a word or the phrase and right mouse button click to open the context menu, I can choose Character and see an indication that the font isn't installed and has been replaced by a substitute one. Indeed, Times is not installed on my Ventura system, although Garamond is (I don't remeber installing it, so it must have been there a while).   


Confirming at least for Times.
Comment 3 Alex Thurgood 2022-11-04 11:01:54 UTC
I confirmed this with 

Version: 7.3.7.2 / LibreOffice Community
Build ID: e114eadc50a9ff8d8c8a0567d6da8f454beeb84f
CPU threads: 8; OS: Mac OS X 13.0; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded

from the AppStore.
Comment 4 Sierk Bornemann 2022-11-04 11:57:50 UTC
I confirme the issue with

Version: 7.4.2.3 / LibreOffice Community
Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf
CPU threads: 10; OS: Mac OS X 13.0; UI render: default; VCL: osx
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded

% uname -m
arm64

% machine
arm64e

% sw_vers                
ProductName:		macOS
ProductVersion:		13.0
BuildVersion:		22A380

% sw_vers -ProductName   
macOS

% sw_vers -ProductVersion
13.0

% sw_vers -BuildVersion
22A380
Comment 5 Stephen Heumann 2022-11-04 20:28:32 UTC
Many of the document-support fonts (like Garamond) are in /System/Library/PrivateFrameworks/FontServices.framework/Versions/A/Resources/Fonts/ApplicationSupport, but some others (like Times) are still in /System/Library/Fonts.

I suspect (but have not confirmed) that these fonts may be blocked from being listed by font enumeration APIs, but they can still be requested by name.