[Libreoffice-bugs] [Bug 137301] New: PDF export cannot embed OpenType CFF2 (Variable PostScript / .otf) fonts

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Oct 7 00:49:18 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=137301

            Bug ID: 137301
           Summary: PDF export cannot embed OpenType CFF2 (Variable
                    PostScript / .otf) fonts
           Product: LibreOffice
           Version: 6.4.6.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Printing and PDF export
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: joaopauloag-freedesktop at yahoo.com.br

Created attachment 166140
  --> https://bugs.documentfoundation.org/attachment.cgi?id=166140&action=edit
Small Writer document formatted with Source Serif Variable

Running LibreOffice 6.4.6.2 64 bits and LibreOffice Portable 7.0.1.2 32 bits,
both on Windows 10, version 2004, 64 bits:

Versão: 6.4.6.2 (x64)
ID de compilação: 0ce51a4fd21bff07a5c061082cc82c5ed232f115
Threads da CPU: 8; SO: Windows 10.0 Build 19041; Realizador da interface:
padrão; VCL: win; 
Local: pt-BR (pt_BR); Idioma de IU: pt-BR
Calc: threaded

Version: 7.0.1.2 (x86)
Build ID: 7cbcfc562f6eb6708b5ff7d7397325de9e764452
CPU threads: 8; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: pt-BR (pt_BR); UI: en-US
Calc: CL

On Windows, install Adobe Source Serif OpenType Variable CFF2 fonts (.otf
extension), Version 3.001, available at
"https://github.com/adobe-fonts/source-serif-pro/releases".  They are at
"source-serif-pro-3.001R.zip\source-serif-pro-3.001R\VAR\*.otf" and they appear
on the typeface selection menu as "Source Serif Variable", not as "Source Serif
Pro".

Create a new Writer document and format it with Source Serif Variable, then try
to export it as PDF.  The glyphs from Source Serif Variable, CFF2 fonts (.otf
extension), are not exported to the PDF file.

Printing with Microsoft Print to PDF virtual printer works fine, but then all
bookmarks, tagging and nice things with "Export to PDF" such as Hybrid PDF
don't work.

There is a workaround:  Remove the OpenType Variable CFF2 fonts (.otf
extension) and install the OpenType Variable TrueType fonts (.ttf extension). 
However, TrueType fonts aren't as good for printing than the CFF2 (PostScript
outlines / .otf extension), so the exported PDF isn't as good for printing or
reading on very high DPI screens as those on eBook readers and mobile phones
(unless printed with Microsoft Print to PDF virtual printer, and then they lose
all the nice options the PDF export can do with the PDF).

Please enhance PDF export to also work with OpenType Variable CFF2 (PostScript
outlines / .otf extension).  OpenType with TrueType outlines (quadratic bezier
curves) may be good for low DPI screens, but OpenType with PostScript outlines
(cubic bezier curves) are better for printing and very high DPI screens found
on mobile phones and specialized eBook readers.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201007/92f6d29a/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list