How to specify a font name in EPS for rendering in CS3

BB
Posted By
Bob_Belleville
Aug 7, 2007
Views
329
Replies
4
Status
Closed
This has got to be simple but I’ve looked high and
low. I must not be using the right words.

I’m creating specialized eps (in a program of my own)
to be rendered using Photoshop CS3 on Windows XP.

How are the names in the PostScript mapped to Windows
fonts? I know for example that ArialMT maps to Arial.
How do I specify other fonts that are on my machine.

Any hint of where this is documented or where the
mapping file lives would be a help.

So many thanks — Bob

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

JR
John_R_Nielsen
Aug 8, 2007
You might wat to ask this in the Postscript Forum, <http://www.adobeforums.com/cgi-bin/webx/.ee6b36a/>
GD
george_dingwall
Aug 8, 2007
Hi Bob,

I have a script, not sure where it came from, that will identify the postscript name of any font on your computer.

– – – – – – script begins

// use this script to determine the Postscript name of a font

if (documents.length > 0) {
docRef = app.activeDocument;
var layerRef = docRef.activeLayer;
if (layerRef.kind == LayerKind.TEXT){
alert(layerRef.textItem.font);
}
}

– – – – – – Script ends

To use it, type some text in the font to be identified then run the script. The postscript name will appear in an alert box.

Hope this helps.
BB
Bob_Belleville
Aug 8, 2007
Dear George,

So many thanks I never would have though of
this approach.

More of the picture given this information:

The file AdobeFnt11.lst (I also have many such
files of the form AdobeFnt*.lst) has the form:

%BeginFont
Handler:WinTTHandler
FontType:TrueType
FontName:Arial-BoldItalicMT
FamilyName:Arial
StyleName:Bold Italic
MenuName:Arial
StyleBits:3
WeightClass:700
WidthClass:5
AngleClass:1
FullName:Arial Bold Italic
WritingScript:Roman
WinName:Arial Bold Italic
FileLength:226748
%EndFont

With one such block for each font.

The script you provide gives the ‘FontName’.
It links to the ‘WinName’ ‘Arial Bold Italic’
which can be found in the Windows font manager
accessed from the control panel. This gives
the font file name of arialbi.ttf.

Windows character map program accessed by:

To open Character Map, click Start, point to All Programs, point to Accessories, point to System Tools, and then click Character Map.
(In XP Pro anyway.)

Shows the glyphs and their codes for the ‘FamilyName:Arial’.

So many thanks. I feel like I know what I’m doing again. (This will last for a few minutes at most.)

Bob
GD
george_dingwall
Aug 8, 2007
Hi Bob,

Glad to be of help.

Bye for now.

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

Related Discussion Topics

Nice and short text about related topics in discussion sections