<<

TUGboat, Volume 21 (2000), No. 2 121

Exploiting Rich Sivan Toledo 1 Introduction Rich fonts with hundreds or thousands of glyphs are becoming widely available. Such fonts are now bun- dled with operating systems, printers, and consumer software. Rich fonts enable us to achieve better typographic results than possible with conventional fonts. This paper explores three kinds of rich fonts, their typographic features, and ways to exploit these features in TEXsystems. The three kinds of fonts that the paper explores are: 1. PostScript 3 fonts. Adobe defined a core set of fonts to be included in all PostScript 3 de- vices [1]. Two families in the core set, Hoe- fler Text and Apple Chancery, are particularly interesting, since their fonts contain hundreds of glyphs. This article focuses on one family, Hoefler Text, a general-purpose text family. Figure 1: The typographic features of the Hoefler The glyph contents of Apple Chancery is fairly Text family (most but not all). similarto that of Adobe Poetica, forwhich T EX support has already been developed [7, 5]. 2. WGL4 Fonts. WGL4 () is a glyph list published by Microsoft and intended to support all European languages, including Greek and Russian. Many fonts bun- dled with Microsoft’s Office products are WGL4 fonts, and the inclusion of Greek letters in them offers new creative possibilities for mathemati- cal typesetting. 3. Linotype. Palatino Linotype is a family bundled with Microsoft’s Professional operating . These fonts are WGL4 fonts, but they also contain many more Latin glyphs than most WGL4 fonts, and thus allow more typographic options. Both Hoefler-Text and Palatino-Linotype enable one to achieve highertypographic quality than is pos- sible with otherfont families, including and families for which there are expert fonts. The fonts in these families include several sets of numerals for different uses and more standard lig- atures than other text . They also contain quaint ligatures, alternate glyphs and swashes, but these are not particularly rare. We can expect additional rich fonts to become available. Adobe is preparing new OpenType “Pro” fonts, which will also include multiple sets of nu- merals and other features. One “Pro” font family is already available, Tekton Pro, which is bundled Figure 2: The typographic features of the with Adobe’s InDesign page layout program. Adobe Palatino-Linotype family. 122 TUGboat, Volume 21 (2000), No. 2

by Apple to offer advanced typographic refinement and control [2]. Apple commissioned and distributed afewGXfontsaspartoftheMacintosh’soperating system, including HoeflerText, Apple Chancery, and . The only majorfont manufacturerthat offers GX fonts is Linotype. GX fonts offer the typesetter pair kerning, tracking, ligatures, baseline adjustments, vertical substitution, optical alignment of line edges, accent positioning, several sets of Figure 3: The typographic features of the numerals, fractions, and glyph variations. Most Franklin-Gothic family. of these features work automatically; several are underthe control of the typesetter(actually the typesetting program), such as selection of glyph has announced that it will issue additional “Pro” variants and type of numerals. families, including Adobe , Minion, and OpenType is anotherenhancement to True- . The TEX community should, therefore, Type. The OpenType specification was developped prepare to exploit these fonts. by Adobe and Microsoft. OpenType offers two ma- Adobe’s OpenType fonts are beyond the scope jor advantages over conventional TrueType. First, of this paperbecause theirglyphs arestoredin a OpenType fonts support advanced typographic fea- so-called CFF format, a form of compressed Type1 tures such as glyph substitution (ligatures, small outlines. To the best of my knowledge, there are no capitals, old-style numerals, contextual shaping of tools available today which enable the use of such arabic, and so on). Second, The glyphs in OpenType fonts with TEX systems. The otherfonts that this fonts can be described using the normal TrueType paper discusses have outlines in TrueType format machinery or using Type1 machinery. This allows which is relatively easy to use with TEX. lossless conversion of Type1 fonts to OpenType. Both GX and OpenType enhance TrueType 2 TrueType and OpenType Fonts buy adding so-called tables, or data structures, to All the fonts discussed in this article are TrueType the font file. The basic TrueType structures are or OpenType fonts. The TrueType font format maintained, however, so GX fonts and OpenType was originally developped by Apple and is now fonts with TrueType outlines are also valid True- widely used on Machintosh, Windows, and Unix Type fonts (OpenType fonts with Type1 outlines computers. The glyph in a TrueType font are are not valid TrueType fonts). described by outlines (quadratic splines). The hints 3PostScript3CoreFonts that ensure high-quality rendering at low resolution are essentially little program that move the control PostScript 3 is new enhancement of the PostScript points of the outlines to fit the discrete pixel grid. language (the previous standard is called PostScript TrueType fonts offer two advantages over Post- Level 2). Several high-end laser printers already Script Type1 fonts, another widely used outline font support PostScript 3. format. First, since the hints are programs it is Among the enhancements in PostScript 3 over possible to achieve higher quality rendering at low PostScript levels 1 and 2 is a new set of core fonts resolution than with Type1 fonts, which have declar- that must be supported by all PostScript 3 devices. ative hints. (Hinting TrueType fonts well generally The core sets includes 136 fonts: requires a significant effort by an expert font engi- • The 35 standard PostScript fonts (Avant Garde, neer, however.) Second, TrueType fonts combine Bookman, , , Helvetica Con- the description of glyphs, metric information (glyph densed, New Century Schoolbook, Palatino, metrics and kerning pairs), and auxiliary informa- Times, , Zapf Chancery, and Zapf Ding- tion into a single file, so TrueType fonts are often bats). easierto install and manage than PostScript fonts. • There are now several variants of TrueType Some of the core fonts in fonts. First, Windows and Macintosh computers operating systems ( and Times New). use slightly different formats. This article deals only • Some of the core fonts in the Apple Macintosh with Windows fonts, which are also usable on Unix operating system (Chicago, , , and Linux. TrueType GX, now known as AAT and ), as well as two of Apple’s (Apple Advanced ), is an extension of GX font families (Apple Chancery and Hoefler the original TrueType font format that was designed Text). TUGboat, Volume 21 (2000), No. 2 123

• Several fonts that are bundled with Microsoft capitals. The text fonts include between 711–881 Office products and with HP printers. glyphs each. These glyphs can be classified into the • Additional Adobe font families, such as Stempel following categories: Garamond, Carta, Joana, and . • Latin letters, accents, and precomposed char- The 136 core fonts are resident in PostScript 3 print- acters. ers, such as HP’s 2500CM, Lexmark’s T series, and • capitals in the italic fonts; most letters Xerox’s DocuColor CP40. Furthermore, to enable have one swash form, A and M have two, some printer users to utilize all the fonts resident in their have none. There is also a long-tail Q in the printers, printer manufacturers bundle screen fonts upright fonts. with the printers. Thus, users of PostScript 3 print- • Initial and final swash variants for a few lower- ers have access to all 136 fonts in either PostScript case letters in the italic fonts. Type1 format or in TrueType format. Both HP and • Small capitals in all the fonts. The italic fonts Xerox distribute the complete set of screen fonts also contain a few variant small capitals. forboth Macintosh and Windows (the Windows- • formatfontscanbeusedonUnixandLinuxsystems Standard, quaint, and archaic ligatures. The as well). Thus, users of Microsoft Windows, Unix so-called standard ligatures include not only and Linux systems who purchase such printers now fi, fl, ff, ffi, and ffl, but also fb, fj, ffb, and have access to fonts that were once available only on many more (16 altogether in the italic fonts, Macintosh systems. These fonts can be easily used less in the uprights). The quaint ligatures 1 include ligatures for ct and st. Again, the italic by TEXandOmega. fonts have many more than the uprights. The 4 The Hoefler-Text Font Family archaic ligatures are ligatures involving long- HoeflerText, designed by Jonathan Hoefler,was s, which is also present in all the fonts. The originally commissioned by Apple. The fonts were standard ligatures are supposed to always be originally available in Apple’s TrueType GX for- used, the quaint ones undermanual control of mat only. It is now available from the Hoefler the typesetter. There are also swash forms for (www.typography.com) in PostScript some of the ligatures. Type1 as well. It is also available in Windows True- • Four sets of numerals: variable-width old-style Type format as a screen font bundled with several numerals (the default), variable-width lining printers, as explained above. numerals, fixed-width old-style and lining nu- The Windows TrueType versions of the Apple merals. The fixed-width numerals are designed fonts in the PostScript 3 core set retain all the fortables, the variable-width forall otherap- glyphs that are present in the GX fonts, but not plications. all the metric information. The glyph sizes are, of • Three sets of punctuation marks and monetary course, present, and so are the kerning pairs (the symbols. The default set is designed fortext number of pairs ranges from 1784 in the regular composed with capitals and lowercase, another font to 6907 in the black italic). The othermetric set forall capitals, and a thirdset fortext com- and substitution information cannot be represented posed with small capitals only. The monetary in non-GX TrueType fonts and is lost. (Most of symbols of the second set are also suitable for the extra GX font information can be represented using with lining numerals in normal text, since in OpenType fonts, a newerenhancement of the theirhight is aligned with that of the lining TrueType format, but my fonts were not OpenType numerals. fonts.) • Fraction components and a few precomposed PostScript 3’s core font set includes five fonts fractions. The components include a fraction from the Hoefler Text family: regular, italic, black, and numerals for the numerator and de- black italic, and ornaments (bold-weight fonts are nominator. When composed, the height of the available from the Hoefler Type Foundry, but are not fractions is aligned with the height of the capi- part of the PostScript 3 core fonts). The regular font tals and lining figures. actually hides anotherfont consisting of engraved • Inferior and superior lowercase letters and nu- 1 Omega is a TEX-like program supporting 16-bit charac- merals designed for superscripts and subscripts. ters. It is now a standard part of some T X distributions, E These are not particularly useful for TEXbe- such as teTEX, so most users can use it directly without any need to install new software. Omega preloaded with LATEXis cause the character sets are incomplete, but invoked using the command lambda. they should be suitable formarkingfootnotes. 124 TUGboat, Volume 21 (2000), No. 2

