Index of /archives/text/CTAN/fonts/utilities/ps2pk
Name Last modified Size Description
Parent Directory -
INSTALLATION 2006-01-18 06:41 8.9K
README.14m 2006-01-18 06:41 1.0K
README.type1 2006-01-18 06:41 1.2K
Xstuff.h 2006-01-18 06:41 730
bstring.c 2006-01-18 06:41 231
cluts.h 2006-01-18 06:41 1.6K
digit.h 2006-01-18 06:41 3.1K
flisearch.c 2006-01-18 06:41 1.1K
font.h 2006-01-18 06:41 3.3K
fontfile.h 2006-01-18 06:41 3.0K
fontmisc.h 2006-01-18 06:41 1.8K
hdigit.h 2006-01-18 06:41 4.9K
protos.h 2006-01-18 06:41 20K
sexpr.c 2006-01-18 06:41 579
strexpr.c 2006-01-18 06:41 4.5K
strexpr.h 2006-01-18 06:41 400
strokes.h 2006-01-18 06:41 1.7K
t1hdigit.h 2006-01-18 06:41 1.8K
t1test.c 2006-01-18 06:41 17K
texfiles.c 2006-01-18 06:41 487
texfiles.h 2006-01-18 06:41 554
trig.h 2006-01-18 06:41 1.5K
usenet 2006-01-18 06:41 2.4K
configure 2007-07-03 19:56 710
t1imager.h 2009-06-02 22:37 4.3K
tokst.h 2014-10-08 16:05 29K
blues.h 2014-10-12 19:31 3.8K
curves.h 2014-10-12 19:31 2.1K
fontfcn.h 2014-10-12 19:31 4.9K
fonts.h 2014-10-12 19:31 1.8K
fontxlfd.h 2014-10-12 19:31 1.6K
hints.h 2014-10-12 19:31 2.2K
lines.h 2014-10-12 19:31 1.8K
paths.h 2014-10-12 19:31 11K
pictures.h 2014-10-12 19:31 1.9K
regions.h 2014-10-12 19:31 8.4K
scanfont.c 2014-10-12 19:31 45K
t1intf.h 2014-10-12 19:31 1.8K
t1stub.c 2014-10-12 19:31 1.7K
token.h 2014-10-12 19:31 2.3K
type1.c 2014-10-12 19:31 60K
arith.c 2014-10-13 15:40 13K
curves.c 2014-10-13 15:40 7.4K
ffilest.h 2014-10-13 15:40 4.2K
fontstruct.h 2014-10-13 15:40 7.5K
fsmasks.h 2014-10-13 15:40 2.8K
hints.c 2014-10-13 15:40 30K
lines.c 2014-10-13 15:40 5.8K
objects.c 2014-10-13 15:40 38K
spaces.h 2014-10-13 15:40 6.2K
t1funcs.c 2014-10-13 15:40 17K
t1info.c 2014-10-13 15:40 12K
t1io.c 2014-10-13 15:40 8.3K
t1snap.c 2014-10-13 15:40 2.6K
t1stdio.h 2014-10-13 15:40 3.2K
token.c 2014-10-13 15:40 27K
util.c 2014-10-13 15:40 4.3K
util.h 2014-10-13 15:40 8.6K
fontfcn.c 2014-10-14 22:50 10K
paths.c 2014-10-14 22:50 47K
spaces.c 2014-10-14 22:50 33K
regions.c 2014-11-06 22:40 55K
CHANGES.type1 2016-02-02 04:01 3.2K
README 2016-02-02 04:01 10K
basics.c 2016-02-02 04:01 455
basics.h 2016-02-02 04:01 1.7K
encoding.c 2016-02-02 04:01 9.9K
filenames.c 2016-02-02 04:01 2.8K
filenames.h 2016-02-02 04:01 700
mag.1 2016-02-02 04:01 1.3K
pfb2pfa.1 2016-02-02 04:01 724
pkin.c 2016-02-02 04:01 11K
pkin.h 2016-02-02 04:01 1.8K
pkout.c 2016-02-02 04:01 16K
pkout.h 2016-02-02 04:01 1.8K
psearch.c 2016-02-02 04:01 17K
psearch.h 2016-02-02 04:01 4.6K
types.h 2016-02-02 04:01 699
arith.h 2016-04-03 18:16 2.4K
Makefile.am 2017-03-28 03:00 2.4K
objects.h 2018-01-19 08:11 9.6K
ac/ 2019-06-22 00:37 -
configure.ac 2021-02-06 13:50 1.2K
mag.c 2021-02-06 13:50 3.3K
pfb2pfa.c 2021-02-06 13:50 3.1K
pk2bm.c 2021-02-06 13:50 6.4K
pktest.c 2021-02-06 13:50 2.9K
ps2pk.c 2021-02-06 13:50 22K
pk2bm.1 2022-08-31 10:02 1.3K
ps2pk.1 2022-08-31 10:02 5.5K
basename.c 2022-11-07 07:15 652
ChangeLog 2023-08-27 23:18 13K
tests/ 2023-08-28 08:42 -
c-auto.in 2024-04-29 01:42 8.9K
Makefile.in 2024-07-13 01:22 52K
aclocal.m4 2024-07-13 01:22 51K
configure.texk 2024-07-13 01:22 546K
This ps2pk program (all versions) is available under the same
permissive license as the Type 1 interpreter code that it is based on
(and incorporates). For the exact wording, see, for example, the type1.c
source file.
--Piet Tutelaers and Pierre MacKay, May 2011.
ps2pk is currently maintained as part of TeX Live (http://tug.org/texlive),
and distributed through TL and CTAN.
Ps2pk-1.4 available
-------------------
(January 1994)
Version 1.4 of ps2pk is now available on:
ftp.urc.tue.nl (address: 131.155.2.79)
directory: /pub/tex
files: ps2pk14.README ( 9k) This file
ps2pk14.tar.gz (237k) Sources
For MSDOS people having difficulties in handling UNIX `.tar.gz'
format I have made some UNIX tools (only executables) available
in directories:
/pub/unixtools/dos
See the system specific TARGZ file for some help.
Ftp.urc.tue.nl can not handle E-mail requests. But sites are free
to put the ps2pk14 stuff on any server that can.
I have made read-to-go 1.4 executables for MSDOS available in:
pub/tex/ps2pk14x/msdos/djgpp (created with DJGPP/gcc)
msdos/emx (created with EMX/gcc)
When do you need ps2pk?
----------------------
Ps2pk is a tool that converts a PostScript type1 font into a corres-
ponding TeX PK font. The tool is especially interesting if you want
to use fully hinted type1 fonts in your DVI previewer (instead of the
unhinted type1 fonts currently used in GhostScript) or on a printer
that has no PostScript interpreter.
In order to use the ps2pk generated fonts your driver and previewer need
to support virtual fonts. The reason is that PostScript fonts and TeX
fonts do have a different font encoding and handle ligatures in a
different way. With virtual fonts the PostScript world (encoding +
ligatures) can be mapped to the old style TeX world on which the current
plain macro packages still are based (despite the fact that TeX3.0 can
handle 8bits).
It is also possible to use the ps2pk generated PK fonts directly
(without virtual fonts) but in that case you need modified plain TeX
macros in order to acces the new (changed) font features. To make TeX
really 8bits (the reason TeX3.0 was released) TUG has proposed a new
font standard supporting the full 8bit range (in stead of the 7bit).
The 128 extra characters in this new TUG standard are filled up with
characters for 17 different European languages (see: TUGboat #10 vol.
4 1990). With ps2pk it is possible to generate PK fonts from
PostScript fonts according to this new TUG font standard.
Ps2pk and virtual fonts.
------------------------
In order to use ps2pk in combination with virtal fonts you need afm2tfm
(the version belonging to dvips5.487 or newer), dvips and a previewer
supporting virtual fonts (ex.: xdvi on UNIX).
PS: the latest version of dvips can be retrieved from
labrea.stanford.edu:pub and xdvi from export.lcs.mit.edu:contrib
Ps2pk without virtual fonts.
----------------------------
This road in not a paved one even for experienced TeX users! So be
prepared that you need to build some bridges and other improvements to
reach your goal. Or simply wait until the TeX community has switched to
the new TUG font standard.
Dvips (5.487 and higher) supports different TeX and PostScript
encodings. If you choose for the new TUG fontstandard defined in the
Cork meeting, as the TeX and PostScript encoding, you have to:
- generate a set of TFM/VF fonts for the `EC' (Extended Computer
Modern Font encoding) using afm2tfm and vptovf,
- install the new encoding vector EC.enc so it will also be used for
the resident/downloaded PostScript fonts
- install a modified version of NFSS (New Font Selection Scheme) using
this encoding scheme.
Type1 PostScript text fonts.
----------------------------
Fully hinted type1 fonts are generally not PD. You have to buy them
unless you are satisfied with the PD available GhostScript versions
(which are currently not hinted). You don't need to be an expert to
see the difference between hinted and unhinted fonts. If you are
using MSDOS or MacIntosh computers you probably use Adobe Type Manager
(ATM) a program that can render type1 fonts dynamically. With this
program or with other programs using ATM (for example Lotus) you
receive fully hinted type1 fonts. On MSDOS they have funny names like
tmr______.pfb. To save space on MSDOS type1 fonts are binary encoded
(.pfb). On UNIX you can use this .pfb format too or the .pfa format
(which occupies about double the space of a .pfb format).
If your UNIX workstation supports DPS (Display PostScript) than
you already may have a number of fully hinted type1 fonts. Look in
places like /usr/lib/dps.
If you are satisfied with PK fonts derived from unhinted type1
fonts just for previewing then you can ftp (thanks to Karl Berry):
ftp.cs.umb.edu (file: pub/tex/psfonts.tar).
This set contains PK files for the standard 35 PostScript fonts in
various sizes, generated by `gsrenderfont' in the GNU font utilities
(on prep.ai.mit.edu et al.).
Adobe has donated their Utopia font family to the X-consortium and IBM
their Courier font. Both families are available on ftp.urc.tue.nl. The
Courier font from IBM does have a rich set of accented characters not
found in other Adobe fonts. Both fonts are fully hinted.
Lee Hetherington has written a set of type1 conversion utilities. These
allow to convert from binary (PFB) to ASCII (PFA) and back. Or to
convert a type1 font into readable PostScript (disassemble) with the
possibility to edit it and to convert it back (assemble) to some type1
encoded form. They are now maintained by Eddie Kohler and available at
http://www.lcdf.org/type (and as part of TeX Live).
Type1 PostScript math fonts.
----------------------------
The PostScript type1 symbol fonts do not have the same rich set of math
symbols as the TeX fonts. There are two exceptions: the Lucida fonts
and the MathTime package. I have no experience with the Lucida fonts.
The MathTime package from Michael Spivak has the disadvantage that it is
too much MacIntosh/AMSTeX oriented. There are people who are working on
LaTeX support based upon NFSS. Another disadvantage of MathTime is that
it is built on top of TimesRoman-Italic (not delivered with the package)
and lacks bold-italic symbols.
Acknowledgements.
-----------------
Ps2pk uses the type1 rendering software IBM has donated to the
X-consortium. This rendering package is used by ps2pk as pure as
possible. But in order to support user specified encoding schemes, to
generate extended and/or slanted font variations, to uncouple it from the
X protocol and to fix some bugs I needed to change some of the sources.
I also want to thank the `ps2pk discussion forum' who helped me to make
ps2pk as it is now. Especially Tom Rokicki for enhancing his dvips/afm2tfm.
I wish you a lot of fun with type1 fonts,
--Piet
Piet Tutelaers
Computer Center Room RC 1.90
Eindhoven University of Technology
P.O. Box 513, 5600 MB Eindhoven, NL
For those who have used earlier versions of ps2pk next differences may be
of interest (only major differences are mentioned):
Ps2pk 1.4 release (94-01)
-------------------------
1) Memory allocation made dynamically
1.1 in computing runlengths (needed to build PK fonts)
1.2 in scanning type1 fonts (to overcome `fixed' virtual memory)
2) Problem with handling Lucida font (negative widths) solved
3) Improved error handling in scanning AFM files
4) Provided hooks to handle non 32-bit platforms
5) Some cleanups
6) Improved Makefiles.
Ps2pk 1.3 release (92-09)
-------------------------
1) Official X11R5 patches included in type1 library.
2) The -a<AFMfile> option added to ps2pk.
3) Problem with rendering of Obique fonts solved.
Ps2pk 1.2 release (92-06)
-------------------------
1) Ps2pk now computes the same checksum as afm2tfm (dvips5.487 or
higher). This means that you have to update your VF and TFM files
with the new dvips5487lib files.
2) Bug fixes:
- the MSDOS version now correctly reads PFB font files
- a segmentation fault error removed (capri.pfa font)
- an out of memory problem fixed (davysrib.pfa font)
3) Added Makefile for MSDOS/DJGPP (Delorie's GCC for 386 systems)
Ps2pk 1.1 release (92-04)
-------------------------
1) Ps2pk uses now the same encoding scheme as introduced by afm2tfm 7.0
(dvips5485). But default (for all English/American writing TeX-friends)
the program uses the same encoding as is in the AFM-file belonging to
the type1 PostScript font (normally AdobeStandard). So the program does
not longer need re-encode to create a .cmi file containing the encoding
vector and the WX values. These are read directly from the AFM file.
Typical usage for standard encoding:
ps2pk -X329 Utopia-Regular rputr.329pk
or with EC.enc encoding:
ps2pk -eEC.enc -X329 Utopia-Regular rputr.329pk
2) I have added a -E<expansion> and -S<slant> option to ps2pk thanks to
the patches I got from Lee Hetherington.
3) I have added a MakeTeXPK script so that dvips and xdvi can use it.
4) I have added manual pages and some documentation (README + INSTALLATION).
5) Some inconveniences for MSDOS users are removed.
Ps2pk 1.0 release (92-03)
-------------------------
======================================================================
CTAN SOURCE TREE INFORMATION
This CTAN source tree has been automatically extracted from the texk
Subversion repository at svn://tug.org/texlive/trunk/Build/source/texk/.
It is not possible to use the supplied configure script.
In fact, if you call it; you will be told as such.
This source can only be compiled in a texk build environment.
You will need to download the whole environment, please refer to
http://www.tug.org/texlive/svn/.
It all boils down to a Subversion checkout of
svn://tug.org/texlive/trunk/Build/source
This will be the source tree that you can use for compilation. The
CTAN directory is there for archival and informational purpose.
For your convenience, the original configure script from the texk
source tree is available in this directory as configure.texk.
For the CTAN team,
Joachim Schrod <jschrod@acm.org>