Bug 98848 - Encoding in PDFs broken
Summary: Encoding in PDFs broken
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
5.0.5.2 release
Hardware: ARM Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-23 21:38 UTC by Fabian
Modified: 2016-03-30 20:09 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Resulting file from PDF export (7.95 KB, application/vnd.oasis.opendocument.text)
2016-03-23 21:38 UTC, Fabian
Details

Note You need to log in before you can comment on or make changes to this bug.
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.