-
Uneven spaces between text
After applying the expression below to several text layers, the space between them does not match.
Some of the layers have the proper space,The value i’m assigning to dist is 60, some of the layers (for example jan-feb and feb-mar are evenly spaced, but then the remaining layers are all messed up, I can’t figure out why.
I aligned them all to the right and set the anchor point at 0,0, all layers are three letters, same size, tracking and leading (even though they don’t have a second line) and I adjusted the kerning to have them more or less occupy the same space.
I have no idea why they aren’t spacing as intended, can anyone help?
Thanks,
David.dist=thisComp.layer("months expressions").effect("space between months")("Slider");
timeDelay=thisComp.layer("months expressions").effect("time delay")("Slider");x=thisComp.layer(index+1).transform.position.valueAtTime(time-timeDelay)[0]+dist;
y=thisComp.layer(index+1).transform.position[1];
[x,y];
