Japanese / Chinese chars are coming as box in PDF

Discuss the word processor
Post Reply
psubramanian
Posts: 12
Joined: Mon Sep 18, 2017 9:33 pm

Japanese / Chinese chars are coming as box in PDF

Post by psubramanian »

Hi,

We are using OpenOffice 3.3 in linux env.
When i try to convert .txt / .docx / any file with Chinese / Japanese chars, in the PDF able to see boxes instead of real chars.

Any help & how to fix this?
We are calling OpenOffie thru Java program, that deployed Linux env.

Thanks,
PS.
Last edited by robleyd on Fri Oct 12, 2018 1:18 am, edited 1 time in total.
Reason: Remove Known Issues icon [robleyd, Moderator]
OpenOffice 3.x
OS: Linux
John_Ha
Volunteer
Posts: 9584
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Japanese / Chinese chars are coming as box in PDF

Post by John_Ha »

Boxes in PDFs are caused by missing fonts. Search the Writer forum with pdf font for more advice.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
psubramanian
Posts: 12
Joined: Mon Sep 18, 2017 9:33 pm

Re: Japanese / Chinese chars are coming as box in PDF

Post by psubramanian »

Thanks John. I just visited the writer forum and found no related topic.
How to add the missing fonts? Any help would be appreciated.
OpenOffice 3.x
OS: Linux
John_Ha
Volunteer
Posts: 9584
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Japanese / Chinese chars are coming as box in PDF

Post by John_Ha »

Read Exporting to PDF not working correctly found by searching with font pdf box.

Remember that the font showing in the Writer font drop-down selection box is the font the document is asking for. This may NOT be the font being used to create the display because, if the font being asked for is not installed on the PC, Windows (or other operating system) will silently substitute a different font which is available.

The TestFonts add-on is invaluable for finding missing fonts which the document is asking for, but which are not installed on the PC.

You can see which fonts are installed on a Windows PC by Start > Control Panel > Fonts or by clicking C:\Windows\Fonts.

Writer embeds fonts in a PDF by default - check by opening the PDF and File > Properties > Fonts.

Do some tests with fonts you know are available and prove they embed OK in the PDF. Now repeat with a font which does not work and diagnose what is causing the problem.

This is simsun font available with Windows 7.
Clipboard01.png
Attachments
chinese and japanese.pdf
(5.54 KiB) Downloaded 104 times
chinese and japanese.odt
(9.54 KiB) Downloaded 93 times
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
Post Reply