Skip to main content
Known Participant
June 17, 2022
Answered

How does InDesing know if a font is copy protected?

  • June 17, 2022
  • 4 replies
  • 417 views

Hello, We need to develop a solution that can mark fonts as copy protected as shown here.

We could not find any means by a font is flagged copy-protected in the font file's flags

How does indesing detect this value?

This topic has been closed for replies.
Correct answer Laubender

Well, yes.

Fonts activated from Adobe Fonts would fall also into the category.

 

One could tell from property location if a particular style is an activated font or not.

In my German InDesign the following string is returned when I ask of location of an Adobe Font:
"Aktiviert von Adobe Fonts"

 

//ExtendScript with InDesign:
app.findKeyStrings("Aktiviert von Adobe Fonts");
// Returns array with one string
// "$ID/S4SubscribedTypeKitFont"

 

Also forgot another property in my post above that could be set to true with a given font style:

restrictedPrinting

 

Regards,
Uwe Laubender
( Adobe Community Professional )

4 replies

LaubenderCommunity ExpertCorrect answer
Community Expert
June 17, 2022

Well, yes.

Fonts activated from Adobe Fonts would fall also into the category.

 

One could tell from property location if a particular style is an activated font or not.

In my German InDesign the following string is returned when I ask of location of an Adobe Font:
"Aktiviert von Adobe Fonts"

 

//ExtendScript with InDesign:
app.findKeyStrings("Aktiviert von Adobe Fonts");
// Returns array with one string
// "$ID/S4SubscribedTypeKitFont"

 

Also forgot another property in my post above that could be set to true with a given font style:

restrictedPrinting

 

Regards,
Uwe Laubender
( Adobe Community Professional )

Legend
June 17, 2022

Wild speculation: I wonder if this is for fonts that do not have font files available, specifically those activated by Adobe Fonts. 

Community Expert
June 17, 2022

Hi RdMax,

look into the ExtendScript DOM documentation with object Font.

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#Font.html

 

You'll see several properties related to the restrictions a font can have:

 

allowEditableEmbedding
allowOutlines
allowPDFEmbedding
allowPrinting

 

If the value is false of any of that the font's usage is restricted.

 

Regards,
Uwe Laubender
( Adobe Community Professional )

RdMaxAuthor
Known Participant
June 17, 2022

In CEP the best event that matches is EXPORT. It won't be usable for the "Pacakge" action.

Also, these can be read from the value https://docs.microsoft.com/en-us/typography/opentype/spec/os2#fstype here.

This flag cannot solve the "Copy Protected" bit in the image