Missing Fonts
Hi,
In my document there is no fonts missing as manual. But when i get font list using code, its showing missing font.


Code:
var usedFonts = app.activeDocument.fonts;
var myArray = [];
for(var i = 0; i < usedFonts.length; i++){
if(usedFonts.status == FontStatus.NOT_AVAILABLE){
myArray.push(usedFonts.name);
}
}
if (myArray.length != 0) {
alert('Document contains missing fonts. Job aborted!\r' + 'Unavailable fonts:\r' + myArray.join('\r'));
exit();
}
If i use FontStatus.INSTALLED (ie., not installed) the same result i get. I dono why??
