Skip to main content
DevInPage
Participant
February 26, 2026
Question

I am developing a Plugin for InDesign on MAC OS & I have my own font files, how can I load those fonts dynamically directly to the memory without saving the original font file to the system so that font stays private to that running InDesign instance

  • February 26, 2026
  • 1 reply
  • 78 views

We are developing an Adobe InDesign plugin for macOS that requires the use of proprietary font files. These fonts must remain private to that Particular running InDesign instance after loading and protected from unauthorized access.

The plugin must use these fonts for text rendering and layout within InDesign documents.

The Objective is to Enable the plugin to load and use proprietary fonts dynamically at runtime without installing them system-wide and without exposing the original font files on disk.

Functional requirements

The solution must:

  1. Allow the plugin to use custom font files at runtime.
  2. Prevent permanent installation of fonts in system or user font directories.
  3. Avoid exposing original font files in accessible filesystem locations.
  4. Work seamlessly with Adobe InDesign’s text engine.
  5. Preserve typography features including:
    • glyph shaping
    • ligatures
    • kerning
    • OpenType features
    • complex script support

Security Requirements

The implementation must:

  • protect proprietary font data from unauthorized extraction
  • avoid leaving recoverable font files on disk
  • prevent exposure through public font directories
  • minimize risk of reverse engineering or copying


macOS Font Architecture

macOS supports runtime font registration using CoreText APIs such as:

  • CGFontCreateWithDataProvider
  • CTFontManagerRegisterGraphicsFont

These allow fonts to be loaded from memory.

Adobe InDesign Font Handling

However, Adobe InDesign:

  • builds an internal font database at launch
  • scans predefined font directories
  • caches font information internally
  • does not dynamically detect runtime CoreText font registrations

As a result:

Fonts registered in memory using CoreText are not recognized by InDesign’s text engine.

Any suggestions on how to accomplish this would be greatly appreciated.

    1 reply

    DevInPage
    DevInPageAuthor
    Participant
    April 27, 2026

    Hello all, I wanted to check if anyone could help me with my query posted earlier. I’m still trying to figure it out and would really value any guidance or suggestions. Thanks in advance!