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

gen pdf fonts problem

Contributor ,
Jan 29, 2019 Jan 29, 2019

Hi experts,

I use this method:

cDoc.exportFile(ExportFormat.PDF_TYPE, cFile, false, cPreset);

gen pdf in javascript.

but my come out has this problem:

pdf font problem.jpg

sometimes it is C, sometimes G, or other characters

Could some one tell me what's the problem?

thanks

regard

John

933
Translate
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 ,
Jan 29, 2019 Jan 29, 2019

Hi John,

This seems to be an issue with the font embedding in PDF, try exporting the pdf of the same document using the same preset used in the code and then see the results. I think you have used a font in the document that does not allow embedding.

You can also check the pdf in Acrobat to see if the font is missing or not, look at the following discussion on the topic.

Missing fonts in PDF or not?

-Manan

Translate
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
Contributor ,
Jan 30, 2019 Jan 30, 2019

Hi Manan,

It is barely happen.

for thousands times it happen 4 times.

if it is embedding fonts problem,

but why it is happen so barely?

John

Translate
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 ,
Jan 30, 2019 Jan 30, 2019

Are you always testing the pdf on the same machine and does it happen with the same font. It might also be the case that font is not embedded but Acrobat is reading it from the local installed version on the machine you are opening the pdf but in cases where you see this issue the machine on which the pdf is being opened does not have the font installed as well.

Anyhow i don't see this as a scripting query, lets move this discussion to the InDesign user forum, there we can get opinion of more experts better suited to look into this matter. I am moving this discussion to the other forum.

-Manan

Translate
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
Contributor ,
Jan 30, 2019 Jan 30, 2019

Thank Manan

Not the same computer.

different in 4 computers.

thanks

regard

John

Translate
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 ,
Jan 30, 2019 Jan 30, 2019

Hi John,

Have a look at a similar issue reported by another user

Chinese Characters are corrupted in PDF

Kindly do the investigations i mentioned in Acrobat and match the results and inferences as posted on the links i gave. Update the thread with your findings for someone to help you further on this.

-Manan

Translate
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
Contributor ,
Jan 30, 2019 Jan 30, 2019

thank you Manan,

thank so much.

John

Translate
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 ,
Jan 31, 2019 Jan 31, 2019

Hi John,

what's your exact version of InDesign?

What's your operating system?

What's the composer of the paragraphs?

What fonts are used? Is any font management software into play?

While running the script do you do other things in different apps?

Regards,
Uwe

Translate
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
Contributor ,
Jan 31, 2019 Jan 31, 2019

Hi Uwe,

InDesign
CC2018

Version
13.0-J

Win 10
Professional

Times LT Std

Suitcase Fusion 3

what is the meaning:

What's the composer of the paragraphs?

While running the script do not anything

John

Translate
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 ,
Jan 31, 2019 Jan 31, 2019

Hi John,

the paragraph composer. A property of every paragraph and paragraph style.

Basically by scripting there are six different composers available.

Here a list with the locale independent strings:

Adobe:

$ID/HL Single

$ID/HL Composer

World Ready:

$ID/HL Single Optyca

$ID/HL Composer Optyca

Japanese:

$ID/HL Single J

$ID/HL Composer J

Regards,
Uwe

Translate
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
Contributor ,
Jan 31, 2019 Jan 31, 2019
LATEST

Do you mean this:

擷取01.PNG

Translate
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