{"id":277,"date":"2010-10-19T15:05:07","date_gmt":"2010-10-19T14:05:07","guid":{"rendered":"\/Blog\/?p=277"},"modified":"2019-01-16T12:15:21","modified_gmt":"2019-01-16T11:15:21","slug":"opentype-fonts-in-texlivexetex","status":"publish","type":"post","link":"https:\/\/seegras.discordia.ch\/Blog\/opentype-fonts-in-texlivexetex\/","title":{"rendered":"OpenType-Fonts in Texlive\/Xetex"},"content":{"rendered":"<p>This is a follow-up to my rant <a href=\"\/Blog\/truetype-and-type1-fonts-in-texlivexetex\">TrueType- and Type1-Fonts in Texlive\/Xetex<\/a>.<\/p>\n<p>As it turns out, XeLaTeX is not only the solution to displaying TrueType and Type1-Fonts, but most of all, the solution to display (and print, of course) OpenType. And not just with basic support, but with <strong>everything<\/strong> only OpenType makes possible. Like decent handling of ligatures.<\/p>\n<p><code><br \/>\n\\documentclass{article}<br \/>\n\\usepackage{fontspec,xunicode,xltxtra}<br \/>\n\\setmainfont{Baskerville}<br \/>\n\\begin{document}<br \/>\n\\section{Font Tests}<br \/>\n\\fontspec[Ligatures={Common, Rare}]{Baskerville}<br \/>\n\\fontsize{18pt}{24pt}\\selectfont Baskerville \\\\<br \/>\nUmlauts: \u00c3\u20ac\u00c3\u00b6\u00c3\u0152 \\\\<br \/>\nLigatures: ct st fi fj fl ff ffi ffl fs ft ij \\AE \\ae \\OE \\oe\\\\<br \/>\n\\fontspec{Baskerville}Numerals: 1234567890\\\\<br \/>\n\\fontspec[Numbers={OldStyle}]{Baskerville}Numerals Old: 1234567890\\\\<br \/>\n\\\\<br \/>\n\\end{document}<br \/>\n<\/code><\/p>\n<p>&#8220;Baskerville&#8221; in that example is any OpenType-font which provides ligatures (liga) old numerals (onum), required ligatures (rlig) and so on..<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a follow-up to my rant TrueType- and Type1-Fonts in Texlive\/Xetex. As it turns out, XeLaTeX is not only the solution to displaying TrueType and Type1-Fonts, but most of all, the solution to display (and print, of course) OpenType. And not just with basic support, but with everything only OpenType makes possible. Like decent [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,94],"tags":[47,43,89,90,42,41,91,44],"class_list":["post-277","post","type-post","status-publish","format-standard","hentry","category-computers","category-latex-computers","tag-font","tag-latex","tag-opentype","tag-otf","tag-tex","tag-texlive","tag-xelatex","tag-xetex"],"_links":{"self":[{"href":"https:\/\/seegras.discordia.ch\/Blog\/wp-json\/wp\/v2\/posts\/277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/seegras.discordia.ch\/Blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/seegras.discordia.ch\/Blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/seegras.discordia.ch\/Blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/seegras.discordia.ch\/Blog\/wp-json\/wp\/v2\/comments?post=277"}],"version-history":[{"count":7,"href":"https:\/\/seegras.discordia.ch\/Blog\/wp-json\/wp\/v2\/posts\/277\/revisions"}],"predecessor-version":[{"id":1174,"href":"https:\/\/seegras.discordia.ch\/Blog\/wp-json\/wp\/v2\/posts\/277\/revisions\/1174"}],"wp:attachment":[{"href":"https:\/\/seegras.discordia.ch\/Blog\/wp-json\/wp\/v2\/media?parent=277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/seegras.discordia.ch\/Blog\/wp-json\/wp\/v2\/categories?post=277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/seegras.discordia.ch\/Blog\/wp-json\/wp\/v2\/tags?post=277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}