• Symbols: symbols used in text (e.g., section and TEX must see the code forthe ^ letteritself, paragraph symbols) and a few mathematical which normally needs to be specified in LATEX input symbols. file using the macro \textasciicircum.Imostly 2 A use LYX to prepare input files for LTEX, so I simply 5TXUsage A E type the ^ and LYX inserts the macro in the LTEX From the user’s point of view, the Hoefler Text fam- input file. If you use a text editor to prepare input ily forTEX includes the seven font families shown in files, a character that TEX considers to be a letter, Figure 4: perhaps the asterisk, would be preferable. • The default family uses variable-width old-style 6 Technicalities numerals and contains eight fonts: upright medium and bold, italic medium and bold, and Let us first explain the basics of using TrueType and fourcaps-and-small-caps fonts. OpenType fonts, rich or conventional, with TEX. While some TEX implementations, such as TrueTEX, • The engraved family with one font, containing support TrueType fonts directly, most TEXsystems only capitals (lowercase characters are mapped require that TrueType fonts be prepared before they to uppercase glyphs). can be used. The purpose of the conversion is to • Three families with four fonts each (regular, produce metric files (.tfm, .ofm for Omega) and italic, bold, bold-italic) containing eithervariable- sometimes virtual fonts (.vf, .ovf forOmega) forT EX width lining numerals, fixed-width old-style nu- or Omega, and to produce a “glyph container” for merals, or fixed-width lining numerals. These the output processor (e.g., dvips). The metric and are upper-and-lowercase fonts. virtual-font files are produced in two steps. First, a utility extracts the metric information from the • A family of four (regular, italic, bold, bold- TrueType fonts and stores it in an AFM file in the italic) fonts that map lowercase to upper case format that Type1 metrics is stored in. Several free and use punctuation and monetary signs that utilities, such as ttf2afm and ttfps can perform align with the capitals (e.i., they are slightly this conversion. Second, we need to convert the raised compared to the default signs). TrueType font file to a format that the output • A family of fourfonts that map both upper processor can process. We can produce bitmapped and lowercase to small-caps glyphs and use fonts at various sizes using the utility ttf2pk.The punctuation and monetary signs that align with resulting pk font files can be used by most DVI pro- the small capitals. cessors. The disadvantage of bitmapped fonts is that The fonts use the T1 encoding. A LATEX package PDF files containing them don’t render very well on that I have written defines the families using the the screen. We can also convert the TrueType font New Font Selection Scheme. files into scalable font files that can be embeded These fonts activate the so-called standard lig- in PostScript files. One method is to convert the atures (including fb, fj, etc.) automatically. The outlines to Type1 outlines. This is a lossy process fonts also contain quaint ligatures and alternate and in that the hints in the original font are lost, but it swash glyphs, but these are not used automatically. produces fonts that can be used on any PostScript To select an alternate character, user must insert the device. Another method is to convert the TrueType ^ characters (ASCII circumflex) after the base letter font file to a Type42 PostScript font file. A Type42 (this assumes that ^ is a letter; more on that later). font is simply a TrueType font file wrapped in a Two consecutive ^’s aftera base lettergenerates the PostScript program. Ghostscript can process such second alternate glyph, if it exists. To activate a fonts, as well as most PostScript Level 2 printers, quaint , the user inserts a ^ between the but some older PostScript printers cannot. Adobe constituent letters of the ligature. Figure 5 shows distillercan embed such fonts in PDF documents. how to use this technique. The free utilities ttfps and gfontview can convert A very similar mechanism is used to typeset TrueTypefontstoType42fonts.PdfTEXcanembed fractions. To typeset a fraction whose numerator TrueType fonts directly in its output, but it does and denominator are separated by a fraction slash, 2 A LYX(www.lyx.org) is a visual editor for TEX. LYX the usertypes /^ to start the fraction, then the is not a what-you-see-is-what-you-get system, but its screen numerator, a slash, and the denominator. This display is a reasonable rendition of the LATEXfile: section titles mechanism works in horizontal mode, not math appear in a large bold font, mathematics are shown using greek symbols and large delimiters, and so on. Mathematics mode. Figure 5 demonstrates this mechanism as can be entred using LATEXcommands: type \alpha and hit well. Escape and a greek α appears. TUGboat, Volume 21 (2000), No. 2 125

