Photoshop text size bug???
I think there is a bug in the Photoshop scripting DOM with the text size. The wrong text size is being reported if an image is resized after the text layers were already created. It reports the original text size instead of the new text size.
app.activeDocument.activeLayer.textItem.size will always report the text size as the original text size after the image has been resized (and text is auto resized with the image resizing). Say for instance, you create a text layer at 20 points and then resize the image to 50%. In this case the text auto sizes down to 10 points. In the Photoshop user interface it shows the text correctly at 10 points. However, app.activeDocument.activeLayer.textItem.size still has the font size stored as 20 points instead of 10 points.
Taking it step further, when replacing the text using app.activeDocument.activeLayer.textItem.contents="New Text"..........
For CS6 it will resize the text back to the original point value (text size before the image was resized).
For CC, the text replacement does not resize the text. It will stay at the current size. However, CC will still report the old text size and not the current text size
Has anyone encountered this? If so, would you know of a work around?
