Reply To: Ranged left text not lining up

Home Page / Forums / General InDesign Topics (CLOSED) / Ranged left text not lining up / Reply To: Ranged left text not lining up

#14396385

Hi Peter,

I’ve studied Dave Saunder’s script and sure using the “DropCap” feature is really clever!

But I don’t find explanation about these 3 last code lines:

var normalizedKernAmount = (neededShift * 12/myChar.pointSize) + .5;
myPara.insertionPoints[0].contents = SpecialCharacters.hairSpace;
myPara.insertionPoints[1].kerningValue = normalizedKernAmount*-1000/12;

I suppose “12” and “.5” are linked to the use of the special char “hairSpace” but Dave doesn’t give us more info!

So, truly perplexe!

(^/)

This article was last modified on October 5, 2023

Comments (0)

Loading comments...