X ETEX engine but the fontspec interface is extremely in a LuaLATEX document and the correct font will be and what to fix if the font cannot be found
Previous PDF | Next PDF |
[PDF] Font loading in LaTeX using the fontspec package - TeX Users Group
X ETEX engine but the fontspec interface is extremely in a LuaLATEX document and the correct font will be and what to fix if the font cannot be found
[PDF] The fontspec package Font selection for XeLaTeX and LuaLaTeX
21 fév 2020 · In X E TEX, fonts found in the TEXMF tree can be loaded in Windows and Linux, but not on macOS The simplest example might be something
[PDF] The Luaotfload package - CTAN
Supported is the luatex versions of a current TeXLive 2019 (and a current MiKTeX) Beginning A missing “capital sharp s” (U+1E9E) in a font is replaced by SS instead of giving fontspec Ligatures option, or the low-level -liga and similar
[PDF] The fontspec package - FAMU FSU College of Engineering
12 mai 2013 · If you find that fontspec is incorrectly changing the maths font when it should cannot be loaded by font name, only file name; LuaTEX does not
[PDF] The fontspec package
24 sept 2015 · If you find that fontspec is incorrectly changing the maths font when it should cannot be loaded by font name, only file name; LuaTEX does not
[PDF] The fontspec package Font selection for XeLaTeX and LuaLaTeX
21 fév 2020 · In X E TEX, fonts found in the TEXMF tree can be loaded in Windows and Linux, but not on macOS The simplest example might be something
[PDF] The fontspec package - FTP Directory Listing
31 mar 2017 · LuaTEX does not have this restriction When selecting fonts by file name, any font that can be found in the default search paths may be used
[PDF] The LuaTeX-ja package
by using callbacks of LuaTEX; so it must not be confused with Ω-style direction support of LuaTEX A word in a sens-serif font without underline (like fontspec) means a package or a class of LaTEX At the present, LuaTEX-ja has no stable
[PDF] lufthansa flight schedule pdf
[PDF] lufthansa flight status frankfurt to delhi
[PDF] lufthansa flights to germany
[PDF] lufthansa strike january 2020
[PDF] lunch places in paris texas
[PDF] luxury chef coats
[PDF] luxury curtain finials
[PDF] luxury hotels 8th arrondissement paris
[PDF] lv annual report
[PDF] lvmh annual report 2016
[PDF] lycée diderot paris 19 avis
[PDF] lycée paris 4ème arrondissement
[PDF] lyon france map google
[PDF] lyon france map google earth
TUGboat, Volume 39 (2018), No. 2 113
Font loading in L
ATEX using thefontspec
package: Recent updatesWill Robertson
1 IntroductionThefontspecpackage (ctan.org/pkg/fontspec) is,
I am astonished to say, close to 15 years old. I hon- estly don't know where all the time has gone. The interface thatfontspecprovides was originally very simple: load a font. The font feature interface fol- lowed quickly after, and was originally based around macOS'sAATfont technology, which is largely obso- lete these days. Today,fontspecis targeted mainly towards the use of OpenType fonts, although the legacyAATcode is still functional. Another font technology, Graphite, can be used when running the XETEX engine but thefontspecinterface is extremely minimal (and rather undocumented).This article will discuss some of its more recent
updates, possible future interfaces, and what I now consider to be some `best practices' forfontspecuse.2 Font loading
There are a number of ways to load or set up fonts infontspec: \fontspec \setmainfont \newfontfamily \defaultfontfeaturesAs the package has grown, the best way to combine
these possibilities is probably not so clear, especially to new users.Originally,fontspecwas written for theXETEX
engine on MacOSX, with fonts being accessed via the operating system, which provided automated interfaces for selecting, e.g., `italic' and `bold'. Thus, early on, users became accustomed to the idea of using the human-oriented font names known to the system, as in writing \setmainfont{Hoefler Text} in their document, and then everything `just worked' without additional conguration. This feature later in uencedluaot oad(for LuaTEX) to provide a sim- ilar mechanism, by scanning through known font directories and constructing its own database of font les, their `logical' names, and the relationships be- tween shapes within a particular family. And thus it is that, right now, you can write \setmainfont{TeX Gyre Pagella} in aLuaLATEXdocument and the correct font will be chosen and bold and italic styles will `just work' since the TEX Gyre fonts are included in the standard TEX distributions.However, loading font families in these ways
has confusing edge cases, and it increases document portability problems, and it can be slow. Over time I have moved away from using this feature and I think long term it would be better to de-emphasise its use.I now recommend all users to load their fonts by
lename.The most straightforward means to do this is
like so:ItalicFont = texgyrepagella-italic.otf ,
BoldFont = texgyrepagella-bold.otf ,
BoldItalicFont = texgyrepagella-bolditalic.otf,
But here there is a lot of duplication and a more
streamlined way is: \setmainfont{texgyrepagella}[Extension = .otf ,
UprightFont = *-regular ,
ItalicFont = *-italic ,
BoldFont = *-bold ,
BoldItalicFont = *-bolditalic,
Whereas in the rst case the mandatory argument
{texgyrepagella-regular.otf}was a direct refer- ence to the `regular upright' font le, in the second case{texgyrepagella}is merely a shorthand name from which the lenames are constructed.2.1 The case against loading by font name
I claimed above that there were some problems with loading fonts by their external name instead of their lename. Let's discuss these in more detail.Edge cases.
Modern font families aren't the font
families as we once knew them. It's now common to purchase families with literally tens of styles, with weights from extra light to ultra black and a multi- tude of styles. (I recently purchased Gill Sans Nova and it arrived as 43 separate.otfles.) Now that we have OpenType variable fonts, families of arbi- trary complexity may start to appear. Software such asluaot oadneeds to use heuristics to establish the relationships between fonts, and there can be no general solution to this task. Therefore, sometimes it fails to select the correct `bold' font in particu- lar circumstances; therefore, sometimes I get bug reports.Document portability.
If you are loading a font
by name, it has to be installed somehow on that local computer. Well, of course any font that you load has to be installed; but if it is by name it's possible for it to be installed in a(ny) number of dierent locations,Font loading in LATEX using thefontspecpackage: Recent updates114 TUGboat, Volume 39 (2018), No. 2and the way that the font loading heuristics work,
there could be a(ny) number of valid names that the font can be referred to. When failure happens, is it because you haven't installed it correctly, or have other software changes made the names no longer match, or has a database not been updated when it should have, or is it aXETEX vsLuaTEXdierence, or ...?