Japanese / Chinese chars are coming as box in PDF

Discuss the word processor

Japanese / Chinese chars are coming as box in PDF

Postby psubramanian » Thu Oct 11, 2018 10:23 pm

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
psubramanian
 
Posts: 12
Joined: Mon Sep 18, 2017 9:33 pm

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

Postby John_Ha » Thu Oct 11, 2018 11:03 pm

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

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 6002
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

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

Postby psubramanian » Thu Oct 11, 2018 11:08 pm

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
psubramanian
 
Posts: 12
Joined: Mon Sep 18, 2017 9:33 pm

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

Postby John_Ha » Thu Oct 11, 2018 11:21 pm

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 13 times
chinese and japanese.odt
(9.54 KiB) Downloaded 12 times
AOO 4.1.6, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 6002
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK


Return to Writer

Who is online

Users browsing this forum: No registered users and 16 guests