Psnfss - Old Content

From Wiki
Jump to navigation Jump to search

What is PSNFSS?

PSNFSS is an abbreviation of ‘post script new font selecting system,’ a terminology from LaTeX. It is an additional package that is usually installed on your LaTeX system. One of its purposes is to access the standard postscript fonts that printers have built in, also known as the thirty five base fonts. Part of psnfss is a set of font metrics (the tfm-files) that allows TeX to use the fonts for typesetting (TeX only knows about metrics, not outlines).

How do I access these fonts from ConTeXt?

If you don't have installed the font metrics with ConTeXt's texfont, you will have to change an internal mapping of filenames with the commands

\usetypescript [adobekb][\defaultencoding]

or whatever encoding you want to use. After that you can setup your font with

\setupbodyfont[pos]

and similar commands.


Added on July 5th, 2005 (by Otared K.): After some of us had difficulties using Postscript fonts, it seems that as of ConTeXt version 2005.06.27 (and pdfeTeX, Version 3.141592-1.20a-2.2 (Web2C 7.5.3)) the following declarations are the appropriate way of using Postscript fonts (in this instance we say "times", but you can say "palatino"):

\usetypescript [adobekb]   [ec]
\loadmapfile [context-base]
\usetypescript[times][\defaultencoding]
\setupbodyfont[times,12pt]

Note that in the case of "helvetica" the last two lines should be replaced with:

\usetypescript[helvetica][\defaultencoding]
\setupbodyfont[helvetica,ss,12pt]

How do I get ... ?

(make a list for all psnfss fonts)

palatino 
load the typescript palatino like this
\usetypescript[palatino][\defaultencoding]

and switch to palatino with \setupbodyfont

\setupbodyfont[palatino,12pt]