56 Tugboat, Volume 42 (2021), No. 1 an Attempt at Creating Font

Total Page:16

File Type:pdf, Size:1020Kb

56 Tugboat, Volume 42 (2021), No. 1 an Attempt at Creating Font 56 TUGboat, Volume 42 (2021), No. 1 An attempt at creating font transitions are topologically equivalent). In this case, it is not difficult to prove that any two such glyphs cande- S.K. Venkatesan formed from one into another by a simple homotopy Abstract deformation. In any case, we will be constructing an algorithm that does this, so we prove it by example. In this short note we discuss the abstract topological In other glyphs there are holes in the manifolds; aspects of fonts and how a simple homotopy defor- as in the case of O, Q, A, etc. In some cases, as in B, mation can be created to transition a glyph in one there are two holes. So the glyphs can have more than font to that of another font. We demonstrate inter- one boundary as well. But in all cases the boundary esting transitions for some fonts from sans-serif to is a simply-connected one-dimensional curve. As serif using a JavaScript implementation of a simple a special trivial case of the Poincar´econjecture,1 algorithm. We also discuss other cases which involve we have that any simply-connected one-dimensional deformations that map non-homeomorphic configu- curve is homeomorphically equivalent to a circle. rations that involve catastrophic bifurcations. In fact, there is only one one-dimensional manifold (without boundary), the circle. 1 Introduction Donald Knuth in his METAFONT project [1] wanted 3 Description of the algorithm used for to initiate a framework for creating fonts through font deformation computer programs. An essay in Douglas Hofs- We shall here briefly describe the first algorithm used tadter's book Metamagical Themas: Questing for to map the glyph of one font into another. the essence of mind and pattern [2] challenges this ambitious initiative and discusses it in great detail. 3.1 Algorithm 1 A simple question is, can a computer program au- Step 1 We center a font glyph into a standard font tomatically create hybrid fonts, for example, a new box of 1em height. font that is 30% like Helvetica and 70% like Times? Step 2 We identify the boundary curves of the font. We answer this question using a simple algorithm Step 3 We divide the curve into equal segments and demonstrate its ramifications for some fonts. along the path of the curve and create a fixed number of an array of points. 2 Algebraic topology of font glyphs and Step 4 We reorder the points of the array so that their deformations the one that is nearest to the origin appears Topology is usually defined as the study of clay geom- first. etry, explained through an example of a teacup being Step 5 We do steps 1{4 for both the font glyphs. topologically equivalent to a ring (the handle of the Step 6 We now transition from one set of arrays to teacup). The crucial idea is that you can remold the another using a linear path in time, to show the clay without breaking it anywhere through any con- transition. tinuous deformation, unlike in Euclidean geometry 3.2 Algorithm 2 where lengths are also preserved. Font glyphs are, for the most part, connected Steps 1{4 Follow as in Algorithm 1 compact two-dimensional manifolds with simply-con- Step 5 We first segment the sans-serif font glyph. nected one-dimensional boundary curves. Although Step 6 We now segment the serif font glyph into most glyphs are simply-connected, there are also finer (typically 10 times more) segments than some glyphs such as lowercase \i" and \j" that have the sans-serif font glyph. two disconnected pieces of manifold, due to the dot Step 7 We now look for an orthonormal projection that is disjoint from the main shape. In any case, (due to symmetry requirements we may have each connected piece is a connected compact two- to use x-projections and y-projections as well) dimensional manifold with a boundary. from sans-serif (as sans-serif is more regular- Typically, in the English uppercase alphabet, shaped) font glyph onto serif font to locate the C,E,F,G,H,I,J,K,L,M,N,S,T,U,V,W,X,Y,Z and in the one-to-one correspondence. lowercase, c,f,h,k,l,m,n,r,s,t,u,v,w,x,y,z are glyphs Step 8 Once the points have been paired we now that are two-dimensional manifolds with a simply- transition from one set of arrays to another using connected single boundary which can be homeo- a linear path in time, to show the transition. morphically mapped to a two-dimensional disc with 1 It is no longer a conjecture, as Grigori Perelman one-dimensional circle as its boundary (we could have has proved the conjecture for the hitherto unproven just as well used a square instead of circle, as they three-dimensional case [5]. S.K. Venkatesan doi.org/10.47397/tb/42-1/tb130venkatesan-transfont TUGboat, Volume 42 (2021), No. 1 57 3.3 Some hints on filling the area inside 100% sans-serif: the curve The curve that has the longest length needs to be filled inside, while the rest of the curves should not be filled inside (except for the case of the dot for\i" and \j"). In order to identify which piece of curve 70% sans-serif, 30% serif: maps into which, we use the length and the centroid of the curves as the important parameters to guide in our choice. To identify that the dot in \i" and \j" needs to be filled, we need to find out if the other curves are inside the main curve or not, a non-trivial exercise. 30% sans-serif, 70% serif: In fact, it took more than a century to prove the Jor- dan curve theorem [3], i.e., that a one-dimensional closed curve embedded in a two-dimensional Eu- clidean plane divides the plane into two disconnected pieces (the inside and outside), but for approximately convex shapes this identification is not that difficult. 100% serif: 4 The Demo site and JavaScript algorithm The demo site is here: cqrl.in/dev/font-transition-js.html The JavaScript code, released under GPLv3, is here: github.com/Sukii/font-transition 6 The pessimism of Hofstadter and 5 Transition from Linux Biolinum Regular the confidence of Knuth to Linux Libertine Regular It is true that there are limits to what is feasible; for example, Einstein showed, using the principle of relativity, that the speed of light limits the speed of particles, as it would require infinite energy to cross that barrier. However, we also know that quantum tunnels break through such impossible barriers, as in the case of the Hawking tunneling effect, by which we are able to visualize black holes. More simply, X-rays are not visible to human eyes but they can be discerned through other means such as photographic plates. So limits of human perception and achieve- ments can be extended by other means, as we gain better perception of the problems. We have shown in this article, both theoreti- cally and through demonstration of font transitions that it is possible in some effective way to achieve what Donald Knuth envisaged. In this article, we restricted ourselves to transition from one font to another only in the case where both are topologically equivalent (i.e., homeomorphic), but it is possible to go beyond that into other complicated designs such as script fonts and gothic (Fraktur, etc.) fonts, i.e., create a transition effect from a sans-serif font glyph to a script or gothic font glyph. This can- not be achieved by a simple homotopy deformation. It requires creation of bifurcation effects and other Now let us typeset some text with this transition catastrophes studied by Rene Thom [4], V.I. Arnold font to see if it is reasonable: [5], and many others. An attempt at creating font transitions 58 TUGboat, Volume 42 (2021), No. 1 Instead of meandering into profundity, we shall now discuss a concrete example. Consider the follow- ing calligraphic character L: L −! L generated using the calrsfs LATEX package. Let us see what the transition from the sans-serif \L" in Linux Biolinum to this script L might look like: However, creating this transition was not as easy as the previous cases. The \script L" has three boundary curves while \sans-serif L" has only one boundary curve. But, if we carefully observe the pen stroke as it flows through the glyph, we can seeit In the above transition, one can observe that is just one stroke but self-intersecting at two places. all animals retain approximate left-right symmetry This can be considered as a two-dimensional ribbon in their external form. This left-right symmetry is embedded in (2+1)-dimension (like a twisting and imposed by the Darwinian pressure on the external turning fly-over we see in big cities). form by the environment that punishes any left-right Unfortunately, the font files do not store this self- asymmetry as it decreases survival fitness due to intersecting curve. Instead, the font files stores it as impaired physical mobility. We shall see in the next three boundary curves. In order to create the above section how such symmetry conditions can be im- transition we exported the glyph from the font file as posed on glyphs to preserve approximate left-right three SVG curves, welded them together as a single symmetry in some characters in the transition states. curve that self-intersects at two junctions but flows Insects possess some kind of left-right symmetry, unobstructed through the channels.
Recommended publications
  • 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]
  • Using Opentype Features in Libreofiie
    Using OpenType Features in LibreOfiie David J. Perry Ver. 1.2 updated August 4, 2017 Note: Part I provides background for those who have litle or no experience using OpenType. If you are already familiar with OpenType features and just want to learn how to access the in Libre# O$ce% you can go directly to Part II. tou might also need to read Part Ii if you have worked with OT features through a graphical interface rather than by using four-character codes. N.B.: names o keys on the key#oard are s"o$n in smal% capitals (enter, tab, etc.(. I. About OpenType A. Introduction )penType (ab#reviated O* herea+er( is a font te&"no%ogy t"at enab%es t"e appearance o &"aracters to be c"anged without altering the under%ying te,t. W"y wou%d one want su&" a thing? /n some languages, c"aracters may need to be res"aped depending on conte,t. In Arabi&, for instance, le0ers have diferent s"apes depending on w"ether t"ey come at the beginning o a $ord, in t"e midd%e, or at the end. Te user types a le0er and t"e appropriate s"ape is dis3 p%ayed. In languages li!e Arabi&, the operating system automati&al%y app%ies the needed O* eatures wit"out intervention by the user. Windo$s and Linu, use O* to support su&" com3 p%e, s&ripts (5ac O6 X uses a diferent te&"no%ogy for this(. /n languages t"at do not re8uire res"aping, O* provides ac&ess to many re9nements tradition3 al%y used in hig"38ua%ity typograp"y.
    [Show full text]
  • Libertine's Xetex-Documentation
    Manual for L L with XƎTEX Advantages of XeTex over classic LaTex, examples of configuration Deutse Version ebenfalls erhältli. P H P Libertine Open Fonts Projekt http://linuxlibertine.sf.net Berlin, den 21. MÄarz 2009 Inhaltsverzeichnis 1 Advantages of XeTex 3 2 Commands 3 3 Choosing OpenType-features 4 3.1 Leers: ..................................... 4 3.2 Numbers/Figures: ............................... 4 3.3 Ligatures: .................................... 4 4 Links 4 5 Appendix 5 2 1 Advantages of XeTex ² Full Unicode-support. You can enter all Unicode-Glyphs directly into the source code. ² Simple usability of TrueType- and OTF-Fonts ² Full OpenType-support: { automatic substitution of standard activated OpenType-features, i.e. ligatures su as ff, fi, , , fl,ffi, ffl,, , … { shiing from Stylistic Sets, i.e. old style figures, proportional figures, ÄÖÜ as trema-leers, substitution of german ß with ss { true GPOS-kerning 2 Commands e XeTex-interpreter is being invocated via xelatex instead of latex or pdflatex, example: xelatex Document.tex e output is a PDF-file, ergo analog to our example as Dokument.pdf Because the interpreter needs to know wi fonts to use and because XeTex needs some special paages, the document heading looks a lile bit different from usual. Following commands should be entered into the heading: \usepackage{xunicode} \usepackage{fontspec} \usepackage{xltxtra} In contrast, the definition of the input encoding (inputenc) is obsolete, because XeTex consi- ders UTF-8. Some examples found in the internet begin with following META-information: %!TEX TS-program = xetex %!TEX encoding = UTF-8 Unicode though this doesn’t seem to be obligatory. ere are different possibilities to tell XeTex, whi fonts to use locally or globally.
    [Show full text]
  • Microsoft Core Fonts Package Post-Installation to Obtain a Proper Type Library
    AP�������F��� ��� O���S�����T������� �� �� �������� ���� �� �� ��� ������ ��� ���������� �� ���� �� the development of libre ecosystems. Typography has always been a stubborn holdout in this regard, and to this day there remain few free high-quality comprehensive text typefaces. Free type is mainly concentrated in a handful of flagship “superfonts” that contain a staggering catalog of glyphs, but lack greatly in the quality of design and typographic styles and features seen in professional type. To my knowledge, there are currently just two great open source text families—Gentium, which is still incomplete, and Linux Libertine, in addition to a few corporate gifts such as Adobe Source Serif and Bitstream Charter. To help fill the gap, I present my own original type design and ask for the Wikimedia projects’ help in finishing and releasing my font to provide a quality free font choice. What is this font? ��� ���� � �� ��������� (��� ���� ��� ��� ��������� ������� 0 1 2 3 4 5 6 7 8 9 this paragraph in) is meant to be an original serif typeface that an editor might want to set a textbook in. It does not yet have an official name. Many existing open source typefaces are clones of 0 1 2 3 4 5 6 7 8 9 popular old public domain typefaces (like Asana, S���, EB Garamond, or Free Serif, which are clones of Palatino, Times, Garamond, and Times again, respectively). Others like Liberation Serif, Déjà Vu, and Droid Serif have a distinctive “computer type” style that makes them convenient for pixel display and easy to HQWinâaba construct and adapt but poor in most other regards. I tried to create something different.
    [Show full text]
  • Typesetting Phonology Papers
    April 16, 2015 Michael Becker, [email protected] Typesetting phonology papers 1 Choosing your font Most modern fonts conform to Unicode specifications, which means that they can be used for a very wide variety of alphabets, including IPA. Most fonts, however, only cover some of Unicode, so it’s important to choose a font that has good IPA coverage. Here are some fonts with fairly good IPA coverage (look out for quirks and missing characters in some of them, though). ey are all free, and work on OS X, Windows, and Linux. ere is rarely any reason to use more than one font in any given paper, so just choose one font and go with it. Bold Italics Bold italics S C Linux Libertine yes yes yes yes Junicode yes yes yes yes Times New Roman yes yes yes yes¹ DejaVu Serif yes yes yes no Cardo yes yes no yes Charis SIL yes yes yes yes Doulos SIL no no no yes Gentium no yes no no Bold and italics are good for the usual reasons. Small Caps are needed for the names of constraints in constraint-based theories. Note that Microso Word will fake missing features from fonts that lack them; the result is usually less than aesthetically pleasing. ¹Times New Roman doesn’t actually have small caps, but if you are using XƎLATEX, there is a trick. First, download TeX Gyre Termes, which looks a lot like Times New Roman, and has small caps, but doesn’t have good IPA support. en pair the two fonts: \setromanfont[SmallCapsFont={TeX Gyre Termes},SmallCapsFeatures={Leers=SmallCaps}]{Times New Roman}.
    [Show full text]
  • DVD-Ofimática 2014-07
    (continuación 2) Calizo 0.2.5 - CamStudio 2.7.316 - CamStudio Codec 1.5 - CDex 1.70 - CDisplayEx 1.9.09 - cdrTools FrontEnd 1.5.2 - Classic Shell 3.6.8 - Clavier+ 10.6.7 - Clementine 1.2.1 - Cobian Backup 8.4.0.202 - Comical 0.8 - ComiX 0.2.1.24 - CoolReader 3.0.56.42 - CubicExplorer 0.95.1 - Daphne 2.03 - Data Crow 3.12.5 - DejaVu Fonts 2.34 - DeltaCopy 1.4 - DVD-Ofimática Deluge 1.3.6 - DeSmuME 0.9.10 - Dia 0.97.2.2 - Diashapes 0.2.2 - digiKam 4.1.0 - Disk Imager 1.4 - DiskCryptor 1.1.836 - Ditto 3.19.24.0 - DjVuLibre 3.5.25.4 - DocFetcher 1.1.11 - DoISO 2.0.0.6 - DOSBox 0.74 - DosZip Commander 3.21 - Double Commander 0.5.10 beta - DrawPile 2014-07 0.9.1 - DVD Flick 1.3.0.7 - DVDStyler 2.7.2 - Eagle Mode 0.85.0 - EasyTAG 2.2.3 - Ekiga 4.0.1 2013.08.20 - Electric Sheep 2.7.b35 - eLibrary 2.5.13 - emesene 2.12.9 2012.09.13 - eMule 0.50.a - Eraser 6.0.10 - eSpeak 1.48.04 - Eudora OSE 1.0 - eViacam 1.7.2 - Exodus 0.10.0.0 - Explore2fs 1.08 beta9 - Ext2Fsd 0.52 - FBReader 0.12.10 - ffDiaporama 2.1 - FileBot 4.1 - FileVerifier++ 0.6.3 DVD-Ofimática es una recopilación de programas libres para Windows - FileZilla 3.8.1 - Firefox 30.0 - FLAC 1.2.1.b - FocusWriter 1.5.1 - Folder Size 2.6 - fre:ac 1.0.21.a dirigidos a la ofimática en general (ofimática, sonido, gráficos y vídeo, - Free Download Manager 3.9.4.1472 - Free Manga Downloader 0.8.2.325 - Free1x2 0.70.2 - Internet y utilidades).
    [Show full text]
  • Sketch Block Bold Accord Heavy SF Bold Accord SF Bold Aclonica Adamsky SF AFL Font Pespaye Nonmetric Aharoni Vet Airmole Shaded
    Sketch Block Bold Accord Heavy SF Bold Accord SF Bold Aclonica Adamsky SF AFL Font pespaye nonmetric Aharoni Vet Airmole Shaded Airmole Stripe Airstream Alegreya Alegreya Black Alegreya Black Italic Alegreya Bold Alegreya Bold Italic Alegreya Italic Alegreya Sans Alegreya Sans Black Alegreya Sans Black Italic Alegreya Sans Bold Alegreya Sans Bold Italic Alegreya Sans ExtraBold Alegreya Sans ExtraBold Italic Alegreya Sans Italic Alegreya Sans Light Alegreya Sans Light Italic Alegreya Sans Medium Alegreya Sans Medium Italic Alegreya Sans SC Alegreya Sans SC Black Alegreya Sans SC Black Italic Alegreya Sans SC Bold Alegreya Sans SC Bold Italic Alegreya Sans SC ExtraBold Alegreya Sans SC ExtraBold Italic Alegreya Sans SC Italic Alegreya Sans SC Light Alegreya Sans SC Light Italic Alegreya Sans SC Medium Alegreya Sans SC Medium Italic Alegreya Sans SC Thin Alegreya Sans SC Thin Italic Alegreya Sans Thin Alegreya Sans Thin Italic AltamonteNF AMC_SketchyOutlines AMC_SketchySolid Ancestory SF Andika New Basic Andika New Basic Bold Andika New Basic Bold Italic Andika New Basic Italic Angsana New Angsana New Angsana New Cursief Angsana New Vet Angsana New Vet Cursief Annie BTN Another Typewriter Aparajita Aparajita Bold Aparajita Bold Italic Aparajita Italic Appendix Normal Apple Boy BTN Arabic Typesetting Arabolical Archive Arial Arial Black Bold Arial Black Standaard Arial Cursief Arial Narrow Arial Narrow Vet Arial Unicode MS Arial Vet Arial Vet Cursief Aristocrat SF Averia-Bold Averia-BoldItalic Averia-Gruesa Averia-Italic Averia-Light Averia-LightItalic
    [Show full text]
  • Libreoffice Paris 2011 Conference Presentation Template
    Towards Desktop Publishing László Németh FSF.hu Foundation, Hungary 1 LibreOffice Paris 2011 Conference – Towards Desktop Publishing In memoriam Keith Stribley (1976–2011) OpenOffice.org/LibreOffice developer 2 LibreOffice Paris 2011 Conference – Towards Desktop Publishing Why Desktop Publishing? Competitive feature MS Office 2010: a few optional OpenType features Niche in open source DTP Huge, mostly text documents Generated & structured documents (ODF) Answer for real problems i18n Unique in open source DTP (eg. Scribus is a page layout program without orphan/widow control). Attractive feature for professionals Better, than bad typography (WordArt/Fontwork) 3 LibreOffice Paris 2011 Conference – Towards Desktop Publishing Why Graphite? Smart font technology of LibreOffice (since OOo 3.2) Open standard with open source reference library (unlike Apple AAT) Answers for major and minor language related/typographical problems Graphite smart font logic in the font files, described in GDL language and compiled by the Graphite compiler (OpenType is not so general and more vendor specific) Languages (free SIL Graphite fonts): Burmese, Coptic, Ethiopic, Greek, Khmer etc. 4 LibreOffice Paris 2011 Conference – Towards Desktop Publishing Towards DTP Advanced fonts for DTP Fix Graphite integration Standardization DTP GUI PDF output for printing OpenType support Other LibreOffice developments Test examples Etc. (extended LibreOffice help) 5 LibreOffice Paris 2011 Conference – Towards Desktop Publishing Linux Libertine and Biolinum Developed by Philipp
    [Show full text]
  • The Fontspec Package Font Selection for X LE ATEX and Lualatex
    The fontspec package Font selection for X LE ATEX and LuaLATEX WILL ROBERTSON With contributions by Khaled Hosny, Philipp Gesang, Joseph Wright, and others. http://wspr.io/fontspec/ 2020/02/21 v2.7i Contents I Getting started 5 1 History 5 2 Introduction 5 2.1 Acknowledgements ............................... 5 3 Package loading and options 6 3.1 Font encodings .................................. 6 3.2 Maths fonts adjustments ............................ 6 3.3 Configuration .................................. 6 3.4 Warnings ..................................... 6 4 Interaction with LATEX 2ε and other packages 7 4.1 Commands for old-style and lining numbers ................. 7 4.2 Italic small caps ................................. 7 4.3 Emphasis and nested emphasis ......................... 7 4.4 Strong emphasis ................................. 7 II General font selection 8 1 Main commands 8 2 Font selection 9 2.1 By font name ................................... 9 2.2 By file name ................................... 10 2.3 By custom file name using a .fontspec file . 11 2.4 Querying whether a font ‘exists’ ........................ 12 1 3 Commands to select font families 13 4 Commands to select single font faces 13 4.1 More control over font shape selection ..................... 14 4.2 Specifically choosing the NFSS family ...................... 15 4.3 Choosing additional NFSS font faces ....................... 16 4.4 Math(s) fonts ................................... 17 5 Miscellaneous font selecting details 18 III Selecting font features 19 1 Default settings 19 2 Working with the currently selected features 20 2.1 Priority of feature selection ........................... 21 3 Different features for different font shapes 21 4 Selecting fonts from TrueType Collections (TTC files) 23 5 Different features for different font sizes 23 6 Font independent options 24 6.1 Colour .....................................
    [Show full text]
  • Communications of the Tex Users Group 2013 U.S.A
    “The Internet is completely decent- ralized,” Mr. Rimovsky said. [anonymous] International Herald Tribune (14 September 1998) COMMUNICATIONS OF THE TEX USERS GROUP EDITOR BARBARA BEETON VOLUME 34, NUMBER 2 • 2013 PORTLAND • OREGON • U.S.A. 110 TUGboat, Volume 34 (2013), No. 2 TUGboat editorial information Suggestions and proposals for TUGboat articles are This regular issue (Vol. 34, No. 2) is the second gratefully accepted. Please submit contributions by elec- issue of the 2013 volume year. tronic mail to [email protected]. TUGboat is distributed as a benefit of member- Effective with the 2005 volume year, submission of ship to all current TUG members. It is also available a new manuscript implies permission to publish the ar- TUGboat to non-members in printed form through the TUG store ticle, if accepted, on the web site, as well as (http://tug.org/store), and online at the TUGboat in print. Thus, the physical address you provide in the web site, http://tug.org/TUGboat. Online publication manuscript will also be available online. If you have any to non-members is delayed up to one year after print reservations about posting online, please notify the edi- publication, to give members the benefit of early access. tors at the time of submission and we will be happy to Submissions to TUGboat are reviewed by volun- make special arrangements. teers and checked by the Editor before publication. How- TUGboat editorial board ever, the authors are still assumed to be the experts. Barbara Beeton, Editor-in-Chief Questions regarding content or accuracy should there- Karl Berry, Production Manager fore be directed to the authors, with an information copy Boris Veytsman, Associate Editor, Book Reviews to the Editor.
    [Show full text]
  • Horizontal Test Times New Roman Vs Freeserif
    TESTS OF FONT METRICS FOR FONT SUBSTITUTION About The original is to be found as an annex to http://www.OOoNinja.com/2008/02/metrical-equivalent- fonts-and-font.html by Andrew Z. on February 1, 2008. This document edited on March 14, 2014 by Dominique Meeùs in LibreOffice 3.5.7.2 350m1 (Build:2) and converted to PDF from LibreOffice. All tests are done at 12 pt font size. Times New Roman vs close shapes: horizontal test The quick brown fox jumps over the lazy dog and it doesn’t hurt me. 123456789, Times New Roman The quick brown fox jumps over the lazy dog and it doesn’t hurt me. 123456789, FreeSerif The quick brown fox jumps over the lazy dog and it doesn’t hurt me. 1 !"#$%&'( Linux Libertine The quick brown fox jumps over the lazy dog and it doesn't hurt me. 123456789, Nimbus Roman No9 L The quick brown fox jumps over the lazy dog and it doesn’ t hurt me. 123456789, TeXGyreTermes Times New Roman vs FreeSerif: horizontal test The quick brown fox jumps over the lazy dog. I can eat glass and it doesn’t hurt me. 123456789 The quick brown fox jumps over the lazy dog. I can eat glass and it doesn’t hurt me. 123456789 Times New Roman vs FreeSerif: vertical test The quick brown fox jumps over the lazy dog. I can The quick brown fox jumps over the lazy dog. I can eat glass and it doesn’t hurt me. 123456789 Lorem eat glass and it doesn’t hurt me.
    [Show full text]
  • Beyond Trivial Counterfactual Generations with Diverse Valuable Explanations
    Under review as a conference paper at ICLR 2021 BEYOND TRIVIAL COUNTERFACTUAL GENERATIONS WITH DIVERSE VALUABLE EXPLANATIONS Anonymous authors Paper under double-blind review ABSTRACT Explainability of machine learning models has gained considerable attention within our research community given the importance of deploying more reliable machine-learning systems. Explanability can also be helpful for model debugging. In computer vision applications, most methods explain models by displaying the regions in the input image that they focus on for their prediction, but it is dif- ficult to improve models based on these explanations since they do not indicate why the model fail. Counterfactual methods, on the other hand, indicate how to perturb the input to change the model prediction, providing details about the model’s decision-making. Unfortunately, current counterfactual methods make ambiguous interpretations as they combine multiple biases of the model and the data in a single counterfactual interpretation of the model’s decision. Moreover, these methods tend to generate trivial counterfactuals about the model’s decision, as they often suggest to exaggerate or remove the presence of the attribute be- ing classified. Trivial counterfactuals are usually not valuable, since the informa- tion they provide is often already known to the system’s designer. In this work, we propose a counterfactual method that learns a perturbation in a disentangled latent space that is constrained using a diversity-enforcing loss to uncover mul- tiple valuable explanations about the model’s prediction. Further, we introduce a mechanism to prevent the model from producing trivial explanations. Experi- ments on CelebA and Synbols demonstrate that our model improves the success rate of producing high-quality valuable explanations when compared to previous state-of-the-art methods.
    [Show full text]