Description: When exporting a PDF for a document containing multiple typefaces of the same font, LibreOffice appears to always embed the Regular typeface. For instance, if the document contains 3 lines using, respectively, the Regular, Semibold and Bold typefaces, the exported PDF contains the Regular typeface 3 times. Similarly, if 2 different typefaces are used, the PDF contains the Regular typeface 2 times. Observed with the Open Sans font. It doesn't seem to happen with Liberation Sans. Reproduced on both Calc and Writer. Steps to Reproduce: 1. Install the Open Sans font, if not already available (https://fonts.google.com/specimen/Open+Sans) 2. Open the attached Test.odt file 3. Export to PDF Actual Results: All text lines in the PDF use the Regular typeface, which is embedded 3 times Expected Results: Each text line should render with the correct typeface, there should be 3 distinct typefaces embedded Reproducible: Always User Profile Reset: Yes Additional Info: Version: 7.2.4.1 / LibreOffice Community Build ID: 27d75539669ac387bb498e35313b970b7fe9c4f9 CPU threads: 8; OS: Mac OS X 10.16; UI render: default; VCL: osx Locale: it-IT (it_IT.UTF-8); UI: en-US Calc: threaded
Created attachment 177318 [details] Test case
"Open Sans" is now a variable font family; the pdf export of variable font and SVG font is not yet supported in general (Adobe) and with LibreOffice in particular. See bug #108497. This report will be closed as duplicate if you agree.
I uninstalled the variable fonts, installed the static ones and now it works as expected. So, yes, this appears to be a duplicate of the existing ticket.
*** This bug has been marked as a duplicate of bug 108497 ***