Bug 121966 - Character corruption when converting pptx to pdf on Ubuntu
Summary: Character corruption when converting pptx to pdf on Ubuntu
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
6.1.3.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pptx
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2018-12-07 18:03 UTC by nqin
Modified: 2018-12-11 20:14 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
pptx file (28.27 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2018-12-07 18:04 UTC, nqin
Details
exported pdf (10.28 KB, application/pdf)
2018-12-07 18:05 UTC, nqin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nqin 2018-12-07 18:03:50 UTC
Description:
When converting a pptx file to pdf using command line interface `libreoffice --headless --convert-to pdf --outdir ./ ./test.pptx`, the exported pdf file has corrupted characters. The original pptx is in Japanese. I couldn't set the file language with the command line interface.

Steps to Reproduce:
 libreoffice --headless --convert-to pdf --outdir ./ ./test.pptx

Actual Results:
corrupted characters

Expected Results:
"汚れ対策"


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 nqin 2018-12-07 18:04:52 UTC
Created attachment 147360 [details]
pptx file
Comment 2 nqin 2018-12-07 18:05:11 UTC
Created attachment 147361 [details]
exported pdf
Comment 3 Drew Jensen 2018-12-08 12:28:04 UTC
Using Ubuntu 18.04.1 (AMD 64bit) and LO 6.1.3.2 and LO 6.2Beta1 (en_US local and en_US language)

Was unable to reproduce the anomaly. 

I used the command line ./soffice --headless --convert-to pdf --outdir ./ /home/drew/Downloads/QA/121966/test.pptx

In both cases 6.1 and 6.2 I get the same output as if I had opened in the GUI and exported (which I did also) and all of the pdf files include the correct characters.
Comment 4 Roman Kuznetsov 2018-12-09 11:56:29 UTC
don't repro in

Версия: 6.1.3.2
ID сборки: 86daf60bf00efa86ad547e59e09d6bb77c699acb
Потоков ЦП: 4; ОС:Linux 4.13; Отрисовка ИП: по умолчанию; VCL: gtk2; 
Локаль: ru-RU (ru_RU.UTF-8); Calc: group threaded

Xubuntu 17.10 64 bit

nqin, please write info about your LibreOffice from dialogue Help->About
Comment 5 nqin 2018-12-11 19:42:21 UTC
It was due to missing font in Ubuntu. `apt-get install fonts-umefonts` solved the problem. Thanks for the help.
Comment 6 Drew Jensen 2018-12-11 20:14:30 UTC
I take it then closing this issue as not a bug is correct.