
<feed xmlns="http://www.w3.org/2005/Atom">
    <generator>Hugo -- gohugo.io</generator>
    <title>
                17th-century on
            
        
        The Neo-Babbage Files</title>
        <link href="https://babbagefiles.xyz/tags/17th-century/atom.xml" rel="self" type="application/atom+xml" /><link href="https://babbagefiles.xyz/tags/17th-century/"/>
    <updated>2025-12-29T11:00:32+00:00</updated>
    <author>
            <name>Benjamin Slade</name>
            
                <email>slade@lambda-y.net</email>
            </author>
    <id>https://babbagefiles.xyz/tags/17th-century/</id>
        
        <entry>
            <title type="html"><![CDATA[Beautiful and Free Unicode Typefaces, for editor and printer (including a comparison of Latin Modern and Computer Modern Unicode)]]></title>
            <link href="https://babbagefiles.xyz/beautiful-and-free-typefaces/"/>
            <id>https://babbagefiles.xyz/beautiful-and-free-typefaces/</id>
            
                    <author>
                        <name>Benjamin Slade</name>
                    </author>
            <published>2019-08-04T02:25:00-06:00</published>
            <updated>2020-06-22T09:27:27-06:00</updated>
            
            
            <content type="html"><![CDATA[<p>For my academic papers, I often need a typeface with a wide range of
characters and diacritic combinations. Basic diacritics are supported
by a wide range of fonts, but more specialised diacritics and
particularly combinations of diacritics only work well in a handful of
typefaces. I write my papers in TeX, which has two components: the
typeface used to set the paper in (La)TeX and the typeface/font used
inside Emacs, where I write the papers.</p>
<h2 id="typeset-typefaces">Typeset typefaces</h2>
<p>The choice of typeface is particularly relevant for using XeLaTeX or
LuaLaTeX, where the standard default unicode typeface family is <a href="https://en.wikipedia.org/wiki/Computer%5Fmodern#Latin%5FModern">Latin
Modern</a>, based on <a href="https://en.wikipedia.org/wiki/Donald%5Fknuth">Donald Knuth</a>&lsquo;s original <a href="https://en.wikipedia.org/wiki/Computer%5FModern">Computer Modern</a> family of
typefaces designed in <a href="https://en.wikipedia.org/wiki/Metafont">METAFONT</a>, and the general recommendation is to
use Latin Modern rather than the earlier <a href="http://cm-unicode.sourceforge.net/">Computer Modern Unicode</a>.</p>
<p>Generally reasons given for preferring Latin Modern include the fact
that Latin Modern involves handmade vectorisation, with revised
metrics, and additional glyph coverage, including particularly
diacritic characters; whereas the Computer Modern Unicode fonts were
converted from METAFONT sources using <a href="http://lilypond.org/mftrace/"><code>mftrace</code></a> with <a href="http://autotrace.sf.net/"><code>autotrace</code></a> backend
and <a href="http://fontforge.sf.net/"><code>fontforge</code></a> (former pfaedit) automatically.</p>
<p>Some of the revised metrics of Latin Modern include arguably better
positioning of acute and grave accents, more appropriately-sized
umlauts, and (here tastes may vary) a better looking Eszett (ß).</p>
<p><strong>[Note that throughout this post, you can right-click on the images and
select &ldquo;View Image&rdquo; to see a larger/zoomable version of the image.]</strong></p>
<p>However, in my tests, Computer Modern Unicode actually performs better
at least with respect to handling diacritics. In fact, Computer Modern
Unicode is one of a handful of typefaces which actually properly
handle a large range of diacritics and combinations of diacritics, as
can be seen in the image below, showing a variety of serif, sans
serif, and monospace typefaces, respectively, typeset in XeLaTeX:</p>



<figure>
    
        <img src="https://babbagefiles.xyz/ox-hugo/01-diacritictests.png"/> </figure>

<p>[The source file from which all of these samples were generated is
included below in this footnote: <sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup>.]</p>
<p>Note that in many typefaces, including all of the Latin Modern faces,
combinations of acute accents and macrons (e.g. the first character in
the tests: <strong>ā́</strong>, also not handled well by <a href="https://iginomarini.com/fell/">IM Fell</a> Great Primer, the font
this blog <em>used to use</em> for its body text; now switched to Computer
Modern Unicode Sans) are very poorly handled, often with the accent and
macron being overlaid, rather than the accent properly stacking on top
of the macron.</p>
<p>Even fonts that properly handle this often fail for other diacritics:
note that <a href="http://www.georgduffner.at/ebgaramond/">EB Garamond</a> and <a href="https://en.wikipedia.org/wiki/Liberation%5Ffonts">Liberation Serif</a> don&rsquo;t seem to properly
handle underrings (e.g. <strong>R̥r̥</strong>, also not handled that well by IM Fell Great
Primer).</p>
<p>Even the <a href="http://libertine-fonts.org/">Linux Libertine</a> faces (here represented by their <a href="https://github.com/alif-type/libertinus">Libertinus
continuations</a>), which overall fare well, don&rsquo;t handle the acute+macron
combination well in the italic version <em><strong>ā́</strong></em>.</p>
<p>Thus the only serif faces which handle the full range of
characters/diacritics are the <a href="https://en.wikipedia.org/wiki/Didone%5F(typography)">didone</a> (a style arising in the
late 18th-century, popular in the 19th-c.) Computer Modern Unicode;
<a href="https://en.wikipedia.org/wiki/Junicode">Junicode</a> (based on a 17th-century font used for <a href="https://en.wikipedia.org/wiki/George%5FHickes%5F(divine)">George Hickes</a>&lsquo;s
<em>Linguarum Vett. Septentrionalium Thesaurus</em>); and the early
20th-century styled Times New Romanesque <a href="https://en.wikipedia.org/wiki/Noto%5Ffonts">Noto Serif</a>.</p>
<p>For the sans serif faces, in addition to the Computer Modern Unicode
Sans Serif face (in some ways a &lsquo;skeletal&rsquo;, un-didone-ised version of
Computer Modern Roman), Mozilla&rsquo;s <a href="https://en.wikipedia.org/wiki/Fira%5FSans">Fira Sans</a> (here represented by
<a href="https://bboxtype.com/typefaces/FiraGO/#!layout=specimen">FiraGO</a>, an updated/extended version), and <a href="https://fonts.google.com/specimen/Noto+Sans">Noto Sans</a> – the latter two
both being vaguely <a href="https://en.wikipedia.org/wiki/Sans-serif#Humanist">&lsquo;humanist&rsquo;</a> sans serifs, though Noto Sans perhaps
has some <a href="https://en.wikipedia.org/wiki/Sans-serif#Grotesque">&lsquo;american gothic/grotesque&rsquo;</a> features – also manage the full
range of characters/diacritics, but <a href="https://github.com/googlefonts/noto-fonts/issues/1376">doesn&rsquo;t have an italic face</a>.</p>
<p>For the monospace faces, again the Computer Modern Typewriter face (an
<a href="https://en.wikipedia.org/wiki/Slab%5Fserif">&lsquo;Egyptian&rsquo;</a> typewriter face, not unlike Courier) manages the full range
of characters/diacritics, as do Noto Sans Mono and the <a href="https://typeof.net/Iosevka/">Iosevka</a> faces
(here represented by my own customised version, Iosevka Oak Vise).</p>
<p>Not all of these typefaces are of equal beauty. Here are some examples
of running text, single sentences first:</p>



<figure>
    
        <img src="https://babbagefiles.xyz/ox-hugo/02-sentencetests.png"/> </figure>

<p>And full paragraphs (for a subset of the typefaces; only including
those that manage at least a majority of the characters and diacritic
combinations):<sup id="fnref:2"><a href="#fn:2" class="footnote-ref" role="doc-noteref">2</a></sup></p>



<figure>
    
        <img src="https://babbagefiles.xyz/ox-hugo/03-serifparas.png"/> </figure>




<figure>
    
        <img src="https://babbagefiles.xyz/ox-hugo/04-sansparas.png"/> </figure>




<figure>
    
        <img src="https://babbagefiles.xyz/ox-hugo/05-monoparas.png"/> </figure>

<p>Only a few typefaces handle the full range of characters and diacritic
combinations. For the serif faces:</p>
<ul>
<li>CMU Serif</li>
<li>Noto Serif</li>
<li>Junicode</li>
</ul>
<p>For the sans faces:</p>
<ul>
<li>CMU Sans Serif</li>
<li>Noto Sans</li>
<li>Fira Sans (FiraGO)</li>
</ul>
<p>For the monospaced faces:</p>
<ul>
<li>CMU Typewriter</li>
<li>Noto Sans Mono</li>
<li>Iosevka</li>
</ul>
<p>Here is a comparison only of these &ldquo;winners&rdquo; (and Noto Sans Mono
perhaps is not a winner, lacking an italic face):</p>



<figure>
    
        <img src="https://babbagefiles.xyz/ox-hugo/06-winners.png"/> </figure>

<p>So, if you want to use a font family with good performance across the
full range of fonts, Computer Modern Unicode (CMU) or Noto seem like
the best bets, and the former is much more aesthetically-pleasing than
the latter (in my opinion), which also lacks an italic font for its
mono version. Junicode is also a beautiful and very functional serif
face, which I often use.</p>
<p>The Latin Modern faces turn out, despite the received wisdom, to be
inferior in terms of diacritic coverage, and switching from Latin
Modern to Computer Modern Unicode (CMU) has significantly reduced the
amount of frustration I have in trying to typeset my papers.</p>
<h2 id="editor-typefaces">Editor typefaces</h2>
<p>The editor font is the one <strong>I</strong> spend most of my time staring at, so I
also want something good here too.</p>
<p>Despite DejaVu Sans Mono apparently not properly rendering all
character/diacritic combinations in LaTeX, it handles all of these
perfectly well when used as the default font in Emacs:</p>



<figure>
    
        <img src="https://babbagefiles.xyz/ox-hugo/dejavusansmono-emacs.png"/> </figure>

<p><a href="https://babbagefiles.blogspot.com/2014/12/in-praise-of-dejavu-sans-mono.html">DejaVu Sans Mono was for many years my preferred font</a> for Emacs (and I
assume DejaVu Sans Mono-derived fonts like <a href="https://en.wikipedia.org/wiki/Menlo%5F(typeface)">Menlo</a> or <a href="https://sourcefoundry.org/hack/">Hack</a> will also
behave well).</p>
<p>Noto Sans Mono also works fine, but it&rsquo;s not my favourite:
<img src="/ox-hugo/notosansmono-emacs.png" alt=""></p>
<p>CMU Typewriter, despite rendering well in LaTeX, has problems with
certain combination when used as the Emacs font, and anyway doesn&rsquo;t
look as good as the other choices as an editor font for whatever
reason:<sup id="fnref:3"><a href="#fn:3" class="footnote-ref" role="doc-noteref">3</a></sup>
<img src="/ox-hugo/cmutypewriter-emacs.png" alt=""></p>
<p>These days, I prefer to use a customised version of Iosevka, which
also handles all of the characters/diacritic combinations perfectly:</p>



<figure>
    
        <img src="https://babbagefiles.xyz/ox-hugo/iosevkaoakvise-emacs.png"/> </figure>

<p>I plan to write more extensively about Iosevka in another post.</p>
<h2 id="summary-best-bets">Summary: Best Bets</h2>
<p>For typesetting papers requiring a full-range of unicode roman
characters and diacritics (for non-roman, the Noto fonts are great),
the <strong>Computer Modern Unicode (CMU)</strong> faces<sup id="fnref:4"><a href="#fn:4" class="footnote-ref" role="doc-noteref">4</a></sup>
are the best bets, along with <strong>Junicode</strong>.</p>
<p>For editor work requiring a full-range of unicode roman
characters and diacritics, use a <strong>DejaVu Sans Mono</strong> font or derivative,
or one of the <strong>Iosevka</strong> variants.</p>
<section class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1" role="doc-endnote">
<p><a href="https://gitlab.com/emacsomancer/neobabbage_files/-/raw/master/assets/files/cmu_vs_latinmodern_tests.tex">Source file</a>. <a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:2" role="doc-endnote">
<p>I&rsquo;m not sure why Latin Modern Typewriter ends up with a ragged right margin. <a href="#fnref:2" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:3" role="doc-endnote">
<p>Ubuntu Mono, when I tried setting it as the default font in Emacs and opening the <code>.tex</code> file from which the pdf screenshots shown here were taken, caused Emacs to crash! <a href="#fnref:3" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:4" role="doc-endnote">
<p>E.g., CMU Serif, CMU Sans Serif, CMU Typewriter; there are a number of others, including also <a href="https://en.wikipedia.org/wiki/Concrete%5FRoman">CMU Concrete Roman</a>, used below for the non-title text (the title text is set in Latin Modern Dunhill): <img src="/ox-hugo/dunhill-computermodernconcrete-faces-lambdacalculusslide.png" alt=""> <a href="#fnref:4" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
</ol>
</section>
]]></content>
            
                 
                    
                         
                        
                            
                             
                                <category scheme="https://babbagefiles.xyz/categories/typography" term="typography" label="typography" />
                             
                                <category scheme="https://babbagefiles.xyz/categories/iosevka" term="iosevka" label="iosevka" />
                             
                                <category scheme="https://babbagefiles.xyz/categories/computermodern" term="computermodern" label="computermodern" />
                             
                                <category scheme="https://babbagefiles.xyz/categories/emacs" term="emacs" label="emacs" />
                             
                                <category scheme="https://babbagefiles.xyz/categories/latex" term="latex" label="latex" />
                            
                        
                    
                 
                    
                 
                    
                         
                        
                            
                             
                                <category scheme="https://babbagefiles.xyz/tags/17th-century" term="17th-century" label="17th-century" />
                             
                                <category scheme="https://babbagefiles.xyz/tags/knuth" term="knuth" label="knuth" />
                            
                        
                    
                
            
        </entry>
    
</feed>
