Bug 160019

Summary: Rendering of O365 DOCX with OTF font fails with Java 21-temurin
Product: LibreOffice Reporter: Jens Hausherr <jens.hausherr>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: medium    
Version: 7.5.2.2 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: O365 document wit Source Sans 3 OTF font
PDF rendered with O365
PDF rendered with Libreoffice 7.6/JDK17
PDF rendered with Libreoffice 7.6/JDK21
Side-by-side comparison of attachment 192932 vs. attachment 192933

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.