Copy link to clipboard
Copied
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?
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 b
...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 )
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
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.
Copy link to clipboard
Copied
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 )
Find more inspiration, events, and resources on the new Adobe Community
Explore Now