Article View: adobe.photoshop.scripting
Article #233how to use FONTNAMES
From: Goydo_deKnirk
Date: Mon, 23 Mar 2009 20:17
Date: Mon, 23 Mar 2009 20:17
17 lines
1088 bytes
1088 bytes
Hi, I wonder how to get the real name of a font for using in a script. (sorry for bad english, i am deutsch:-) In my Fonts folder, there is a file "Eurostib.TTF". The file discription is "Eurostile Fett (True Type)". In Photoshop I can select "Eurostile" "Bold". But in a script I have to use "EurostileBold". This works. This I discovered by accident. Now I try to use other fontnames but Photoshop does not understand any name. app.activeDocument.layerSets[i].layers[j].textItem.font = "HelveticaNarrow" How does this work?
Technical Details
Message-ID:
<59b8630c.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f5839,7c91ae0f09b6b078,start X-Google-Attributes: gidf5839,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Goydo_deKnirk@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.photoshop.scripting Subject: how to use FONTNAMES Message-ID: <59b8630c.-1@webcrossing.la2eafNXanI> Date: Mon, 23 Mar 2009 13:17:24 -0700 Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit