Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

Alert Missing Fonts

$
0
0

Hi All,

FYI., new to Illustrator & Illustrator scripting.

 

Request:

Need alert, if the illustrator document having missing fonts.

 

In Indesign, we should use the below code:

 

Missing_Font();
function Missing_Font()
{    var myUsedFonts = app.activeDocument.fonts;    for (var i = 0; i < myUsedFonts.length; i++) {    if (myUsedFonts[i].status != "1718831470")    {        alert("Please Fix Missing Font")        exit(0);        }    }
}

 

 

Thanks in advance

Siraj


Viewing all articles
Browse latest Browse all 12845

Trending Articles



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