Hello Team, Hope this message finds you well!
I’m developing a UXP plugin that normalizes transformed text layers (similar to Free Transform → Apply behavior). The goal is to recreate the text layer cleanly with the same visual appearance same text, font, color, and point size, but without transformation.
While this works perfectly using ExtendScript (JSX), in UXP the results are inconsistent:
-
The new text appears much smaller than the original when the source layer was a paragraph text (area text).
-
Multiple new layers are created at random positions far from the original location.
-
The effective visual font size calculation based on boundsNoEffects vs. a clean text layer width seems unreliable in UXP.
It appears that UXP’s text creation and measurement APIs (batchPlay, bounds, textKey.textShape) handle paragraph text differently than JSX, breaking proportional scaling and position tracking.
Could you please help me investigate this issues? or it is a limitation of the UXP Photoshop API?
Thank you for your time.
Othman Ahmed Akram
(Developer of Kashida Pro / Arabic Typography Tools)