Any way to check/change font in a portion of a TextItem?
Hello! I have been working with scripts that modify existing Text Items within PSDs. In some cases, there are Text Items that have more than one font in them. I would like to be able to isolate the portion of the string that is in a different font so that it can be changed. The desired result would be taking something like this:
"Here is some text"
to this:
"Here is some text"
So far I can isolate the font used for the first character in the string of the Text Item, and changing the font associated with the text item changes the font for every character. Is it possible to change only the font that is different, assuming that I know the postscript names of the fonts in question?
Thanks for any help!