Figure 4: Hoeflerfont families

Figure 5: How to use alternates, swashes, quaint ligatures, and fractions need TEX metric files (.tfm). To the best of my Let’s turn our attention to the virtual fonts knowledge, there are no utilities that can prepare that represent the fonts for TEX and Omega. The OpenType fonts with Type1 outlines foruse with TEX virtual fonts manage to contain both all the TEX output processors or with pdfTEX. glyphs defined by the T1 encoding as well as all To use the Hoeflerfonts with T EX and Omega, the alternates, swashes, extra ligatures, and fraction we must generate metric files. To use the fonts components because they are 16-bit Omega fonts. with dvips and odvips,wealsohavetogenerate That is, the lower256 glyphs in the virtual fonts PostScript fonts. I generated afm metric files from are the glyphs defined by the T1 encoding. Beyond the TrueType fonts using ttfps. I then used the glyph 255, the fonts contain all the remaining glyphs afm files to build the TEX/Omega virtual fonts and in the Hoefler fonts in a random order. The extra the TEX/Omega font metric files. Ttfps can also glyphs are accessed using ligatures of characters in generate PostScript Type42 fonts files. It turned the range 0–255. Thus, an 8-bit input file that uses out, however, that ttfps produced defective Type42 only one font can generate an output file with more fonts because the Hoefler fonts are large. I there- than 256 glyphs. For example, the characters f and fore produced another set of Type42 fonts using a j are automatically combined into an fj glyph using program called gfontview; these were fine. (The ligature specification in the file. The index of the fj problem with ttfps is that it encodes the ttf file glyph in the font is larger than 255. Likewise, the in one PostScript array, and these array grow too characters M and ^ are combined into a glyph of a large on large fonts. The ttf file should be broken swash M. into several arrays on table boundaries, which is Fractions are supported in a similar way. The what gfontview does.) The PostScript output files /^ combination is transformed into a little used that dvips and odvips produce using these fonts glyph, a superior . A superior comma fol- can be processed by ghostscript (e.g., they can be lowed by a numeral is changed into a superior nu- screen previewed), can be printed on most Post- meral. Any superior numeral followed by another Script Level 2 printers, and can be converted to numeral changes the second numeral into a superior PDF using Adobe Distiller. Of course, if you have a numeral as well. A superior numeral followed by PostScript 3 printer there is no need to embed the a slash changes the slash into a fraction slash, and Type42 fonts in the output file at all. The TrueType so on. This requires a lot of ligatures (111 to be fonts can also be embedded in PDF files directly by precise) but it works remarkably well. pdfTEX—there is no need for Type42 fonts here. A Not surprisingly, activation of quaint ligatures final word on using these fonts in PostScript and also uses the same mechanism: a lowercase letter PDF documents: you should check the license that followed by a ^ changes the letterinto a superior come with the printer software to determine what letter, and a superior letter followed by a letter uses of the fonts are legal and which are not. generates the quaint ligature. 126 TUGboat, Volume 21 (2000), No. 2

