• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Simplified Chinese font - Displaying spaces in Chrome/IE

New Here ,
May 08, 2017 May 08, 2017

Copy link to clipboard

Copied

Hi,

Trying to create a PDF/JPG with Simplified Chinese font using InDesign Server CS5.5 and  InDesign Template

When I generate a PDF/JPG, empty spaces are being displayed instead on Chinese font characters in Chrome and IE, looks good in Firefox. But we use only IE/Chrome.

The same PDF looks different in Firefox and IE/Chrome.

Screenshot_5.png

The InDesign template is using the following fonts:

1) Futura Std Light Condensed

2) DFPHeiGB5Hk W9

3) DFPHeiGB5Hk W5

These fonts are already installed in my InDesign server.

Even it looks odd in Acrobat Reader DC (spaces) - Version: 2017.009.20044

Screenshot_4.png

I have observed that Traditional Chinese font is looks good in all browsers. However Simplified Chinese font is not visible.

I believe the InDesign server is exporting Chinese font to the PDF (otherwise Firefox could not display it), but they are not visible in remaining browsers and Acrobat reader.

Am I missing something here.

Can you please suggest what needs to be done to correct this behavior.

Thanks in advance for the help.

Views

5.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , May 09, 2017 May 09, 2017

I am not really a user of ID Server. However, you are correct: what you need to do is open up the template and change the Chinese font there, but not to MingLiu, which is another Trad font. (It does look look like It should have all the glyphs necessary, though.) I didn't see that Firefox has substituted the same glyph every time-that must be an error. Your sample generated from Word demonstrates this.

And the estimable Jongware is of course correct - MS Word willhappily substitute fonts without

...

Votes

Translate

Translate
Community Expert ,
May 08, 2017 May 08, 2017

Copy link to clipboard

Copied

There is no control over how a web browser PDF reader displays anything but the simplest of PDF files. You should complain to the developer of the browser.

What does the PDF look like in Adobe Acrobat or Reader which follows a much higher standard for PDF rendering?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 08, 2017 May 08, 2017

Copy link to clipboard

Copied

Hi Steve Werner,

Thank for the reply.

Is there  anything that  I can do from InDesign server  side to render these fonts in all browsers?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 08, 2017 May 08, 2017

Copy link to clipboard

Copied

Not that I've ever heard of. The problem is almost certainly in the PDF rendering software. What does it look like in Adobe Acrobat or Reader as I asked before?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 08, 2017 May 08, 2017

Copy link to clipboard

Copied

It looks as same as Chrome/IE.

Screenshot_4.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 08, 2017 May 08, 2017

Copy link to clipboard

Copied

I would say that this is now above my pay grade.

If there is some reason that Adobe Reader/Acrobat is not rendering the Chinese properly, I don't understand why. It could be a bug. But I know nothing about PDF files from Chinese language text. I would say you should probably try a different Chinese font to see if the issue can be replicated. There's also the complication of using an old version of InDesign Server which almost none of us use.

Chances are, only a couple of our occasional visitors (Dov Isaac from Adobe  and our foreign langauge expert Joel Cherney) have the expertise to help here. It's a very specialized issue. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 08, 2017 May 08, 2017

Copy link to clipboard

Copied

Thanks for the callout, Steve! I do think I know the answer to this one - although it's really David Goodrich who is the Forums' Own Chinese Expert.

Whenever I see the DF Hei fonts, I always expect Trad Chinese, not Simplified. If you look, there are Simplified glyphs being automatically substituted in your Firefox screenshot. The font name declares its encoding; GB5 is, I assume, a reference to Big5 encoding which is strictly for Trad Chinese. The substituted Simplified fonts look a hell of a lot like the DF Hei fonts, it's true, but the baseline is raised a tiny bit, if you look closely. I am not sure why Firefox's pdf.js is willing to substitute missing glyphs, but obviously neither Chrome nor Acrobat is willing to do so.

Do you have any Simplified Chinese fonts installed on the server on which your PDF is being generated? (I suspect you do, even if it's just SimHei - or something similarly bland.) Can you give that a try and see what comes out the other end?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 08, 2017 May 08, 2017

Copy link to clipboard

Copied

Ah, Joel to the rescue! Thanks for stepping in.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 09, 2017 May 09, 2017

Copy link to clipboard

Copied

Thanks for the insight Joel.

SimHei font is already installed in our InDesign server.

I might need to create an InDesign template which we are using to generate this PDF, with SimHei font in it.

I will try generating PDF with such template and get back to you.

Please find the Link to the current InDesign template.

After reading your reply, I observed that Firefox's pdf.js is substituting the same Character in all missing places (spaces).

Screenshot_1.png

To test this, I copied all the text from my database to a MS-Word document and generated a PDF from Word.

Which looks good and these characters are different from what Firefox is displaying.

Link to Word document

Link to PDF generated with Word document

Also, is there anything to be done from encoding side?

When I check the properties of the PDFs (good and bad PDFs) in Acrobat reader, I observed the following in Fonts tab

PDF generated from InDesign

Screenshot_3.png

PDF generated from MS-Word (with  - LiQun Ye Geometric Trimming Chinese Fontt - Simplified ) :

Screenshot_5.png

PDF generated from MS-Word (with  - MingLiu font - which already available in my machine ) :

Screenshot_6.png

Sorry for my long reply, under assumption that they might help you to guide me in right direction.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 09, 2017 May 09, 2017

Copy link to clipboard

Copied

Hi Joel,

Few lines to add..

Apart from PDF, I also generate a JPG file from the InDesign template with Chinese text.

Even the JPG file does not have these Chinese characters. The same empty spaces just like PDF.

Untitled.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 09, 2017 May 09, 2017

Copy link to clipboard

Copied

Aren't those missing characters also missing in the InDesign document itself?

The "space" may just be because those specific characters are not available in your font of choice. I can't test because I don't have your font, and the Chinese fonts I tried all contain the correct characters. But it is substantiated by your MS Word screenshot: you can clearly see that some characters are (silently!) taken from another font. That is Word's default behavior; InDesign does not do this.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 09, 2017 May 09, 2017

Copy link to clipboard

Copied

I am not really a user of ID Server. However, you are correct: what you need to do is open up the template and change the Chinese font there, but not to MingLiu, which is another Trad font. (It does look look like It should have all the glyphs necessary, though.) I didn't see that Firefox has substituted the same glyph every time-that must be an error. Your sample generated from Word demonstrates this.

And the estimable Jongware is of course correct - MS Word willhappily substitute fonts without informing you.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 12, 2017 May 12, 2017

Copy link to clipboard

Copied

LATEST

Hi Joel,

Thanks for your guidence.

I tried with other Simplified chinese font (LiQun Ye Geometric Trimming Chinese Fontt - Simplified), now I got the correct result.

Screenshot_1.png

Please suggest what should be the next step.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines