AE import error: The positionY of the text layer in AE is higher than that in Figma
The positionY of the text layer in AE is higher than that in Figma
As far as I know, the positionY of text layer of text is related to lineHeight.
r('ADBE Transform Group')('ADBE Position').setValue([ layer.frame.x * compMult, (layer.frame.y + layer.fontSize/6) * compMult]);
maybe this line shouldbe include lineHeight in calculate postionY of textLayer on figma import to ae
As far as I know, in AE, the text will be on top of the text box, and in figma, it will be centered. This may be the cause of the error
https://www.figma.com/blog/line-height-changes/
I hope this link is helpful to you. I tried to fix this bug, but I haven't fixed it yet.