I'm using the script to automatically open a large number of PSD files, do things to the text layers and save out a new file, using a script I created.
I'll have a look at the ruler setting, cheers for the suggestion.
The font sizes appear to be the same, but the problem comes from the size of the bounding box of the text layer.
The Info palette displays the correct width and height, but if I use JavaScript or VB to get the these, it gives the incorrect values.
It doesn't happen with all of the Mac files...
We have a number of clients that supply us with PSD files created on Macs (possibly using PS 7) and we have a piece of PC software that modifies these files using JavaScript in CS. It gets the height and width of text layers, using:
Layer.textItem.width
Layer.textItem.height
However, in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.