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

            Bug ID: 104541
           Summary: Some fonts don't appear on PDF Export, but are printed
                    correctly
           Product: LibreOffice
           Version: 5.2.3.3 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Printing and PDF export
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Running LibreOffice 5.2.3.3 (x64) release, build ID
d54a8868f08a7b39642414cf2c8ef2f228f780cf, on Windows 10 Pro x64, gives
invisible fonts output when trying to export as PDF.

I used the open source Merriweather Sans font family, available at
"https://www.fontsquirrel.com/fonts/merriweather-sans"; and only the Book and
Regular variants were exported correctly: Bold, Italic, Bold Italic, Extra
Bold, Extra Bold Italic don't appear.

Also, the exported text is scrambled on parts of the PDF when trying to select,
copy and paste the text inside the PDF.

There is a similar bug with the Aller font at
"https://www.fontsquirrel.com/fonts/aller";, but it happens only when printing
(PDF Export is always correct) and sporadically. I don't know how to reproduce
it.

Steps to Reproduce:
1. Install the Merriweather Sans font family (all of them) on Windows.
2. Open LibreOffice Writer and edit an existing document with Merriweather Sans
font family and format some of the text as the font variants.
3. Sometimes the PDF is exported correctly, sometimes not.

Actual Results:  
After the document start to be exported incorrectly once, every time it is
exported there will be invisible fonts on the exported PDF.

It depends if the document already has Merriweather Sans Book on it and later
some characters are formatted as Book Italic, Regular, Italic, Bold or Bold
Italic.

Expected Results:
LibreOffice should export a document as PDF just as it shows on the screen.


Reproducible: Sometimes

User Profile Reset: No

Additional Info:
I attached the documents I used to test the bug and created two PDFs, one by
exporting as a PDF and the other by printing with PDF Forge virtual printer
(http://download.pdfforge.org/).

Although using a virtual printer is an easy workaround, there are people
unaware of this bug that may send the incomplete documents. I was lucky I
started previewing the PDFs after I noticed some printed documents had
characters missing from a font I use on the Page Header, or else I wouldn't
discover the invisible fonts on the middle of a PDF. That could have caused a
lawsuit to be lost as the judge wouldn't have read the PDF correctly on the
electronic process of law.


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:3.0) Goanna/20161201
PaleMoon/27.0.2

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to