[Textures] A bit of everything (5/7)

Bruno Voisin bvoisin at me.com
Tue Mar 22 16:19:32 EDT 2011


PSNFSS
======

The LaTeX setups shipped with Textures, on the Textures 2.1.1 CD or for Textures 2.2.0 at <http://www.bluesky.com/download/Inputs.zip>, are quite old. In particular, they contain old versions of the PSNFSS package for using the LaserWriter 35 fonts with LaTeX: version 7 from 1998 for Textures 2.1, version 8 from 2001 for Textures 2.2, whereas the current version is version 9 from 2004.

To provide Textures with updated support, you must first deal with missing fonts: of the LaserWriter 35 fonts, OS X includes

	Courier
	Courier-Oblique
	Courier-Bold
	Courier-BoldOblique

	Helvetica
	Helvetica-Oblique
	Helvetica-Bold
	Helvetica-BoldOblique

	Palatino-Roman
	Palatino-Italic
	Palatino-Bold
	Palatino-BoldItalic

	Symbol

	Times-Roman
	Times-Italic
	Times-Bold
	Times-BoldItalic

	ZapfDingbats

but misses

	AvantGarde-Book
	AvantGarde-BookOblique
	AvantGarde-Demi
	AvantGarde-DemiOblique

	Bookman-Light	
	Bookman-LightItalic
	Bookman-Demi	
	Bookman-DemiItalic

	Helvetica-Narrow
	Helvetica-Narrow-Oblique
	Helvetica-Narrow-Bold
	Helvetica-Narrow-BoldOblique

	NewCenturySchlbk-Roman
	NewCenturySchlbk-Italic
	NewCenturySchlbk-Bold
	NewCenturySchlbk-BoldItalic

	ZapfChancery-MediumItalic

You can get public-domain clones of the latter from GhostPCL <http://ghostscript.com/GhostPCL.html> (by the makers of GhostScript), at

	ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/GhostPCL/urwfonts-8.71.tar.bz2

Pick up

	URWGothicL-Book			(for AvantGarde-Book)
	URWGothicL-BookObli		(for AvantGarde-BookOblique)
	URWGothicL-Demi			(for AvantGarde-Demi)
	URWGothicL-DemiObli		(for AvantGarde-DemiOblique)

	URWBookmanL-Ligh		(for Bookman-Light)
	URWBookmanL-LighItal		(for Bookman-LightItalic)
	URWBookmanL-DemiBold		(for Bookman-Demi)
	URWBookmanL-DemiBoldItal	(for Bookman-DemiItalic)

	NimbusSanL-ReguCond		(for Helvetica-Narrow)
	NimbusSanL-ReguCondItal		(for Helvetica-Narrow-Oblique)
	NimbusSanL-BoldCond		(for Helvetica-Narrow-Bold)	
	NimbusSanL-BoldCondItal		(for Helvetica-Narrow-BoldOblique)

	CenturySchL-Roma		(for NewCenturySchlbk-Roman)
	CenturySchL-Ital		(for NewCenturySchlbk-Italic)
	CenturySchL-Bold		(for NewCenturySchlbk-Bold)
	CenturySchL-BoldItal		(for NewCenturySchlbk-BoldItalic)

	URWChanceryL-MediItal		(for ZapfChancery-MediumItalic)

install them at the OS level or in the Textures Fonts folder, then use EdMetrics to edit the TeX Metrics suitcase inside the Textures app (at Textures.app/Contents/Resources/Metrics/"TeX Metrics") by replacing the PostScript names for the metrics AvantGarde, AvantGardeB, AvantGardeBI, AvantGardeI etc. by the new names above.

But that's just the easiest and quickest part of the story! Now you need to determine the various pieces the PSNFSS setup in TeX Live is made of:

- Metrics in 8r (TeXBase1), 7t (OT1 aka TeX Text), 8t (T1 aka Cork), 8c (TS1 aka Text Companion) and 8y (LY1 aka TeXnANSI) encodings, together with LaTeX support files and the PSNFSS package itself, from

	http://www.ctan.org/tex-archive/macros/latex/required/psnfss/
	http://www.ctan.org/tex-archive/fonts/psfonts/ly1/

- Raw metrics (rptmr etc.) in 8a (AdobeStandard) encoding from CSTeX, at

	http://www.ctan.org/tex-archive/macros/cstex/base/cspsfonts.tar.gz

- Pazo Math fonts (additional math glyphs to go with Palatino), required by the mathpazo package, from

	http://www.ctan.org/tex-archive/fonts/mathpazo/

