Skip to main content
February 1, 2011
Answered

How can i obtain this block code of a Font

  • February 1, 2011
  • 1 reply
  • 1566 views

Hello,

I want to know how do I obtain the definition of a Font (TrueType), I found a block code, and I supposed is the definition of the Font in a PS file. Is it correct?

I added part of the code, to explain me better.

$_FONT_ARIALMT ="%%BeginResource: font ArialMT
%ct_CffDict begin
%!FontType1
16 dict begin
/FontInfo 15 dict dup begin
/Notice (Copyright (c) 1991, 1993, 1996, 1997, 1998, 1999 Adobe Systems Incorporated.  All Rights Reserved.Arial is a trademark of The Monotype Corporation, registered in the US Patent and Trademark Office and elsewhere.) def
/version (001.001) def
/FullName (Arial MT) def
/FamilyName (Arial MT) def
/Weight (Regular) def
/ItalicAngle 0 def

How to obtain this lines but of another TrueType Font?

Thanks a lot for your help.

This topic has been closed for replies.
Correct answer Mr__Horton

The second option,

Today I have those lines in a php include file, and I use it to create postscript files. I need declare a new Font but I don't have those lines for the new Font and I want to know how to obtain it.


You get them from the Adobe Type 1 font files with extensions of  ".PFB".

Sounds like you are embedding fonts with your application and you will probably need to unencode and insert the entire PFB into your PostScript file, unless you have a mechanism to match up the header with the rest of the file for some unique reason.

1 reply

Mr__Horton
Inspiring
February 2, 2011

Looks like the heading of an Adobe Type 1 font Arial MT to me, not a TrueType version of the font.

February 2, 2011

Hi Mr. Horton,

Then if I understand, to find those lines but of another Font, I need the Heading Adobe Type 1?

I need a Barcode Font and the Owner says me that the Postscript Font is included, is enough or I need to ask for the Heading Adobe Type 1?

I'm sorry if I ask it something really fool

Mr__Horton
Inspiring
February 2, 2011

Where you are at and where you want to be are not clear to me...

If the PostScript font is "included" that could mean that it is embedded in a graphics application file (ie. .EPS or .AI file), or it could mean that it is included in a folder or set of files as a font that you would load into your application and use independently of the graphics file you are working with. Which is it?