photoshop cs3 scripting - font names
问题 i am trying to set the font of a textItem, using textItem.font which accepts a string, but i do not know the exact font names to refer in code, i am trying to achieve something like this var newLayer = docRef_1.artLayers.add(); newLayer.kind=LayerKind.TEXT; var textItemRef = newLayer.textItem; textItemRef.contents = someCharacter; textItemRef.size = 120; textItemRef.font="Verdana-Bold"; but the font names to refer in code are not the same as they appear in photoshop UI for e.g Arial is