Skip to main content
jetwinr82978162
Inspiring
September 19, 2016
Question

How to add Font in iSeries(AS400) platform to use it in Postscript?

  • September 19, 2016
  • 1 reply
  • 2918 views

I have a requirement to add logo in postscript designed report where the characters in the logo need to be in FuturaBT-Bold.

I am able to print the logo with Fonts such Times, Helvetica etc., but i am not able to use Futura Family Font.

Please let me know the steps to be followed to get this font and use it from iSeries(AS400) platform for the reporting.

This topic has been closed for replies.

1 reply

Participating Frequently
September 26, 2016

If you have the font on your PC you need to determine the type. For example a PostScript Type 1 font can be included

in a ps (PostScript program). Others such as OpenType can't. You can get a free tool such as fontforge to convert

fonts. could also use the font in an email or document and print it to a file and extract the font.

jetwinr82978162
Inspiring
October 21, 2016

It is an Open type font. I have got the postscript definition of the font (using ghostscript converted the ttf to ps).

How to include the font definition to a PS and use the font in the PS?

Participating Frequently
October 24, 2016

One caution in using a font converted from a driver or ghostscript is the font may

a sub-set with just the characters used in the font unless you use e.g. the

-dSubsetFonts=false option.

The start of the font is e,g:

%!PS-Adobe-3.0 Resource-Font  or %%BeginResource: font SomeFont

The type of the font is e.g.:

/FontType 1 def

The name of the font is e.g.

/FontName /SomeFont def

The end of the font can vary but with gs is typically;

%%EndResource

If you copy just the font to a new file and add:

%!PS-Adobe

<insert font you copied>

/Somefont 18 selectfont

72 720 movetto

(Font Test) show

showpage