HI All
I need to get a hold of an insertion point between 2 characters and add some negative kerning to the characters either side.
I have tried:
myInsertion = myPara.characters[-3].insertionPoints;[JS][CS3] Insertion Point
myInsertion = myPara.insertionPoints[-3];
@+
Marc
[JS][CS3] Insertion PointThis will set the kerning on each side of that character to a specific value:
myPara.characters[-3].insertionPoints.everyItem().kerningValue = -25;
If you want to use different values, then:
myPara.characters[-3].insertionPoints[0].kerningValue = leftKern;
myPara.characters[-3].insertionPoints[1].kerningValue = rightKern;
where leftKern and rightKern hold the values you want.
Dave
Cheers Dave, once again a top and fast answer.
Works a treat!
Cheers
Roy
No comments:
Post a Comment