summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/ebgaramond/README.xelualatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-07-02 21:35:39 +0000
committerKarl Berry <karl@freefriends.org>2014-07-02 21:35:39 +0000
commitde9478ff3dc70ab8ed21a89c7be67187951db680 (patch)
treefdaf612a0d8895593032243939d0f1a6e2bd0d10 /Master/texmf-dist/doc/fonts/ebgaramond/README.xelualatex
parentb009a084ebc53d4fb2d904db26fd61f87bf60e54 (diff)
ebgaramond (2jul14)
git-svn-id: svn://tug.org/texlive/trunk@34499 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/ebgaramond/README.xelualatex')
-rw-r--r--Master/texmf-dist/doc/fonts/ebgaramond/README.xelualatex21
1 files changed, 21 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/ebgaramond/README.xelualatex b/Master/texmf-dist/doc/fonts/ebgaramond/README.xelualatex
new file mode 100644
index 00000000000..1557583f1f2
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/ebgaramond/README.xelualatex
@@ -0,0 +1,21 @@
+Short note about using XeLaTeX and LuaLatex with EB Garamond via fontspec.
+
+EB Garamond fonts are loaded through fontspec with
+
+\setmainfont{EB Garamond}
+
+This will load the appropriate fonts for the actual sizes, currently EBGaramond08* for sizes up to 10pt and EBGaramond12* from 10.1pt onwards.
+
+If you want to stay with one design size, you have to load its regular font and switch off optical sizes:
+
+\setmainfont[OpticalSize=0]{EB Garamond 12 Regular}
+
+If you wish to use a specific font file, e.g. EB Garamond Italic:
+
+\setmainfont{EB Garamond 12 Italic}
+
+N.B. It is preferable to use the +c2sc and +scmp features for Small Caps, rather than the SC or ALLSC font files.
+
+\newfontfamily{\smallcaps}[RawFeature={+c2sc,+scmp}]{EB Garamond}
+
+The specimen’s preamble may be a good guide too.