Copy link to clipboard
Copied
Hi
I have a word doc which has [sans-serif] font which is missing in InDesign. If I try to place this document using InDesign then I get an option to replace the font with any of the available fonts. Is there any way to replace the missing fonts with any available font using CEP extension?
Copy link to clipboard
Copied
Hi @devs27984525 ,
what did you do so far in your code to identify missing fonts in your document?
Note: If you inspect a textStyleRange and look into appliedFont.status you should see value NOT_AVAILABLE when it's missing. Values for properties fontFamily and fontStyleName should be there to identify the name and the style.
Because you do not want to replace it with the original you could immediately assign a different one that is installed.
Regards,
Uwe Laubender
( Adobe Community Professional )
Copy link to clipboard
Copied
I wrote a few scripts for this task.