Copy link to clipboard
Copied
when clicking the script I get the followiing error
JavaScript Error!
Error Number: 15875
Error String: The requested font family is not available
Engine: main
File/Applications/Adobe Indesign CS6/Scripts/Scripts Panel/Samples/Javascript/AnimationEncyclopedia.jsx
Line: 361
Source:myTextFrame.texts.item(0).parentStory.appliedFont=app.fonts(myFontName);
how do I fix this?
works, (installiung Myriad Pro) perfect, yes–thanks.
Copy link to clipboard
Copied
Install Myriad Pro or comment out line 361:
myTextFrame.texts.item(0).parentStory.appliedFont = app.fonts.item(myFontName);
(which will set all the text frames the script adds in your default font).
Jeff
Copy link to clipboard
Copied
works, (installiung Myriad Pro) perfect, yes–thanks.
Copy link to clipboard
Copied
so mark it as correct
Find more inspiration, events, and resources on the new Adobe Community
Explore Now