CM-Super: Automatic Creation of Efficient Type 1 Fonts from Metafont

Total Page:16

File Type:pdf, Size:1020Kb

CM-Super: Automatic Creation of Efficient Type 1 Fonts from Metafont CM-Super: Automatic creation of efficient Type 1 fonts from METAFONT fonts Vladimir Volovich Voronezh State University Moskovsky prosp. 109/1, kv. 75, Voronezh 304077 Russia [email protected] Abstract In this article I describe making the CM-Super fonts: Type 1 fonts converted from METAFONT sources of various Computer Modern font families. The fonts contain a large number of glyphs covering writing in dozens of languages (Latin-based, Cyrillic-based, etc.) and provide outline replacements for the original METAFONT fonts. The CM-Super fonts were produced by tracing the high resolution bitmaps generated by METAFONT with the help of TEXtrace, optimizing and hinting the fonts with FontLab, and applying cleanups and optimizations with Perl scripts. 1 The idea behind the CM-Super fonts There exist free Type 1 versions of the original CM The Computer Modern (CM) fonts are the default fonts, provided by Blue Sky Research, Elsevier Sci- ence, IBM Corporation, the Society for Industrial and most commonly used text fonts with TEX. Orig- inally, CM fonts contained only basic Latin letters, and Applied Mathematics (SIAM), Springer-Verlag, and thus covered only the English language. There Y&Y and the American Mathematical Society, but are however a number of Computer Modern look- until not long ago there were no free Type 1 versions alike METAFONT fonts developed which cover other of other “CM look-alike” fonts available, which lim- languages and scripts. Just to name a few: ited their usage in PDF and PostScript target docu- ment formats. The CM-Super fonts were developed • EC and TC fonts, developed by J¨orgKnappen, to cover this gap. A which are the default LTEX fonts for the T1 and Such a conversion from METAFONT to Type 1 TS1 font encodings and cover many Latin-based fall into one of two general categories. First, base the scripts (mainly European). conversion on analytic study of the METAFONT out- • EC and TC Concrete and Bright fonts, devel- put (which may include “patching” the METAFONT oped by Walter Schmidt, which are additional program, analyzing the output of METAPOST, or font families containing the same glyphs as EC similar approaches). Such an approach can give and TC fonts. (potentially) the most accurate results, but I did • LH Cyrillic fonts, developed by Olga Lapko, not choose to use it, since it is much harder to de- which support the family of T2 font encodings: velop. (There are some commercial translators of T2A, T2B, T2C, X2, and others. They support METAFONT to Type 1 which I did not evaluate, the same font families as the original EC fonts, mainly due to their “closedness”, which I wanted EC Concrete and EC Bright fonts. to avoid.) The second, straightforward, approach is • TIPA (International Phonetic Alphabet) fonts, based on tracing the high-resolution bitmaps gen- developed by Rei Fukui, which support the T3 erated by METAFONT, and thus obtaining outline font encoding. There exist Concrete (CIPA) and versions of the fonts. Bright (BIPA) families of the TIPA fonts too. I was considering several approaches to con- METAFONT • FC fonts, developed by J¨org Knappen, which verting the fonts to Type 1 format — support the T4 font encoding for African lan- it seems that the GNU fontutils package developed guages. by Karl Berry is capable of this, but it had some problems with glyph positioning. Since the appear- • VNR fonts, developed by Cuong Nguyen, Wern- ance of T Xtrace, it became very easy to do this. er Lemberg and H`anThˆe´ Th`anh, which support E T Xtrace is a free automatic converter of META- the T5 font encoding for Vietnamese. E FONT fonts to Type 1 format, developed by P´eter • CBgreek fonts, developed by Claudio Beccari, Szab´o. It is based on Autotrace by Martin Weber. which support the Greek font encoding (LGR). TUGboat, Volume 24 (2003), No. 1 — Proceedings of the 2003 Annual Meeting 75 Vladimir Volovich And, as far as I know, some code was taken from additional Cyrillic and Latin glyphs which are not the GNU fontutils package. already present in supported encodings). It would be possible to simply generate Type 1 The original CM fonts used file names such as variants of all needed METAFONT fonts (each con- cmr10, cmbx12, etc., while their EC analogues use taining no more than 256 glyphs), but this will have font names consisting of four letters, the first two disadvantages: the total number of files will be truly of which are always “ec” while the second two de- vast (several thousands), and also the total size of note font family and shape: ecrm1000, ecbx1200, these fonts will be much bigger than necessary, be- etc. Design sizes are specified differently in the two cause of glyph duplication: Latin letters (and some families: EC fonts use a 4-digit scheme, while CM other characters and glyphs) will be present in more fonts use two digits. I’ve chosen to use font names than one font, e.g., the fonts ecrm1000 (T1 encod- of SuperFonts which follow the scheme used in EC ing), larm1000 (T2A), lbrm1000 (T2B), lcrm1000 fonts (with “sf” instead of “ec”, “tc”, etc.), since (T2C), fcr10 (T4), and vnrm1000 (T5) are all of the the majority of METAFONT fonts included into the same family and shape (Computer Modern Roman) CM-Super package follow this naming scheme (EC, and design size (10pt), and will thus duplicate at TC, LH). least the basic Latin alphabet. Given the total num- Families and shapes currently supported (the ber of font files (several thousands), such duplication README file in the CM-Super distribution contains a will give significant overhead. more detailed list): Thus, it seems natural to try to combine all 1. 29 font shapes supported by EC/TC fonts. Each fonts which have the same font family, shape and font shape comes in 14 font design sizes ranging design size, and differ only by font encoding (set from 5pt to 35.83pt (or 11 design sizes for type- of supported glyphs) into one SuperFont (the name writer font shapes ranging from 8pt to 35.83pt), comes from Karl Berry’s Fontname package), which giving 23 · 14 + 6 · 11 = 388 font files; will contain all the unique glyphs from these fonts 2. 13 font shapes for SliT X (each comes in one just once. Then it is possible to create map files for E design size); dvips, pdftex or other programs which will re-encode the big Super-fonts into specific 256-character font 3. 14 fonts from Computer Modern Concrete fam- encodings, selecting the glyphs needed for a partic- ily (font file names correspond to the scheme ular font encoding. used in EC Concrete fonts, again with “sf” in- Such an approach is undertaken in the CM- stead of “ec”); Super font package: each Type 1 SuperFont includes 4. 19 fonts from Computer Modern Bright family all the glyphs from several METAFONT fonts which (font file names correspond to the scheme used have the same font family, font shape and design in European Computer Modern Bright fonts). size. Currently, only text font encodings are sup- The total number of Type 1 font files included in ported. The name “super” does not imply that this the CM-Super package is 434. font collection contains Type 1 variants of all ex- Each Type 1 font contains glyphs from sev- isting CM look-alike fonts (e.g., there are no glyphs eral METAFONT fonts with the same font shape from math fonts in CM-Super), but that each font and design size. For example, sfrm1000.pfb com- in this collection is a SuperFont supporting many bines unique glyphs from the following METAFONT glyphs, languages, and scripts. These SuperFonts fonts: ecrm1000.mf, tcrm1000.mf, larm1000.mf, can be used with other applications as well as TEX. lbrm1000.mf, lcrm1000.mf, rxrm1000.mf (for en- codings T1, TS1, T2A, T2B, T2C, X2, respectively). 2 Font encodings, families, shapes, and In a future version, this font will also include names glyphs from tipa10.mf, fcr10.mf, vnrm1000.mf, The New Font Selection Scheme (NFSS) in LATEX grmn1000 (for font encodings T3, T4, T5, LGR). serves as a very good classifying mechanism in the Caps and small caps fonts do not include glyphs chaos of various fonts: each font is classified by its from TC fonts (TS1 font encoding), since there are encoding, family, shape and design size. The font no small caps TC fonts (but it may make sense to encoding defines the set (and order) of glyphs which include glyphs from the TS1 encoded fonts into these are contained in a font. Currently, the CM-Super fonts, for completeness, by duplicating glyphs from font collection supports glyphs from the following the corresponding non-smallcaps font shapes). LATEX font encodings: T1, TS1, T2A, T2B, T2C, X2. Our approach provides big savings: if we were In the near future I’ll try to add support for these making separate Type 1 fonts for each of the above encodings as well: T3, T4, T5, LGR, and others (e.g., mentioned METAFONT fonts, we would have 256 · 76 TUGboat, Volume 24 (2003), No. 1 — Proceedings of the 2003 Annual Meeting CM-Super: Automatic creation of efficient Type 1 fonts from METAFONT fonts 5 + 128 = 1408 glyphs from the five METAFONT At this point, we have “raw” Type 1 fonts which sources mentioned; but sfrm1000.pfb contains only should be optimized (which is done later). 585 unique glyphs, which includes some glyphs which Now we gather information contained in the were added for the sake of completeness. TFM files (which are generated by METAFONT), and The CM-Super fonts come with AFM and INF apply it to PFB files, and also create AFM font met- files and are thus usable with non-TEX-related ap- ric files.
Recommended publications
  • Uniform Rendering of XML Encoded Mathematical Content with Opentype Fonts
    i \eutypon24-25" | 2011/1/21 | 8:58 | page 11 | #15 i i i Εὔτυπon, τεῦχος 24-25 — >Okt¸brioc/October 2010 11 Uniform Rendering of XML Encoded Mathematical Content with OpenType Fonts Apostolos Syropoulos 366, 28th October Str. GR-671 00 Xanthi Greece E-mail: asyropoulos at yahoo dot com The new OpenType MATH font table contains important information that can be used to correctly and uniformly render mathematical con- tent (e.g., mathematical formulae, equations, etc.). Until now, all sys- tems in order to render XML encoded mathematical content employed some standard algorithms together with some standard sets of TrueType and/or Type 1 fonts, which contained the necessary glyphs. Unfortu- nately, this approach does not produce uniform results because certain parameters (e.g., the thickness of the fraction line, the scale factor of superscripts/subscripts, etc.) are system-dependant, that is, their exact values will depend on the particular setup of a given system. Fortunately, the new OpenType MATH table can be used to remedy this situation. In particular, by extending renderers so as to be able to render mathemat- ical contents with user-specified fonts, the result will be uniform across systems and platforms. In other words, the proposed technology would allow mathematical content to be rendered the same way ordinary text is rendered across platforms and systems. 1 Introduction The OpenType font format is a new cross-platform font file format developed jointly by Adobe and Microsoft. OpenType fonts may contain glyphs with ei- ther cubic B´eziersplines (used in PostScript fonts) or with quadratic B´ezier splines (used in TrueType fonts).
    [Show full text]
  • Opentype Postscript Fonts with Unusual Units-Per-Em Values
    Luigi Scarso VOORJAAR 2010 73 OpenType PostScript fonts with unusual units-per-em values Abstract Symbola is an example of OpenType font with TrueType OpenType fonts with Postscript outline are usually defined outlines which has been designed to match the style of in a dimensionless workspace of 1000×1000 units per em Computer Modern font. (upm). Adobe Reader exhibits a strange behaviour with pdf documents that embed an OpenType PostScript font with A brief note about bitmap fonts: among others, Adobe unusual upm: this paper describes a solution implemented has published a “Glyph Bitmap Distribution Format by LuaTEX that resolves this problem. (BDF)” [2] and with fontforge it’s easy to convert a bdf font into an opentype one without outlines. A fairly Keywords complete bdf font is http://unifoundry.com/unifont-5.1 LuaTeX, ConTeXt Mark IV, OpenType, FontMatrix. .20080820.bdf.gz: this Vle can be converted to an Open- type format unifontmedium.otf with fontforge and it Introduction can inspected with showttf, a C program from [3]. Here is an example of glyph U+26A5 MALE AND FEMALE Opentype is a font format that encompasses three kinds SIGN: of widely used fonts: 1. outline fonts with cubic Bézier curves, sometimes Glyph 9887 ( uni26A5) starts at 492 length=17 referred to CFF fonts or PostScript fonts; height=12 width=8 sbX=4 sbY=10 advance=16 2. outline fonts with quadratic Bézier curve, sometimes Bit aligned referred to TrueType fonts; .....*** 3. bitmap fonts. ......** .....*.* Nowadays in digital typography an outline font is almost ..***... the only choice and no longer there is a relevant diUer- .*...*.
    [Show full text]
  • Using Fonts Installed in Local Texlive - Tex - Latex Stack Exchange
    27-04-2015 Using fonts installed in local texlive - TeX - LaTeX Stack Exchange sign up log in tour help TeX ­ LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related Take the 2­minute tour × typesetting systems. It's 100% free, no registration required. Using fonts installed in local texlive I have installed texlive at ~/texlive . I have installed collection­fontsrecommended using tlmgr . Now, ~/texlive/2014/texmf­dist/fonts/ has several folders: afm , cmap , enc , ... , vf . Here is the output of tlmgr info helvetic package: helvetic category: Package shortdesc: URW "Base 35" font pack for LaTeX. longdesc: A set of fonts for use as "drop­in" replacements for Adobe's basic set, comprising: ­ Century Schoolbook (substituting for Adobe's New Century Schoolbook); ­ Dingbats (substituting for Adobe's Zapf Dingbats); ­ Nimbus Mono L (substituting for Abobe's Courier); ­ Nimbus Roman No9 L (substituting for Adobe's Times); ­ Nimbus Sans L (substituting for Adobe's Helvetica); ­ Standard Symbols L (substituting for Adobe's Symbol); ­ URW Bookman; ­ URW Chancery L Medium Italic (substituting for Adobe's Zapf Chancery); ­ URW Gothic L Book (substituting for Adobe's Avant Garde); and ­ URW Palladio L (substituting for Adobe's Palatino). installed: Yes revision: 31835 sizes: run: 2377k relocatable: No cat­date: 2012­06­06 22:57:48 +0200 cat­license: gpl collection: collection­fontsrecommended But when I try to compile: \documentclass{article} \usepackage{helvetic} \begin{document} Hello World! \end{document} It gives an error: ! LaTeX Error: File `helvetic.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name.
    [Show full text]
  • About Basictex-2021
    About BasicTeX-2021 Richard Koch January 2, 2021 1 Introduction Most TeX distributions for Mac OS X are based on TeX Live, the reference edition of TeX produced by TeX User Groups across the world. Among these is MacTeX, which installs the full TeX Live as well as front ends, Ghostscript, and other utilities | everything needed to use TeX on the Mac. To obtain it, go to http://tug.org/mactex. 2 Basic TeX BasicTeX (92 MB) is an installation package for Mac OS X based on TeX Live 2021. Unlike MacTeX, this package is deliberately small. Yet it contains all of the standard tools needed to write TeX documents, including TeX, LaTeX, pdfTeX, MetaFont, dvips, MetaPost, and XeTeX. It would be dangerous to construct a new distribution by going directly to CTAN or the Web and collecting useful style files, fonts and so forth. Such a distribution would run into support issues as the creators move on to other projects. Luckily, the TeX Live install script has its own notion of \installation packages" and collections of such packages to make \installation schemes." BasicTeX is constructed by running the TeX Live install script and choosing the \small" scheme. Thus it is a subset of the full TeX Live with exactly the TeX Live directory structure and configuration scripts. Moreover, BasicTeX contains tlmgr, the TeX Live Manager software introduced in TeX Live 2008, which can install additional packages over the network. So it will be easy for users to add missing packages if needed. Since it is important that the install package come directly from the standard TeX Live distribution, I'm going to explain exactly how I installed TeX to produce the install package.
    [Show full text]
  • 4.4. Is Unicode Font Available? 14 4.4.1
    1 Contents 1. Introduction 3 1.1. Who we are 3 1.2. The UNESCO and IYIL initiative 4 2. Process overview 4 2.1. Language Status Workflow 5 2.2. Technology Implementation Workflow 6 3. Language Status 7 3.1. Is language currently used by a community? 7 3.2. Is language intended for active community use? 7 3.2.1. Revitalize language 7 3.3. Is language in a public registry? 8 3.4. Is language written? 8 3.4.1. Develop written form 8 3.4.2. Document language 8 3.4.2.1. Language is documented 8 3.4.2.2. Language is not documented 9 3.5. Does language use a consistent writing system? 9 3.5.1. Are the characters used already supported? 9 3.6. Is writing supported by a standard? 10 3.6.1. Submit character proposals 10 3.6.2. Develop standard 11 3.7. Proceed to implementation 11 4. Language Technology Implementation Workflow 11 4.1 Note on technology for text in digital systems 11 4.2. Definitions for implementing digital support 12 4.3. Standard language code available? 13 4.3.1. Apply for language code 13 4.4. Is Unicode font available? 14 4.4.1. Create font 14 4.5. Is font available on devices? 14 4.5.1. Manual install or ask vendors for support 14 4.6. Does device have input support? 15 4.7. Is input supported by third party apps or devices? 15 4.7.1. Develop input method 15 4.8. Does device have Unicode data support? 16 This work is licensed under a Creative Commons Attribution 4.0 International License ​ 2 5.
    [Show full text]
  • Download Font Forge for Free Download Font Forge for Free
    download font forge for free Download font forge for free. We recommend that you start by reading Design With FontForge before moving on to the documentation on this page. Get help. Ask a question on the mailing list if you're stuck and the documentation and a websearch didn't provide any answers. Get libre. FontForge is a free and open source font editor brought to you by a community of fellow type lovers. You can donate to support the project financially. Get involved. Anyone can help! You don't have to be a programmer. If you want to help but don't know where then join the developer list and introduce yourself. FontForge on Mac OS X. FontForge is a UNIX application, so it doesn’t behave 100% like a normal Mac Application. OS X 10.12 or later is required. 1. Install XQuartz. Without XQuartz, FontForge will open a Dock icon but not load any further. Open Finder and look in your /Applications/Utilities/ folder for the XQuartz app. If you don’t have it then download and install: direct link to XQuartz-2.8.1.dmg. Log out and log back in to ensure it works correctly. Just this first time, start XQuartz from Applications/Utilities/XQuartz.app , go to the X11 menu, Preferences, Input, and turn off the Enable keyboard shortcuts under X11 or Enable key equivalents under X11 preference item. FontForge will start XQuartz automatically for you next time. 2. Install FontForge. For users of OS X 10.10 and later, download and install FontForge 2017-07-31.
    [Show full text]
  • The TEX Font Panel
    The TEX Font Panel Nelson H. F. Beebe (chair) Center for Scientific Computing University of Utah Department of Mathematics, 322 INSCC 155 S 1400 E RM 233 Salt Lake City, UT 84112-0090 USA Email: [email protected], [email protected], [email protected], [email protected] (Internet) WWW URL: http://www.math.utah.edu/~beebe Telephone: +1 801 581 5254 FAX: +1 801 585 1640, +1 801 581 4148 Internet: [email protected] Introduction Since most programming languages, operating systems, file systems, and even computer I/O and The TUG’2001 Font Panel convened on Thursday, CPU chips, have character knowledge designed into August 16, 2001, with members William Adams, them, changing the character set has huge ramifica- Nelson H. F. Beebe (chair), Barbara Beeton, Hans tions for the computing industry and for worldwide Hagen, Alan Hoenig, and Ross Moore, with active business data processing, data exchange, and record participation by several attendees in the audience. keeping. The list of topics that was projected on the screen Fortunately, a particular encoding scheme makes up the sectional headings in what follows, and called UTF-8 makes it possible for files encoded in the topics are largely independent. pure ASCII to also be Unicode in UTF-8 encoding, Any errors or omissions in this article are solely easing the transition to the new character set. the fault of the panel chair. Up to version 2.0 in 1996, the Unicode character repertoire could be fit into a table of 216 = 65 536 en- Unicode tries. Version 3.0 in 2000 increased the count to over The work of the Unicode Consortium, begun in a million, although just under 50 000 are assigned 1988, and first reported on for the TEX community and tabulated in the book.
    [Show full text]
  • Ainsi Font- Font- Font- Les Petites Marionnettes
    uj - fontfk - Ainsi font- font- font- les petites marionnettes Text Generator - Font Meme Font Bros is your source for unique display fonts! Browse our library of over 5,000 one-of-a-kind typefaces to find the perfect font youve been looking for! Download Terminal Font - Custom Fonts are part of the Custom Design upgrade that allows you to easily add Typekit fonts to your blog. In standard mode, you can use the Font Editor to customize the fonts on your blog in a matter of clicks no coding required. The advanced mode (with an understanding of CSS required) is Tattoo Font Generator | Tattoo Lettering Font Bros is your source for unique display fonts! Browse our library of over 5,000 one-of-a-kind typefaces to find the perfect font youve been looking for! The Font Pool The recommended CDN for Font Awesome. Looking for a premium icon sets? Check out Iconfinder! FontForge Open Source Font Editor Font Craft has nice fonts, borders & frames - many medieval and Celtic styles, Renaissance, Wild West, Fantasy, or Psychedelic theme? David Nalle, founder and designer, adapted fonts from historical source material. W - Helps you choose fonts YouWorkForThem has been designing and providing fonts for decades, and we currently provide 85,540 fonts from hundreds of different font foundries. Known for our unique niche-and designer-oriented font library, we offer easy, affordable Desktop licenses for OpenType and TrueType fonts, along with WebFont, ePub and Mobile App licenses. 78937823122.
    [Show full text]
  • Noto Sans Tagalog V3 Documentation
    Noto Sans Tagalog v3.0 Documentation & Information FREDRICK R. BRENNAN 2 August 2020 Differences between Noto Sans Tagalog Noto Sans Tagalog v3.0 improves upon v2.0 in the following ways: ● It is a one-axis (weight) variable font with an avar table ● It includes glyph for “ra”, a missing letter, at U+170D ○ Also archaic “ra” at U+171F ● It includes a pamudpod ● It includes alternate hollow kudlit enabled in various ways (salt; cv02; VS1) Overview Tagalog? Noto Sans Tagalog is a font for a script known to The Unicode Standard as “Tagalog”. However, this name is not what the script is known by to Filipinos; Filipinos know it as baybayin or alibata. Baybayin is the name preferred by Philippine scholars, deriving from the Tagalog verb root baybay, meaning “to spell”. The name “Tagalog” was kept as Noto Sans Tagalog is part of the much larger Noto family, and as all the others are named after their respective Unicode blocks, so too should Noto Sans Tagalog. However, the alternate name of “Noto Sans Baybayin” should be understood just as well by your OS to refer to the font, as it’s in the name table. Creation notes Process in a nutshell This was primarily an engineering project and learning experience for me, Fred Brennan, the author of this font. This was my first Google Web Font. It is a requirement of Google that all Google Fonts be built from UFO with fontmake. This is unfortunate as it leads many to use Glyphs to make Google Fonts, which is not what Google wants to promote (I’d hope).
    [Show full text]
  • The Comicsans Pacakge
    The comicsans package∗ Scott Pakin [email protected] December 19, 2013 1 Introduction The comicsans package makes Microsoft's Comic Sans font available to LATEX 2". comicsans supports all of the following: • Roman text, boldface text, SMALL-CAPS TEXT, and—with a little extra effort—italic text • Кирилица (римский шрифт, жирный шрифт, каллиграфический шрифт) • Mathematics using Comic Sans wherever possible: ′ log 2" 1 k y (x) 3 10 3 + k=x pk1 Comic Sans is a TrueType (TTF) font. As such, it works particularly well with pdfLATEX, which natively supports TrueType fonts. Some TEX distribu- tions also support dynamic conversion of TTF to PK (a bitmapped font format long used by TEX) so TEX backends other than pdfTEX can (indirectly) utilize TrueType fonts, as well. 2 Installation The following is a brief summary of the comicsans installation procedure: 1. Acquire and install the Comic Sans TrueType (.ttf) files. 2. [Optional] Generate the italic and/or Cyrillic variants of Comic Sans 3. Install the comicsans font files and refresh the TEX filename database. ∗This document corresponds to comicsans v1.0g, dated 2013/12/19. 1 4. Point the TEX backends to the comicsans files. Details are presented in Sections 2.1–2.4. 2.1 Acquire and install the TrueType files comicsans requires the Comic Sans and Comic Sans Bold TrueType files (comic.ttf and comicbd.ttf). You may already have these installed. (On Windows, look in C:\WINDOWS\Fonts for Comic Sans MS (True- Type) and Comic Sans MS Bold (TrueType).) If not, see if a package called msttcorefonts is available for your operating system or operating-system distribution.
    [Show full text]
  • Making Type 1 and Opentype Fonts with Metatype1 and Fontforge
    Making Type 1 and OpenType fonts with MetaType1 and FontForge Karel Píška Institute of Physics, Academy of Sciences Prague, Czech Republic 24 August 2008 2nd ConTEXt Meeting Bohinj, Slovenija Contents Type 1 v.s. OpenType OpenType fonts today TEX text OpenType fonts OpenType math fonts today Stage 1: Font creating with MetaType1 Examples with Latin Modern Stage 2: From Type 1 to OpenType Construction of OpenType Conclusion and suggestions Conclusion and suggestions TEX Gyre fonts and math OpenType tables Last comments Type 1 v.s. OpenType (probably everybody knows) Limitations in Type 1 I max.number of encoded glyphs – 256 I we need many encoding files to cover various languages and their encodings (9 or more in today’s Latin Modern and TEX Gyre) I metrics data (also ligatures, kernings, . ) in additional separated files (× the number of encodings) OpenType fonts I can cover all characters together with metrics and “advances typographic facilities” I are available for XeTEX, LuaTEX I allow to unify access to glyphs, hyphenation patterns, . OpenType fonts today TEX text OpenType fonts I Latin Modern (LMRoman10-Regular) old style digits present I TEX Gyre (TeXGyreTermes-Regular) old style digits, small caps I Antykwa Torunska I Iwona I Kurier and, maybe, other OpenType fonts today OpenType math fonts I Cambria Math [MicroSoft] I old style digits I math symbols I letters: regular, bold, (math) italic, small caps, subscript, superscript, script-script, etc. I see (MS specification) I Minion Math [Jonannes Küster] I Asana Math [Apostolos Syropoulos] (glyph list) special optical sizes for scripts and scriptscrips are absent (?) I STIX not available after beta-testing (?) I other OpenType math ? Stage 1: Font creating with MetaType1 The fonts can be generated with the MetaType1 package [authors B.
    [Show full text]
  • THE MATHALPHA, AKA MATHALFA PACKAGE the Math Alphabets
    THE MATHALPHA, AKA MATHALFA PACKAGE MICHAEL SHARPE The math alphabets normally addressed via the macros \mathcal, \mathbb, \mathfrak and \mathscr are in a number of cases not well-adapted to the LATEX math font structure. Some suffer from one or more of the following defects: • font sizes are locked into a sequence that was appropriate for metafont{generated rather than scalable fonts; • there is no option in the loading package to enable scaling; • the font metrics are designed for text rather than math mode, leading to awkward spacing, subscript placement and accent placement when used for the latter; • the means of selecting a set of math alphabets varies from package to package. The goal of this package is to provide remedies for the above, where possible. This means, in effect, providing virtual fonts with my personal effort at correcting the metric issues, rewriting the font-loading macros usually found in a .sty and/or .fd files to admit a scale factor in all cases, and providing a .sty file which is extensible and from which any such math alphabet may be specified using a standard recipe. For example, the following fonts are potentially suitable as targets for \mathcal or \mathscr and are either included as part of TEXLive 2011, as free downloads from CTAN or other free sources, or from commercial sites. cm % Computer Modern Math Italic (cmsy) euler % euscript rsfs % Ralph Smith Formal Script---heavily sloped rsfso % based on rsfs, much less sloped lucida % From Lucida New Math (commercial) mathpi % Adobe Mathematical Pi or clones thereof
    [Show full text]