Latin Modern at eleventh hour

Brno, 26 November, 2005

Bogusław Jackowski aaa aaa aaa Latin Modern fonts: what are they? aaa A collection of fonts (currently 69) aaa in the POSTSCRIPT Type 1 and OTF formats, aaa based on the fonts, equipped with a rich repertoire of diacritical characters ccc eee Availability—CTAN, for example: eee ftp://ftp.dante.de/-archives/fonts/lm eee eee current version: 0.99.3 eee number of glyphs: 46849 (ca 680 per ) gg licence: openware, LPPL-based g maintainers: B. Jackowski and J. M. Nowacki, GUST yyy yyy

Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fonts at eleventh hour áaa aaa aaa Latin Modern fonts: what are they for? aaa The Latin Modern project, launched by aaa local TEX users groups in Spring 2002, aaa aimed at the collection of multilingual Latin-based fonts that could be used as a default font family ccc in the realm of TEX. eee Moreover, being distributed in both eee POSTSCRIPT Type 1 and OTF formats, eee the Latin Modern fonts can be used in any system eee that supports these formats. eee ggg yyy yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fontsá at eleventh hour áăắ ằẳa aaa Why Latin Modern fonts? aaa Other possibilities: aaa aaa • Computer Modern fonts (D. E. Knuth, 1982) ccc obsolete because of the lack of diacritical characters eee • EC fonts (J. Knappen and N. Schwartz, 1997) eee obsolete because of the lack of outline fonts eee • CM-Super family (V. Volovich, 2002) eee very large and difficult to maintain eee ggg yyy yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fontsẳ at eleventh hour áăắ ằẳâ aaa The Latin Modern distribution aaa • POSTSCRIPT Type 1 fonts, produced by aaa METATYPE1 (METAPOST engine plus a a bunch of AWK scripts) aa • OpenType fonts, prepared using Adobe Font ccc Development Kit for OpenType (implemented eee features: liga, onum, cpsp, dlig, frac) eee • Support for TEX (∗.tfm files) ee • Support for dvips and pdfTEX (∗.map and ∗.enc files) e • ∗ ∗ eee Support for LATEX ( .fd and .sty files) • Substitutions (partial, of course) for CM, PL, CS, VN; eee the idea: to use the original TFM files with the relevant ggg Latin Modern PFB files and dvips requisites yyy • METATYPE1 sources yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fonts atâ eleventh hour áăắ ằẳâ ảẩấ The Latin Modern distribution: the collection of fonts ầaa aaa • Fonts occurring both in LMs and CMs (50) lmb10lmbx5lmbx6lmbx7lmbx8lmbx9lmbx10lmbx12lmbxi10lmbxo10 aaa lmcsc10lmr5lmr6lmr7lmr8lmr9lmr10lmr12lmr17 lmri7lmri8lmri9lmri10lmri12lmro8lmro9lmro10lmro12 ccc lmss8lmss9lmss10lmss12lmss17lmsso8lmsso9lmsso10lmsso12lmsso17 eee lmssbx10lmssdc10lmssq8lmssqo8 eee lmtcsc10lmtt8lmtt9lmtt10lmtt12lmtti10lmtto10lmvtt10 • Fonts present in LMs and absent from CMs (19) eee lmbo10lmcsco10lmro17lmssbo10lmssdo10lmssqbx8lmssqbo8 e lmtcso10lmtk10lmtko10lmtl10lmtlo10lmtlc10lmtlco10 ee lmvtk10lmvtko10lmvtl10lmvtlo10lmvtto10 eee • Fonts absent from LMs and present in CMs ggg mathcompanion(!) yyy cmdunh10cmff10cmfi10cmfib8cminchcmtex8cmtex9cmtex10 cmu10 yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fontsầ at eleventh hour áăắ ằẳâ ảẩấ Latin Modern distribution: dark and light typewriter fonts ầàa aaa • lmtl10 (light): abcdefABCDEF012345 aaa • lmtt10 (normal): abcdefABCDEF012345 ccc • lmtk10 (dark): abcdefABCDEF012345 eee • lmtlc10 (light condensed): abcdefABCDEF012345 eee • lmvtl10 (light): abcdefABCDEF012345 eee • lmvtt10 (normal): abcdefABCDEF012345 ee e • lmvtk10 (dark): abcdefABCDEF012345 eee • plus all oblique variants ggg yyy yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fontsà at eleventh hour áăắ ằẳâ ảẩấ The Latin Modern distribution: encodings ầàȁ aaa The LM package provides TEX font metric files for: aaa • EC (Cork) encoding (ec-∗.tfm) ccc • EL (European Letters aka dense) encoding, el-∗.tfm eee (originally introduced by the ConTEXt fraternity) eee • QX (GUST) encoding, qx-∗.tfm eee • Y&Y’s TEX’n’ANSI aka LY1 encoding, texnansi-∗.tfm eee • T5 (Vietnamese) encoding, t5-∗.tfm eee • Text Companion for EC fonts aka TS1, ts1-∗.tfm ggg yyy yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fonts atȁ eleventh hour áăắ ằẳâ ảẩấ The Latin Modern distribution: the collection of glyphs ầàȁ äaa AaÁáĂăẮắẶặẰằẲẳẴẵÂâẤấẬậẦ aaa ầẨẩẪẫ´ ȀȁÄäẠạÆæǼǽÀàẢả ccc 1Āā&5〈〉Ąą:;ÅåǺǻ↓←→↑^~*∗ eee @ÃãBb\N|PQR{}[]W˘YZ[\]¦•C eee cĆćˇfČčÇçĈĉĊċ¸¢r℃uˆxyz{: eee ₡,€©¤ƒ„ Dd†‡Š‹Œ‖ĎďĐđ°∆ — eee ˜¨œ÷Ÿ đ$¢₫¥˙§ıªEeÉéĔĕĚěÊ eee êẾếỆệỀềỂểỄễȄȅËëĖėẸẹÈèẺẻ8Ì ggg ÍÎ…Ēē—–ŊŋĘęÙÚ=℮ÐðẼẽ€!¡Ff yyy æffffifflfi5ìíîflƒ4óôõ⁄ø GgǴǵΓĞğ yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fontsä at eleventh hour áăắ ằẳâ ảẩấ The Latin Modern distribution: the collection of glyphs ầàȁ äąa ǦǧĢĜĝĢģĠġ ß >`>«»‹›H aaa hĦħĤĥ˝ !-#$%&IiÍíĬĭÎîȈȉÏïİỊị ccc ÌìỈỉIJijĪīĮįABĨĩJjGHĴĵKkĶķĶķLlĹ eee ĺΛĽľĻļĻļĿŀ^<₤¬bcŁłMm¯kl eee m−µ×♪NnŃńv ŇňŅņŅņ9€ƒ eee Ññ#OoÓóŎŏÔôỐốỘộỒồỔổ Ỗ ỗ Ȍ eee ȍÖöỌọŒœ˛Òò¦ỎỏƠơỚớỢợỜờỞ eee ởỠỡŐőŌōΩ1»¼½½¼¹ǪǫÄÅ◦ªºØ ggg øǾǿÕõPp¶Ô().·%‰ÚÜÝΦΠ+±ą yyy ΨãQq?¿èé"„ìíî“ð”òó‘’‚ù'ûRrŔŕ yyy

Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fonts at eleventh hour áăắ ằẳâ ảẩấ The Latin Modern distribution: the collection of glyphs ầàȁ äą; √ŘřŖŗŖŗȐȑṘṙ ※®˚SsŚś aaa ŠšŞşŜŝȘș§; !7#$%­ Σ6*+,/£ ccc 0TtŤťŢţŢţΘÞþ3=>?¾³D EF G eee H˜KL™N2PQR²UuÚúŬŭÛûȔȕÜ eee üỤụÙùỦủƯưỨứỰựỪừỬửỮữŰ eee űŪū_ŲųΥŮůŨũVv‚†‡WwẂ eee ẃŴŵẄẅẀẁ₩XxΞY yÝýŶŷŸ eee ÿỴỵ¥ỲỳỶỷỸỹZzŹźŽ žŻż0°±² ggg ; yyy yyy

Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fonts at eleventh hour áăắ ằẳâ ảẩấ Who is to be blamed for the plentitude of diacritical characters? ầàȁ äą; Six hundred years ago people tried to avoid them: āaa ccc eee ee Ztyechto kuSow myey nauczenye kterak maS zyw e byty aſwey duSy proſpyety / eee Prwy kuS zlaty / ktoz da geden halerz eee Z tˇechto kusóv mˇej nauˇcenie, kterak m´aˇsˇziv ee b´yti a svej duˇsi prospˇeti. e Prv´ykus zlat´y: Ktoˇzd´ajeden hal´eˇr. . . g g g Jan Hus (1371–1415), Devˇet zlat´ych kus˚u yyy yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fontsā at eleventh hour áăắ ằẳâ ảẩấ Who is to be blamed for the plentitude of diacritical characters? ầàȁ äą; Mistr Jan Hus āãa ccc Orthographia Bohemica eee eee eee eee Alois Vojtˇech Sembera,ˇ Mistra Jana Husi eee ortografie ˇcesk´a. Vyd´al Alois Vojtˇech Sembera.ˇ ggg Ve Vidni 1857, s. 48 (v Arch´ıvu hl. m. Prahy?) yyy yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fontsã at eleventh hour áăắ ằẳâ ảẩấ What can be found in the Internet about haˇcek? ầàȁ äą; • It was introduced by Jan Hus (probably) āãå • HACEK can be acute to your heart... ccc The acronym HACEK refers to a grouping ee of gram-negative bacilli: e Haemophilus species, eee Actinobacillus actinomycetemcomitans, eee Cardiobacterium hominis, eee Eikenella corrodens, Kingella species. eee These organisms are responsible for acute ggg heart diseases. yyy yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fonts atå eleventh hour áăắ ằẳâ ảẩấ What can be found in the Internet about haˇcek? ầàȁ äą; • It was introduced by Jan Hus (probably) āãa • HACEK can be acute to your heart... ccc • Which, in a way, agrees with D. E. Knuth’s eee anticipation: Type design can be hazardous [...] Once you get eee hooked, you will develop intense feelings about eee letterforms; the medium will intrude eee on the messages that you read. And you will perpetually be thinking of improvements eee to the fonts that you see everywhere, especially ggg those of your own design. yyy Isn’t it a heart disease? yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fonts ata eleventh hour áăắ ằẳâ ảẩấ How the Latin Modern family was created? ầàȁ METATYPE1 METATYPE1 äą; source source ãå (and report) ā METAPOST ćcc eee METAPOST eee Gawk output T1Utils eee (tfm, eps, aux) ee Gawk e T1Utils eee ggg PostScript PostScript yyy Type 1 font Type 1 font yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fontsć at eleventh hour áăắ ằẳâ ảẩấ The structure of a Latin Modern source: a driver file (lmr10) ầàȁ äą; 1. % LATIN MODERN font: a driver file for lmr10 āãå 2. input fontbase; 3. vardef cm_pal = "cmr10" enddef; ćčc 4. input comm_mac; % common defs, CM params 5. input comm_mph; % common header eee 6. input lmr10.mpm; % metric data 7. input lmr10.mph; % PS-oriented header eee 8. beginfont 9. input lmr10.mpg; % ‘‘frozen’’ glyphs eee 10. input comm_mpg; % common glyphs (mainly diacritics) 11. if known generating: % optimize proofing time eee 12. input lmr10.mpl; % ligatures and kerns 13. fi eee 14. endfont ggg 15. %%%% EOF yyy yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modernč fonts at eleventh hour áăắ ằẳâ ảẩấ The structure of a Latin Modern source: a boring excerpt from the file comm_mpg.mp ầàȁ (“common glyphs”)

äą; . . . āãå %% \vb\- Aacute:\- \PICT{Aacute}\- čç acc_glyph(_A)(_Acute)(_Aacute); ć %% \vb\- aacute:\- \PICT{aacute}\- eee acc_glyph(_a)(_acute)(_aacute); %% \vb\- Abreve:\- \PICT{Abreve}\- eee acc_glyph(_A)(_Breve)(_Abreve); eee %% \vb\- abreve:\- \PICT{abreve}\- acc_glyph(_a)(_breve)(_abreve); eee %% \vb\- Abreveacute:\- \PICT{Abreveacute}\- eee acc_glyph(_A)(_breveacute)(_Abreveacute); %% \vb\- abreveacute:\- \PICT{abreveacute}\- ggg acc_glyph(_a)(_breveacute)(_abreveacute); . . . ç yyy yyy

Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fonts at eleventh hour áăắ ằẳâ ảẩấ A few examples of less boring accented characters ầàȁ äą; āãå ćčç éee eee ďģBľ eee eee eee ggg yyy Ľťỵ yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fontsé at eleventh hour áăắ ằẳâ ảẩấ A few examples of less boring accented characters ầàȁ äą; āãå ćčç éĕe eee ďģBľĽ eee eee eee ggg yyy ťỵ yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modernĕ fonts at eleventh hour áăắ ằẳâ ảẩấ A few examples of less boring accented characters ầàȁ äą; āãå ćčç éĕě eee ďģBľĽ eee eee eee ggg yyy ťỵ yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fonts atě eleventh hour áăắ ằẳâ ảẩấ A few examples of less boring accented characters ầàȁ äą; āãå ćčç éĕě êee ďģBľĽ eee eee eee ggg yyy ťỵ yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fontsê at eleventh hour áăắ ằẳâ ảẩấ Compatibility issues ầàȁ • A subset of CM’s font metric files can be safely äą; used with LM’s PFB files; known exceptions: āãå ◦ lack of math (will be fixed soon) ćčç ◦ a macro \hbar produces slightly worse result éĕě (green – CM, gray – LM, blue – LM glyph): êếề eee eee eee ggg hh yyy ¯¯ħ yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fonts atề eleventh hour áăắ ằẳâ ảẩấ Compatibility issues ầàȁ • A subset of CM’s font metric files can be safely äą; used with LM’s PFB files; known exceptions: āãå ◦ lack of math (will be fixed soon) ćčç ◦ a macro \hbar produces slightly worse result éĕě ◦ there are some discrepancies between CS and LM Type 1 (PFB) fonts, reported by Karel P´ıˇska; êếề for example, the widths of guillemots differ, ểee most significantly in 5-point fonts: eee csr5.pfb: 5000/9 = 555.556; lmr5.pfb: 750 eee but in csr10.pfb i and lmr10.pfb the respective ggg widths are consistent: csr10.pfb: 5000/9=555.556 yyy lmr10.pfb: 5000/9=555.556 yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fontsể at eleventh hour áăắ ằẳâ ảẩấ Compatibility issues ầàȁ • A subset of CM’s font metric files can be safely äą; used with LM’s PFB files; known exceptions: āãå ◦ lack of math (will be fixed soon) ćčç ◦ a macro \hbar produces slightly worse result éĕě ◦ there are some discrepancies between CS and LM êếề Type 1 (PFB) fonts, reported by Karel P´ıˇska: ểee «H» « » eee csr5.pfb: ee e lmr5.pfb: «H» « » ggg yyy yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fontsể at eleventh hour áăắ ằẳâ ảẩấ Compatibility issues ầàȁ • A subset of CM’s font metric files can be safely äą; used with LM’s PFB files āãå • In general, however, full compatibility čç cannot be even dreamt of ć ◦ éĕě the sets of fonts differ ◦ the exact dimensions of glyphs cannot be retained êếề (the infamous limit of 16 heights, 16 depths ểee and 64 italic corrections) eee ◦ in the LM fonts some apparent flaws eee of the CM fonts have been corrected (both concerning metric data ggg and character shapes) yyy yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fontsể at eleventh hour áăắ ằẳâ ảẩấ Compatibility issues ầàȁ äą; āãå ćčç éĕě êếề ểee eee eee ggg So, why not to follow the Senior Typographer, Hermann Zapf, yyy who quite recently decided to improve his Optima? yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fontsể at eleventh hour áăắ ằẳâ ảẩấ Compatibility issues ầàȁ What can we do to make the LM fonts äą; usable for the Czech TEX community? āãå • We have already equipped LMs in ćčç Czech double quotes éĕě • Accents (haˇcek) have been modified êếề • CS encoding(s), i.e., the relevant ∗.tfm files, ee can be easily added to the LM distribution ể • We are open to further suggestions eee eee ggg yyy yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fontsể at eleventh hour áăắ ằẳâ Compatibility issues: ẩấ an example of strange kernings ả that have been corrected ầàȁ The file roman.mf reads: äą; % three degrees of kerning: ãå k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; ā ligtable "k": ćčç if serifs: "v": "a" kern -u#, fi "w": "e" kern k#, "a" kern k#, éĕě "o" kern k#, "c" kern k#; êếề The kern pair k-a appears in TFMs of serif fonts ểễe twice: first with the value −u#, next with eee the value k#, i.e., −0.5u#; moreover, there are no v-a, v-c, v-e, and v-o kern pairs in sansserif eee fonts, although there are k-c, k-a, k-e, k-o, w-a, ggg w-c, w-e, and w-o kern pairs in these fonts. The problem of missing v-* kerns in sansserif variants yyy occurs in EC, CS, PL, VN, and CM-Super fonts! yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modernễ fonts at eleventh hour áăắ ằẳâ Compatibility issues: ẩấ a few example glyphs (mostly accents) ả that we decided to touch ầàȁ äą; āãå ćčç éĕ´ě `¨˝¯ˆˇ˙ êếề ểễ´ȅ `¨˝¯ˆˇ˙ ëee ee´e `¨}¯^ˇ_ ggg yyy yyy solid green – CM, outline black – Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fontsë at eleventh hour áăắ ằẳâ Compatibility issues: ẩấ an example feature ả that we are not going to touch àȁ ầ In the LM typewriter fonts, the letters ‘v’, ‘y’, ‘x’ were äą; reported to be “too thin”; the comparison with the āãå original fonts shows, that this was D. E. Knuth’s design: ćčç éĕě êếề ểễȅ ëėẹ eee ggg ẹ yyy Font ∗vtt10: CM’s bitmap; CM’s outlines; LM’s outlines yyy

Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fonts at eleventh hour áăắ ằẳâ ảẩấ Plans for the future ầàȁ • We are not going to equip the Latin Modern äą; fonts with non-Latin alphabets, such as āãå cyrillic, Greek, etc. ćčç • We are not going to increase the number ĕ of so called optical sizes —can you see é ě any difference? êếề ểễȅ ëėẹ ęÚẽ ee ggg yyy e yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fonts atẽ eleventh hour áăắ ằẳâ ảẩấ Plans for the future ầàȁ • We are not going to equip the Latin Modern äą; fonts with non-Latin alphabets, such as āãå cyrillic, Greek, etc. ćčç • We are not going to increase the number ĕ of so called optical sizes —can you see é ě any difference? êếề ểễȅ ëėẹ ęÚẽ eee ggg yyy cmr8at9pt cmr9at9pt cmr10at9pt yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fonts atẽ eleventh hour áăắ ằẳâ ảẩấ Plans for the future ầàȁ • We are not going to equip the Latin Modern äą; fonts with non-Latin alphabets, such as āãå cyrillic, Greek, etc. ćčç • We are not going to increase the number éĕě of so called optical sizes • In general, we are not going to go too far with êếề the “improvement” of the original D. E. Knuth’s ểễȅ design—we will consider the changing of only ëėẹ those features which would have hampered the extending of the Latin Modern family ęÚẽ with new diacritical characters ggg yyy yyy Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fonts atẽ eleventh hour áăắ ằẳâ ảẩấ Plans for the future: to do ầàȁ • Fixing bugs and misfeatures—as soon as possible äą; • Reaching the basic stability of the metric data āãå of the package—before the release of the version 1.00 č (scheduled for Spring 2006, BachoTEX) ć ç • Adding a basic math companion (borrowed éĕě from CMs, to begin with)—timing as above êếề • The improvement of kerning (reluctantly), glyph ễȅ shapes (redrawing all accents from scratch?), ể and hinting; improving OTFs by, e.g., the addition ëėẹ of new features—not in a hurry ęÚẽ • Further extensions to the character set (e.g., African ǧĝģ languages)—after the release of the version 1.0 • ýŷÿ More math, small caps—far future?.. ỷ ỷyy

Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fonts at eleventh hour áăắ ằẳâ ảẩấ ầàȁ Should you have remarks concerning äą; the current LM release, please consult āãå Harald Harders’s www page ćčç Wishes for Latin Modern: éĕě http://www.harald-harders.de/latex/lmodern.html êếề ểễȅ ëėẹ ęÚẽ ǧĝģ At the moment the page is unmaintained; ỹ ýŷÿ nevertheless, a lot of information can be found there. ỷỹy

Brno, 26 November, 2005 Bogusław Jackowski Latin Modern fonts at eleventh hour áăắ ằẳâ ảẩấ ầàȁ äą; āãå ćčç éĕě êếề ểễȅ The Latin Modern project is supported by TEX Users ëėẹ Groups, in particular, by the German-speaking ęÚẽ TEX Users Group DANTE e.V., the Polish TEX Users Group GUST, the French-speaking TEX Users Group ǧĝģ GUTenberg, the Dutch-speaking TEX Users Group NTG and—last but not least—TUG. ỵ ýŷÿ ỷỹỵ