Thanks, Michael - that did the trick. How do I find the PostScript name for
any font named in Photoshop?
I wrote a script, for CS2 or later, which lets you obtain the PostScript name of a font according to family and style (using pop-up menus similar to the ones found in the character palette). The script, named "Get Font PostScript Name", is part of the JSON Sample Scripts and requires the JSON Action Manager library. It has been successfully tested in CS4 on Mac OS X, but should be platform agnostic.
Thanks for the scripts, but I was unable to install the Action Manager, and
could not determine what mistake I was making. Since then, have had
success typing in Word some text in desired font, saving as a PDF, and then
finding the PostScript name from Properties. That will at least help me
until I solve my problem with your script.
Thanks for your feedback.
I prepared a stand-alone version of the script which doesn't require including files from the JSON Action Manager library: Get-Font-PostScript-Name-SA.js.zip
Once unzipped, move the script to Presets>Scripts inside your Photoshop CS5 folder; after (re)starting the application, the script should be available from the File>Automate menu, and display an interactive dialog (from which you can copy the PostScript name of the selected font from the text field):
Please let me know if you have any problem...
From looking at the VBScript guide you should be able to find the postscript name of a font using VB. The Application object has a property called Fonts which contains a collection of TextFont objects. One the the properties of TextFont is PostScriptName. So if it is available to VBScript I would think that it is also available to VB.Net or whatever flavor you are using.
Thanks, Mikaeru69-it works beautifully!
Thanks, Michael, for another approach. I have VB 2008 installed, and will