Description: When Draw opens a PDF with the font Source Sans 3[1] (OTF) embedded, any text using this font will not be shown with the correct font, and when this text is selected "DummyName" is shown in the Font Name toolbar selector. [1]: https://github.com/adobe-fonts/source-sans Steps to Reproduce: 1. In Writer, create a new document using Source Sans 3. 2. Export the document as PDF 3. Open the exported PDF in Draw Actual Results: Text is shown with the correct font, the correct font name is shown in the Font Name selector. Expected Results: Text is shown with an incorrect font, "DummyName" is shown in the Font Name selector. Reproducible: Always User Profile Reset: No Additional Info: Version: 7.5.5.2 (X86_64) / LibreOffice Community Build ID: 50(Build:2) CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: gtk3 Locale: en-CA (en_CA.UTF-8); UI: en-US Ubuntu package version: 4:7.5.5~rc2-0ubuntu0.23.04.1~lo1 Calc: threaded I'm using Ubuntu 23.04 with LibreOffice installed from the LibreOffice Fresh PPA[2], though I do not believe this issue is specific to this OS/version. I have Source Sans 3.052[3] OTF installed. This may be related to #138325, though when I open the PDF with Document Viewer (evince) and check the file properties, I see the correct font name (SourceSans3-Regular). [2]: https://launchpad.net/~libreoffice/+archive/ubuntu/ppa [3]: https://github.com/adobe-fonts/source-sans/releases/tag/3.052R
Created attachment 188530 [details] A test document I created in Writer
Created attachment 188531 [details] PDF exported in Writer from the test document
Khaled Hosny committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/42f0422d19c4d0a2fb09654fb6d1d92e50f6dd5c tdf#156437: Fix missing name inside embedded Type 1 font in PDF It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Khaled Hosny committed a patch related to this issue. It has been pushed to "libreoffice-7-6": https://git.libreoffice.org/core/commit/cca6fe148c3b69b7626c72f39599b9af67712496 tdf#156437: Fix missing name inside embedded Type 1 font in PDF It will be available in 7.6.0.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Khaled Hosny committed a patch related to this issue. It has been pushed to "libreoffice-7-5": https://git.libreoffice.org/core/commit/8568fd0f8d00d0ac4f4f87253fe3aa81b2f2d7fe tdf#156437: Fix missing name inside embedded Type 1 font in PDF It will be available in 7.5.6. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
I retested this using 24.2.1.2 - when I open the PDF in Draw, the Font Name selector has "SourceSans3-Regular" (in italics) instead of "Source Sans 3", and I believe the text is still displayed with an incorrect font (though I have not verified this). Should I reopen this bug or file a new one?
Reopening as this is not completely fixed.
(In reply to Jeffery To from comment #6) > I retested this using 24.2.1.2 - when I open the PDF in Draw, the Font Name > selector has "SourceSans3-Regular" (in italics) instead of "Source Sans 3", > and I believe the text is still displayed with an incorrect font (though I > have not verified this). > > Should I reopen this bug or file a new one? This is a different bug, tdf#143095