- FPL fonts (old-style and small caps Palatino), required by the options [sc] and [osf] of the mathpazo package, from

	http://www.ctan.org/tex-archive/fonts/fpl/

- RSFS fonts (Ralph Smith's Formal Script fonts), required by the mathptmx package, from

	http://www.ctan.org/tex-archive/fonts/rsfs/ 

- pslatex package, a package intermediary between the original PSNFSS (which included Times, Helvetica and Courier without rescaling) and current psnfss (which provides a [scaled=] option for rescaling Helvetica). Says the documentation: "The main novel feature is that the pslatex package (unlike times.sty) tries to compensate for the visual differences between the Adobe fonts by scaling Helvetica by 90%, and `condensing' Courier (ie scaling horizontally) by 85%." This package contains original Courier Narrow metrics (pcrr7tn etc.) in 8r, 7t and 8t encodings, and lives at

	http://www.ctan.org/tex-archive/macros/latex/contrib/pslatex/

Having got all this, what you need to do is the following:

- Convert the Pazo Math, FPL and RSFS fonts to TTF format in FontForge, selecting "TrueType" for FPL and RSFS and "TrueType (Symbol)" for Pazo Math.

- Recreate the metrics pcrr8rn.tfm from pslatex. Using this metrics directly in EdMetrics causes EdMetrics and SheepShaver to crash when you try to enter "Condense to 85 percent". Run

	afm2tfm pcrr8a -e 0.85 -p 8r pcrr8rn
	tftopl pcrr8rn pcrr8rn

- Move the TeX input files in place inside the Inputs folder.

- Create an EdMetrics suitcase containing all the metrics, choosing the encodings as follows:

* For Avant Garde, Bookman, Courier, Helvetica, Helvetica Narrow, New Century Schoolbook, Palatino, Times, Zapf Chancery, FPL and RSFS

	rptmr metrics:	PostScript encoding -> AdobeStandard
	8r metrics:	PostScript encoding -> TeXBase1
	8y metrics:	PostScript encoding -> TeXnANSI

* For Symbol, Zapf Dingbats and Pazo Math

	PostScript encoding -> None

- Finally, make copies of some LY1 fonts and rename them so as to provide metrics using the Y&Y names such as tir. Use the table from names.txt inside

	http://www.tug.org/yandy/download/ly1-unix.zip

This yields the following copies

	pagd8y -> agd
	pagdo8y -> agdo
	pagk8y -> agw
	pagko8y -> agwo
	pbkd8y -> bkd
	pbkdi8y -> bkdi
	pbkl8y -> bkl
	pbkli8y -> bkli
	pcrb8y -> cob 
	pcrbo8y -> cobo
	pcrr8y -> com
	pcrro8y -> coo
	phvb8y -> hvb
	phvb8yn -> hvnb
	phvbo8y -> hvbo
	phvbo8yn -> hvnbo
	phvr8y -> hv
	phvr8yn -> hvnr
	phvro8y -> hvo
	phvro8yn -> hvno
	pncb8y -> ncb
	pncbi8y -> ncbi
	pncr8y -> ncr
	pncri8y -> nci
	pplb8y -> pob
	pplbi8y -> pobi
	pplr8y -> por
	pplri8y -> poi
	psyr -> sy 
	ptmb8y -> tib
	ptmbc8y -> tibsc
	ptmbi8y -> tibi
	ptmbo8y -> tibo
	ptmr8y -> tir
	ptmrc8y > tirsc
	ptmri8y -> tii
	ptmro8y -> tio
	pzcmi8y -> zcmi
	pzdr -> zd

Attached is the resulting metrics suitcase. You'll need to add the LaTeX input files and the URW fonts, and edit the "TeX Metrics" suitcase inside the Textures app.

Beware that Textures and/or EdMetrics don't understand PostScript modifiers, which means that all the slanted, extended, condensed and unslanted fonts which PSNFSS contains won't show up in the Typeset window and in the output of Print to PDF.

Don't forget too that the Textures 2.1.1 CD includes the nice textures-psfonts LaTeX package by Vincent Jalby, providing similar functionality to PSNFSS based on the Textures native metrics AvantGarde etc. in the Textures Macintosh encoding, called LM1 by Y&Y and LT1 in the package. A set of virtual small caps font is included. The package is available at two places in the CD:

	/CD Extras/Extra fonts & metrics/textures-psfonts ƒ 
	/Useful Files/textures-psfonts ƒ 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PSNFSS metrics.zip
Type: application/zip
Size: 688498 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/textures/attachments/20110322/c8475245/attachment.zip>


More information about the Textures mailing list