Answered
Script for turn off ligatures from overall text of an document
I need a script to turn off ligature, from overall artwork.
ligature should be removed from AW. if the text is area type or open type and all other formats.
I need a script to turn off ligature, from overall artwork.
ligature should be removed from AW. if the text is area type or open type and all other formats.
Try this:
/**
* Turn off ligatures in active document.
* @7111211 m1b
*/
(function () {
var doc = app.activeDocument,
textFrames = doc.textFrames;
for (var i = 0; i < textFrames.length; i++) {
textFrames[i].textRange.ligature = false;
textFrames[i].textRange.contextualLigature = false;
textFrames[i].textRange.discretionaryLigature = false;
}
})();Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.