I generated the fonts using a program that I cida Console, and . (Microsoft wrote called afm2ofm. The program is a modifi- Publisher2000 comes with a few additional latin- cation of the C program afm2tfm from the dvips only rich fonts: Californian FB, Berlin Sans FB, distribution. The new program, called afm2ofm, Agency FB, and High TowerText, Niagara,Mag- differs from the original in several ways. First, it neto.) Figure 6 shows samples of many of these generates several 8-bit container fonts that together fonts. contain all the glyphs in the TrueType font. For The WGL4 list contains 652 glyphs, but many each such font, the program generates an encoding fonts contain a few less ormoreglyphs. , file (.enc), to be used by odvips, and a tfm file, to forexample, contains only 574 glyphs, even though be used both by Omega and by odvips. Because the it is classified as a WGL4 font by Microsoft. Several ordering of glyphs in the 8-bit fonts is unimportant, fonts contain a lot more glyphs. Arial, Times New they can be generated automatically. Second, it Roman, Courier New and contain over 1200 maps all of these 8-bit fonts into the virtual font that glyphs, supporting also Arabic, Hebrew, and Thai. it generates, and the virtual font can thus contains Not all the Greek glyphs in these fonts are more than 256 glyphs. The lower 256 conform to suitable for mathematical typesetting. In particular, an input encoding (T1 in my case, orT1 modified the small alpha is often indistinguishable from a to use , etc.). The otherglyphs in the Latin small ‘a’, and the capital Upsilon is sometimes TrueType font are mapped into free slots beginning indistinguishable from a Latin capital ‘Y’. The small at index 128 (this is actually the original behavior beta is always different from a small Latin ‘b’, but of afm2tfm; all I had to do here was to let continue it’s shape is sometimes quite different from the betas beyond slot 255). The rest is standard: the ligatures that we are used to see in mathematical contexts. are specified using the LIGKERN command in the In one of the WGL4 families, , the nu- input encoding file. merals are old-style, and hence not particularly suit- The same task can probably also be accom- able for modern mathematical typesetting. Version plished by fontinst. 1.0 of , however, had lining (actually semi- One remarkable feature of this method is that lining) numerals, so if you still have it, you might it degrades only slightly if you insist on using 8-bit want to use its numerals in math mode together with TEX rather than Omega. If you run afm2tfm and glyphs from recent versions of Georgia. vptovf rather than afm2ofm and ovp2ovf the same Finally, the selection of Greek letters in WGL4 input encoding files, you get perfectly usable vf and fonts is smallerthan the selection in T EX’s fonts. tfm files. They will include all the glyphs in the T1 In particular, these fonts contain only one glyph for encoding, including the ligatures ff, ffl, and ffi, but epsilon, theta, sigma, and phi, whereas TEXhastwo you will not have access to the alternates, swashes, foreach. extra ligatures, and fraction. These deficiencies does not mean that you can’t use the Greek glyphs in WGL4 fonts for mathemat- 7WGL4Fonts ics, but that you might have to use a few glyphs from WGL4 is a list of glyphs defined by Microsoft, which otherfonts when you build macros to use these fonts. contains all the letters that are used in European Two fonts which seem to me particularly useful languages, including Greek and Russian. So-called for mathematics are Georgia (good alpha and beta, WGL4 fonts are TrueType or OpenType fonts that Upsilon is Y) and Franklin Gothic, a highly readable contain all the glyphs in the list. Beyond the fact sans (even better alpha and beta, Upsilon is Y). that one can use WGL4 fonts to set text in many The Franklin Gothic family also includes condensed languages, the Greek letters can sometimes be used medium and demi-bold fonts, which are suitable for formathematical typesetting. titles. Many WGL4 fonts are available. Quite a From a technical point of view these fonts can few are freely available from Microsoft at www. be treated just like the Hoefler Text fonts. Since microsoft.com/typography (Andale Mono, Arial, the set of useful glyphs is smaller, however, 8-bit Arial Black, Georgia, Verdana, Comic Sans, , fonts are probably fine. To simplify the use of these , and Courier New). Others fonts in math, I also produced virtual fonts with are bundled with Microsoft’s various Office Prod- OMS and OML encoding and declared the fonts in ucts, such as Word and Publisher and/or with Win- LATEX as a new math version. This is not a complete dows operating systems: Franklin Gothic, Century solution, since it does not provide substitutes for Gothic, Monotype Garamond, Century Schoolbook, glyphs missing in WGL4, but it enabled me to taste Bookman Old Style, Corsiva, Mistral Tahoma, Lu- TUGboat, Volume 21 (2000), No. 2 127

