New Font Tools For

Total Page:16

File Type:pdf, Size:1020Kb

New Font Tools For New font to ols for T X E Werner Lemb erg Kleine Beurhausstr. 1 D-44137 Dortmund Germany [email protected] Abstract The following font to ols will b e describ ed in this pap er: VFlib, the Vector Font Library, which has b een written by Kakugawa Hi- rotsugu Ì ¯ < ê. This library together with an included suite of demo applications is aimed to provide a uniform interface for accessing fonts in many di erent formats. With the help of con guration les it is p ossible to access fonts with other enco dings, to de ne new virtual fonts, and others. Using VFlib as a basis for dvi drivers, it will b e no longer necessary to have pk les for any font format except for Metafont. FreeTyp e, develop ed byDavid Turner, Rob ert Wilhelm, and the author of this pap er. This is a platform-indep endent library to render bitmaps from TrueTyp e fonts. What makes it di erent from other freely available TrueTyp e to ols is a TrueTyp e interpreter to pro cess hints. ttf2pk and hbf2gf, maintained resp. written by the author. Both programs are part of the CJK package and are used to convert CJK TrueTyp e and HBF fonts into T X fonts. E Intro duction Today,wehave many font les and many dif- ferent font le formats. When we need soft- None of the to ols are really new, but until now they ware to display or printcharacters whichdoes either have not b een presented to the English T X E not dep end on a windowing system and/or communityorhave b een hidden in other packages. an op erating system, wemust write interface Most of them are work in progress, and there is a routines for accessing font les in each appli- good chance that this pap er is already out of date cation software again and again. To do this, when it is printed. programmers must have knowledge of font le 1 All of them have a CJK background more or formats; it will b e a hard task for program- less; Kakugawa originally wanted easy Japanese mers if the number of font formats that an font supp ort for dvi drivers, mytwo programs are application software supp orts b ecomes large. still only useful for CJK fonts, and FreeTyp e was also so on extended to manage CJK TrueTyp e fonts. VFlib is a font library written in C pro- Nevertheless, work is going on to internationalize the viding several functions to obtain bitmaps of to ols, making them useful for a broader audience. characters. VFlib hides the font format of font In the bibliographyyou can nd the lo cations les and provides a uni ed API for all sup- from whichtodownload the packages. p orted font formats. Thus, programmers for application software need not have knowledge VFlib on font le formats. Instead, any software us- Until recently do cumentation was only available in ing VFlib can supp ort various font le formats Japanese see [2] | the main reason why this great immediately. to ol is virtually unknown outside of Japan. Nowa translation into English has b een made; this quote [...] 2 from basic.txt tells what VFlib is: Currently, VFlib supp orts the following font 1 Chinese/Japanese/Korean 2 le formats: PCF, BDF, HBF, TrueTyp e, In general, I'm following the do cumentation les very closely, omitting not so imp ortantortootechnical details. GF, PK, TFM, ShotaiKurabu b K û Õ , 206 TUGb oat,Volume 18 1997, No. 3 | Pro ceedings of the 1997 Annual Meeting New font to ols for T X E 3 a vector font format for Japanese Kanji, device. In addition to these font metrics are de ned and JG another vector font format for Japa- for each glyph. nese Kanji. Esp ecially, VFlib can b e used as Some font le formats do not have such con- a font mo dule for drivers/previewers of dvi cepts; in this case, missing information either is A les T X/L T X; part of this package is a given in a vf libcap le or the sp eci c font driver pro- E E sample dvi previewer for X Windows writ- vides default values. For instance, a TrueTyp e font ten with only 400 lines of C co de. is a vector font and is not restricted to a certain p oint size and resolution of the target device since VFlib stands for Vector Font library | earlier vector fonts can b e scaled to any size. Another ex- versions of the library have supp orted Japanese vec- ample is the ShotaiKurabu font format whichdoes tor fonts only, hence the name. not have font metric information at all: a font driver Basic concepts. The VFlib mo dule consists of two for this font format generates virtual font metrics parts: the library itself whichmust b e linked to the using the data given in a vf libcap le. application program, and a font database le called Here a small excerpt of a vf libcap le suitable `vf libcap' since the le format resembles the format for Japanese T X JT X; omissions are indicated E E of a termcap database; see b elow for an example. with three dots. Font classes and font drivers. VFlib can handle VFlib-Defaults:\ multiple font le formats. Reading a font le is done :implicit-font-classes=ascii- jtex- kanj i,\ byaninternal mo dule in VFlib corresp onding to the gf/pk:\ font le format. This internal mo dule is called a :extension-hints=pk=ascii-jte x-kan ji,\ `font driver'. Service units provided by font drivers gf=ascii-jtex-kanji,\ are called `font classes'. From an end-user's p ointof pk=gf/pk,\ view, font formats are distinguished by the names gf=gf/pk,\ of font classes. Font drivers themself are not visible .ttf=ttf:\ for end-users. :variables-default-values=\ $TeX_KPATHSEA_PROGRAM=\ Some font drivers may not read font les on /usr/local/teTeX/bin/xldvi: disk; they may generate glyphs and outlines by in- ternal computation only. In addition, some font TeX-Defaults:\ drivers may return glyphs which are obtained as :kpathsea-mode=ljfour:\ glyphs by another font class. :dpi=600:\ Font names and searching. In VFlib, a font is :kpathsea-program-name=\ sp eci ed by a `font name' on op ening. First, VFlib $TeX_KPATHSEA_PROGRAM: checks if the font name is given in vf libcap or not. If the font name is found, VFlib reads the description TrueType-Defaults:\ for the font in vf libcap, invokes a font driver corre- :extension=.ttf:\ sp onding to the font class name and op ens the font :aspect=1:\ :dpi=600:\ le. :font-directories=\ If the font name is not given in a vf libcap le, a /dos/texmf/fonts/truetype/j apane se:\ font searching mechanism is invoked. Since there are :platform=microsoft: so many font les for X Window and T X, this fea- E ture has b een intro duced to avoid writing an entry for each font le. Various font drivers will b e called mincho-jtex:\ to see whether the font can b e op ened; a list of font :font-class=ttf:\ drivers for font searching is given in the vf libcap le. :font-file=uwjmg3.ttf:\ Fonts describ ed in a vf libcap le are called `ex- :magnification=0.92:\ plicit fonts' and fonts that are searched by the font :writing-direction=h:\ search feature are called `implicit fonts'. :character-set=jisx0208_1983: \ :encoding-force=sjis: For T X fonts, the kpathsea library will b e used E for searching. mincho-5pt:\ The vf libcap database. Each virtual font as :point-size=5:\ provided by VFlib has its inherent information on :inheritance=mincho-jtex: p oint size, pixel size, and resolution of the target 3 ... Other transcription forms are SyotaiKurabu or Syotai- Club. TUGb oat,Volume 18 1997, No. 3 | Pro ceedings of the 1997 Annual Meeting 207 Werner Lemb erg All other entries are used to de ne a Japa- mincho-10pt:\ :point-size=10:\ nese TrueTyp e font as a font for JT X. The nal E :inheritance=mincho-jtex: JT X font is built from various layers, starting with E the entry `mincho-jtex' which de nes the TrueTyp e font name, the writing direction, the character set, min:\ etc. `mincho-5pt' is an example of how to inherit :font-class=ascii-jtex-kanj i:\ font capabilities: only a p oint size declaration has :kanji-adjustment-file=\ b een added. Then the `min' base font class is sp eci- /usr/local/VFlib/ascii-jtex/t tf.ad j: ed, calling the `ascii-jtex-kanji' font driver and us- ing an adjustment le ttf.adj for all fonts of this min5:\ 4 class. Note that in `min' no fonts are de ned | :kanji-font=mincho-5pt:\ :inheritance=min: the concept is similar to ob ject oriented languages where some base classes are de ned on which vir- ... tual classes are built. With `min5' or `min10' the top level is reached, using all previously constructed min10:\ font classes. :kanji-font=mincho-10pt:\ NFSS would not require size quantization of the :inheritance=min: font; it's easy to add a prop er entry like this: min-nfss:\ The format of a capability le is somewhat :kanji-font=mincho-jtex:\ strange: each entry must be formally on one line :inheritance=min: which can b e split with a trailing backslash. The A font de ned in this way can then b e used at any name of a capabilityentry is the rst name starting size; VFlib would scale the font appropriately.
Recommended publications
  • Open Source License Report on the Product
    OPEN SOURCE LICENSE REPORT ON THE PRODUCT The software included in this product contains copyrighted software that is licensed under the GPLv2, GPLv3, gSOAP Public License, jQuery, PHP License 3.01, FTL, BSD 3-Clause License, Public Domain, MIT License, OpenSSL Combined License, Apache 2.0 License, zlib/libpng License, , . You may obtain the complete corresponding source code from us for a period of three years after our last shipment of this product by sending email to: [email protected] If you want to obtain the complete corresponding source code with a physical medium such as CD-ROM, the cost of physically performing source distribution might be charged. For more details about Open Source Software, refer to eneo website at www.eneo-security.com, the product CD and manuals. GPLv2: u-Boot 2013.07, Linux Kernel 3.10.55, busybox 1.20.2, ethtool 3.10, e2fsprogs 1.41.14, mtd-utils 1.5.2, lzo 2.05, nfs-utils 1.2.7, cryptsetup 1.6.1, udhcpd 0.9.9 GPLv3: pwstrength 2.0.4 gSOAP Public License: gSOAP 2.8.10 jQuery License: JQuery 2.1.1, JQuery UI 1.10.4 PHP: PHP 5.4.4 FTL (FreeType License): freetype 2.4.10 BSD: libtirpc 0.2.3, rpcbind 0.2.0, lighttpd 1.4.32, hdparm 9,45, hostpad 2, wpa_supplicant 2, jsbn 1.4 Public Domain: sqlite 3.7.17 zlib: zlib 1.2.5 MIT:pwstrength 2.0.4, ezxml 0.8.6, bootstrap 3.3.4, jquery-fullscreen 1.1.5, jeditable 1.7.1, jQuery jqGrid 4.6.0, fullcalendar 2.2.0, datetimepicker 4.17.42, clockpicker 0.0.7, dataTables 1.0.2, dropzone 3.8.7, iCheck 1.0.2, ionRangeSlider 2.0.13, metisMenu 2.0.2, slimscroll 1.3.6, sweetalert 2015.11, Transitionize 0.0.2 , switchery 0.0.2, toastr 2.1.0, animate 3.5.0, font-awesome 4.3.0, Modernizr 2.7.1 pace 1.0.0 OpenSSL Combined: openssl 1.0.1h Apache license 2.0: datepicker 1.4.0, mDNSResponder 379.32.1 wish), that you receive source reflect on the original authors' GNU GENERAL PUBLIC code or can get it if you want it, reputations.
    [Show full text]
  • Typesetting Classical Greek Philology Could Not find Anything Really Suitable for Her
    276 TUGboat, Volume 23 (2002), No. 3/4 professor of classical Greek in a nearby classical high Philology school, was complaining that she could not typeset her class tests in Greek, as she could do in Latin. I stated that with LATEX she should not have any The teubner LATEX package: difficulty, but when I started searching on CTAN,I Typesetting classical Greek philology could not find anything really suitable for her. At Claudio Beccari that time I found only the excellent Greek fonts de- signed by Silvio Levy [1] in 1987 but for a variety of Abstract reasons I did not find them satisfactory for the New The teubner package provides support for typeset- Font Selection Scheme that had been introduced in LAT X in 1994. ting classical Greek philological texts with LATEX, E including textual and rhythmic verse. The special Thus, starting from Levy’s fonts, I designed signs and glyphs made available by this package may many other different families, series, and shapes, also be useful for typesetting philological texts with and added new glyphs. This eventually resulted in other alphabets. my CB Greek fonts that now have been available on CTAN for some years. Many Greek users and schol- 1 Introduction ars began to use them, giving me valuable feedback In this paper a relatively large package is described regarding corrections some shapes, and, even more that allows the setting into type of philological texts, important, making them more useful for the com- particularly those written about Greek literature or munity of people who typeset in Greek — both in poetry.
    [Show full text]
  • 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]
  • The File Cmfonts.Fdd for Use with Latex2ε
    The file cmfonts.fdd for use with LATEX 2".∗ Frank Mittelbach Rainer Sch¨opf 2019/12/16 This file is maintained byA theLTEX Project team. Bug reports can be opened (category latex) at https://latex-project.org/bugs.html. 1 Introduction This file contains the external font information needed to load the Computer Modern fonts designed by Don Knuth and distributed with TEX. From this file all .fd files (font definition files) for the Computer Modern fonts, both with old encoding (OT1) and Cork encoding (T1) are generated. The Cork encoded fonts are known under the name ec fonts. 2 Customization If you plan to install the AMS font package or if you have it already installed, please note that within this package there are additional sizes of the Computer Modern symbol and math italic fonts. With the release of LATEX 2", these AMS `extracm' fonts have been included in the LATEX font set. Therefore, the math .fd files produced here assume the presence of these AMS extensions. For text fonts in T1 encoding, the directive new selects the new (version 1.2) DC fonts. For the text fonts in OT1 and U encoding, the optional docstrip directive ori selects a conservatively generated set of font definition files, which means that only the basic font sizes coming with an old LATEX 2.09 installation are included into the \DeclareFontShape commands. However, on many installations, people have added missing sizes by scaling up or down available Metafont sources. For example, the Computer Modern Roman italic font cmti is only available in the sizes 7, 8, 9, and 10pt.
    [Show full text]
  • Surviving the TEX Font Encoding Mess Understanding The
    Surviving the TEX font encoding mess Understanding the world of TEX fonts and mastering the basics of fontinst Ulrik Vieth Taco Hoekwater · EuroT X ’99 Heidelberg E · FAMOUS QUOTE: English is useful because it is a mess. Since English is a mess, it maps well onto the problem space, which is also a mess, which we call reality. Similary, Perl was designed to be a mess, though in the nicests of all possible ways. | LARRY WALL COROLLARY: TEX fonts are mess, as they are a product of reality. Similary, fontinst is a mess, not necessarily by design, but because it has to cope with the mess we call reality. Contents I Overview of TEX font technology II Installation TEX fonts with fontinst III Overview of math fonts EuroT X ’99 Heidelberg 24. September 1999 3 E · · I Overview of TEX font technology What is a font? What is a virtual font? • Font file formats and conversion utilities • Font attributes and classifications • Font selection schemes • Font naming schemes • Font encodings • What’s in a standard font? What’s in an expert font? • Font installation considerations • Why the need for reencoding? • Which raw font encoding to use? • What’s needed to set up fonts for use with T X? • E EuroT X ’99 Heidelberg 24. September 1999 4 E · · What is a font? in technical terms: • – fonts have many different representations depending on the point of view – TEX typesetter: fonts metrics (TFM) and nothing else – DVI driver: virtual fonts (VF), bitmaps fonts(PK), outline fonts (PFA/PFB or TTF) – PostScript: Type 1 (outlines), Type 3 (anything), Type 42 fonts (embedded TTF) in general terms: • – fonts are collections of glyphs (characters, symbols) of a particular design – fonts are organized into families, series and individual shapes – glyphs may be accessed either by character code or by symbolic names – encoding of glyphs may be fixed or controllable by encoding vectors font information consists of: • – metric information (glyph metrics and global parameters) – some representation of glyph shapes (bitmaps or outlines) EuroT X ’99 Heidelberg 24.
    [Show full text]
  • Optimization of Fontconfig Library Optimization of Fontconfig Library
    Michal Srb OPTIMIZATION OF FONTCONFIG LIBRARY OPTIMIZATION OF FONTCONFIG LIBRARY Michal Srb Bachelor's Thesis Spring 2017 Information Technology Oulu University of Applied Sciences ABSTRACT Oulu University of Applied Sciences Degree Programme in Information Technology, Internet Services Author: Michal Srb Title of the bachelor’s thesis: Optimization of Fontconfig Library Supervisor: Teemu Korpela Term and year of completion: Spring 2017 Number of pages: 39 + 1 appendix Fontconfig is a library that manages a database of fonts on Linux systems. The aim of this Bachelor's thesis was to explore options for making it respond faster to application's queries. The library was identified as a bottleneck during the startup of graphical applications. The typical usage of the library by applications was analyzed and a set of standalone benchmarks were created. The library was profiled to identify hot spots and multiple optimizations were applied to it. It was determined that to achieve an optimal performance, a complete rewrite would be necessary. However, that could not be done while staying backward compatible. Nevertheless, the optimizations applied to the existing fontconfig yielded significant performance improvements, up to 98% speedups in benchmarks based on the real-world usage. Keywords: fontconfig, optimization, benchmarking, profiling 3 CONTENTS 1 INTRODUCTION 6 2 BACKGROUND 7 1.1 Motivation 7 1.2 Fontconfig 8 1.2.1 Function 9 1.2.2 Configuration 11 2 ANALYSIS 12 2.1 Main entry functions 12 2.1.1 FcFontMatch 12 2.1.2 FcFontSort 14 2.1.3
    [Show full text]
  • The Latex2ε Package Ccfonts
    The LATEX 2" package ccfonts Walter Schmidt∗ (v1.2 { 2020/03/25) Contents 1 Prerequisites 1 2 Using the package 2 2.1 Package options . 3 2.2 Font encoding . 3 3 Known problems 3 4 NFSS classification of the Concrete typefaces 4 5 Implementation 4 5.1 Font setup for text mode . 4 5.2 Options . 5 5.2.1 Standard leading . 5 5.2.2 The option exscale .................. 5 5.2.3 The option slantedGreek ............... 6 5.3 The option boldsans ...................... 6 5.3.1 Processing options . 6 5.4 Font setup for math mode . 6 5.5 Initialization . 7 1 Prerequisites In order to make use of the package ccfonts, the following fonts and .fd files are required: ∗[email protected] 1 • The Concrete text fonts with traditional encoding (CTAN: fonts/ concrete/) • The Concrete text fonts with European encoding (CTAN: fonts/ ecc/) • The mathematical Concrete fonts (CTAN: fonts/concmath/) • The .fd files for the traditional and mathematical Concrete fonts (CTAN: macros/latex/contrib/supported/concmath/) • The .fd files for the European Concrete fonts, which are distributed and installed in conjunction with the ccfonts package On CTAN the fonts are available in METAFONT format. The Concrete typefaces are also provided in Type1 format from Micropress Inc, see <http://www.micropress-inc.com>. 2 Using the package The LATEX macro package ccfonts supports typesetting with the font fam- ily `Concrete'. Loading this package through \usepackage{ccfonts} will effect the following: • The default roman font family is changed to ccr, i.e. Concrete. • The default leading (\baselineskip) for the font sizes 8{12 pt is increased slightly.
    [Show full text]
  • P Font-Change Q UV 3
    p font•change q UV Version 2015.2 Macros to Change Text & Math fonts in TEX 45 Beautiful Variants 3 Amit Raj Dhawan [email protected] September 2, 2015 This work had been released under Creative Commons Attribution-Share Alike 3.0 Unported License on July 19, 2010. You are free to Share (to copy, distribute and transmit the work) and to Remix (to adapt the work) provided you follow the Attribution and Share Alike guidelines of the licence. For the full licence text, please visit: http://creativecommons.org/licenses/by-sa/3.0/legalcode. 4 When I reach the destination, more than I realize that I have realized the goal, I am occupied with the reminiscences of the journey. It strikes to me again and again, ‘‘Isn’t the journey to the goal the real attainment of the goal?’’ In this way even if I miss goal, I still have attained goal. Contents Introduction .................................................................................. 1 Usage .................................................................................. 1 Example ............................................................................... 3 AMS Symbols .......................................................................... 3 Available Weights ...................................................................... 5 Warning ............................................................................... 5 Charter ....................................................................................... 6 Utopia .......................................................................................
    [Show full text]
  • The Stix Package
    The stix package STI Pub Companies v1.1.2-latex from 2015/04/17 Contents 1 Introduction 2 2 Usage 2 2.1 Options.............................................2 2.2 Compatibility with other packages...............................3 2.3 Feedback............................................3 3 Math alphabets 3 4 Math symbols 4 4.1 Alphabetics...........................................4 4.2 Ordinary symbols........................................4 4.3 Binary operators........................................8 4.4 Relations............................................ 10 4.5 Punctuation........................................... 18 4.6 Integrals............................................. 18 4.7 Big operators.......................................... 19 4.8 Delimiters............................................ 19 4.9 Other bracess.......................................... 21 4.10 Accents............................................. 21 4.11 Over and under brackets.................................... 22 4.12 Radicals............................................. 22 5 Font tables 23 5.1 Text fonts............................................ 23 5.2 Math fonts............................................ 30 1 1 Introduction The mission of the Scientific and Technical Information Exchange (STIX) font creation project is the prepara- tion of a comprehensive set of fonts that serve the scientific and engineering community in the process from manuscript creation through final publication, both in electronic and print formats. Toward this purpose, the STIX fonts
    [Show full text]
  • The Begingreek Package
    The begingreek package Claudio Beccari – claudio dot beccari at gmail dot com Version v.1.5 of 2015/02/16 Contents 5 The new greek environment 3 1 Introduction 1 6 The command \greektxt 4 2 Usage 2 7 Font shapes and series 4 8 Examples 5 3 Incomplete fonts and differ- ent encoding 3 9 Acknowledgements 5 4 Default font control 3 10 The code 6 Abstract This small extension module defines the environment greek to be used with pdfLaTeX so as to imitate the similar environment defined in polyglossia. A corresponding command, \greektxt, is also defined. Of course there are some differences, but it has been used extensively and it is useful. 1 Introduction When using pdfLaTeX and babel, language changes are done with babel’s lan- guage switching commands \selectlanguage, \foreignlanguage or with the environments otherlanguage and otherlanguage*. They work fine, but some- times it is better to have a more “agile” command or environment that can be used at least in place of the last three commands or environments. Some more extra functionalities may be desirable, such as the possibility of specifying a different default font family or to switch font family for a particular stretch of Greek text. This small module does exactly what is described above; it has been created only to be used with pdfLaTeX, therefore if it gets loaded with a package that will be run with XeLaTeX or LuaLaTex it will complain loudly and its loading will be aborted; no, not simply that: the only way to exit from this wrong situation is to quit compilation.
    [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]