Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Viewing all articles
Browse latest Browse all 37788

Re: Create charater based on a txt file

$
0
0

I've tried all but none worked.

 

The error that i get is that the requested font family is not available, but i got the font name by the following lines.

 

var myAppliedFont = myCharStyles[oneStyle].appliedFont;

var myFontStyle = myCharStyles[oneStyle].fontStyle;

...

var name2 = myName + "\t" + myAppliedFont + "\t" + myFontStyle + "\t" + myHScale + "\t" + myVScale + "\t" + myColorName + "\t" + myTint + "\t" + myBaselineShift + "\t" + myAppliedLanguage + "\t" + myBasedOn;

myData = name2 + "\r";

f.writeln( myData ); 

 

Thats what i don't understand.

The font is available but, when importing the file that was exported by script i get error in some fonts, and the font name is exactly as used in indesign.


Viewing all articles
Browse latest Browse all 37788

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>