https://bugs.documentfoundation.org/show_bug.cgi?id=173306
Bug ID: 173306
Summary: macOS: headless soffice no longer sees any system or
user fonts (fallback to bundled Linux Libertine G),
regression in 26.8, GUI not affected
Product: LibreOffice
Version: 26.8.0.3 release
Hardware: ARM
OS: macOS (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Printing and PDF export
Assignee: [email protected]
Reporter: [email protected]
Description:
I generate branded PDF decks on macOS through headless conversions, and they
have been coming out fine for months. This morning I upgraded to LibreOffice
26.8.0.3 with Homebrew, and every title page started rendering in a serif face.
After a quick investigation, in headless mode, this build does not see a single
macOS font. Not my user fonts in ~/Library/Fonts, and not Helvetica Neue
either. Everything silently falls back to the bundled Linux Libertine G.
Steps to Reproduce:
$ printf '<p style="font-family:Helvetica Neue">test</p>' > t.html
$ soffice --headless --convert-to pdf t.html
$ pdffonts t.pdf
Actual Results:
BAAAAA+LinuxLibertineG
Expected Results:
Helvetica Neue (or at worst a sans-serif substitute), as in previous versions.
A PDF produced by the same pipeline on 2 July (26.2 line) correctly embeds the
requested user font, so this seems a regression introduced with 26.8.
Reproducible: Always
User Profile Reset: Yes
Additional Info:
Fonts placed in LibreOffice.app/Contents/Resources/fonts/truetype/ are picked
up, which is my current workaround (and it points at font enumeration via
CoreText rather than at the fallback logic itself). I see that 26.8 reworked a
fair amount of font handling (variable font support, Paragraph Composer), which
may be related. The GUI is not affected. Happy to run debug builds or provide
more traces if useful.
Help - About LibreOffice:
Version: 26.8.0.3 (AARCH64)
Build ID: bce0998afefdbc355585ca324285661a2170ba77
CPU threads: 8; OS: macOS 26.6.2; UI render: Skia/Raster; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
--
You are receiving this mail because:
You are the assignee for the bug.