Summary: | Some OTF font names are exported in PDF as "DummyName" | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Yves Roggeman <yves.roggeman> |
Component: | Printing and PDF export | Assignee: | خالد حسني <khaled> |
Status: | VERIFIED FIXED | ||
Severity: | minor | CC: | himajin100000, ilmari.lauhakangas, khaled, suse |
Priority: | medium | ||
Version: | 7.0.0.3 release | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
See Also: |
https://bugs.documentfoundation.org/show_bug.cgi?id=146732 https://bugs.documentfoundation.org/show_bug.cgi?id=154700 |
||
Whiteboard: | target:7.5.0 inReleaseNotes:7.5 | ||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 113305 | ||
Attachments: | The typeface "Minion 3" is embedded as "DummyName" in a PDF produced by LibreOffice. |
Description
Yves Roggeman
2020-11-19 09:44:17 UTC
You cannot confirm / set New yourself. You can and should search for similar bugs and put them in See Also. Do you know some OTF font that is freely available and exhibits this behaviour? As said in my first message, I detected this behaviour with "Source Code Pro" fonts, for example, that are freely available at <https://github.com/adobe-fonts/source-code-pro> and also through <https://fonts.google.com/> Ok, sorry, I forgot. I reproduce, opening the PDF with a text editor I see stuff like <</Type/FontDescriptor/FontName/BAAAAA+DummyName Arch Linux 64-bit Version: 7.3.0.0.alpha0+ / LibreOffice Community Build ID: a58b9010b38ca43d4b3a2b30fcd6bec28db1b344 CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Built on 31 August 2021 Created attachment 181203 [details]
The typeface "Minion 3" is embedded as "DummyName" in a PDF produced by LibreOffice.
I have attached a PDF file produced by Writer. The typeface Minion 3 is embedded as "DummyName" in the file, but not other fonts such as Minion Pro, Helvetica Neue, or Neue Haas Unica. This is consistent with https://github.com/adobe-fonts/source-code-pro/issues/252 Similar to bug 151039, we are trying to access font names from “CFF” table, but these fonts lack such names (they are available from the “name” table). Khaled Hosny committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/348452715de6af8be2d40407bbe191752452b883 vcl: tdf#138325 pass PostScript name down to CreateCFFfontSubset() It will be available in 7.5.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. Tested with the new daily build. It is OK now. Thank you for the correction. |