the possibilities. Figure 3 shows a bit of math set in in mind, but this is possible considering his ex- Franklin Gothic Book. perience in designing math fonts gained when he Ideally, one should design glyphs to comple- designed AMS Euler, based on specifications and ment these fonts, in much the same way that Hara- critique from Knuth [8, 9]. lambous did forBaskerville[6]. Some glyphs can be The fonts have pairkerningdata that is ex- borrowed from other fonts. For example, one might tracted by ttfps, but the numberof pairsis not use the Hebrew aleph from Arial, a sans serif font, extensive, between 71 and 148 pairs per font. The when typesetting math with Franklin Gothic say. kerning pairs that are present are for unaccented Many of these fonts contain extensive pairkern- Latin glyphs and for punctuation. There is no kern- ing data. The fonts in the Franklin Gothic family ing data foraccented glyphs, non-Latin glyphs, or have 1000 pairs, and fonts in the Arial, Times New small caps. It is possible that there is more kerning Roman, Garamond, families also have hundreds of data in the “GPOS” table of the fonts (named tables pairs. The fonts in Georgia, Verdana, Century hold data structures in a TrueType font file), not in Gothic, and Monotype Corsiva, on the other hand, the “kern” table, which ttfps uses to build the afm have no kerning pairs at all. file, but I have not checked that. Technically speaking, the fonts are converted to 8 Palatino Linotype use with TEX just like the HoeflerText fonts. Palatino Linotype is a rich font family bundled with Windows 2000 Professional. As such, we can expect 9Conclusion it to become widely available in the future. The Macro packages, especially LATEX, should support fonts are WGL4 fonts, but they also have advanced the features of rich fonts. In particular, I believe typographic features not found in most WGL4 fonts. that macro packages should automatically selects (They also contain many precomposed glyphs for the correct numerals for most situations. The en- Vietnamese and Greek.) The typographic features hancement to LATEX that I envision would auto- in the fonts include three sets of numerals (fixed- matically select fixed-width numerals in tables, and and variable-width lining and fixed-width old style), would automatically select lining numerals when numerous standard and quaint ligatures, precom- there numerals are isolated (as in page numbers and posed fractions and fraction components, small cap- the table of contents) orwhen the numeralis likely itals (and some small punctuation marks to go with to be followed by a capital (as in section numbers). them), superior letters and numerals, currency sym- There are also cases where the LATEX style can also bols, and a few mathematical symbols. Figure 2 automatically select the best punctuation, especially demonstrates many of these features. parentheses, brackets, and braces. Essentially, when The glyphs of the Greek letters are suitable for lining figures are enclosed alone in parentheses, the math typesetting3. The alpha and Upsilon are well parentheses should also be lining, as in reference differentiated from the Latin a and Y, and both numberin many bibT EX styles and in equation them and the beta are suitable as math symbols. numbers. There are also variant forms of theta, phi, sigma, These enhancements would be easierto imple- and pi. There is only one variant of epsilon, but ment if the font selection scheme supported these this is less important, because they two variants font features, which are orthogonal to series and in Computer Modern are too similar to be used shape, but an easierhack might be to change the togetherin the same document. encoding (say from T1 to T1Lining or T1Fixed). According to design information contained in Eitherway, the wideravailability of rich fonts, the font files, Herman Zapf (the designer of Palatino) such as HoeflerText, WGL4 Fonts, Palatino Lino- “has drawn numerous additional characters to in- type, and more importantly, the immanent intro- clude an extensive range of ligatures, numerals, duction of Adobe’s rich “Pro” fonts, imply that the fractions, and support for both Cyrillic and both community should discuss this issue if TEX-based monotonic and polytonic Greek.” I do not know systems are to remain in the top tier of typesetting. whether Zapf designed the Greek letters with math The Greek letters in WGL4 fonts, in particular, enable a significant improvement in the typography 3 Diego Puga designed an unrelated set of greek letters for mathematical typesetting with Palatino. His package, technical documents. Forthe first time it is now mathpazo, contains Type1 fonts with his greek letters and possible to use several font families in a document a few other symbols, as well as virtual fonts that combine with a matching mathematical style foreach family. his greek letters, latin letters from the Palatino fonts, and Forexample, we can use Palatino forthe text of the mathematical symbols from Computer Modern. The package is available on CTAN. document, with a matching math style with most of 128 TUGboat, Volume 21 (2000), No. 2

