Answered
Why can't I get the font with this code in Photoshop 2021, while I can retrieve the font in other ve
alert(app.activeDocument.activeLayer.textItem.font);
When my text layer uses the font: Adobe Heiti Std, I want to retrieve the property as: AdobeHeitiStd-Regular using this code. However, on some systems, it cannot be retrieved and shows that the text property cannot be obtained. The version being used is PS 2021. Do you have any solutions for this?
