Bug 160019 - Rendering of O365 DOCX with OTF font fails with Java 21-temurin
Summary: Rendering of O365 DOCX with OTF font fails with Java 21-temurin
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.5.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-04 07:18 UTC by Jens Hausherr
Modified: 2024-03-04 08:34 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
O365 document wit Source Sans 3 OTF font (14.71 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2024-03-04 07:18 UTC, Jens Hausherr
Details
PDF rendered with O365 (57.68 KB, application/pdf)
2024-03-04 07:21 UTC, Jens Hausherr
Details
PDF rendered with Libreoffice 7.6/JDK17 (18.63 KB, application/pdf)
2024-03-04 07:21 UTC, Jens Hausherr
Details
PDF rendered with Libreoffice 7.6/JDK21 (18.63 KB, application/pdf)
2024-03-04 07:22 UTC, Jens Hausherr
Details
Side-by-side comparison of attachment 192932 vs. attachment 192933 (113.41 KB, image/png)
2024-03-04 08:34 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Hausherr 2024-03-04 07:18:48 UTC
Created attachment 192930 [details]
O365 document wit Source Sans 3 OTF font
Comment 1 Jens Hausherr 2024-03-04 07:20:37 UTC
Libreoffice 7.6 and 7.5 fail to find the OTF font used in this document with JDK/JRE Version 21.x.

I have been running the PDF-Generation in a docker container using unoserver with libreoffice headless.
Comment 2 Jens Hausherr 2024-03-04 07:21:01 UTC
Created attachment 192931 [details]
PDF rendered with O365
Comment 3 Jens Hausherr 2024-03-04 07:21:34 UTC
Created attachment 192932 [details]
PDF rendered with Libreoffice 7.6/JDK17
Comment 4 Jens Hausherr 2024-03-04 07:22:04 UTC
Created attachment 192933 [details]
PDF rendered with Libreoffice 7.6/JDK21
Comment 5 Jens Hausherr 2024-03-04 07:22:38 UTC
The font used in the sample document is https://github.com/adobe-fonts/source-sans/releases/tag/3.052R
Comment 6 Jens Hausherr 2024-03-04 07:24:53 UTC
Linux used: Alpine 3.19
Comment 7 Mike Kaganski 2024-03-04 08:34:03 UTC
Created attachment 192934 [details]
Side-by-side comparison of attachment 192932 [details] vs. attachment 192933 [details]

I see no difference comparing the two PDFs.