How does InDesing know if a font is copy protected?

Community Beginner ,
Jun 17, 2022 Jun 17, 2022

Copy link to clipboard

Copied

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

RdMax_0-1655450161688.png

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?

TOPICS
SDK , Server developers

Views

62

Likes

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
Adobe Community Professional ,
Jun 17, 2022 Jun 17, 2022

Copy link to clipboard

Copied

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 )

Likes

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 Beginner ,
Jun 17, 2022 Jun 17, 2022

Copy link to clipboard

Copied

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

Likes

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
LEGEND ,
Jun 17, 2022 Jun 17, 2022

Copy link to clipboard

Copied

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

Likes

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
Adobe Community Professional ,
Jun 17, 2022 Jun 17, 2022

Copy link to clipboard

Copied

LATEST

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 )

Likes

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