Bug 98848

Summary: Encoding in PDFs broken
Product: LibreOffice Reporter: Fabian <faerbit>
Component: Printing and PDF exportAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTOURBUG    
Severity: normal CC: faerbit, jbfaure
Priority: medium    
Version: 5.0.5.2 release   
Hardware: ARM   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Resulting file from PDF export

Description Fabian 2016-03-23 21:38:24 UTC
Created attachment 123800 [details]
Resulting file from PDF export

I'm trying to convert various documents to PDF on the CLI:

lobase --convert-to pdf document.odt

I've tried xls, doc, docx and odt files to convert to PDF. All the files I tried  worked fine on my x86_64 machine. However on my ARM machine the PDFs which are created are broken. The machines are using the same distro (Archlinux and ArchlinuxARM) and the same version(5.0.5.2). I've tried various methods to open the resulting PDF files. If the file is opened at all, only the missing symbol character is displayed(the large standing thin outlined rectangle).

To give a minimum example to reproduce this I've done the following:
Create an ODT file with the contents "asdf".
Convert it to PDF using the command above.
Open it with my PDF reader.
See that it didn't work.

I also attached the resulting PDF file for reference.

If you need additional information I would happily provide it.
Comment 1 Jean-Baptiste Faure 2016-03-24 08:29:06 UTC
Please, do not set your own bug report as NEW. Each bug report must be
confirmed independently.

Best regards. JBF
Comment 2 Fabian 2016-03-30 20:09:27 UTC
Sorry for setting my own bug to NEW. I just thought I forgot it and didn't know about your procedures.

As it turns out this was a packaging bug of my distribution. I didn't have any fonts installed, so the conversion didn't worked. Installing fonts solved the problem.