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

Rendering fonts using font file in InDesign Server

New Here ,
Sep 11, 2023 Sep 11, 2023

Hi, I am working with the InDesign server to render different templates. It uses a rendering (.jsx) script and data merge approach to render the indesign templates. Currently, I want to apply custom user fonts, using font files. Can I render the PDFs using custom font files in JSX script? If yes then please share with me the piece of code that demonstrates how can I achieve this. 
Tried workaround:

1. I uploaded the fonts to the InDesign font directory and then waited for the InDesign server to cache these uploaded fonts. Once the fonts are cached. I match the font name (using the font's full name from my database) and then apply it to the text. But this solution fails when multiple users upload similar font family files as they are no longer cached and the name from the database does not match anymore for some of the users.

TOPICS
How to , Scripting
328
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 ,
Sep 12, 2023 Sep 12, 2023
LATEST

Hi @Umair27001800eele ,

hm… you could use a Document fonts folder where the font files are stored.

The scope of that folder is its parent folder; that means all InDesign documents that are stored in the parent folder have access to the fonts in the Document fonts folder. The name of the folder is a "magic" one. Name it exactly like I suggested.

 

Make sure that the fonts folder in the InDesign Application folder is empty and also make sure that the customer's fonts are never installed in the system of the machine.

 

Regards,
Uwe Laubender
( Adobe Community Expert )

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