Figure 6: Samples of some of the rich fonts that are mentioned in the article. The samples show numerals and latin text in all the fonts, and rich text features such as greek, cyrillic, and hebrew letters, small capitals and old-style numerals, quaint ligatures and alternate glyphs. Not all fonts in each family are shown. TUGboat, Volume 21 (2000), No. 2 129

the symbols taken from Palatino fonts, and Franklin [7] Alan Hoenig, “The Poetica family: fancy Gothic for captions and titles. There are bold ver- fonts with TEXandLATEX,” TUGboat 16(3), sion of the mathematical symbols, so the math can September1995, pages 244–252. match the text in weight, not only style. This would [8] Donald E. Knuth and , “AMS represent a significant improvement over today’s ty- Euler—A New Typeface for Mathematics,” pography, with regular-weight serifed math in bold Scholarly Publishing 20(3), April 1989, pages titles and sans serif captions, for example. 131–157. RichfontssuchasHoeflerTextalsoraisethe [9] David R Siegel, “The EulerProject at Stan- issue of visual editing. Glyph variations are meant ford,” Technical Report, Stanford University, A to be selected visually. TEXandLTEX packages that 1985. support rich fonts, such as Alan Hoenig’s package forthe Adobe Poetica family, relyon a combination  Sivan Toledo of plain-text markup to select glyphs and/or on School of Computer Science, automatic variant substitution, say a swash at the Tel-Aviv University end of every word. Although Hoenig has achieved Tel-Aviv 69987, Israel magnificent results with this method, it is not the [email protected] most direct way of using such fonts. A betterway would be forL ATEX editors, partic- ularly LYX, to allow the userto select glyphs visually and to automatically produce the plain-text markup A in the LTEX input file. LYX would use the font, say HoeflerText, as a screenfont and allow the user to select glyphs for which there are variants or to activate individual quaint ligatures. This, however, requires significant changes in LYX. References [1] Adobe Systems Inc., PostScript 3 Core Font Set Overview, Technical Note 5609, 1997. Available online at http://www.adobe.com.APDF doc- ument listing samples of the fonts in the Core Set is also available online. [2] Apple ComputerInc., Inside Macintosh: QuickDraw GX Typography, Addison-Wesley, 1994. Available online at http://developer.apple.com/techpubs/ mac/GXTypography/GXTypography-2.html. [3] Apple ComputerInc., TrueType Reference Manual, 1997. Available online at http:// fonts.apple.com. [4] The HoeflerType Foundry, Catalog Number 2. No date. Available online at http://www. typography.com. [5] Yannis Haralambous and John Plaice, “First applications of Omega: Adobe Poetica, Arabic, Greek, Khmer,” TUGboat 15(3), September 1994, pages 344–352. [6] Yannis Haralambous, Une police pour la Societe mathematique de France: le SMF , Les Cahiers GUTenberg 32, 1999, pages 5–20.