texlive[43016] Master/texmf-dist: fontspec (22jan17)
commits+karl at tug.org
commits+karl at tug.org
Sun Jan 22 23:34:23 CET 2017
Revision: 43016
http://tug.org/svn/texlive?view=revision&revision=43016
Author: karl
Date: 2017-01-22 23:34:22 +0100 (Sun, 22 Jan 2017)
Log Message:
-----------
fontspec (22jan17)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/fontspec/README.md
trunk/Master/texmf-dist/doc/latex/fontspec/fontspec.pdf
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-api.dtx
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-closing.dtx
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.tex
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-fontload.dtx
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-internal.dtx
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-keyval.dtx
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-lua.dtx
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-msg.dtx
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-opening.dtx
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-patches.dtx
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-user.dtx
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-vars.dtx
trunk/Master/texmf-dist/source/latex/fontspec/fontspec.dtx
trunk/Master/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty
trunk/Master/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
trunk/Master/texmf-dist/tex/latex/fontspec/fontspec.lua
trunk/Master/texmf-dist/tex/latex/fontspec/fontspec.sty
trunk/Master/texmf-dist/tex/latex/fontspec/tuenc.def
Added Paths:
-----------
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-api.aux
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-api.tex
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.aux
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.log
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.out
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.pdf
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.synctex.gz
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.tex
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-featsel.aux
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-featset.aux
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-featset.tex
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-fontsel.aux
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-fontsel.tex
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-intro.aux
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-intro.tex
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-luatex.aux
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-luatex.tex
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-opentype.aux
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-opentype.tex
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-patches.aux
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-xetex.aux
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-xetex.tex
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.aux
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.glo
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.idx
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.log
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.out
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.pdf
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.synctex.gz
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.toc
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-enc.dtx
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-feat-aat.dtx
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-feat-opentype.dtx
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-graphite.dtx
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-lang.dtx
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-opentype.dtx
trunk/Master/texmf-dist/source/latex/fontspec/fontspec-scripts.dtx
trunk/Master/texmf-dist/tex/latex/fontspec/fontrange-OT2.def
trunk/Master/texmf-dist/tex/latex/fontspec/fontrange-T1.def
trunk/Master/texmf-dist/tex/latex/fontspec/fontrange-TS1.def
trunk/Master/texmf-dist/tex/latex/fontspec/fontspec-doc-style.sty
Removed Paths:
-------------
trunk/Master/texmf-dist/tex/latex/fontspec/tufontrange-T1.def
trunk/Master/texmf-dist/tex/latex/fontspec/tufontrange-TS1.def
Modified: trunk/Master/texmf-dist/doc/latex/fontspec/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fontspec/README.md 2017-01-22 22:33:54 UTC (rev 43015)
+++ trunk/Master/texmf-dist/doc/latex/fontspec/README.md 2017-01-22 22:34:22 UTC (rev 43016)
@@ -1,4 +1,4 @@
-THE FONTSPEC PACKAGE v2.5a
+THE FONTSPEC PACKAGE v2.5c
==========================
The fontspec package provides an automatic and unified interface for loading
@@ -35,32 +35,34 @@
Summary of user commands
------------------------
-Font families may be selected individually with the command
+To define commands for selecting fonts efficiently through a document:
- \fontspec{<font name>}[<font options>]
+ \newfontfamily\<font switch>{<font name>}[<font options>]
+ \newfontface \<font switch>{<font name>}[<font options>]
-Commands for selecting fonts efficiently through a document are created with
+To select the default document fonts:
- \newfontfamily\myfamily{<font name>}[<font options>]
- \newfontface\myfont{<font name>}[<font options>]
-
-Default document fonts are selected with
-
\setmainfont{<font name>}[<font options>]
\setsansfont{<font name>}[<font options>]
\setmonofont{<font name>}[<font options>]
-Features to be used for every subsequently defined font are specified with
+To define an ad hoc font family individually:
+ \fontspec{<font name>}[<font options>]
+
+To specify features to be used for every subsequently defined font:
+
\defaultfontfeatures{<default font options>}
\defaultfontfeatures+{<add to default font options>}
- \defaultfontfeatures[<font name>]{<default font options for "font name">}
- \defaultfontfeatures+[<font name>]{<add to default font options for "font name">}
-Features may be added to the font currently in use with
+To specify features to be used for specific fonts:
+ \defaultfontfeatures[<font name or switch>]{<default font options>}
+ \defaultfontfeatures+[<font name or switch>]{<add to defaults>}
+
+To add features to the font family currently in use:
+
\addfontfeatures{<font options to add>}
- \addfontfeature{<...>} does the same thing
@@ -67,8 +69,32 @@
Change history
--------------
-- v2.5a (2016/02/01) "bugs fixed"
+- v2.5c (2017/01/20) "Christmas 2016 release"
+ * `TU` font encoding now default, with encoding files provided by the kernel.
+ * Experimental interface added for customising encodings.
+ * Add feature `Ornament=`*n* corresponding to OpenType feature `+ornm=`*n*.
+ * Add feature `FontIndex=`*n* to support TrueType Collection (TTC) files.
+ * Nested `\emph` is now much smarter and will cleverly nest even if manual font changes are made.
+ * Tries to resolve situations when font features clash.
+ E.g., `Numbers={Uppercase,Lowercase}` will define only `+onum` rather than the previous behaviour of `+lnum;+onum` to let the engine sort things out. Coverage may still be preliminary.
+ * Add API function `\fontspec_if_current_feature:nTF` for querying selected features based on their OpenType tag.
+ * Add user function `\IfFontFeatureActiveTF` for querying selected features based on their `fontspec` specification.
+ * All "tag-based" OpenType features are now provided in `Feat`/`FeatOff`/`FeatReset` forms to disable and reset them.
+ * `ResetAll` provided for all "tag-based" OpenType feature keys. (E.g., `Ligatures=ResetAll`.)
+ * Big table of OpenType feature tags to help cross-reference which fontspec feature (if any) corresponds to which OpenType feature.
+ * Bug fixed for `Script` selection.
+
+- v2.5b (2016/05/14) "More bugs" (somehow never released)
+
+ * Fixed bug with garbage text printed in certain "verbatim" situations under LuaTeX.
+ * Improve interaction between optical sizes and small caps.
+ * Remove documentation for `FeatureFile`, since this is no longer supported under LuaLaTeX
+ (there are other methods to perform the same thing, but no "easy" user interface that `fontspec` can provide at this stage).
+ * Fix regression causing an error message if `fontspec` loaded before `\documentclass'.
+
+- v2.5a (2016/02/01) "Bugs fixed"
+
* Rather embarrassing bug fix! (`unicode-math` was broken.)
* Remember to add the `fontspec.cfg` file to the distribution.
* Remove `+trep` from `Ligatures=TeX` (no longer necessary).
@@ -77,7 +103,8 @@
- v2.5 (2016/01/30) "TL2016 release"
- * Provide a new Unicode font encoding ("TU") to replace EU1/EU2 and xunicode. If this causes problems, load fontspec with the `[euenc]` option to revert to the old behaviour.
+ * Provide a new Unicode font encoding ("TU") to replace EU1/EU2 and xunicode.
+ * Activate with package option `[tuenc]'; once it becomes the default (later this year), `[euenc]` option will revert to the old behaviour.
* New command `\emfontdeclare` for defining font shapes when arbitrarily nesting the `\emph` command.
* Allow slanted small caps and better internal methods for "combining" font shapes; this fixes a few bugs.
* Incorporate "new" font script tags for Indic fonts. E.g., when selecting `Script=Bengali`, fontspec will first query the font for the `bng2` OpenType script, and if not found select `beng`.
Modified: trunk/Master/texmf-dist/doc/latex/fontspec/fontspec.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-api.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-api.dtx 2017-01-22 22:33:54 UTC (rev 43015)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-api.dtx 2017-01-22 22:34:22 UTC (rev 43016)
@@ -42,10 +42,10 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g_@@_ \f at family _prop} {fontdef} \l_@@_fontdef_tl
- \@@_font_set:Nnn \l_fontspec_font {\l_@@_fontdef_tl} {\f at size pt}
+ \@@_primitive_font_set:Nnn \l_fontspec_font {\l_@@_fontdef_tl} {\f at size pt}
\bool_if:NTF \l_@@_atsui_bool
{
- \fontspec_make_AAT_feature_string:nnTF {#1}{#2}
+ \@@_make_AAT_feature_string:nnTF {#1}{#2}
\prg_return_true: \prg_return_false:
}
{
@@ -69,7 +69,7 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g_@@_ \f at family _prop} {fontdef} \l_@@_fontdef_tl
- \@@_font_set:Nnn \l_fontspec_font {\l_@@_fontdef_tl} {\f at size pt}
+ \@@_primitive_font_set:Nnn \l_fontspec_font {\l_@@_fontdef_tl} {\f at size pt}
\@@_set_font_type:
\bool_if:NTF \l_@@_ot_bool \prg_return_true: \prg_return_false:
}
@@ -91,20 +91,20 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g_@@_ \f at family _prop} {fontdef} \l_@@_fontdef_tl
- \@@_font_set:Nnn \l_fontspec_font {\l_@@_fontdef_tl} {\f at size pt}
+ \@@_primitive_font_set:Nnn \l_fontspec_font {\l_@@_fontdef_tl} {\f at size pt}
\@@_set_font_type:
\bool_if:NTF \l_@@_ot_bool
{
\prop_get:cnN {g_@@_ \f at family _prop} {script-num} \l_@@_tmp_tl
- \int_set:Nn \l_fontspec_script_int {\l_@@_tmp_tl}
+ \int_set:Nn \l_@@_script_int {\l_@@_tmp_tl}
\prop_get:cnN {g_@@_ \f at family _prop} {lang-num} \l_@@_tmp_tl
- \int_set:Nn \l_fontspec_language_int {\l_@@_tmp_tl}
+ \int_set:Nn \l_@@_language_int {\l_@@_tmp_tl}
\prop_get:cnN {g_@@_ \f at family _prop} {script-tag} \l_fontspec_script_tl
\prop_get:cnN {g_@@_ \f at family _prop} {lang-tag} \l_fontspec_lang_tl
- \fontspec_check_ot_feat:nTF {#1} {\prg_return_true:} {\prg_return_false:}
+ \@@_check_ot_feat:nTF {#1} {\prg_return_true:} {\prg_return_false:}
}
{
\prg_return_false:
@@ -127,13 +127,13 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g_@@_ \f at family _prop} {fontdef} \l_@@_fontdef_tl
- \@@_font_set:Nnn \l_fontspec_font {\l_@@_fontdef_tl} {\f at size pt}
+ \@@_primitive_font_set:Nnn \l_fontspec_font {\l_@@_fontdef_tl} {\f at size pt}
\@@_set_font_type:
\bool_if:NTF \l_@@_ot_bool
{
- \fontspec_iv_str_to_num:Nn \l_fontspec_script_int {#1}
- \fontspec_iv_str_to_num:Nn \l_fontspec_language_int {#2}
- \fontspec_check_ot_feat:nTF {#3} \prg_return_true: \prg_return_false:
+ \@@_iv_str_to_num:Nn \l_@@_script_int {#1}
+ \@@_iv_str_to_num:Nn \l_@@_language_int {#2}
+ \@@_check_ot_feat:nTF {#3} \prg_return_true: \prg_return_false:
}
{ \prg_return_false: }
}
@@ -153,11 +153,11 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g_@@_ \f at family _prop} {fontdef} \l_@@_fontdef_tl
- \@@_font_set:Nnn \l_fontspec_font {\l_@@_fontdef_tl} {\f at size pt}
+ \@@_primitive_font_set:Nnn \l_fontspec_font {\l_@@_fontdef_tl} {\f at size pt}
\@@_set_font_type:
\bool_if:NTF \l_@@_ot_bool
{
- \fontspec_check_script:nTF {#1} \prg_return_true: \prg_return_false:
+ \@@_check_script:nTF {#1} \prg_return_true: \prg_return_false:
}
{ \prg_return_false: }
}
@@ -177,15 +177,15 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g_@@_ \f at family _prop} {fontdef} \l_@@_fontdef_tl
- \@@_font_set:Nnn \l_fontspec_font {\l_@@_fontdef_tl} {\f at size pt}
+ \@@_primitive_font_set:Nnn \l_fontspec_font {\l_@@_fontdef_tl} {\f at size pt}
\@@_set_font_type:
\bool_if:NTF \l_@@_ot_bool
{
\prop_get:cnN {g_@@_ \f at family _prop} {script-num} \l_@@_tmp_tl
- \int_set:Nn \l_fontspec_script_int {\l_@@_tmp_tl}
+ \int_set:Nn \l_@@_script_int {\l_@@_tmp_tl}
\prop_get:cnN {g_@@_ \f at family _prop} {script-tag} \l_fontspec_script_tl
- \fontspec_check_lang:nTF {#1} \prg_return_true: \prg_return_false:
+ \@@_check_lang:nTF {#1} \prg_return_true: \prg_return_false:
}
{ \prg_return_false: }
}
@@ -205,13 +205,13 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g_@@_ \f at family _prop} {fontdef} \l_@@_fontdef_tl
- \@@_font_set:Nnn \l_fontspec_font {\l_@@_fontdef_tl} {\f at size pt}
+ \@@_primitive_font_set:Nnn \l_fontspec_font {\l_@@_fontdef_tl} {\f at size pt}
\@@_set_font_type:
\bool_if:NTF \l_@@_ot_bool
{
\tl_set:Nn \l_fontspec_script_tl {#1}
- \fontspec_iv_str_to_num:Nn \l_fontspec_script_int {#1}
- \fontspec_check_lang:nTF {#2} \prg_return_true: \prg_return_false:
+ \@@_iv_str_to_num:Nn \l_@@_script_int {#1}
+ \@@_check_lang:nTF {#2} \prg_return_true: \prg_return_false:
}
{ \prg_return_false: }
}
@@ -230,7 +230,7 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g_@@_ \f at family _prop} {fontdef} \l_@@_fontdef_tl
- \@@_font_set:Nnn \l_fontspec_font {\l_@@_fontdef_tl} {\f at size pt}
+ \@@_primitive_font_set:Nnn \l_fontspec_font {\l_@@_fontdef_tl} {\f at size pt}
\@@_set_font_type:
\bool_if:NTF \l_@@_ot_bool
{
@@ -254,7 +254,7 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g_@@_ \f at family _prop} {fontdef} \l_@@_fontdef_tl
- \@@_font_set:Nnn \l_fontspec_font {\l_@@_fontdef_tl} {\f at size pt}
+ \@@_primitive_font_set:Nnn \l_fontspec_font {\l_@@_fontdef_tl} {\f at size pt}
\@@_set_font_type:
\bool_if:NTF \l_@@_ot_bool
{
@@ -283,13 +283,13 @@
% variable because the actual \LaTeX\ family name is automatically generated
% by fontspec and it's easier to keep it that way.
%
-% Please use |\fontspec_set_family:Nnn| instead of |\fontspec_select:nn|,
+% Please use |\fontspec_set_family:Nnn| instead of |\@@_select_font_family:nn|,
% which may change in the future.
% \begin{macrocode}
\cs_new:Nn \fontspec_set_family:Nnn
{
\tl_set:Nn \l_@@_family_label_tl { #1 }
- \fontspec_select:nn {#2}{#3}
+ \@@_select_font_family:nn {#2}{#3}
\tl_set_eq:NN #1 \l_fontspec_family_tl
}
\cs_generate_variant:Nn \fontspec_set_family:Nnn {c}
@@ -302,7 +302,7 @@
\cs_new:Nn \fontspec_set_fontface:NNnn
{
\tl_set:Nn \l_@@_family_label_tl { #1 }
- \fontspec_select:nn {#3}{#4}
+ \@@_select_font_family:nn {#3}{#4}
\tl_set_eq:NN #1 \l_fontspec_font
\tl_set_eq:NN #2 \l_fontspec_family_tl
}
@@ -309,6 +309,38 @@
% \end{macrocode}
% \end{macro}
%
+%
+%
+% \begin{macro}{\fontspec_font_if_exist:n}
+% \begin{macrocode}
+\prg_new_conditional:Nnn \fontspec_font_if_exist:n {TF,T,F}
+ {
+ \group_begin:
+ \@@_init:
+ \@@_if_detect_external:nT {#1} { \@@_font_is_file: }
+ \@@_primitive_font_if_exist:nTF { \@@_construct_font_call:nn {#1} {} }
+ { \group_end: \prg_return_true: }
+ { \group_end: \prg_return_false: }
+ }
+\cs_set_eq:NN \IfFontExistsTF \fontspec_font_if_exist:nTF
+% \end{macrocode}
+% \end{macro}
+
+% \begin{macro}{\fontspec_if_current_feature:nTF}
+% Test whether the currently loaded font is using the specified raw
+% OpenType feature tag |#1|.
+% \begin{macrocode}
+\prg_new_conditional:Nnn \fontspec_if_current_feature:n {TF,T,F}
+ {
+ \exp_args:Nxx \tl_if_in:nnTF
+ { \fontname\font } { \tl_to_str:n {#1} }
+ { \prg_return_true: } { \prg_return_false: }%
+ }
+% \end{macrocode}
+% \end{macro}
+
+
+%
% \iffalse
% \begin{macrocode}
%</fontspec&(xetexx|luatex)>
Modified: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-closing.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-closing.dtx 2017-01-22 22:33:54 UTC (rev 43015)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-closing.dtx 2017-01-22 22:34:22 UTC (rev 43016)
@@ -19,7 +19,7 @@
\tl_set:Nn \zf at enc { \g_fontspec_encoding_tl }
\cs_set:Npn \zf at fontspec #1 #2
{
- \fontspec_select:nn {#1} {#2}
+ \@@_select_font_family:nn {#1} {#2}
\tl_set:Nn \zf at family { \l_fontspec_family_tl }
\tl_set:Nn \zf at basefont { \l_fontspec_font }
}
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-api.aux
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-api.aux (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-api.aux 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,55 @@
+\relax
+\providecommand\hyper at newdestlabel[2]{}
+\@writefile{toc}{\contentsline {part}{VIII\hspace {1em}Customisation and programming interface}{65}{part.8}}
+\@writefile{toc}{\contentsline {section}{\numberline {23}Defining new features}{65}{section.23}}
+\newlabel{sec:newfeatures}{{Section\nobreakspace {}23}{65}{Defining new features}{section.23}{}}
+\newlabel{ex:newAATfeat}{{50}{65}{Defining new features}{example.50}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {24}Defining new scripts and languages}{66}{section.24}}
+\newlabel{sec:newscriptlang}{{Section\nobreakspace {}24}{66}{Defining new scripts and languages}{section.24}{}}
+\newlabel{39 at xvr}{{}{66}{Defining new scripts and languages}{section.24}{}}
+\newlabel{39 at vr}{{}{66}{Defining new scripts and languages}{section.24}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {25}Going behind \textsf {fontspec}'s back}{66}{section.25}}
+\newlabel{ex:raw}{{51}{66}{Going behind \pkg {fontspec}'s back}{example.51}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {26}Renaming existing features \& options}{66}{section.26}}
+\newlabel{sec:aliasfontfeature}{{Section\nobreakspace {}26}{66}{Renaming existing features \& options}{section.26}{}}
+\newlabel{ex:alias}{{52}{66}{Renaming existing features \& options}{example.52}{}}
+\newlabel{ex:aliasopt}{{53}{67}{Renaming existing features \& options}{example.53}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {27}Programming interface}{67}{section.27}}
+\newlabel{sec:api}{{Section\nobreakspace {}27}{67}{Programming interface}{section.27}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {27.1}Variables}{67}{subsection.27.1}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {27.2}Functions for loading new fonts and families}{67}{subsection.27.2}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {27.3}Conditionals}{68}{subsection.27.3}}
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {27.3.1}Querying font families}{68}{subsubsection.27.3.1}}
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {27.3.2}Availability of features}{68}{subsubsection.27.3.2}}
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {27.3.3}Currently selected features}{69}{subsubsection.27.3.3}}
+\@setckpt{fontspec-doc-api}{
+\setcounter{page}{70}
+\setcounter{equation}{0}
+\setcounter{enumi}{3}
+\setcounter{enumii}{0}
+\setcounter{enumiii}{0}
+\setcounter{enumiv}{0}
+\setcounter{footnote}{13}
+\setcounter{mpfootnote}{0}
+\setcounter{part}{8}
+\setcounter{section}{27}
+\setcounter{subsection}{3}
+\setcounter{subsubsection}{3}
+\setcounter{paragraph}{0}
+\setcounter{subparagraph}{0}
+\setcounter{figure}{1}
+\setcounter{table}{17}
+\setcounter{StandardModuleDepth}{1}
+\setcounter{ContinuedFloat}{0}
+\setcounter{FancyVerbLine}{4}
+\setcounter{vrcnt}{39}
+\setcounter{lofdepth}{1}
+\setcounter{lotdepth}{1}
+\setcounter{Item}{5}
+\setcounter{Hfootnote}{13}
+\setcounter{Hy at AnnotLevel}{0}
+\setcounter{bookmark at seq@number}{92}
+\setcounter{example}{53}
+\setcounter{argument}{0}
+\setcounter{section at level}{3}
+}
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-api.tex
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-api.tex (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-api.tex 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,300 @@
+
+
+
+\part{Customisation and programming interface}
+
+This is the beginning of some work to provide some hooks that use
+\pkg{fontspec} for various macro programming purposes.
+
+
+\section{Defining new features} \label{sec:newfeatures}
+This package cannot hope to contain every possible font
+feature. Three commands are provided for selecting font features
+that are not provided for out of the box. If you are using
+them a lot, chances are I've left something out, so please let me
+know.
+
+\DescribeMacro{\newAATfeature}
+New \AAT\ features may be created with this command:\par
+{\centering\cmd\newAATfeature\marg{feature}\marg{option}\marg{feature code}\marg{selector code}\par}\noindent
+Use the \XeTeX\ file \path{AAT-info.tex} to obtain the code numbers.
+See \exref{newAATfeat}.
+
+\begin{Xexample}{newAATfeat}{Assigning new \AAT\ features.}
+ \newAATfeature{Alternate}{HoeflerSwash}{17}{1}
+ \fontspec{Hoefler Text Italic}[Alternate=HoeflerSwash]
+ This is XeTeX by Jonathan Kew.
+\end{Xexample}
+
+
+\DescribeMacro{\newopentypefeature}
+New OpenType features may be created with this command:\par
+{\centering\cmd\newopentypefeature\marg{feature}\marg{option}\marg{feature tag}\par}
+The synonym \cs{newICUfeature} is deprecated.
+
+Here's what it would look like in practise:
+\begin{Verbatim}
+\newopentypefeature{Style}{NoLocalForms}{-locl}
+\end{Verbatim}
+
+\DescribeMacro{\newfontfeature}
+In case the above commands do not accommodate the desired font feature
+(perhaps a new \XeTeX\ feature that \pkg{fontspec} hasn't been updated
+to support), a command is provided to pass arbitrary input into the
+font selection string:\par
+{\centering\cmd{\newfontfeature}\marg{name}\marg{input string}\par}
+
+For example, Zapfino used to
+contain an AAT feature `Avoid d-collisions'. To access it
+with this package, you could do some like the following:
+
+\begin{Verbatim}
+ \newfontfeature{AvoidD} {Special= Avoid d-collisions}
+ \newfontfeature{NoAvoidD}{Special=!Avoid d-collisions}
+ \fontspec{Zapfino}[AvoidD,Variant=1]
+ sockdolager rubdown \\
+ \fontspec{Zapfino}[NoAvoidD,Variant=1]
+ sockdolager rubdown
+\end{Verbatim}
+
+The advantage to using the \cmd\newAATfeature\ and \cmd\newopentypefeature\
+commands instead of \cs{newfontfeature} is that they check if the selected font actually contains the desired font
+feature at load time. By contrast, \cmd\newfontfeature\ will not give a warning
+for improper input.
+
+
+\section{Defining new scripts and languages}
+\label{sec:newscriptlang}
+
+\DescribeMacro{\newfontscript}
+\DescribeMacro{\newfontlanguage}
+While the scripts and languages listed in \ref{tab:ot-scpt} and \ref{tab:ot-lang}
+are intended to be comprehensive, there may be some missing; alternatively,
+you might wish to use different names to access scripts/languages that are
+already listed.
+Adding scripts and languages can be performed with the \cmd\newfontscript\
+and \cmd\newfontlanguage\ commands. For example,
+\begin{Verbatim}
+ \newfontscript{Arabic}{arab}
+ \newfontlanguage{Zulu}{ZUL}
+\end{Verbatim}
+The first argument is the \pkg{fontspec} name, the second the OpenType
+tag. The advantage to using these commands rather than \cmd\newfontfeature\
+(see \vref{sec:newfeatures}) is the error-checking that is performed when
+the script or language is requested.
+
+
+
+\section{Going behind \pkg{fontspec}'s back}
+Expert users may wish not to use \pkg{fontspec}'s feature handling at all,
+while still taking advantage of its \LaTeX\ font selection conveniences. The
+\feat{RawFeature} font feature allows font feature selection using a literal feature selection string if you happen to have the OpenType feature tag memorised.
+
+\begin{Xexample}{raw}{Using raw font features directly.}
+ \fontspec{texgyrepagella-regular.otf}[RawFeature=+smcp]
+ Pagella small caps
+\end{Xexample}
+
+Multiple features can either be included in a single declaration:\par
+{\centering|[RawFeature=+smcp;+onum]|\par}
+\noindent or with multiple declarations:\par
+{\centering|[RawFeature=+smcp, RawFeature=+onum]|\par}
+
+
+\section{Renaming existing features \& options}
+\label{sec:aliasfontfeature}
+
+\DescribeMacro{\aliasfontfeature}
+If you don't like the name of a particular font feature,
+it may be aliased to another with the
+\cs{aliasfontfeature}\marg{existing name}\marg{new name} command,
+such as shown in \exref{alias}.
+
+\begin{Xexample}{alias}{Renaming font features.}
+ \aliasfontfeature{ItalicFeatures}{IF}
+ \fontspec{Hoefler Text}[IF = {Alternate=1}]
+ Roman Letters \itshape And Swash
+\end{Xexample}
+
+Spaces in feature (and option names, see below) \emph{are} allowed. (You may have
+noticed this already in the lists of OpenType scripts and languages).
+
+\DescribeMacro{\aliasfontfeatureoption}
+If you wish to change the name of a font feature option,
+it can be aliased to another with the command
+\cs{aliasfontfeatureoption}\marg{font feature}\marg{existing name}\marg{new name}, such as shown in \exref{aliasopt}.
+
+\begin{Lexample}{aliasopt}{Renaming font feature options.}
+ \aliasfontfeature{VerticalPosition}{Vert Pos}
+ \aliasfontfeatureoption{VerticalPosition}{ScientificInferior}{Sci Inf}
+ \fontspec{LinLibertine_R.otf}[Vert Pos=Sci Inf]
+ Scientific Inferior: 12345
+\end{Lexample}
+
+This example demonstrates an important point: when aliasing the feature
+options, the \emph{original} feature name must be used when declaring
+to which feature the option belongs.
+
+Only feature options that exist as sets of fixed strings may be altered in
+this way. That is, \opt{Proportional} can be aliased to \opt{Prop} in the
+\feat{Letters} feature, but \opt{550099BB} cannot be substituted for \opt{Purple}
+in a \feat{Color} specification. For this type of thing, the \cmd\newfontfeature\
+command should be used to declare a new, \eg, \feat{PurpleColor} feature:
+\begin{Verbatim}
+ \newfontfeature{PurpleColor}{color=550099BB}
+\end{Verbatim}
+Except that this example was written before support for named colours was
+implemented. But you get the idea.
+
+
+
+
+\section{Programming interface}
+\label{sec:api}
+
+
+\subsection{Variables}
+
+\DescribeMacro{\l_fontspec_family_tl}
+\DescribeMacro{\l_fontspec_font}
+In some cases, it is useful to know what the \LaTeX\ font family
+of a specific \pkg{fontspec} font is. After a \cmd\fontspec-like
+command, this is stored inside the \cmd\l_fontspec_family_tl\ macro.
+Otherwise, \LaTeX's own \cmd\f at family\ macro can be useful here,
+too.
+The raw \TeX\ font that is defined from the `base' font in the family is stored in \cmd{\l_fontspec_font}.
+
+\DescribeMacro{\g_fontspec_encoding_tl}
+Package authors who need to load fonts with legacy \LaTeX\ \NFSS\ commands may also need to know what the default font encoding is.
+Since this has changed from \texttt{EU1}/\texttt{EU2} to \texttt{TU}, it is best to use the variables \cs{g_fontspec_encoding_tl} or \cs{UTFencname} instead.
+
+\subsection{Functions for loading new fonts and families}
+
+\begin{macro}{\fontspec_set_family:Nnn}
+\darg{\LaTeX\ family}
+\darg{fontspec features}
+\darg{font name}
+Defines a new \NFSS\ family from given \meta{features} and \meta{font},
+and stores the family name in the variable \meta{family}.
+This font family can then be selected with standard \LaTeX\ commands
+\cs{fontfamily}\marg{family}\cs{selectfont}.
+See the standard \pkg{fontspec} user commands for applications of this
+function.
+\end{macro}
+
+\begin{macro}{\fontspec_set_fontface:NNnn}
+\darg{primitive font}
+\darg{\LaTeX\ family}
+\darg{fontspec features}
+\darg{font name}
+Variant of the above in which the primitive \TeX\ font command is stored in
+the variable \meta{primitive font}.
+If a family is loaded (with bold and italic shapes) the primitive font
+command will only select the regular face.
+This feature is designed for \LaTeX\ programmers who need to
+perform subsequent font-related tests on the \meta{primitive font}.
+\end{macro}
+
+
+\subsection{Conditionals}
+
+The following functions in \pkg{expl3} syntax may be used
+for writing code that interfaces with \pkg{fontspec}-loaded fonts.
+The following conditionals are all provided in |TF|, |T|, and |F| forms.
+
+\subsubsection{Querying font families}
+
+\begin{macro}{\fontspec_font_if_exist:nTF}
+Test whether the `font name' (|#1|) exists or is loadable.
+The syntax of |#1| is a restricted/simplified version of \pkg{fontspec}'s usual font loading syntax; fonts to be loaded by filename are detected by the presence of an appropriate extension (|.otf|, etc.), and paths should be included inline.
+E.g.:
+\begin{Verbatim}
+ \fontspec_font_if_exist:nTF {cmr10}{T}{F}
+ \fontspec_font_if_exist:nTF {Times~ New~ Roman}{T}{F}
+ \fontspec_font_if_exist:nTF {texgyrepagella-regular.otf}{T}{F}
+ \fontspec_font_if_exist:nTF {/Users/will/Library/Fonts/CODE2000.TTF}{T}{F}
+\end{Verbatim}
+\end{macro}
+The synonym \cs{IfFontExistsTF} is provided for `document authors'.
+
+
+\begin{macro}{\fontspec_if_fontspec_font:TF}
+Test whether the currently selected font has been loaded by fontspec.
+\end{macro}
+
+
+\begin{macro}{\fontspec_if_opentype:TF}
+Test whether the currently selected font is an OpenType font.
+Always true for \LuaTeX{} fonts.
+\end{macro}
+
+
+\subsubsection{Availability of features}
+
+\begin{macro}{\fontspec_if_aat_feature:nnTF}
+Test whether the currently selected font contains the \AAT\
+feature (|#1|,|#2|).
+\end{macro}
+
+
+\begin{macro}{\fontspec_if_feature:nTF}
+Test whether the currently selected font contains the raw OpenType
+feature |#1|. E.g.: |\fontspec_if_feature:nTF {pnum} {True} {False}|.
+Returns false if the font is not loaded by fontspec or is not an OpenType
+font.
+\end{macro}
+
+
+\begin{macro}{\fontspec_if_feature:nnnTF}
+Test whether the currently selected font with raw OpenType script tag |#1| and raw OpenType language tag |#2| contains the raw OpenType feature tag |#3|. E.g.: |\fontspec_if_feature:nnnTF {latn} {ROM} {pnum} {True} {False}|.
+Returns false if the font is not loaded by fontspec or is not an OpenType
+font.
+\end{macro}
+
+
+\begin{macro}{\fontspec_if_script:nTF}
+Test whether the currently selected font contains the raw OpenType
+script |#1|. E.g.: |\fontspec_if_script:nTF {latn} {True} {False}|.
+Returns false if the font is not loaded by fontspec or is not an OpenType
+font.
+\end{macro}
+
+
+\begin{macro}{\fontspec_if_language:nTF}
+Test whether the currently selected font contains the raw OpenType language
+tag |#1|. E.g.: |\fontspec_if_language:nTF {ROM} {True} {False}|.
+Returns false if the font is not loaded by fontspec or is not an OpenType
+font.
+\end{macro}
+
+
+\begin{macro}{\fontspec_if_language:nnTF}
+Test whether the currently selected font contains the raw OpenType language
+tag |#2| in script |#1|. E.g.: |\fontspec_if_language:nnTF {cyrl} {SRB} {True} {False}|.
+Returns false if the font is not loaded by fontspec or is not an OpenType
+font.
+\end{macro}
+
+
+\subsubsection{Currently selected features}
+
+\begin{macro}{\fontspec_if_current_feature:nTF}
+Test whether the currently loaded font is using the specified raw
+OpenType feature tag |#1|.
+The tag string |#1| should be prefixed with |+| to query an active feature, and with a |-| (hyphen) to query a disabled feature.
+\end{macro}
+
+
+\begin{macro}{\fontspec_if_current_script:nTF}
+Test whether the currently loaded font is using the specified raw
+OpenType script tag |#1|.
+\end{macro}
+
+
+\begin{macro}{\fontspec_if_current_language:nTF}
+Test whether the currently loaded font is using the specified raw
+OpenType language tag |#1|.
+\end{macro}
+
+
+
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.aux
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.aux (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.aux 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,38 @@
+\relax
+\providecommand\hyper at newdestlabel[2]{}
+\@writefile{toc}{\contentsline {part}{V\hspace {1em}Commands for accents and symbols (`encodings')}{53}{part.5}}
+\newlabel{part:enc}{{V}{53}{Commands for accents and symbols (`encodings')}{part.5}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {17}A new Unicode-based encoding from scratch}{53}{section.17}}
+\@writefile{toc}{\contentsline {section}{\numberline {18}Adjusting a pre-existing encoding}{54}{section.18}}
+\@writefile{toc}{\contentsline {section}{\numberline {19}Summary of commands}{56}{section.19}}
+\@setckpt{fontspec-doc-enc}{
+\setcounter{page}{57}
+\setcounter{equation}{0}
+\setcounter{enumi}{3}
+\setcounter{enumii}{0}
+\setcounter{enumiii}{0}
+\setcounter{enumiv}{0}
+\setcounter{footnote}{11}
+\setcounter{mpfootnote}{0}
+\setcounter{part}{5}
+\setcounter{section}{19}
+\setcounter{subsection}{0}
+\setcounter{subsubsection}{0}
+\setcounter{paragraph}{0}
+\setcounter{subparagraph}{0}
+\setcounter{figure}{0}
+\setcounter{table}{17}
+\setcounter{StandardModuleDepth}{1}
+\setcounter{ContinuedFloat}{0}
+\setcounter{FancyVerbLine}{2}
+\setcounter{vrcnt}{32}
+\setcounter{lofdepth}{1}
+\setcounter{lotdepth}{1}
+\setcounter{Item}{5}
+\setcounter{Hfootnote}{11}
+\setcounter{Hy at AnnotLevel}{0}
+\setcounter{bookmark at seq@number}{61}
+\setcounter{example}{40}
+\setcounter{argument}{0}
+\setcounter{section at level}{1}
+}
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.log
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.log (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.log 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,1735 @@
+This is XeTeX, Version 3.14159265-2.6-0.99996 (TeX Live 2016) (preloaded format=xelatex 2016.5.14) 6 JAN 2017 16:52
+entering extended mode
+ \write18 enabled.
+ file:line:error style messages enabled.
+ %&-line parsing enabled.
+**fontspec-doc-enc.tex
+(./fontspec-doc-enc.tex
+LaTeX2e <2016/03/31>
+Babel <3.9r> and hyphenation patterns for 81 language(s) loaded.
+(/usr/local/texlive/2016/texmf-dist/tex/latex/base/ltxdoc.cls
+Document Class: ltxdoc 2015/03/26 v2.0w Standard LaTeX documentation class
+(/usr/local/texlive/2016/texmf-dist/tex/latex/base/article.cls
+Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
+(/usr/local/texlive/2016/texmf-dist/tex/latex/base/size10.clo
+File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
+)
+\c at part=\count79
+\c at section=\count80
+\c at subsection=\count81
+\c at subsubsection=\count82
+\c at paragraph=\count83
+\c at subparagraph=\count84
+\c at figure=\count85
+\c at table=\count86
+\abovecaptionskip=\skip41
+\belowcaptionskip=\skip42
+\bibindent=\dimen102
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/base/doc.sty
+Package: doc 2016/02/15 v2.1g Standard LaTeX documentation package (FMi)
+\c at StandardModuleDepth=\count87
+\guard at level=\count88
+\MacrocodeTopsep=\skip43
+\MacroIndent=\dimen103
+\macro at cnt=\count89
+\MacroTopsep=\skip44
+\index at excludelist=\toks14
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/tools/multicol.sty
+Package: multicol 2016/02/08 v1.8o multicolumn formatting (FMi)
+\c at tracingmulticols=\count90
+\mult at box=\box26
+\multicol at leftmargin=\dimen104
+\c at unbalance=\count91
+\c at collectmore=\count92
+\doublecol at number=\count93
+\multicoltolerance=\count94
+\multicolpretolerance=\count95
+\full at width=\dimen105
+\page at free=\dimen106
+\premulticols=\dimen107
+\postmulticols=\dimen108
+\multicolsep=\skip45
+\multicolbaselineskip=\skip46
+\partial at page=\box27
+\last at line=\box28
+\maxbalancingoverflow=\dimen109
+\mult at rightbox=\box29
+\mult at grightbox=\box30
+\mult at gfirstbox=\box31
+\mult at firstbox=\box32
+\@tempa=\box33
+\@tempa=\box34
+\@tempa=\box35
+\@tempa=\box36
+\@tempa=\box37
+\@tempa=\box38
+\@tempa=\box39
+\@tempa=\box40
+\@tempa=\box41
+\@tempa=\box42
+\@tempa=\box43
+\@tempa=\box44
+\@tempa=\box45
+\@tempa=\box46
+\@tempa=\box47
+\@tempa=\box48
+\@tempa=\box49
+\c at columnbadness=\count96
+\c at finalcolumnbadness=\count97
+\last at try=\dimen110
+\multicolovershoot=\dimen111
+\multicolundershoot=\dimen112
+\mult at nat@firstbox=\box50
+\colbreak at box=\box51
+\mc at col@check at num=\count98
+)
+\IndexMin=\dimen113
+\c at IndexColumns=\count99
+\GlossaryMin=\dimen114
+\c at GlossaryColumns=\count100
+\check at sum=\count101
+\bslash at cnt=\count102
+\wrong at table=\toks15
+\c at CodelineNo=\count103
+))
+(./fontspec-doc-style.sty
+Package: fontspec-doc-style
+ (./fontspec.sty
+(/usr/local/texlive/2016/texmf-dist/tex/latex/l3kernel/expl3.sty
+Package: expl3 2016/11/21 v6760 L3 programming layer (loader)
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/l3kernel/expl3-code.tex
+Package: expl3 2016/11/21 v6760 L3 programming layer (code)
+L3 Module: l3bootstrap 2016/06/13 v6596 L3 Bootstrap code
+L3 Module: l3names 2016/10/13 v6722 L3 Namespace for primitives
+L3 Module: l3basics 2016/09/01 v6696 L3 Basic definitions
+L3 Module: l3expan 2016/08/19 v6684 L3 Argument expansion
+L3 Module: l3tl 2016/08/19 v6692 L3 Token lists
+L3 Module: l3str 2016/08/19 v6692 L3 Strings
+L3 Module: l3seq 2016/08/19 v6685 L3 Sequences and stacks
+L3 Module: l3int 2016/09/07 v6700 L3 Integers
+\c_max_int=\count104
+\l_tmpa_int=\count105
+\l_tmpb_int=\count106
+\g_tmpa_int=\count107
+\g_tmpb_int=\count108
+L3 Module: l3quark 2016/08/19 v6685 L3 Quarks
+L3 Module: l3prg 2016/08/18 v6679 L3 Control structures
+\g__prg_map_int=\count109
+L3 Module: l3clist 2016/08/19 v6685 L3 Comma separated lists
+L3 Module: l3token 2016/09/01 v6695 L3 Experimental token manipulation
+L3 Module: l3prop 2016/08/19 v6685 L3 Property lists
+L3 Module: l3msg 2016/08/19 v6691 L3 Messages
+L3 Module: l3file 2016/08/19 v6685 L3 File and I/O operations
+\l_iow_line_count_int=\count110
+\l__iow_target_count_int=\count111
+\l__iow_current_line_int=\count112
+\l__iow_current_word_int=\count113
+\l__iow_current_indentation_int=\count114
+L3 Module: l3skip 2016/08/19 v6692 L3 Dimensions and skips
+\c_zero_dim=\dimen115
+\c_max_dim=\dimen116
+\l_tmpa_dim=\dimen117
+\l_tmpb_dim=\dimen118
+\g_tmpa_dim=\dimen119
+\g_tmpb_dim=\dimen120
+\c_zero_skip=\skip47
+\c_max_skip=\skip48
+\l_tmpa_skip=\skip49
+\l_tmpb_skip=\skip50
+\g_tmpa_skip=\skip51
+\g_tmpb_skip=\skip52
+\c_zero_muskip=\muskip10
+\c_max_muskip=\muskip11
+\l_tmpa_muskip=\muskip12
+\l_tmpb_muskip=\muskip13
+\g_tmpa_muskip=\muskip14
+\g_tmpb_muskip=\muskip15
+L3 Module: l3keys 2016/09/21 v6711 L3 Key-value interfaces
+\l_keys_choice_int=\count115
+L3 Module: l3fp 2016/11/21 v6761 L3 Floating points
+\c__fp_leading_shift_int=\count116
+\c__fp_middle_shift_int=\count117
+\c__fp_trailing_shift_int=\count118
+\c__fp_big_leading_shift_int=\count119
+\c__fp_big_middle_shift_int=\count120
+\c__fp_big_trailing_shift_int=\count121
+\c__fp_Bigg_leading_shift_int=\count122
+\c__fp_Bigg_middle_shift_int=\count123
+\c__fp_Bigg_trailing_shift_int=\count124
+L3 Module: l3box 2016/08/19 v6685 L3 Experimental boxes
+\c_empty_box=\box52
+\l_tmpa_box=\box53
+\l_tmpb_box=\box54
+\g_tmpa_box=\box55
+\g_tmpb_box=\box56
+L3 Module: l3coffins 2016/08/19 v6685 L3 Coffin code layer
+\l__coffin_internal_box=\box57
+\l__coffin_internal_dim=\dimen121
+\l__coffin_offset_x_dim=\dimen122
+\l__coffin_offset_y_dim=\dimen123
+\l__coffin_x_dim=\dimen124
+\l__coffin_y_dim=\dimen125
+\l__coffin_x_prime_dim=\dimen126
+\l__coffin_y_prime_dim=\dimen127
+\c_empty_coffin=\box58
+\l__coffin_aligned_coffin=\box59
+\l__coffin_aligned_internal_coffin=\box60
+\l_tmpa_coffin=\box61
+\l_tmpb_coffin=\box62
+\l__coffin_display_coffin=\box63
+\l__coffin_display_coord_coffin=\box64
+\l__coffin_display_pole_coffin=\box65
+\l__coffin_display_offset_dim=\dimen128
+\l__coffin_display_x_dim=\dimen129
+\l__coffin_display_y_dim=\dimen130
+L3 Module: l3color 2016/06/13 v6596 L3 Experimental color support
+L3 Module: l3sys 2015/09/25 v6087 L3 Experimental system/runtime functions
+L3 Module: l3candidates 2016/08/19 v6688 L3 Experimental additions to l3kernel
+\l__box_top_dim=\dimen131
+\l__box_bottom_dim=\dimen132
+\l__box_left_dim=\dimen133
+\l__box_right_dim=\dimen134
+\l__box_top_new_dim=\dimen135
+\l__box_bottom_new_dim=\dimen136
+\l__box_left_new_dim=\dimen137
+\l__box_right_new_dim=\dimen138
+\l__box_internal_box=\box66
+\l__coffin_bounding_shift_dim=\dimen139
+\l__coffin_left_corner_dim=\dimen140
+\l__coffin_right_corner_dim=\dimen141
+\l__coffin_bottom_corner_dim=\dimen142
+\l__coffin_top_corner_dim=\dimen143
+\l__coffin_scaled_total_height_dim=\dimen144
+\l__coffin_scaled_width_dim=\dimen145
+L3 Module: l3luatex 2016/08/18 v6679 L3 Experimental LuaTeX-specific functions
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def
+File: l3xdvidpfmx.def 2016/08/18 v6679 L3 Experimental driver: xdvipdfmx
+\l__driver_tmp_box=\box67
+))
+(/usr/local/texlive/2016/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
+Package: xparse 2016/11/21 v6760 L3 Experimental document command parser
+\l__xparse_current_arg_int=\count125
+\l__xparse_m_args_int=\count126
+\l__xparse_mandatory_args_int=\count127
+\l__xparse_processor_int=\count128
+\l__xparse_v_nesting_int=\count129
+)
+Package: fontspec 2017/01/02 v2.5c Font selection for XeLaTeX and LuaLaTeX
+
+(./fontspec-xetex.sty
+Package: fontspec-xetex 2017/01/02 v2.5c Font selection for XeLaTeX and LuaLaTe
+X
+\l__fontspec_script_int=\count130
+\l__fontspec_language_int=\count131
+\l__fontspec_strnum_int=\count132
+\l__fontspec_tmp_int=\count133
+\l__fontspec_em_int=\count134
+\l__fontspec_emdef_int=\count135
+\l__fontspec_tmpa_dim=\dimen146
+\l__fontspec_tmpb_dim=\dimen147
+\l__fontspec_tmpc_dim=\dimen148
+\g__file_internal_ior=\read1
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/base/fontenc.sty
+Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/fontspec/tuenc.def
+File: tuenc.def 2016/01/29 v0.1 Unicode font encoding for LaTeX2e
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/fontspec/tufontrange-T1.def
+File: ucfontrange-T1.def
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/fontspec/tufontrange-TS1.def
+File: ucfontrange-TS1.def
+)))
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \fontspec with sig. 'O{}mO{}' on line 424.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \setmainfont with sig. 'O{}mO{}' on line 440.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \setsansfont with sig. 'O{}mO{}' on line 456.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \setmonofont with sig. 'O{}mO{}' on line 472.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \setmathrm with sig. 'O{}mO{}' on line 477.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \setboldmathrm with sig. 'O{}mO{}' on line 482.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \setmathsf with sig. 'O{}mO{}' on line 487.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \setmathtt with sig. 'O{}mO{}' on line 492.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \newfontfamily with sig. 'mO{}mO{}' on line 512.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \newfontface with sig. 'mO{}mO{}' on line 516.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \defaultfontfeatures with sig. 't+om' on line 523.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \addfontfeatures with sig. 'm' on line 574.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \newfontfeature with sig. 'mm' on line 585.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \newAATfeature with sig. 'mmmm' on line 593.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \newopentypefeature with sig. 'mmm' on line 601.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \aliasfontfeature with sig. 'mm' on line 622.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \aliasfontfeatureoption with sig. 'mmm' on line 639.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \newfontscript with sig. 'mm' on line 643.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \newfontlanguage with sig. 'mm' on line 647.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \DeclareFontsExtensions with sig. 'm' on line 652.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \IfFontFeatureActiveTF with sig. 'mmm' on line 660.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \EncodingCommand with sig. 'mO{}m' on line 3322.
+.................................................
+.................................................
+. LaTeX info: "xparse/redefine-command"
+.
+. Redefining command \DeclareUnicodeEncoding with sig. 'mm' on line 3368.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \ImportEncodingFile with sig. 'm' on line 3377.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \UndeclareSymbol with sig. 'm' on line 3384.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \UndeclareComposite with sig. 'mm' on line 3390.
+.................................................
+
+(./fontspec.cfg)
+LaTeX Info: Redefining \itshape on input line 3571.
+LaTeX Info: Redefining \slshape on input line 3576.
+LaTeX Info: Redefining \scshape on input line 3581.
+LaTeX Info: Redefining \upshape on input line 3586.
+LaTeX Info: Redefining \em on input line 3606.
+LaTeX Info: Redefining \emph on input line 3623.
+LaTeX Info: Redefining \- on input line 3630.
+.................................................
+. LaTeX info: "xparse/redefine-command"
+.
+. Redefining command \oldstylenums with sig. 'm' on line 3725.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \liningnums with sig. 'm' on line 3729.
+.................................................
+))
+(/usr/local/texlive/2016/texmf-dist/tex/latex/booktabs/booktabs.sty
+Package: booktabs 2016/04/27 v1.618033 publication quality tables
+\heavyrulewidth=\dimen149
+\lightrulewidth=\dimen150
+\cmidrulewidth=\dimen151
+\belowrulesep=\dimen152
+\belowbottomsep=\dimen153
+\aboverulesep=\dimen154
+\abovetopsep=\dimen155
+\cmidrulesep=\dimen156
+\cmidrulekern=\dimen157
+\defaultaddspace=\dimen158
+\@cmidla=\count136
+\@cmidlb=\count137
+\@aboverulesep=\dimen159
+\@belowrulesep=\dimen160
+\@thisruleclass=\count138
+\@lastruleclass=\count139
+\@thisrulewidth=\dimen161
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/tools/calc.sty
+Package: calc 2014/10/28 v4.3 Infix arithmetic (KKT,FJ)
+\calc at Acount=\count140
+\calc at Bcount=\count141
+\calc at Adimen=\dimen162
+\calc at Bdimen=\dimen163
+\calc at Askip=\skip53
+\calc at Bskip=\skip54
+LaTeX Info: Redefining \setlength on input line 80.
+LaTeX Info: Redefining \addtolength on input line 81.
+\calc at Ccount=\count142
+\calc at Cskip=\skip55
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/caption/caption.sty
+Package: caption 2016/02/21 v3.3-144 Customizing captions (AR)
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/caption/caption3.sty
+Package: caption3 2016/02/04 v1.7-139 caption3 kernel (AR)
+Package caption3 Info: TeX engine: e-TeX on input line 67.
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty
+Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
+\KV at toks@=\toks16
+)
+\captionmargin=\dimen164
+\captionmargin@=\dimen165
+\captionwidth=\dimen166
+\caption at tempdima=\dimen167
+\caption at indent=\dimen168
+\caption at parindent=\dimen169
+\caption at hangindent=\dimen170
+)
+\c at ContinuedFloat=\count143
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/color.sty
+Package: color 2016/01/03 v1.1b Standard LaTeX Color (DPC)
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-cfg/color.cfg
+File: color.cfg 2016/01/02 v1.6 sample color configuration
+)
+Package color Info: Driver file: xetex.def on input line 143.
+
+(/usr/local/texlive/2016/texmf-dist/tex/xelatex/xetex-def/xetex.def
+File: xetex.def 2016/04/06 v4.08 LaTeX color/graphics driver for XeTeX (TeX Liv
+e/RRM/JK)
+
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/infwarerr.sty
+Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)
+)
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
+Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
+)))
+(/usr/local/texlive/2016/texmf-dist/tex/latex/enumitem/enumitem.sty
+Package: enumitem 2011/09/28 v3.5.2 Customized lists
+\labelindent=\skip56
+\enit at outerparindent=\dimen171
+\enit at toks=\toks17
+\enit at inbox=\box68
+\enitdp at description=\count144
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
+Package: fancyvrb 2008/02/07
+
+Style option: `fancyvrb' v2.7a, with DG/SPQR fixes, and firstline=lastline fix
+<2008/02/07> (tvz)
+\FV at CodeLineNo=\count145
+\FV at InFile=\read2
+\FV at TabBox=\box69
+\c at FancyVerbLine=\count146
+\FV at StepNumber=\count147
+\FV at OutFile=\write3
+)
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/hologo.sty
+Package: hologo 2012/04/26 v1.10 A logo collection with bookmark support (HO)
+
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
+Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO)
+
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/etexcmds.sty
+Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
+
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ifluatex.sty
+Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
+Package ifluatex Info: LuaTeX not detected.
+)
+Package etexcmds Info: Could not find \expanded.
+(etexcmds) That can mean that you are not using pdfTeX 1.50 or
+(etexcmds) that some package has redefined \expanded.
+(etexcmds) In the latter case, load this package earlier.
+))
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty
+Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO)
+)
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
+Package: pdftexcmds 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO
+)
+
+(/usr/local/texlive/2016/texmf-dist/tex/generic/ifpdf/ifpdf.sty
+Package: ifpdf 2016/04/04 v3.0 Provides the ifpdf switch
+)
+Package pdftexcmds Info: LuaTeX not detected.
+Package pdftexcmds Info: pdfTeX >= 1.30 not detected.
+Package pdftexcmds Info: \pdf at primitive is available.
+Package pdftexcmds Info: \pdf at ifprimitive is available.
+Package pdftexcmds Info: \pdfdraftmode not found.
+)
+(/usr/local/texlive/2016/texmf-dist/tex/generic/ifxetex/ifxetex.sty
+Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
+)
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ifvtex.sty
+Package: ifvtex 2010/03/01 v1.5 Detect VTeX and its facilities (HO)
+Package ifvtex Info: VTeX not detected.
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/kvoptions.sty
+Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO)
+)
+Package hologo Info: Using driver `xetex'.
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphicx.sty
+Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphics.sty
+Package: graphics 2016/01/03 v1.0q Standard LaTeX Graphics (DPC,SPQR)
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/trig.sty
+Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
+File: graphics.cfg 2016/01/02 v1.10 sample graphics configuration
+)
+Package graphics Info: Driver file: xetex.def on input line 95.
+)
+\Gin at req@height=\dimen172
+\Gin at req@width=\dimen173
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/base/ifthen.sty
+Package: ifthen 2014/09/29 v1.1c Standard LaTeX ifthen package (DPC)
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/url/url.sty
+\Urlmuskip=\muskip16
+Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc.
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/tools/varioref.sty
+Package: varioref 2016/02/16 v1.5c package for extended references (FMi)
+\c at vrcnt=\count148
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/varwidth/varwidth.sty
+Package: varwidth 2009/03/30 ver 0.92; Variable-width minipages
+\@vwid at box=\box70
+\sift at deathcycles=\count149
+\@vwid at loff=\dimen174
+\@vwid at roff=\dimen175
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/microtype/microtype.sty
+Package: microtype 2016/05/01 v2.6 Micro-typographical refinements (RS)
+\MT at toks=\toks18
+\MT at count=\count150
+LaTeX Info: Redefining \textls on input line 774.
+\MT at outer@kern=\dimen176
+LaTeX Info: Redefining \textmicrotypecontext on input line 1310.
+\MT at listname@count=\count151
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/microtype/microtype-xetex.def
+File: microtype-xetex.def 2016/05/01 v2.6 Definitions specific to xetex (RS)
+LaTeX Info: Redefining \lsstyle on input line 255.
+)
+Package microtype Info: Loading configuration file microtype.cfg.
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/microtype/microtype.cfg
+File: microtype.cfg 2016/05/01 v2.6 microtype main configuration file (RS)
+))
+(/usr/local/texlive/2016/texmf-dist/tex/latex/tocloft/tocloft.sty
+Package: tocloft 2013/05/02 v2.3f parameterised ToC, etc., typesetting
+Package tocloft Info: The document has section divisions on input line 44.
+\cftparskip=\skip57
+\cftbeforetoctitleskip=\skip58
+\cftaftertoctitleskip=\skip59
+\cftbeforepartskip=\skip60
+\cftpartnumwidth=\skip61
+\cftpartindent=\skip62
+\cftbeforesecskip=\skip63
+\cftsecindent=\skip64
+\cftsecnumwidth=\skip65
+\cftbeforesubsecskip=\skip66
+\cftsubsecindent=\skip67
+\cftsubsecnumwidth=\skip68
+\cftbeforesubsubsecskip=\skip69
+\cftsubsubsecindent=\skip70
+\cftsubsubsecnumwidth=\skip71
+\cftbeforeparaskip=\skip72
+\cftparaindent=\skip73
+\cftparanumwidth=\skip74
+\cftbeforesubparaskip=\skip75
+\cftsubparaindent=\skip76
+\cftsubparanumwidth=\skip77
+\cftbeforeloftitleskip=\skip78
+\cftafterloftitleskip=\skip79
+\cftbeforefigskip=\skip80
+\cftfigindent=\skip81
+\cftfignumwidth=\skip82
+\c at lofdepth=\count152
+\c at lotdepth=\count153
+\cftbeforelottitleskip=\skip83
+\cftafterlottitleskip=\skip84
+\cftbeforetabskip=\skip85
+\cfttabindent=\skip86
+\cfttabnumwidth=\skip87
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/framed/framed.sty
+Package: framed 2011/10/22 v 0.96: framed or shaded text with page breaks
+\OuterFrameSep=\skip88
+\fb at frw=\dimen177
+\fb at frh=\dimen178
+\FrameRule=\dimen179
+\FrameSep=\dimen180
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/docmute/docmute.sty
+Package: docmute 2012/03/22 v1.4 Input stand-alone documents
+)
+::__fontspec_init:
+::__fontspec_if_detect_external:n{AldusNovaPro-Book.otf}
+
+
+::::::::::::::::::::::::::::::
+::fontspec_select:nn {,} {aldus-nova}
+::__fontspec_init:
+::__fontspec_if_detect_external:n{aldus-nova}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {aldus-nova}
+(/Users/will/Dropbox/texmf/tex/latex/willfonts/aldus-nova.fontspec)
+::__fontspec_extract_all_features:n{,}
+fontid:aldus-nova-:-Numbers=OldStyle,Ligatures=TeX,Extension = .otf,UprightFont
+ = AldusNovaPro-Book,ItalicFont = AldusNovaPro-BookItalic,BoldFont = PalatinoNo
+vaPro-Medium,BoldItalicFont = PalatinoNovaPro-MediumIt
+::__fontspec_preparse_features:
+::::Keys set: {fontspec-preparse-external} {Numbers=OldStyle,Ligatures=TeX,Exte
+nsion = .otf,UprightFont = AldusNovaPro-Book,ItalicFont = AldusNovaPro-BookItal
+ic,BoldFont = PalatinoNovaPro-Medium,BoldItalicFont = PalatinoNovaPro-MediumIt}
+
+Setting bold font "PalatinoNovaPro-Medium" with series "bx"
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec-preparse} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::__fontspec_load_font
+Set base font for preliminary analysis:"[AldusNovaPro-Book.otf]/OT"
+::__fontspec_set_font_type:
+Set base font properly:"[AldusNovaPro-Book.otf]/OT"
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+*************************************************
+* fontspec warning: "icu-feature-not-exist-in-font"
+*
+* OpenType feature 'Lowercase=' (onum) not available for font
+* 'AldusNovaPro-Book' with script 'Latin' and language 'Default'.
+*************************************************
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+save family: aldus-nova
+==fontid_tl:"aldus-nova-:-Numbers=OldStyle,Ligatures=TeX,Extension = .otf,Uprig
+htFont = AldusNovaPro-Book,ItalicFont = AldusNovaPro-BookItalic,BoldFont = Pala
+tinoNovaPro-Medium,BoldItalicFont = PalatinoNovaPro-MediumIt".
+\g__fontspec_family_aldus-nova_int=\count154
+::::Keys set: {fontspec-preparse-external} {}
+::::Leftover: {}
+::__fontspec_load_fontname:n{AldusNovaPro-Book}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {AldusNovaPro-
+Book}
+= declare_shape: {AldusNovaPro-Book} {m} {n}
+== size: -
+::__fontspec_load_fontname:n{AldusNovaPro-Book}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {AldusNovaPro-
+Book}
+==== Setup NFSS shape: <-> AldusNovaPro-Book
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+*************************************************
+* fontspec warning: "icu-feature-not-exist-in-font"
+*
+* OpenType feature 'Lowercase=' (onum) not available for font
+* 'AldusNovaPro-Book' with script 'Latin' and language 'Default'.
+*************************************************
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+==== Gathered features: mapping=tex-text;
+=== sized font: AldusNovaPro-Book
+:: fontspec_check_ot_feat:n {smcp}
+==== Small caps not found.
+DeclareFontShape: {TU}{aldus-nova(0)}{m}{n}...
+::::Keys set: {fontspec-preparse-external} {}
+::::Leftover: {}
+::__fontspec_load_fontname:n{PalatinoNovaPro-Medium}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoNovaP
+ro-Medium}
+= declare_shape: {PalatinoNovaPro-Medium} {bx} {n}
+== size: -
+::__fontspec_load_fontname:n{PalatinoNovaPro-Medium}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoNovaP
+ro-Medium}
+==== Setup NFSS shape: <-> PalatinoNovaPro-Medium
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+*************************************************
+* fontspec warning: "icu-feature-not-exist-in-font"
+*
+* OpenType feature 'Lowercase=' (onum) not available for font
+* 'PalatinoNovaPro-Medium' with script 'Latin' and language 'Default'.
+*************************************************
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+==== Gathered features: mapping=tex-text;
+=== sized font: PalatinoNovaPro-Medium
+:: fontspec_check_ot_feat:n {smcp}
+==== Small caps not found.
+DeclareFontShape: {TU}{aldus-nova(0)}{bx}{n}...
+::::Keys set: {fontspec-preparse-external} {}
+::::Leftover: {}
+::__fontspec_load_fontname:n{AldusNovaPro-BookItalic}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {AldusNovaPro-
+BookItalic}
+= declare_shape: {AldusNovaPro-BookItalic} {m} {it}
+== size: -
+::__fontspec_load_fontname:n{AldusNovaPro-BookItalic}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {AldusNovaPro-
+BookItalic}
+==== Setup NFSS shape: <-> AldusNovaPro-BookItalic
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+*************************************************
+* fontspec warning: "icu-feature-not-exist-in-font"
+*
+* OpenType feature 'Lowercase=' (onum) not available for font
+* 'AldusNovaPro-BookItalic' with script 'Latin' and language 'Default'.
+*************************************************
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+==== Gathered features: mapping=tex-text;
+=== sized font: AldusNovaPro-BookItalic
+:: fontspec_check_ot_feat:n {smcp}
+==== Small caps not found.
+DeclareFontShape: {TU}{aldus-nova(0)}{m}{it}...
+DeclareFontShape: {TU}{aldus-nova(0)}{m}{sl}...
+::::Keys set: {fontspec-preparse-external} {}
+::::Leftover: {}
+::__fontspec_load_fontname:n{PalatinoNovaPro-MediumIt}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoNovaP
+ro-MediumIt}
+= declare_shape: {PalatinoNovaPro-MediumIt} {bx} {it}
+== size: -
+::__fontspec_load_fontname:n{PalatinoNovaPro-MediumIt}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoNovaP
+ro-MediumIt}
+==== Setup NFSS shape: <-> PalatinoNovaPro-MediumIt
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+*************************************************
+* fontspec warning: "icu-feature-not-exist-in-font"
+*
+* OpenType feature 'Lowercase=' (onum) not available for font
+* 'PalatinoNovaPro-MediumIt' with script 'Latin' and language 'Default'.
+*************************************************
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+==== Gathered features: mapping=tex-text;
+=== sized font: PalatinoNovaPro-MediumIt
+:: fontspec_check_ot_feat:n {smcp}
+==== Small caps not found.
+DeclareFontShape: {TU}{aldus-nova(0)}{bx}{it}...
+DeclareFontShape: {TU}{aldus-nova(0)}{bx}{sl}...
+.................................................
+. fontspec info: "defining-font"
+.
+. Font family 'aldus-nova(0)' created for font 'aldus-nova' with options
+. [Numbers=OldStyle,Ligatures=TeX,Extension = .otf,UprightFont =
+. AldusNovaPro-Book,ItalicFont = AldusNovaPro-BookItalic,BoldFont =
+. PalatinoNovaPro-Medium,BoldItalicFont = PalatinoNovaPro-MediumIt].
+.
+. This font family consists of the following NFSS series/shapes:
+.
+. - 'normal' (m/n) with NFSS spec.:
+. <->"[AldusNovaPro-Book.otf]/OT:script=latn;language=DFLT;mapping=tex-text;"
+. - 'small caps' (m/sc) with NFSS spec.:
+. - 'bold' (bx/n) with NFSS spec.:
+. <->"[PalatinoNovaPro-Medium.otf]/OT:script=latn;language=DFLT;mapping=tex-tex
+t;"
+. - 'bold small caps' (bx/sc) with NFSS spec.:
+. - 'italic' (m/it) with NFSS spec.:
+. <->"[AldusNovaPro-BookItalic.otf]/OT:script=latn;language=DFLT;mapping=tex-te
+xt;"
+. - 'italic small caps' (m/itsc) with NFSS spec.:
+. - 'bold italic' (bx/it) with NFSS spec.:
+. <->"[PalatinoNovaPro-MediumIt.otf]/OT:script=latn;language=DFLT;mapping=tex-t
+ext;"
+. - 'bold italic small caps' (bx/itsc) with NFSS spec.:
+.................................................
+*************************************************
+* fontspec warning: "defining-font"
+*
+* Font family 'aldus-nova(0)' created for font 'aldus-nova' with options
+* [Numbers=OldStyle,Ligatures=TeX,Extension = .otf,UprightFont =
+* AldusNovaPro-Book,ItalicFont = AldusNovaPro-BookItalic,BoldFont =
+* PalatinoNovaPro-Medium,BoldItalicFont = PalatinoNovaPro-MediumIt].
+*
+* This font family consists of the following NFSS series/shapes:
+*
+* - 'normal' (m/n) with NFSS spec.:
+* <->"[AldusNovaPro-Book.otf]/OT:script=latn;language=DFLT;mapping=tex-text;"
+* - 'small caps' (m/sc) with NFSS spec.:
+* - 'bold' (bx/n) with NFSS spec.:
+* <->"[PalatinoNovaPro-Medium.otf]/OT:script=latn;language=DFLT;mapping=tex-tex
+t;"
+* - 'bold small caps' (bx/sc) with NFSS spec.:
+* - 'italic' (m/it) with NFSS spec.:
+* <->"[AldusNovaPro-BookItalic.otf]/OT:script=latn;language=DFLT;mapping=tex-te
+xt;"
+* - 'italic small caps' (m/itsc) with NFSS spec.:
+* - 'bold italic' (bx/it) with NFSS spec.:
+* <->"[PalatinoNovaPro-MediumIt.otf]/OT:script=latn;language=DFLT;mapping=tex-t
+ext;"
+* - 'bold italic small caps' (bx/itsc) with NFSS spec.:
+*************************************************
+LaTeX Info: Redefining \rmfamily on input line 65.
+
+
+::::::::::::::::::::::::::::::
+::fontspec_select:nn {,} {palatino-sans-light}
+::__fontspec_init:
+::__fontspec_if_detect_external:n{palatino-sans-light}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {palatino-sans
+-light}
+(/Users/will/Dropbox/texmf/tex/latex/willfonts/palatino-sans-light.fontspec)
+::__fontspec_extract_all_features:n{,}
+fontid:palatino-sans-light-:-Numbers=OldStyle,Ligatures=TeX,Extension = .ttf,Up
+rightFont = PalatinoSansCom-Light,ItalicFont = PalatinoSansCom-LightIta,BoldFon
+t = PalatinoSansCom-Regular,BoldItalicFont = PalatinoSansCom-Italic
+::__fontspec_preparse_features:
+::::Keys set: {fontspec-preparse-external} {Numbers=OldStyle,Ligatures=TeX,Exte
+nsion = .ttf,UprightFont = PalatinoSansCom-Light,ItalicFont = PalatinoSansCom-L
+ightIta,BoldFont = PalatinoSansCom-Regular,BoldItalicFont = PalatinoSansCom-Ita
+lic}
+Setting bold font "PalatinoSansCom-Regular" with series "bx"
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec-preparse} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::__fontspec_load_font
+Set base font for preliminary analysis:"[PalatinoSansCom-Light.ttf]/OT"
+::__fontspec_set_font_type:
+Set base font properly:"[PalatinoSansCom-Light.ttf]/OT"
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+*************************************************
+* fontspec warning: "icu-feature-not-exist-in-font"
+*
+* OpenType feature 'Lowercase=' (onum) not available for font
+* 'PalatinoSansCom-Light' with script 'Latin' and language 'Default'.
+*************************************************
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+save family: palatino-sans-light
+==fontid_tl:"palatino-sans-light-:-Numbers=OldStyle,Ligatures=TeX,Extension = .
+ttf,UprightFont = PalatinoSansCom-Light,ItalicFont = PalatinoSansCom-LightIta,B
+oldFont = PalatinoSansCom-Regular,BoldItalicFont = PalatinoSansCom-Italic".
+\g__fontspec_family_palatino-sans-light_int=\count155
+::::Keys set: {fontspec-preparse-external} {}
+::::Leftover: {}
+::__fontspec_load_fontname:n{PalatinoSansCom-Light}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoSansC
+om-Light}
+= declare_shape: {PalatinoSansCom-Light} {m} {n}
+== size: -
+::__fontspec_load_fontname:n{PalatinoSansCom-Light}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoSansC
+om-Light}
+==== Setup NFSS shape: <-> PalatinoSansCom-Light
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+*************************************************
+* fontspec warning: "icu-feature-not-exist-in-font"
+*
+* OpenType feature 'Lowercase=' (onum) not available for font
+* 'PalatinoSansCom-Light' with script 'Latin' and language 'Default'.
+*************************************************
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+==== Gathered features: mapping=tex-text;
+=== sized font: PalatinoSansCom-Light
+:: fontspec_check_ot_feat:n {smcp}
+==== Small caps not found.
+DeclareFontShape: {TU}{palatino-sans-light(0)}{m}{n}...
+::::Keys set: {fontspec-preparse-external} {}
+::::Leftover: {}
+::__fontspec_load_fontname:n{PalatinoSansCom-Regular}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoSansC
+om-Regular}
+= declare_shape: {PalatinoSansCom-Regular} {bx} {n}
+== size: -
+::__fontspec_load_fontname:n{PalatinoSansCom-Regular}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoSansC
+om-Regular}
+==== Setup NFSS shape: <-> PalatinoSansCom-Regular
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+*************************************************
+* fontspec warning: "icu-feature-not-exist-in-font"
+*
+* OpenType feature 'Lowercase=' (onum) not available for font
+* 'PalatinoSansCom-Regular' with script 'Latin' and language 'Default'.
+*************************************************
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+==== Gathered features: mapping=tex-text;
+=== sized font: PalatinoSansCom-Regular
+:: fontspec_check_ot_feat:n {smcp}
+==== Small caps not found.
+DeclareFontShape: {TU}{palatino-sans-light(0)}{bx}{n}...
+::::Keys set: {fontspec-preparse-external} {}
+::::Leftover: {}
+::__fontspec_load_fontname:n{PalatinoSansCom-LightIta}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoSansC
+om-LightIta}
+= declare_shape: {PalatinoSansCom-LightIta} {m} {it}
+== size: -
+::__fontspec_load_fontname:n{PalatinoSansCom-LightIta}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoSansC
+om-LightIta}
+==== Setup NFSS shape: <-> PalatinoSansCom-LightIta
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+*************************************************
+* fontspec warning: "icu-feature-not-exist-in-font"
+*
+* OpenType feature 'Lowercase=' (onum) not available for font
+* 'PalatinoSansCom-LightIta' with script 'Latin' and language 'Default'.
+*************************************************
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+==== Gathered features: mapping=tex-text;
+=== sized font: PalatinoSansCom-LightIta
+:: fontspec_check_ot_feat:n {smcp}
+==== Small caps not found.
+DeclareFontShape: {TU}{palatino-sans-light(0)}{m}{it}...
+DeclareFontShape: {TU}{palatino-sans-light(0)}{m}{sl}...
+::::Keys set: {fontspec-preparse-external} {}
+::::Leftover: {}
+::__fontspec_load_fontname:n{PalatinoSansCom-Italic}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoSansC
+om-Italic}
+= declare_shape: {PalatinoSansCom-Italic} {bx} {it}
+== size: -
+::__fontspec_load_fontname:n{PalatinoSansCom-Italic}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoSansC
+om-Italic}
+==== Setup NFSS shape: <-> PalatinoSansCom-Italic
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+*************************************************
+* fontspec warning: "icu-feature-not-exist-in-font"
+*
+* OpenType feature 'Lowercase=' (onum) not available for font
+* 'PalatinoSansCom-Italic' with script 'Latin' and language 'Default'.
+*************************************************
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+==== Gathered features: mapping=tex-text;
+=== sized font: PalatinoSansCom-Italic
+:: fontspec_check_ot_feat:n {smcp}
+==== Small caps not found.
+DeclareFontShape: {TU}{palatino-sans-light(0)}{bx}{it}...
+DeclareFontShape: {TU}{palatino-sans-light(0)}{bx}{sl}...
+.................................................
+. fontspec info: "defining-font"
+.
+. Font family 'palatino-sans-light(0)' created for font 'palatino-sans-light'
+. with options [Numbers=OldStyle,Ligatures=TeX,Extension = .ttf,UprightFont =
+. PalatinoSansCom-Light,ItalicFont = PalatinoSansCom-LightIta,BoldFont =
+. PalatinoSansCom-Regular,BoldItalicFont = PalatinoSansCom-Italic].
+.
+. This font family consists of the following NFSS series/shapes:
+.
+. - 'normal' (m/n) with NFSS spec.:
+. <->"[PalatinoSansCom-Light.ttf]/OT:script=latn;language=DFLT;mapping=tex-text
+;"
+. - 'small caps' (m/sc) with NFSS spec.:
+. - 'bold' (bx/n) with NFSS spec.:
+. <->"[PalatinoSansCom-Regular.ttf]/OT:script=latn;language=DFLT;mapping=tex-te
+xt;"
+. - 'bold small caps' (bx/sc) with NFSS spec.:
+. - 'italic' (m/it) with NFSS spec.:
+. <->"[PalatinoSansCom-LightIta.ttf]/OT:script=latn;language=DFLT;mapping=tex-t
+ext;"
+. - 'italic small caps' (m/itsc) with NFSS spec.:
+. - 'bold italic' (bx/it) with NFSS spec.:
+. <->"[PalatinoSansCom-Italic.ttf]/OT:script=latn;language=DFLT;mapping=tex-tex
+t;"
+. - 'bold italic small caps' (bx/itsc) with NFSS spec.:
+.................................................
+*************************************************
+* fontspec warning: "defining-font"
+*
+* Font family 'palatino-sans-light(0)' created for font 'palatino-sans-light'
+* with options [Numbers=OldStyle,Ligatures=TeX,Extension = .ttf,UprightFont =
+* PalatinoSansCom-Light,ItalicFont = PalatinoSansCom-LightIta,BoldFont =
+* PalatinoSansCom-Regular,BoldItalicFont = PalatinoSansCom-Italic].
+*
+* This font family consists of the following NFSS series/shapes:
+*
+* - 'normal' (m/n) with NFSS spec.:
+* <->"[PalatinoSansCom-Light.ttf]/OT:script=latn;language=DFLT;mapping=tex-text
+;"
+* - 'small caps' (m/sc) with NFSS spec.:
+* - 'bold' (bx/n) with NFSS spec.:
+* <->"[PalatinoSansCom-Regular.ttf]/OT:script=latn;language=DFLT;mapping=tex-te
+xt;"
+* - 'bold small caps' (bx/sc) with NFSS spec.:
+* - 'italic' (m/it) with NFSS spec.:
+* <->"[PalatinoSansCom-LightIta.ttf]/OT:script=latn;language=DFLT;mapping=tex-t
+ext;"
+* - 'italic small caps' (m/itsc) with NFSS spec.:
+* - 'bold italic' (bx/it) with NFSS spec.:
+* <->"[PalatinoSansCom-Italic.ttf]/OT:script=latn;language=DFLT;mapping=tex-tex
+t;"
+* - 'bold italic small caps' (bx/itsc) with NFSS spec.:
+*************************************************
+LaTeX Info: Redefining \sffamily on input line 65.
+
+
+::::::::::::::::::::::::::::::
+::fontspec_select:nn {,BoldFont=lmmonolt10-bold.otf} {lmmonolt10-regular.otf}
+::__fontspec_init:
+::__fontspec_if_detect_external:n{lmmonolt10-regular.otf}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {lmmonolt10-re
+gular.otf}
+::__fontspec_extract_all_features:n{,BoldFont=lmmonolt10-bold.otf}
+fontid:lmmonolt10-regular-:-Numbers=OldStyle,WordSpace={1,0,0},PunctuationSpace
+=WordSpace,BoldFont=lmmonolt10-bold.otf
+::__fontspec_preparse_features:
+::::Keys set: {fontspec-preparse-external} {Numbers=OldStyle,WordSpace={1,0,0},
+PunctuationSpace=WordSpace,BoldFont=lmmonolt10-bold.otf}
+Setting bold font "lmmonolt10-bold.otf" with series "bx"
+::::Leftover: {Numbers={OldStyle},WordSpace={1,0,0},PunctuationSpace={WordSpace
+}}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},WordSpace={1,0,0},Punctua
+tionSpace={WordSpace}}
+::::Leftover: {Numbers={OldStyle},WordSpace={1,0,0},PunctuationSpace={WordSpace
+}}
+::::Keys set: {fontspec-preparse} {Numbers={OldStyle},WordSpace={1,0,0},Punctua
+tionSpace={WordSpace}}
+::::Leftover: {Numbers={OldStyle},WordSpace={1,0,0},PunctuationSpace={WordSpace
+}}
+::__fontspec_load_font
+Set base font for preliminary analysis:"[lmmonolt10-regular.otf]/OT"
+::__fontspec_set_font_type:
+Set base font properly:"[lmmonolt10-regular.otf]/OT"
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},WordSpace={1,0,0},Punctua
+tionSpace={WordSpace},}
+::::Leftover: {Numbers={OldStyle},WordSpace={1,0,0},PunctuationSpace={WordSpace
+}}
+::::Keys set: {fontspec} {Numbers={OldStyle},WordSpace={1,0,0},PunctuationSpace
+={WordSpace}}
+::::Leftover: {Numbers={OldStyle}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle}"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+*************************************************
+* fontspec warning: "icu-feature-not-exist-in-font"
+*
+* OpenType feature 'Lowercase=' (onum) not available for font
+* 'lmmonolt10-regular' with script 'Latin' and language 'Default'.
+*************************************************
+save family: lmmonolt10-regular.otf
+==fontid_tl:"lmmonolt10-regular-:-Numbers=OldStyle,WordSpace={1,0,0},Punctuatio
+nSpace=WordSpace,BoldFont=lmmonolt10-bold.otf".
+\g__fontspec_family_lmmonolt10-regular.otf_int=\count156
+::::Keys set: {fontspec-preparse-external} {}
+::::Leftover: {}
+::__fontspec_load_fontname:n{lmmonolt10-regular}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {lmmonolt10-re
+gular}
+= declare_shape: {lmmonolt10-regular} {m} {n}
+== size: -
+::__fontspec_load_fontname:n{lmmonolt10-regular}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {lmmonolt10-re
+gular}
+==== Setup NFSS shape: <-> lmmonolt10-regular
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},WordSpace={1,0,0},Punctua
+tionSpace={WordSpace},,,,}
+::::Leftover: {Numbers={OldStyle},WordSpace={1,0,0},PunctuationSpace={WordSpace
+}}
+::::Keys set: {fontspec} {Numbers={OldStyle},WordSpace={1,0,0},PunctuationSpace
+={WordSpace}}
+::::Leftover: {Numbers={OldStyle}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle}"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+*************************************************
+* fontspec warning: "icu-feature-not-exist-in-font"
+*
+* OpenType feature 'Lowercase=' (onum) not available for font
+* 'lmmonolt10-regular' with script 'Latin' and language 'Default'.
+*************************************************
+==== Gathered features:
+=== sized font: lmmonolt10-regular
+:: fontspec_check_ot_feat:n {smcp}
+==== Small caps not found.
+DeclareFontShape: {TU}{lmmonolt10-regular.otf(0)}{m}{n}...
+::::Keys set: {fontspec-preparse-external} {}
+::::Leftover: {}
+::__fontspec_load_fontname:n{lmmonolt10-bold.otf}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {lmmonolt10-bo
+ld.otf}
+= declare_shape: {lmmonolt10-bold} {bx} {n}
+== size: -
+::__fontspec_load_fontname:n{lmmonolt10-bold}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {lmmonolt10-bo
+ld}
+==== Setup NFSS shape: <-> lmmonolt10-bold
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},WordSpace={1,0,0},Punctua
+tionSpace={WordSpace},,,,}
+::::Leftover: {Numbers={OldStyle},WordSpace={1,0,0},PunctuationSpace={WordSpace
+}}
+::::Keys set: {fontspec} {Numbers={OldStyle},WordSpace={1,0,0},PunctuationSpace
+={WordSpace}}
+::::Leftover: {Numbers={OldStyle}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle}"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+*************************************************
+* fontspec warning: "icu-feature-not-exist-in-font"
+*
+* OpenType feature 'Lowercase=' (onum) not available for font
+* 'lmmonolt10-bold' with script 'Latin' and language 'Default'.
+*************************************************
+==== Gathered features:
+=== sized font: lmmonolt10-bold
+:: fontspec_check_ot_feat:n {smcp}
+==== Small caps not found.
+DeclareFontShape: {TU}{lmmonolt10-regular.otf(0)}{bx}{n}...
+.................................................
+. fontspec info: "defining-font"
+.
+. Font family 'lmmonolt10-regular.otf(0)' created for font
+. 'lmmonolt10-regular.otf' with options
+. [Numbers=OldStyle,WordSpace={1,0,0},PunctuationSpace=WordSpace,BoldFont=lmmon
+olt10-bold.otf].
+.
+. This font family consists of the following NFSS series/shapes:
+.
+. - 'normal' (m/n) with NFSS spec.:
+. <->"[lmmonolt10-regular.otf]/OT:script=latn;language=DFLT;"
+. - 'small caps' (m/sc) with NFSS spec.:
+. and font adjustment code:
+. \fontdimen 2\font =1\fontdimen 2\font \fontdimen 3\font =0\fontdimen 3\font
+. \fontdimen 4\font =0\fontdimen 4\font \fontdimen 7\font =0\fontdimen 2\font
+. - 'bold' (bx/n) with NFSS spec.:
+. <->"[lmmonolt10-bold.otf]/OT:script=latn;language=DFLT;"
+. - 'bold small caps' (bx/sc) with NFSS spec.:
+. and font adjustment code:
+. \fontdimen 2\font =1\fontdimen 2\font \fontdimen 3\font =0\fontdimen 3\font
+. \fontdimen 4\font =0\fontdimen 4\font \fontdimen 7\font =0\fontdimen 2\font
+.................................................
+*************************************************
+* fontspec warning: "defining-font"
+*
+* Font family 'lmmonolt10-regular.otf(0)' created for font
+* 'lmmonolt10-regular.otf' with options
+* [Numbers=OldStyle,WordSpace={1,0,0},PunctuationSpace=WordSpace,BoldFont=lmmon
+olt10-bold.otf].
+*
+* This font family consists of the following NFSS series/shapes:
+*
+* - 'normal' (m/n) with NFSS spec.:
+* <->"[lmmonolt10-regular.otf]/OT:script=latn;language=DFLT;"
+* - 'small caps' (m/sc) with NFSS spec.:
+* and font adjustment code:
+* \fontdimen 2\font =1\fontdimen 2\font \fontdimen 3\font =0\fontdimen 3\font
+* \fontdimen 4\font =0\fontdimen 4\font \fontdimen 7\font =0\fontdimen 2\font
+* - 'bold' (bx/n) with NFSS spec.:
+* <->"[lmmonolt10-bold.otf]/OT:script=latn;language=DFLT;"
+* - 'bold small caps' (bx/sc) with NFSS spec.:
+* and font adjustment code:
+* \fontdimen 2\font =1\fontdimen 2\font \fontdimen 3\font =0\fontdimen 3\font
+* \fontdimen 4\font =0\fontdimen 4\font \fontdimen 7\font =0\fontdimen 2\font
+*************************************************
+LaTeX Info: Redefining \ttfamily on input line 66.
+
+
+::::::::::::::::::::::::::::::
+::fontspec_select:nn {,} {lmmonoltcond10-regular.otf}
+::__fontspec_init:
+::__fontspec_if_detect_external:n{lmmonoltcond10-regular.otf}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {lmmonoltcond1
+0-regular.otf}
+::__fontspec_extract_all_features:n{,}
+fontid:lmmonoltcond10-regular-:-Numbers=OldStyle
+::__fontspec_preparse_features:
+::::Keys set: {fontspec-preparse-external} {Numbers=OldStyle}
+::::Leftover: {Numbers={OldStyle}}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle}}
+::::Leftover: {Numbers={OldStyle}}
+::::Keys set: {fontspec-preparse} {Numbers={OldStyle}}
+::::Leftover: {Numbers={OldStyle}}
+::__fontspec_load_font
+Set base font for preliminary analysis:"[lmmonoltcond10-regular.otf]/OT"
+::__fontspec_set_font_type:
+Set base font properly:"[lmmonoltcond10-regular.otf]/OT"
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},}
+::::Leftover: {Numbers={OldStyle}}
+::::Keys set: {fontspec} {Numbers={OldStyle}}
+::::Leftover: {Numbers={OldStyle}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle}"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+*************************************************
+* fontspec warning: "icu-feature-not-exist-in-font"
+*
+* OpenType feature 'Lowercase=' (onum) not available for font
+* 'lmmonoltcond10-regular' with script 'Latin' and language 'Default'.
+*************************************************
+save family: lmmonoltcond10-regular.otf
+==fontid_tl:"lmmonoltcond10-regular-:-Numbers=OldStyle".
+\g__fontspec_family_lmmonoltcond10-regular.otf_int=\count157
+::::Keys set: {fontspec-preparse-external} {}
+::::Leftover: {}
+::__fontspec_load_fontname:n{lmmonoltcond10-regular}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {lmmonoltcond1
+0-regular}
+= declare_shape: {lmmonoltcond10-regular} {m} {n}
+== size: -
+::__fontspec_load_fontname:n{lmmonoltcond10-regular}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {lmmonoltcond1
+0-regular}
+==== Setup NFSS shape: <-> lmmonoltcond10-regular
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},,,,}
+::::Leftover: {Numbers={OldStyle}}
+::::Keys set: {fontspec} {Numbers={OldStyle}}
+::::Leftover: {Numbers={OldStyle}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle}"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+*************************************************
+* fontspec warning: "icu-feature-not-exist-in-font"
+*
+* OpenType feature 'Lowercase=' (onum) not available for font
+* 'lmmonoltcond10-regular' with script 'Latin' and language 'Default'.
+*************************************************
+==== Gathered features:
+=== sized font: lmmonoltcond10-regular
+:: fontspec_check_ot_feat:n {smcp}
+==== Small caps not found.
+DeclareFontShape: {TU}{lmmonoltcond10-regular.otf(0)}{m}{n}...
+.................................................
+. fontspec info: "defining-font"
+.
+. Font family 'lmmonoltcond10-regular.otf(0)' created for font
+. 'lmmonoltcond10-regular.otf' with options [Numbers=OldStyle].
+.
+. This font family consists of the following NFSS series/shapes:
+.
+. - 'normal' (m/n) with NFSS spec.:
+. <->"[lmmonoltcond10-regular.otf]/OT:script=latn;language=DFLT;"
+. - 'small caps' (m/sc) with NFSS spec.:
+.................................................
+*************************************************
+* fontspec warning: "defining-font"
+*
+* Font family 'lmmonoltcond10-regular.otf(0)' created for font
+* 'lmmonoltcond10-regular.otf' with options [Numbers=OldStyle].
+*
+* This font family consists of the following NFSS series/shapes:
+*
+* - 'normal' (m/n) with NFSS spec.:
+* <->"[lmmonoltcond10-regular.otf]/OT:script=latn;language=DFLT;"
+* - 'small caps' (m/sc) with NFSS spec.:
+*************************************************
+(/usr/local/texlive/2016/texmf-dist/tex/latex/hyperref/hyperref.sty
+Package: hyperref 2012/11/06 v6.83m Hypertext links for LaTeX
+
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
+Package: hobsub-hyperref 2012/05/28 v1.13 Bundle oberdiek, subset hyperref (HO)
+
+
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty
+Package: hobsub-generic 2012/05/28 v1.13 Bundle oberdiek, subset generic (HO)
+Package: hobsub 2012/05/28 v1.13 Construct package bundles (HO)
+Package hobsub Info: Skipping package `infwarerr' (already loaded).
+Package hobsub Info: Skipping package `ltxcmds' (already loaded).
+Package hobsub Info: Skipping package `ifluatex' (already loaded).
+Package hobsub Info: Skipping package `ifvtex' (already loaded).
+Package: intcalc 2007/09/27 v1.1 Expandable calculations with integers (HO)
+Package hobsub Info: Skipping package `ifpdf' (already loaded).
+Package hobsub Info: Skipping package `etexcmds' (already loaded).
+Package hobsub Info: Skipping package `kvsetkeys' (already loaded).
+Package hobsub Info: Skipping package `kvdefinekeys' (already loaded).
+Package hobsub Info: Skipping package `pdftexcmds' (already loaded).
+Package: pdfescape 2011/11/25 v1.13 Implements pdfTeX's escape features (HO)
+Package: bigintcalc 2012/04/08 v1.3 Expandable calculations on big integers (HO
+)
+Package: bitset 2011/01/30 v1.1 Handle bit-vector datatype (HO)
+Package: uniquecounter 2011/01/30 v1.2 Provide unlimited unique counter (HO)
+)
+Package hobsub Info: Skipping package `hobsub' (already loaded).
+Package: letltxmacro 2010/09/02 v1.4 Let assignment for LaTeX macros (HO)
+Package: hopatch 2012/05/28 v1.2 Wrapper for package hooks (HO)
+Package: xcolor-patch 2011/01/30 xcolor patch
+Package: atveryend 2011/06/30 v1.8 Hooks at the very end of document (HO)
+Package atveryend Info: \enddocument detected (standard20110627).
+Package atveryend Info: \docmute at enddocument detected (standard20110627).
+Package: atbegshi 2011/10/05 v1.16 At begin shipout hook (HO)
+Package: refcount 2011/10/16 v3.4 Data extraction from label references (HO)
+Package: hycolor 2011/01/30 v1.7 Color options for hyperref/bookmark (HO)
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/auxhook.sty
+Package: auxhook 2011/03/04 v1.3 Hooks for auxiliary files (HO)
+
+
+Package auxhook Warning: Cannot patch \document,
+(auxhook) using \AtBeginDocument instead.
+
+)
+\@linkdim=\dimen181
+\Hy at linkcounter=\count158
+\Hy at pagecounter=\count159
+ (/usr/local/texlive/2016/texmf-dist/tex/latex/hyperref/pd1enc.def
+File: pd1enc.def 2012/11/06 v6.83m Hyperref: PDFDocEncoding definition (HO)
+)
+\Hy at SavedSpaceFactor=\count160
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/latexconfig/hyperref.cfg
+File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
+)
+Package hyperref Info: Option `bookmarks' set `true' on input line 4328.
+Package hyperref Info: Option `colorlinks' set `true' on input line 4328.
+
+
+Package hyperref Warning: XeTeX driver only supports unicode.
+(hyperref) Enabling option `unicode'.
+
+Package hyperref Info: Option `unicode' set `true' on input line 4328.
+(/usr/local/texlive/2016/texmf-dist/tex/latex/hyperref/puenc.def
+File: puenc.def 2012/11/06 v6.83m Hyperref: PDF Unicode definition (HO)
+)
+Package hyperref Info: Hyper figures OFF on input line 4452.
+Package hyperref Info: Link nesting OFF on input line 4457.
+Package hyperref Info: Hyper index ON on input line 4460.
+Package hyperref Info: Plain pages OFF on input line 4467.
+Package hyperref Info: Backreferencing OFF on input line 4472.
+Package hyperref Info: Implicit mode ON; LaTeX internals redefined.
+Package hyperref Info: Bookmarks ON on input line 4697.
+\c at Hy@tempcnt=\count161
+LaTeX Info: Redefining \url on input line 5051.
+\XeTeXLinkMargin=\dimen182
+\Fld at menulength=\count162
+\Field at Width=\dimen183
+\Fld at charsize=\dimen184
+Package hyperref Info: Hyper figures OFF on input line 6305.
+Package hyperref Info: Link nesting OFF on input line 6310.
+Package hyperref Info: Hyper index ON on input line 6313.
+Package hyperref Info: backreferencing OFF on input line 6320.
+Package hyperref Info: Link coloring ON on input line 6323.
+Package hyperref Info: Link coloring with OCG OFF on input line 6330.
+Package hyperref Info: PDF/A mode OFF on input line 6335.
+LaTeX Info: Redefining \ref on input line 6375.
+LaTeX Info: Redefining \pageref on input line 6379.
+\Hy at abspage=\count163
+\c at Item=\count164
+\c at Hfootnote=\count165
+)
+
+Package hyperref Message: Driver (autodetected): hxetex.
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/hyperref/hxetex.def
+File: hxetex.def 2012/11/06 v6.83m Hyperref driver for XeTeX
+
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/stringenc.sty
+Package: stringenc 2011/12/02 v1.10 Convert strings between diff. encodings (HO
+)
+)
+\pdfm at box=\box71
+\c at Hy@AnnotLevel=\count166
+\HyField at AnnotCount=\count167
+\Fld at listcount=\count168
+\c at bookmark@seq at number=\count169
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
+Package: rerunfilecheck 2011/04/15 v1.7 Rerun checks for auxiliary files (HO)
+Package rerunfilecheck Info: Feature \pdfmdfivesum is not available
+(rerunfilecheck) (e.g. pdfTeX or LuaTeX with package `pdftexcmds').
+
+(rerunfilecheck) Therefore file contents cannot be checked efficien
+tly
+(rerunfilecheck) and the loading of the package is aborted.
+)
+\Hy at SectionHShift=\skip89
+)
+\X=\box72
+\Y=\box73
+\c at example=\count170
+\c at argument=\count171
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \otf with sig. 'somm' on line 248.
+.................................................
+)
+(./fontspec-doc-enc.aux)
+\openout1 = `fontspec-doc-enc.aux'.
+
+LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 4.
+LaTeX Font Info: ... okay on input line 4.
+LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 4.
+LaTeX Font Info: ... okay on input line 4.
+LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 4.
+LaTeX Font Info: ... okay on input line 4.
+LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 4.
+LaTeX Font Info: ... okay on input line 4.
+LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 4.
+LaTeX Font Info: ... okay on input line 4.
+LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 4.
+LaTeX Font Info: ... okay on input line 4.
+LaTeX Font Info: Checking defaults for TU/lmr/m/n on input line 4.
+LaTeX Font Info: ... okay on input line 4.
+LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 4.
+LaTeX Font Info: ... okay on input line 4.
+LaTeX Font Info: Checking defaults for PU/pdf/m/n on input line 4.
+LaTeX Font Info: ... okay on input line 4.
+Package doc Info: Made | a short reference for \verb on input line 4.
+.................................................
+. fontspec info: "setup-math"
+.
+. Adjusting the maths setup (use [no-math] to avoid this).
+.................................................
+\symlegacymaths=\mathgroup4
+LaTeX Font Info: Overwriting symbol font `legacymaths' in version `bold'
+(Font) OT1/cmr/m/n --> OT1/cmr/bx/n on input line 4.
+LaTeX Font Info: Redeclaring math accent \acute on input line 4.
+LaTeX Font Info: Redeclaring math accent \grave on input line 4.
+LaTeX Font Info: Redeclaring math accent \ddot on input line 4.
+LaTeX Font Info: Redeclaring math accent \tilde on input line 4.
+LaTeX Font Info: Redeclaring math accent \bar on input line 4.
+LaTeX Font Info: Redeclaring math accent \breve on input line 4.
+LaTeX Font Info: Redeclaring math accent \check on input line 4.
+LaTeX Font Info: Redeclaring math accent \hat on input line 4.
+LaTeX Font Info: Redeclaring math accent \dot on input line 4.
+LaTeX Font Info: Redeclaring math accent \mathring on input line 4.
+LaTeX Font Info: Redeclaring math symbol \colon on input line 4.
+LaTeX Font Info: Redeclaring math symbol \Gamma on input line 4.
+LaTeX Font Info: Redeclaring math symbol \Delta on input line 4.
+LaTeX Font Info: Redeclaring math symbol \Theta on input line 4.
+LaTeX Font Info: Redeclaring math symbol \Lambda on input line 4.
+LaTeX Font Info: Redeclaring math symbol \Xi on input line 4.
+LaTeX Font Info: Redeclaring math symbol \Pi on input line 4.
+LaTeX Font Info: Redeclaring math symbol \Sigma on input line 4.
+LaTeX Font Info: Redeclaring math symbol \Upsilon on input line 4.
+LaTeX Font Info: Redeclaring math symbol \Phi on input line 4.
+LaTeX Font Info: Redeclaring math symbol \Psi on input line 4.
+LaTeX Font Info: Redeclaring math symbol \Omega on input line 4.
+LaTeX Font Info: Redeclaring math symbol \mathdollar on input line 4.
+LaTeX Font Info: Redeclaring symbol font `operators' on input line 4.
+LaTeX Font Info: Encoding `OT1' has changed to `TU' for symbol font
+(Font) `operators' in the math version `normal' on input line 4.
+LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
+(Font) OT1/cmr/m/n --> TU/aldus-nova(0)/m/n on input line 4.
+LaTeX Font Info: Encoding `OT1' has changed to `TU' for symbol font
+(Font) `operators' in the math version `bold' on input line 4.
+LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
+(Font) OT1/cmr/bx/n --> TU/aldus-nova(0)/m/n on input line 4.
+LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
+(Font) TU/aldus-nova(0)/m/n --> TU/aldus-nova(0)/m/n on input
+line 4.
+LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
+(Font) OT1/cmr/m/it --> TU/aldus-nova(0)/m/it on input line 4.
+
+LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal'
+(Font) OT1/cmr/bx/n --> TU/aldus-nova(0)/bx/n on input line 4.
+
+LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal'
+(Font) OT1/cmss/m/n --> TU/palatino-sans-light(0)/m/n on input
+ line 4.
+LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal'
+(Font) OT1/cmtt/m/n --> TU/lmmonolt10-regular.otf(0)/m/n on in
+put line 4.
+LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
+(Font) TU/aldus-nova(0)/m/n --> TU/aldus-nova(0)/bx/n on input
+ line 4.
+LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
+(Font) OT1/cmr/bx/it --> TU/aldus-nova(0)/bx/it on input line
+4.
+LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
+(Font) OT1/cmss/bx/n --> TU/palatino-sans-light(0)/bx/n on inp
+ut line 4.
+LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
+(Font) OT1/cmtt/m/n --> TU/lmmonolt10-regular.otf(0)/bx/n on i
+nput line 4.
+Package caption Info: Begin \AtBeginDocument code.
+Package caption Info: hyperref package is loaded.
+Package caption Info: End \AtBeginDocument code.
+LaTeX Info: Redefining \microtypecontext on input line 4.
+Package microtype Info: Character protrusion enabled (level 2).
+Package microtype Info: Using default protrusion set `alltext'.
+Package microtype Info: No adjustment of tracking.
+Package microtype Info: No adjustment of spacing.
+Package microtype Info: No adjustment of kerning.
+Package microtype Info: Loading generic settings for font family
+(microtype) `aldus-nova' (encoding: TU).
+(microtype) For optimal results, create family-specific settings.
+(microtype) See the microtype manual for details.
+\AtBeginShipoutBox=\box74
+Package hyperref Info: Link coloring ON on input line 4.
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/hyperref/nameref.sty
+Package: nameref 2012/10/27 v2.43 Cross-referencing by name of section
+
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/gettitlestring.sty
+Package: gettitlestring 2010/12/03 v1.4 Cleanup title references (HO)
+)
+\c at section@level=\count172
+LaTeX Info: Redefining \Ref on input line 513.
+)
+LaTeX Info: Redefining \ref on input line 4.
+LaTeX Info: Redefining \pageref on input line 4.
+LaTeX Info: Redefining \nameref on input line 4.
+
+(./fontspec-doc-enc.out) (./fontspec-doc-enc.out)
+\@outlinefile=\write4
+\openout4 = `fontspec-doc-enc.out'.
+
+LaTeX Info: Redefining \Ref on input line 4.
+\docmute at nestinglevel=\count173
+LaTeX Font Info: External font `cmex10' loaded for size
+(Font) <7> on input line 8.
+LaTeX Font Info: External font `cmex10' loaded for size
+(Font) <5> on input line 8.
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/microtype/mt-cmr.cfg
+File: mt-cmr.cfg 2013/05/19 v2.2 microtype config. file: Computer Modern Roman
+(RS)
+)
+Package microtype Info: Loading generic settings for font family
+(microtype) `palatino-sans-light' (encoding: TU).
+(microtype) For optimal results, create family-specific settings.
+(microtype) See the microtype manual for details.
+Package microtype Info: Loading generic settings for font family
+(microtype) `lmmonolt10-regular.otf' (encoding: TU).
+(microtype) For optimal results, create family-specific settings.
+(microtype) See the microtype manual for details.
+ [1
+
+]
+[2]
+Overfull \hbox (25.95908pt too wide) in paragraph at lines 166--166
+[]\TU/lmmonolt10-regular.otf(0)/m/n/10 \DeclareTextCommand{$\OMS/cmsy/m/n/10 h$
+[]\TU/aldus-nova(0)/m/it/10 command$\OMS/cmsy/m/n/10 i$[]\TU/lmmonolt10-regular
+.otf(0)/m/n/10 }{$\OMS/cmsy/m/n/10 h$[]\TU/aldus-nova(0)/m/it/10 encoding$\OMS/
+cmsy/m/n/10 i$[]\TU/lmmonolt10-regular.otf(0)/m/n/10 }[$\OMS/cmsy/m/n/10 h$[]\T
+U/aldus-nova(0)/m/it/10 num$\OMS/cmsy/m/n/10 i$[]\TU/lmmonolt10-regular.otf(0)/
+m/n/10 ][$\OMS/cmsy/m/n/10 h$[]\TU/aldus-nova(0)/m/it/10 default$\OMS/cmsy/m/n/
+10 i$[]\TU/lmmonolt10-regular.otf(0)/m/n/10 ]{$\OMS/cmsy/m/n/10 h$[]\TU/aldus-n
+ova(0)/m/it/10 code$\OMS/cmsy/m/n/10 i$[]\TU/lmmonolt10-regular.otf(0)/m/n/10 }
+
+ []
+
+
+Overfull \hbox (27.98126pt too wide) in paragraph at lines 170--170
+[]\TU/lmmonolt10-regular.otf(0)/m/n/10 \DeclareTextCompositeCommand{$\OMS/cmsy/
+m/n/10 h$[]\TU/aldus-nova(0)/m/it/10 command$\OMS/cmsy/m/n/10 i$[]\TU/lmmonolt1
+0-regular.otf(0)/m/n/10 }{$\OMS/cmsy/m/n/10 h$[]\TU/aldus-nova(0)/m/it/10 encod
+ing$\OMS/cmsy/m/n/10 i$[]\TU/lmmonolt10-regular.otf(0)/m/n/10 }{$\OMS/cmsy/m/n/
+10 h$[]\TU/aldus-nova(0)/m/it/10 letter$\OMS/cmsy/m/n/10 i$[]\TU/lmmonolt10-reg
+ular.otf(0)/m/n/10 }{$\OMS/cmsy/m/n/10 h$[]\TU/aldus-nova(0)/m/it/10 code$\OMS/
+cmsy/m/n/10 i$[]\TU/lmmonolt10-regular.otf(0)/m/n/10 }
+ []
+
+[3]
+Package atveryend Info: Empty hook `BeforeClearDocument' on input line 189.
+ [4]
+Package atveryend Info: Empty hook `AfterLastShipout' on input line 189.
+ (./fontspec-doc-enc.aux)
+Package atveryend Info: Empty hook `AtVeryEndDocument' on input line 189.
+Package atveryend Info: Empty hook `AtEndAfterFileList' on input line 189.
+Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 189.
+ )
+Here is how much of TeX's memory you used:
+ 22127 strings out of 493624
+ 435094 string characters out of 6144511
+ 498131 words of memory out of 5000000
+ 25338 multiletter control sequences out of 15000+600000
+ 4184 words of font info for 38 fonts, out of 8000000 for 9000
+ 1328 hyphenation exceptions out of 8191
+ 57i,5n,94p,10357b,452s stack positions out of 5000i,500n,10000p,200000b,80000s
+
+Output written on fontspec-doc-enc.pdf (4 pages).
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.out
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.out (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.out 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,4 @@
+\BOOKMARK [0][-]{part.1}{\376\377\000I\000\040\000C\000o\000m\000m\000a\000n\000d\000s\000\040\000f\000o\000r\000\040\000a\000c\000c\000e\000n\000t\000s\000\040\000a\000n\000d\000\040\000s\000y\000m\000b\000o\000l\000s\000\040\000\050\000`\000e\000n\000c\000o\000d\000i\000n\000g\000s\000'\000\051}{}% 1
+\BOOKMARK [1][-]{section.1}{\376\377\000A\000\040\000n\000e\000w\000\040\000U\000n\000i\000c\000o\000d\000e\000-\000b\000a\000s\000e\000d\000\040\000e\000n\000c\000o\000d\000i\000n\000g\000\040\000f\000r\000o\000m\000\040\000s\000c\000r\000a\000t\000c\000h}{part.1}% 2
+\BOOKMARK [1][-]{section.2}{\376\377\000A\000d\000j\000u\000s\000t\000i\000n\000g\000\040\000a\000\040\000p\000r\000e\000-\000e\000x\000i\000s\000t\000i\000n\000g\000\040\000e\000n\000c\000o\000d\000i\000n\000g}{part.1}% 3
+\BOOKMARK [1][-]{section.3}{\376\377\000S\000u\000m\000m\000a\000r\000y\000\040\000o\000f\000\040\000c\000o\000m\000m\000a\000n\000d\000s}{part.1}% 4
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.pdf
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.pdf (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.pdf 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,506 @@
+%PDF-1.5
+%\xE4\xF0\xED\xF8
+13 0 obj
+<</Filter/FlateDecode/Length 3220>>
+stream
+x\xDA\xD5[;\x8F#\xB9\xCE\xFD+Gv\xA0>\xBE\xC0@\x81_\xE0\xCC\xC0f\x86\xA9g\x949\xB8\xFF\x9F\x98d=X\xA4ؒ\xDF\xC2X
f\xBA\x9B,V\xEB\xF1U\x91{\xFA\xED\xA4O\xAA\xFCӧhN1\xE4-\xE5\xD3\xFE\x9F\xD3\xDF~\x9C~\xF9U\x9F\xB4۬
\xE6\xF4\xE3^>o\xD1\xC4\xD39\xD8-}\xFA\xF1\xF9\xAF\xA5\xAC\xBD\xF8\~;\xA7\x94\xF7\xAD\xCA\xDF>^\xCE\xC6շf\xBF\xFC\xFB\xC7?!\xA3\xB6\x8C\xAF\x84\xD4\xE9l¦\xBDA&\x949\xA6\xFC(\xF8i\xB4t\xF9
\xCB\xEFPh\xF9J\xD5e
\xE5\xF9M\x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\xCC1\xE0퉉r\xE4?Q\xE9
+endstream
+endobj
+71 0 obj
+<</Filter/FlateDecode/Length 19>>
+stream
+x\xDAk`\x80 \xEE\x97\xCFp X\xB5
+endstream
+endobj
+15 0 obj
+<</Type/ObjStm/N 48/First 361/Filter/FlateDecode/Length 2371>>
+stream
+xڵYYS\xDCH~\x9F_Qo\xE1hT\xF7\xB1\xE1 \x82c\xF1\xB0666x\xB0W\xA1\x87\x9En\xBDӴ\x88n\xE1\xFE\xFD~Y\x92Z\xEA\xD3\xF4z
+\x92\xAA\xF2\xAA\xCC/\xB3*e\xA1gR0\xC1\x93O\x92I\xC7
\x95dZZ&\xD3\xCE0ř\xE1\x96)\xC1\x8C\xF2Lzf
gJ1
>e\x99\x81)Ǽ\x9F\x870\x8DWÄ\xF0`\xD1Lh
*\xDCB`\xC22a,\xB4H<J\xC3\xF0OX\xEF\x9930\x82 \x81x0Щa\x9C\x85\xADp\xD70\x8C\xD6\xA6\xC1\xE8,49r
+=
\xEF\x86솑\xB8i\xAC\xCAH\xC7a:\xE4{\xD8 Ba3\xB8+2
\x84&p\xE6\xC1o
\xD6´\x87dk\x99
v\x81\xF3\xCCjp`\x8E9(\x85\x9E\x80A\xE8\xB3+\x87\xE6\x9EA\x80ю\x81\xDEzX
+m
\xA3p\x8C
+ z\xFD:9+&%\xDD`\x9C\xFE)9\x93\xE0\x89
+\\xF1A_|2\xB4V<
&\x97\xD3bp\x95\x97iryz\x96\\xE7\x97\xC9\xF9C\xFF.?\xA9n\xC7\xD5\xED<;<\xFC\xA5\xA3d\x9B\xEC\xB9\x96
\x9F
\xFA\xEAZ\xE1s\xC5s-\xCDR~\x8E\xBEU\x99\xAB\x8B\xDFU\xCB\xFB\xFEC>K\xF7\xF8>\x80\xF6=\xB1/\xA3\x9C=\xB9P҃\xDAWQ?1\xA4**\xFB\xF2\xF5߀\xB8>p\xC0\xAA@\xEB\xE4i<\xCE~I\xF9\xA5y%\xE5\x815ͼ\x94+\xFC2
\xBB\xF5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x88]D\xB8u[\xC3B?\xF6\xD23z\xAF E\xEF\xB7\xE4\x9F\xB4oO\xD2\xAB\xDC8\xECÎ\x82\xBEU\xE9\xEA\x8BS\xA7\xD9s;\x98\xB2\xE9\xB0\xABv\xC5
+\xBF\x83[w\xA2\x97\xA8\xF7+\xEA\xC3\xEA7\x80]\xBD \xF8\xB2
\x86\xEF`\xC7v\xEC\xEDl̊SL\xD2\xFF\x99\x97\xE3\xF3
+endstream
+endobj
+72 0 obj
+<</Type/XRef/Root 1 0 R/Info 2 0 R/ID[<01bad9e0e5b9805d15c16672228c6099><01bad9e0e5b9805d15c16672228c6099>]/Size
+73/W[1 2 2]/Filter/FlateDecode/Length 201>>
+stream
+x\xDA%з
+\x821\x85Q_r\xCE9ǟ\x9C&@\xD11
+,\x81\xC4H\x94,\x80h\xA1\xA5d\xA8
++\xC0\xBBz\xCD\xD1\xE7 ۲1\xE6\x{1F3670}I\x92 \x93"\xE9\x91
+\xE9\x93:\x8B
I\x82a\xDCZ\x92#
2B\xE0\xA3
Q$\x8F:\xB4\x91Jg
ډ\x878\x89\x8B\xB8\x89\x83xI\x88\x89\x8F\xF8I\x80\xC4I
+\xF5\xA2<\xA39\xD5\xF3ҰvZY\x92G\xFB$\xABݕз\x84\xC1C/uK \x93\x97V\xB3\xB7V\xF3\xB9V\xEB\xA7V\x83\x91;p\xA8\xE8\
\x87\xADV\x97\x82V\x97\xBDVׯl\xBE\xCB\xFC`b
\x84
+endstream
+endobj
+startxref
+46313
+%%EOF
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.synctex.gz
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.synctex.gz
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.synctex.gz 2017-01-22 22:33:54 UTC (rev 43015)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.synctex.gz 2017-01-22 22:34:22 UTC (rev 43016)
Property changes on: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.synctex.gz
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.tex
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.tex (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-enc.tex 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,198 @@
+\documentclass[a4paper]{ltxdoc}
+\usepackage{fontspec-doc-style}
+
+\begin{document}
+
+\part{Commands for accents and symbols (`encodings')}
+\label{part:enc}
+
+\textbf{The functionality described in this section is experimental.}
+
+In the pre-Unicode era, significant work was required by \LaTeX\ to ensure that
+input characters in the source could be interpreted correctly depending on file encoding,
+and that glyphs in the output were selected correctly depending on the font encoding.
+With Unicode, we have the luxury of a single file and font encoding that is used for both input
+and output.
+
+While this may provide some illusion that we could get away simply with typing
+Unicode text and receive correct output, this is not always the case.
+For a start, hyphenation in particular is language-specific, so tags should be used
+when switch between languages in a document.
+The \pkg{babel} and \pkg{polyglossia} packages both provide features for this.
+
+Multilingual documents will often use different fonts for different languages,
+not just for style, but for the more pragmatic reason that fonts do not all contain
+the same glyphs. (In fact, only test fonts such as Code2000 provide
+anywhere near the full Unicode coverage.)
+Indeed, certain fonts may be perfect for a certain application but miss a handful
+of necessary diacritics or accented letters.
+In these cases, \pkg{fontspec} can leverage the font encoding technology built
+into \LaTeX2\ to provide on a per-font basis either provide fallback options or
+error messages when a desired accent or symbol is not available.
+However, at present
+these features can only be provided for input using \LaTeX\ commands rather
+than Unicode input; for example, typing |\`e| instead of |è| or |\textcopyright|
+instead of |©| in the source file.
+
+The most widely-used encoding in \LaTeXe\ was |T1| with companion `|TS1|' symbols
+provided by the \pkg{textcomp} package.
+These encodings provided glyphs to typeset text in a variety of western European languages.
+As with most legacy \LaTeXe\ input methods, accents and symbols were input using
+encoding-dependent commands such as |\`e| as described above.
+As of 2017, in \LaTeXe\ on \XeTeX\ and \LuaTeX, the default encoding is |TU|,
+which uses Unicode for input and output.
+The |TU| encoding provides appropriate encoding-dependent definitions for input commands
+to match the coverage of the |T1+TS1| encodings.
+Wider coverage is not provided by default since (a)~each font will provide different glyph coverage, and
+(b)~it is expected that most users will be writing with direct Unicode input.
+
+For those users who do need finer-grained control, \pkg{fontspec} provides an
+interface for a more extensible system.
+
+
+\section{A new Unicode-based encoding from scratch}
+
+Let's say you need to provide support for a document originally written with fonts
+in the |OT2| encoding, which contains encoding-dependent commands for Cyrillic letters.
+An example from the |OT2| encoding definition file (|ot2enc.def|) reads:
+\begin{Verbatim}[numbers=left,firstnumber=57]
+\DeclareTextSymbol{\CYRIE}{OT2}{5}
+\DeclareTextSymbol{\CYRDJE}{OT2}{6}
+\DeclareTextSymbol{\CYRTSHE}{OT2}{7}
+\DeclareTextSymbol{\cyrnje}{OT2}{8}
+\DeclareTextSymbol{\cyrlje}{OT2}{9}
+\DeclareTextSymbol{\cyrdzhe}{OT2}{10}
+\end{Verbatim}
+
+To recreate this encoding in a form suitable for \pkg{fontspec}, create a new file
+named, say, |fontrange-cyr.def| and populate it with
+\begin{Verbatim}
+...
+\DeclareTextSymbol{\CYRIE} {\LastDeclaredEncoding}{"0404}
+\DeclareTextSymbol{\CYRDJE} {\LastDeclaredEncoding}{"0402}
+\DeclareTextSymbol{\CYRTSHE}{\LastDeclaredEncoding}{"040B}
+\DeclareTextSymbol{\cyrnje} {\LastDeclaredEncoding}{"045A}
+\DeclareTextSymbol{\cyrlje} {\LastDeclaredEncoding}{"0459}
+\DeclareTextSymbol{\cyrdzhe}{\LastDeclaredEncoding}{"045F}
+...
+\end{Verbatim}
+The numbers |"0404|, |"0402|, \dots, are the Unicode slots (in hexadecimal)
+of each glyph respectively.
+The \pkg{fontspec} package provides a number of shorthands to simplify this style of input; in this case,
+you could also write
+\begin{Verbatim}
+\EncodingSymbol{\CYRIE}{"0404}
+...
+\end{Verbatim}
+
+To use this encoding in a \pkg{fontspec} font, you would first add this to your preamble:
+\begin{Verbatim}
+\DeclareUnicodeEncoding{unicyr}{
+ \input{fontrange-cyr.def}
+}
+\end{Verbatim}
+Then follow it up with a font loading call such as
+\begin{Verbatim}
+\setmainfont{...}[NFSSEncoding=unicyr]
+\end{Verbatim}
+The first argument |unicyr| is the name of the `encoding' to use in the
+font family. (There's nothing special about the name chosen but it must be unique.)
+The second argument to |\DeclareUnicodeEncoding| also allows adjustments to be made
+for per-font changes.
+We'll cover this use case in the next section.
+
+
+\section{Adjusting a pre-existing encoding}
+
+There are three reasons to adjust a pre-existing encoding:
+to add, to remove, and to redefine some symbols, letters, and/or accents.
+
+When adding symbols, etc., simply write
+\begin{Verbatim}
+\DeclareUnicodeEncoding{unicyr}{
+ \input{tuenc.def}
+ \input{fontrange-cyr.def}
+ \EncodingSymbol{\textruble}{"20BD}
+}
+\end{Verbatim}
+Of course if you consistently add a number of symbols to an encoding it would be
+a good idea to create a new |fontrange-XX.def| file to suit your needs.
+
+When removing symbols, use the |\UndeclareSymbol|\marg{cmd} command.
+For example, if you a loading a font that you know is missing, say, the interrobang
+(not that unusual a situation), you might write:
+\begin{Verbatim}
+\DeclareUnicodeEncoding{nobang}{
+ \input{tuenc.def}
+ \UndeclareSymbol\textinterrobang
+}
+\end{Verbatim}
+Provided that you use the command |\textinterrobang| to typeset this symbol,
+it will appear in fonts with the default encoding, while in any font loaded with
+the |nobang| encoding an attempt to access the symbol will either use the default
+fallback definition or return an error, depending on the symbol being undeclared.
+
+
+The third use case is to redefine a symbol or accent. The most common use case
+in this scenario is to adjust a specific accent command to either fine-tune its placement
+or to `fake' it entirely.
+For example, the underdot diacritic is used in typeset Sanskrit,
+but it is not necessarily included as an accent symbol is all fonts.
+By default the underdot is defined in |TU| as:
+\begin{Verbatim}
+\EncodingAccent{\d}{"0323}
+\end{Verbatim}
+For fonts with a missing (or poorly-spaced) |"0323| accent glyph, the `traditional' \TeX\ fake accent
+construction could be used instead:
+\begin{Verbatim}
+\DeclareUnicodeEncoding{fakeacc}{
+ \input{tuenc.def}
+ \EncodingCommand{\d}[1]{%
+ \hmode at bgroup
+ \o at lign{\relax#1\crcr\hidewidth\ltx at sh@ft{-1ex}.\hidewidth}%
+ \egroup
+ }
+}
+\end{Verbatim}
+This would be set up in a document as such:
+\begin{Verbatim}
+\newfontfamily\sanskitfont{CharisSIL}
+\newfontfamily\titlefont{Posterama}[NFSSEncoding=fakeacc]
+\end{Verbatim}
+Then later in the document, no additional work is needed:
+\begin{Verbatim}
+...{\titlefont kalita\d m}... % <- uses fake accent
+...{\sanskitfont kalita\d m}... % <- uses real accent
+\end{Verbatim}
+To reiterate from above, typing this input with Unicode text (`|kalitaṃ|')
+will \emph{bypass} this encoding mechanism and you will receive only what is contained
+literally within the font.
+
+
+\section{Summary of commands}
+
+The \LaTeXe\ kernel provides the following font encoding commands suitable for Unicode encodings:
+\begin{quote}\obeylines
+ \cs{DeclareTextCommand}\marg{command}\marg{encoding}\oarg{num}\oarg{default}\marg{code}
+ \cs{DeclareUnicodeAccent}\marg{command}\marg{encoding}\marg{slot}
+ \cs{DeclareTextSymbol}\marg{command}\marg{encoding}\marg{slot}
+ \cs{DeclareTextComposite}\marg{command}\marg{encoding}\marg{letter}\marg{slot}
+ \cs{DeclareTextCompositeCommand}\marg{command}\marg{encoding}\marg{letter}\marg{code}
+ \cs{UndeclareTextCommand}\marg{command}\marg{encoding}
+\end{quote}
+See |fntguide.pdf| for full documentation of these.
+As shown above, the following shorthands a provided by \pkg{fontspec} to simplify
+the process of defining Unicode font range encodings:
+\begin{quote}\obeylines
+ \cs{EncodingCommand}\marg{command}\oarg{num}\oarg{default}\marg{code}
+ \cs{EncodingAccent}\marg{command}\marg{code}
+ \cs{EncodingSymbol}\marg{command}\marg{code}
+ \cs{EncodingComposite}\marg{command}\marg{letter}\marg{slot}
+ \cs{EncodingCompositeCommand}\marg{command}\marg{letter}\marg{code}
+ \cs{UndeclareSymbol}\marg{command}
+ \cs{UndeclareComposite}\marg{command}\marg{letter}
+\end{quote}
+Despite its name, |\UndeclareSymbol| can be used for commands defined by all three of |\EncodingCommand|,
+|\EncodingAccent|, and |\EncodingSymbol|.
+
+\end{document}
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-featsel.aux
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-featsel.aux (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-featsel.aux 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,33 @@
+\relax
+\providecommand\hyper at newdestlabel[2]{}
+\@setckpt{fontspec-doc-featsel}{
+\setcounter{page}{19}
+\setcounter{equation}{0}
+\setcounter{enumi}{3}
+\setcounter{enumii}{0}
+\setcounter{enumiii}{0}
+\setcounter{enumiv}{0}
+\setcounter{footnote}{4}
+\setcounter{mpfootnote}{0}
+\setcounter{part}{2}
+\setcounter{section}{7}
+\setcounter{subsection}{0}
+\setcounter{subsubsection}{0}
+\setcounter{paragraph}{0}
+\setcounter{subparagraph}{0}
+\setcounter{figure}{0}
+\setcounter{table}{0}
+\setcounter{StandardModuleDepth}{1}
+\setcounter{ContinuedFloat}{0}
+\setcounter{FancyVerbLine}{2}
+\setcounter{vrcnt}{12}
+\setcounter{lofdepth}{1}
+\setcounter{lotdepth}{1}
+\setcounter{Item}{5}
+\setcounter{Hfootnote}{4}
+\setcounter{Hy at AnnotLevel}{0}
+\setcounter{bookmark at seq@number}{26}
+\setcounter{example}{4}
+\setcounter{argument}{0}
+\setcounter{section at level}{4}
+}
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-featset.aux
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-featset.aux (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-featset.aux 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,87 @@
+\relax
+\providecommand\hyper at newdestlabel[2]{}
+\@writefile{toc}{\contentsline {part}{III\hspace {1em}Selecting font features}{20}{part.3}}
+\newlabel{sec:selectingfeature}{{III}{20}{Selecting font features}{part.3}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {8}Default settings}{20}{section.8}}
+\newlabel{sec:defaults}{{Section\nobreakspace {}8}{20}{Default settings}{section.8}{}}
+\newlabel{ex:dff}{{5}{20}{Default settings}{example.5}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {9}Default settings from a file}{21}{section.9}}
+\@writefile{toc}{\contentsline {section}{\numberline {10}Working with the currently selected features}{22}{section.10}}
+\newlabel{sec:addfontfeatures}{{Section\nobreakspace {}10}{22}{Working with the currently selected features}{section.10}{}}
+\newlabel{ex:aff}{{6}{22}{Working with the currently selected features}{example.6}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {10.1}Priority of feature selection}{22}{subsection.10.1}}
+\@writefile{toc}{\contentsline {section}{\numberline {11}Different features for different font shapes}{23}{section.11}}
+\newlabel{sec:bfit-feat}{{Section\nobreakspace {}11}{23}{Different features for different font shapes}{section.11}{}}
+\newlabel{ex:itfeat}{{7}{23}{Different features for different font shapes}{example.7}{}}
+\newlabel{ex:scfeat}{{8}{23}{Different features for different font shapes}{example.8}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {12}Selecting fonts from TrueType Collections (TTC files)}{24}{section.12}}
+\@writefile{toc}{\contentsline {section}{\numberline {13}Different features for different font sizes}{25}{section.13}}
+\newlabel{sec:sizefeature}{{Section\nobreakspace {}13}{25}{Different features for different font sizes}{section.13}{}}
+\newlabel{13 at xvr}{{}{25}{Different features for different font sizes}{section.13}{}}
+\newlabel{13 at vr}{{}{25}{Different features for different font sizes}{section.13}{}}
+\newlabel{ex:sizefeat}{{9}{25}{Different features for different font sizes}{example.9}{}}
+\newlabel{14 at xvr}{{}{25}{Different features for different font sizes}{figure.caption.12}{}}
+\newlabel{14 at vr}{{}{25}{Different features for different font sizes}{figure.caption.12}{}}
+\@writefile{toc}{\contentsline {paragraph}{Interaction with other features}{25}{section*.14}}
+\@writefile{lot}{\contentsline {table}{\numberline {1}{\ignorespaces Syntax for specifying the size to apply custom font features.\relax }}{26}{table.caption.13}}
+\providecommand*\caption at xref[2]{\@setref\relax\@undefined{#1}}
+\newlabel{tab:sizing}{{Table\nobreakspace {}1}{26}{Syntax for specifying the size to apply custom font features.\relax }{table.caption.13}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {14}Font independent options}{26}{section.14}}
+\newlabel{sec:font-ind-features}{{Section\nobreakspace {}14}{26}{Font independent options}{section.14}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {14.1}Colour}{26}{subsection.14.1}}
+\newlabel{ex:color}{{10}{26}{Colour}{example.10}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {14.2}Scale}{27}{subsection.14.2}}
+\newlabel{ex:scale}{{11}{27}{Scale}{example.11}{}}
+\newlabel{15 at xvr}{{}{28}{Scale}{figure.caption.16}{}}
+\newlabel{15 at vr}{{}{28}{Scale}{figure.caption.16}{}}
+\newlabel{16 at xvr}{{}{28}{Scale}{figure.caption.16}{}}
+\newlabel{16 at vr}{{}{28}{Scale}{figure.caption.16}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {14.3}Interword space}{28}{subsection.14.3}}
+\newlabel{ex:wordspace}{{12}{28}{Interword space}{example.12}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {14.4}Post-punctuation space}{28}{subsection.14.4}}
+\newlabel{ex:punctspace}{{13}{28}{Post-punctuation space}{example.13}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {14.5}The hyphenation character}{28}{subsection.14.5}}
+\newlabel{ex:hyphchar}{{14}{28}{The hyphenation character}{example.14}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {14.6}Optical font sizes}{30}{subsection.14.6}}
+\newlabel{sec:opticalsize}{{Section\nobreakspace {}14.6}{30}{Optical font sizes}{subsection.14.6}{}}
+\newlabel{ex:optsize}{{15}{30}{Optical font sizes}{example.15}{}}
+\newlabel{ex:optsize0}{{16}{30}{Optical font sizes}{example.16}{}}
+\newlabel{17 at xvr}{{}{30}{Optical font sizes}{figure.caption.21}{}}
+\newlabel{17 at vr}{{}{30}{Optical font sizes}{figure.caption.21}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {14.7}Font transformations}{30}{subsection.14.7}}
+\newlabel{ex:fake}{{17}{30}{Font transformations}{example.17}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {14.8}Letter spacing}{31}{subsection.14.8}}
+\newlabel{ex:tracking}{{18}{31}{Letter spacing}{example.18}{}}
+\newlabel{18 at xvr}{{}{31}{Letter spacing}{figure.caption.23}{}}
+\newlabel{18 at vr}{{}{31}{Letter spacing}{figure.caption.23}{}}
+\@setckpt{fontspec-doc-featset}{
+\setcounter{page}{32}
+\setcounter{equation}{0}
+\setcounter{enumi}{3}
+\setcounter{enumii}{0}
+\setcounter{enumiii}{0}
+\setcounter{enumiv}{0}
+\setcounter{footnote}{5}
+\setcounter{mpfootnote}{0}
+\setcounter{part}{3}
+\setcounter{section}{14}
+\setcounter{subsection}{8}
+\setcounter{subsubsection}{0}
+\setcounter{paragraph}{0}
+\setcounter{subparagraph}{0}
+\setcounter{figure}{0}
+\setcounter{table}{1}
+\setcounter{StandardModuleDepth}{1}
+\setcounter{ContinuedFloat}{0}
+\setcounter{FancyVerbLine}{5}
+\setcounter{vrcnt}{18}
+\setcounter{lofdepth}{1}
+\setcounter{lotdepth}{1}
+\setcounter{Item}{5}
+\setcounter{Hfootnote}{5}
+\setcounter{Hy at AnnotLevel}{0}
+\setcounter{bookmark at seq@number}{43}
+\setcounter{example}{18}
+\setcounter{argument}{0}
+\setcounter{section at level}{2}
+}
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-featset.tex
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-featset.tex (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-featset.tex 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,627 @@
+
+\part{Selecting font features}
+\label{sec:selectingfeature}
+
+The commands discussed so far such as \cs{fontspec} each take an optional argument for
+accessing the font features of the requested font.
+Commands are provided to set default features to be applied for all fonts, and even to change the features that a font is presently loaded with.
+Different font shapes can be loaded with separate features, and different features can even be selected for different sizes that the font appears in.
+This part discusses these options.
+
+\section{Default settings}
+\label{sec:defaults}
+
+\cmdbox{\cmd\defaultfontfeatures\marg{font features}}
+
+It is sometimes useful to define
+font features that are applied to every subsequent font selection command.
+This may be defined with the
+\cmd{\defaultfontfeatures} command, shown in \exref{dff}.
+New calls of \cs{defaultfontfeatures} overwrite previous ones, and defaults can be reset by calling the command with an empty argument.
+
+\begin{Xexample}{dff}{A demonstration of the \cs{defaultfontfeatures} command.}
+ \fontspec{texgyreadventor-regular.otf}
+ Some default text 0123456789 \\
+ \defaultfontfeatures{
+ Numbers=OldStyle, Color=888888
+ }
+ \fontspec{texgyreadventor-regular.otf}
+ Now grey, with old-style figures:
+ 0123456789
+\end{Xexample}
+
+\cmdbox{\cmd\defaultfontfeatures\oarg{font name}\marg{font features}}
+
+Default font features can be specified on a per-font and per-face basis
+by using the optional argument to \cs{defaultfontfeatures} as shown.
+\begin{Verbatim}
+ \defaultfontfeatures[texgyreadventor-regular.otf]{Color=blue}
+ \setmainfont{texgyreadventor-regular.otf}% will be blue
+\end{Verbatim}
+Multiple fonts may be affected by using a comma separated list of font names.
+
+\cmdbox{\cmd\defaultfontfeatures\oarg{\cs{font-switch}}\marg{font features}}
+
+\textbf{New in v2.4}.
+Defaults can also be applied to symbolic families such as those created with the |\newfontfamily| command and for |\rmfamily|, |\sffamily|, and |\ttfamily|:
+\begin{Verbatim}
+ \defaultfontfeatures[\rmfamily,\sffamily]{Ligatures=TeX}
+ \setmainfont{texgyreadventor-regular.otf}% will use standard TeX ligatures
+\end{Verbatim}
+The line above to set \TeX-like ligatures is now activated by \emph{default} in \texttt{fontspec.cfg}.
+To reset default font features, simply call the command with an empty argument:
+\begin{Verbatim}
+ \defaultfontfeatures[\rmfamily,\sffamily]{}
+ \setmainfont{texgyreadventor-regular.otf}% will no longer use standard TeX ligatures
+\end{Verbatim}
+
+\cmdbox{\cmd\defaultfontfeatures\texttt{+}\marg{font features}\\
+ \cmd\defaultfontfeatures\texttt{+}\oarg{font name}\marg{font features}}
+
+\textbf{New in v2.4}.
+Using the |+| form of the command appends the \meta{font features} to any already-selected defaults.
+
+
+\section{Default settings from a file}
+
+In addition to the defaults that may be specified in the document as described above, when a font is first loaded, a configuration file is searched
+for with the name `\meta{fontname}\texttt{.fontspec}'.\footnote{Located in the current folder or within a standard \texttt{texmf} location.}
+
+The contents of this file can be used to specify default font features without
+having to have this information present within each document.
+\meta{fontname} is stripped of spaces and file extensions are omitted; for
+example, the line above for \TeX\ Gyre Adventor could be placed in a file
+called \texttt{TeXGyreAdventor.fontspec}, or for specifying options for
+\texttt{texgyreadventor-regular.otf} (when loading by filename), the configuration
+file would be \texttt{texgyreadventor-regular.fontspec}.
+(N.B. the lettercase of the names should match.)
+
+This mechanism can be used to define custom names or aliases for your font collections.
+If you create a file \texttt{MyCharis.fontspec} containing, say,
+\begin{Verbatim}
+ \defaultfontfeatures[My Charis]
+ {
+ Extension = .ttf ,
+ UprightFont = CharisSILR,
+ BoldFont = CharisSILB,
+ ItalicFont = CharisSILI,
+ BoldItalicFont = CharisSILBI,
+ % <any other desired options>
+ }
+\end{Verbatim}
+you can load that custom family with \verb|\fontspec{My Charis}| and similar.
+The optional argument to \cs{defaultfontfeatures} must match that requested by the font loading command (\verb|\fontspec|, etc.), else the options won't take effect.
+
+Finally, note that options for font faces can also be defined in this way.
+To continue the example above, here we colour the different faces:
+\begin{Verbatim}
+ \defaultfontfeatures[CharisSILR]{Color=blue}
+ \defaultfontfeatures[CharisSILB]{Color=red}
+\end{Verbatim}
+And such configuration lines can be stored either inline inside \texttt{My Charis.fontspec} or within their own \texttt{.fontspec} files; in this way, \pkg{fontspec} is designed to handle `nested' configuration options as well.
+
+\section{Working with the currently selected features}
+\label{sec:addfontfeatures}
+
+
+\cmdbox{\cmd\IfFontFeatureActiveTF\marg{font feature}\marg{true code}\marg{false code}}
+
+This command queries the currently selected font face and executes the appropriate branch based on whether the \meta{font feature} as specified by \pkg{fontspec} is currently active.
+
+For example, the following will print `True':
+\begin{Verbatim}
+\setmainfont{texgyrepagella-regular.otf}[Numbers=OldStyle]
+\IfFontFeatureActiveTF{Numbers=OldStyle}{True}{False}
+\end{Verbatim}
+
+Note that there is no way for \pkg{fontspec} to know what the default features of a font will be. For example, by default the |texgyrepagella| fonts use lining numbers. But in the following example, querying for lining numbers returns false since they have not been explicitly requested:
+\begin{Verbatim}
+\setmainfont{texgyrepagella-regular.otf}
+\IfFontFeatureActiveTF{Numbers=Lining}{True}{False}
+\end{Verbatim}
+
+Please note: At time of writing this function only supports OpenType fonts; AAT/Graphite fonts under the \XeTeX\ engine are not supported.
+
+
+\cmdbox{\cmd\addfontfeatures\marg{font features}}
+
+This command allows font features to
+be changed without knowing what features are currently selected or even what
+font is being used. A good example of this could be to add a hook to all
+tabular material to use monospaced numbers, as shown in \exref{aff}.
+If you attempt to \emph{change} an already-selected feature, \pkg{fontspec} will try to de-activate any features that clash with the new ones.
+\Eg, the following two invocations are mutually exclusive:
+\begin{Verbatim}
+\addfontfeature{Numbers=OldStyle}...
+\addfontfeature{Numbers=Lining}...
+123
+\end{Verbatim}
+Since |Numbers=Lining| comes last, it takes precedence and deactivates the call |Numbers=OldStyle|.
+
+\begin{Lexample}{aff}{A demonstration of the \cs{addfontfeatures} command.}
+ \fontspec{texgyreadventor-regular.otf}%
+ [Numbers={Proportional,OldStyle}]
+ `In 1842, 999 people sailed 97 miles in
+ 13 boats. In 1923, 111 people sailed 54
+ miles in 56 boats.' \bigskip
+
+ {\addfontfeatures{Numbers={Monospaced,Lining}}
+ \begin{tabular}{@{} cccc @{}}
+ Year & People & Miles & Boats \\
+ \hline 1842 & 999 & 75 & 13 \\
+ 1923 & 111 & 54 & 56
+ \end{tabular}}
+\end{Lexample}
+
+\DescribeMacro{\addfontfeature}
+This command may also be executed under the alias \cmd{\addfontfeature}.
+
+
+\subsection{Priority of feature selection}
+Features defined with \cs{addfontfeatures} override features
+specified by \cs{fontspec}, which in turn override features
+specified by \cs{defaultfontfeatures}. If in doubt, whenever a
+new font is chosen for the first time, an entry is made in the
+transcript (\texttt{.log}) file displaying the font name and the
+features requested.
+
+
+\section{Different features for different font shapes}
+\label{sec:bfit-feat}
+
+\cmdbox{
+ \feat{BoldFeatures}\texttt=\marg{features} \\
+ \feat{ItalicFeatures}\texttt=\marg{features} \\
+ \feat{BoldItalicFeatures}\texttt=\marg{features} \\
+ \feat{SlantedFeatures}\texttt=\marg{features} \\
+ \feat{BoldSlantedFeatures}\texttt=\marg{features} \\
+ \feat{SmallCapsFeatures}\texttt=\marg{features}
+}
+
+It is entirely possible that separate fonts in a family will require
+separate options; \eg, Hoefler Text Italic contains various swash
+feature options that are completely unavailable in the upright shapes.
+
+The font features defined at the top level of the optional \cmd\fontspec\
+argument are applied to \emph{all} shapes of the family.
+Using \feat{Upright-}, \feat{SmallCaps-}, \feat{Bold-},
+\feat{Italic-}, and \feat{BoldItalicFeatures},
+separate font features may be defined to their respective shapes
+\emph{in addition} to, and with precedence over, the `global' font features.
+See \exref{itfeat}.
+
+\begin{Xexample}{itfeat}{Features for, say, just italics.}
+\fontspec{EBGaramond12-Regular.otf}%
+ [ItalicFont=EBGaramond12-Italic.otf]
+\itshape Don’t Ask Victoria! \\
+\addfontfeature{ItalicFeatures={Style=Swash}}
+Don’t Ask Victoria! \\
+\end{Xexample}
+
+Note that because most fonts include their small caps glyphs
+within the main font, features specified with \feat{SmallCapsFeatures} are applied \emph{in addition} to
+any other shape-specific features as defined above, and hence \feat{SmallCapsFeatures}
+can be nested within \feat{ItalicFeatures} and friends. Every combination
+of upright, italic, bold and small caps can thus be assigned individual
+features, as shown in the somewhat ludicrous \exref{scfeat}.
+
+\begin{Xexample}{scfeat}{An example of setting the \feat{SmallCapsFeatures}
+separately for each font shape.}
+ \fontspec{texgyretermes}[
+ Extension = {.otf},
+ UprightFont = {*-regular}, ItalicFont = {*-italic},
+ BoldFont = {*-bold}, BoldItalicFont = {*-bolditalic},
+ UprightFeatures={Color = 220022,
+ SmallCapsFeatures = {Color=115511}},
+ ItalicFeatures={Color = 2244FF,
+ SmallCapsFeatures = {Color=112299}},
+ BoldFeatures={Color = FF4422,
+ SmallCapsFeatures = {Color=992211}},
+ BoldItalicFeatures={Color = 888844,
+ SmallCapsFeatures = {Color=444422}},
+ ]
+ Upright {\scshape Small Caps}\\
+ \itshape Italic {\scshape Italic Small Caps}\\
+ \upshape\bfseries Bold {\scshape Bold Small Caps}\\
+ \itshape Bold Italic {\scshape Bold Italic Small Caps}
+\end{Xexample}
+
+
+\section{Selecting fonts from TrueType Collections (TTC files)}
+TrueType Collections are multiple fonts contained within a single file.
+Each font within a collection must be explicitly chosen using the \feat{FontIndex} command.
+Since TrueType Collections are often used to contain the italic/bold shapes in a family, \pkg{fontspec} automatically selects the italic, bold, and bold italic fontfaces from the same file.
+For example, to load the macOS system font Optima:
+\begin{Verbatim}
+\setmainfont{Optima.ttc}[
+ Path = /System/Library/Fonts/ ,
+ UprightFeatures = {FontIndex=0} ,
+ BoldFeatures = {FontIndex=1} ,
+ ItalicFeatures = {FontIndex=2} ,
+ BoldItalicFeatures = {FontIndex=3} ,
+]
+\end{Verbatim}
+Support for TrueType Collections has only been tested in \XeTeX, but should also work with an up-to-date version of \LuaTeX\ and the \pkg{luaotfload} package.
+
+
+\section{Different features for different font sizes}
+\label{sec:sizefeature}
+
+\cmdbox{
+\ttfamily SizeFeatures = \char`\{\\
+\null\quad...\\
+\null\quad\char`\{~Size =
+\rmfamily\meta{size range}\ttfamily
+,
+\rmfamily \meta{font features}\ttfamily
+~\char`\} , \\
+\null\quad\char`\{~Size =
+\rmfamily\meta{size range}\ttfamily
+, Font =
+\rmfamily\meta{font name}\texttt, \meta{font features}\ttfamily
+~\char`\} , \\
+\null\quad... \\
+\char`\}}
+
+The \feat{SizeFeature} feature is a little more complicated
+than the previous features discussed. It allows different fonts
+and different font features to be selected for a given font
+family as the point size varies.
+
+It takes a comma separated list of braced, comma separated lists of features for each size range.
+Each sub-list must contain the \opt{Size} option
+to declare the size range, and optionally \opt{Font} to change the
+font based on size. Other (regular) fontspec features that are added
+are used on top of the font features that would be used anyway.
+A demonstration to clarify these details is shown in \exref{sizefeat}.
+A less trivial example is shown in the context of optical font sizes
+in \vref{sec:opticalsize}.
+
+\begin{Xexample}{sizefeat}{An example of specifying different font features for different sizes of font with \feat{SizeFeatures}.}
+ \fontspec{texgyrechorus-mediumitalic.otf}[
+ SizeFeatures={
+ {Size={-8}, Font=texgyrebonum-italic.otf, Color=AA0000},
+ {Size={8-14}, Color=00AA00},
+ {Size={14-}, Color=0000AA}} ]
+
+ {\scriptsize Small\par} Normal size\par {\Large Large\par}
+\end{Xexample}
+
+To be precise, the \opt{Size} sub-feature accepts arguments in the form shown in \vref{tab:sizing}.
+Braces around the size range are optional. For an exact font size (|Size=X|)
+font sizes chosen near that size will `snap'. For example, for size definitions
+at exactly 11pt and 14pt, if a 12pt font is requested \emph{actually} the
+11pt font will be selected. This is a remnant of the past when fonts were designed
+in metal (at obviously rigid sizes) and later when bitmap fonts were similarly
+designed for fixed sizes.
+
+If additional features are only required for a single size, the other sizes
+must still be specified. As in:
+\begin{Verbatim}
+ SizeFeatures={
+ {Size=-10,Numbers=Uppercase},
+ {Size=10-}}
+\end{Verbatim}
+Otherwise, the font sizes greater than 10 won't be defined at all!
+
+\begin{table}
+\caption{Syntax for specifying the size to apply custom font features.}\label{tab:sizing}
+\centering
+\begin{tabular}{@{}ll@{}}
+\toprule
+Input & Font size, $s$ \\
+\midrule
+ |Size = X-| & $s \geq \texttt{X}$ \\
+ |Size = -Y| & $s < \texttt{Y}$ \\
+ |Size = X-Y| & $\texttt{X} \leq s < \texttt{Y}$ \\
+ |Size = X| & $s = \texttt{X}$ \\
+\bottomrule
+\end{tabular}
+\end{table}
+
+\paragraph{Interaction with other features}
+For \feat{SizeFeatures} to work with \feat{ItalicFeatures}, \feat{BoldFeatures}, etc., and \feat{SmallCapsFeatures}, a strict heirarchy is required:
+\begin{Verbatim}
+ UprightFeatures =
+ {
+ SizeFeatures =
+ {
+ {
+ Size = -10,
+ Font = ..., % if necessary
+ SmallCapsFeatures = {...},
+ ... % other features for this size range
+ },
+ ... % other size ranges
+ }
+ }
+\end{Verbatim}
+Suggestions on simplifying this interface welcome.
+
+
+\section{Font independent options}
+\label{sec:font-ind-features}
+
+Features introduced in this section may be used with any font.
+
+\subsection{Colour}
+
+\feat{Color} (or \feat{Colour}) uses font specifications to set the colour of
+the text.
+You should think of this as the literal glyphs of the font being coloured in a certain way.
+Notably, this mechanism is different to that of the \pkg{color}/\pkg{xcolor}/\pkg{hyperref}/etc.\ packages, and in fact using \pkg{fontspec} commands to set colour will prevent your text from changing colour using those packages at all!
+For example, if you set the colour in a \verb|\setmainfont| command, \verb|\color{...}| and related commands, including hyperlink colouring, will no longer have any effect on text in this font.)
+Therefore, \pkg{fontspec}'s colour commands are best used to set explicit colours in specific situations, and the \pkg{xcolor} package is recommended for more general colour functionality.
+
+The colour is defined as a triplet of two-digit Hex RGB
+values, with optionally another value for the transparency (where
+|00| is completely transparent and |FF| is opaque.)
+\begin{Lexample}{color}{Selecting colour with transparency.}
+ \fontsize{48}{48}
+ \fontspec{texgyrebonum-bold.otf}
+ {\addfontfeature{Color=FF000099}W}\kern-0.4ex
+ {\addfontfeature{Color=0000FF99}S}\kern-0.4ex
+ {\addfontfeature{Color=DDBB2299}P}\kern-0.5ex
+ {\addfontfeature{Color=00BB3399}R}
+\end{Lexample}
+Transparency is supported by \LuaLaTeX; \XeLaTeX\ with the \texttt{xdvipdfmx} driver
+does not support this feature.
+
+If you load the \pkg{xcolor} package, you may use any named colour instead
+of writing the colours in hexadecimal.
+\begin{Verbatim}
+ \usepackage{xcolor}
+ ...
+ \fontspec[Color=red]{Verdana} ...
+ \definecolor{Foo}{rgb}{0.3,0.4,0.5}
+ \fontspec[Color=Foo]{Verdana} ...
+\end{Verbatim}
+The \pkg{color} package is \emph{not} supported; use \pkg{xcolor} instead.
+
+You may specify the transparency with a named colour using the \feat{Opacity}
+feature which takes an decimal from zero to one corresponding to
+transparent to opaque respectively:
+\begin{Verbatim}
+ \fontspec[Color=red,Opacity=0.7]{Verdana} ...
+\end{Verbatim}
+It is still possible to specify a colour in six-char hexadecimal form
+while defining opacity in this way, if you like.
+
+\subsection{Scale}
+
+\cmdbox{
+ \feat{Scale} = \meta{number} \\
+ \feat{Scale} = \opt{MatchLowercase} \\
+ \feat{Scale} = \opt{MatchUppercase}
+}
+
+In its explicit form, \feat{Scale} takes a single
+numeric argument for linearly scaling the font, as demonstrated
+in \exref{fontload}.
+It is now possible to
+measure the correct dimensions of the fonts loaded and
+calculate values to scale them automatically.
+
+As well as a numerical argument, the \feat{Scale} feature
+also accepts options \opt{MatchLowercase}
+and \opt{MatchUppercase}, which will scale the font being selected to match
+the current default roman font to either the height of the lowercase or
+uppercase letters, respectively; these features are shown in \exref{scale}.
+
+\begin{Xexample}{scale}{Automatically calculated scale values.}
+ \setmainfont{Georgia}
+ \newfontfamily\lc[Scale=MatchLowercase]{Verdana}
+ The perfect match {\lc is hard to find.}\\
+ \newfontfamily\uc[Scale=MatchUppercase]{Arial}
+ L O G O \uc F O N T
+\end{Xexample}
+
+The amount of scaling used in each instance is reported in the \texttt{.log} file.
+Since there is some subjectivity about the exact scaling to be used, these values
+should be used to fine-tune the results.
+
+Note that when |Scale=MatchLowercase| is used with |\setmainfont|, the new `main' font of the document will be scaled to match the old default.
+This may be undesirable in some cases, so to achieve `natural' scaling for the main font but automatically scale all other fonts selected, you may write
+\begin{Verbatim}
+ \defaultfontfeatures{ Scale = MatchLowercase }
+ \defaultfontfeatures[\rmfamily]{ Scale = 1}
+\end{Verbatim}
+One or both of these lines may be placed into a local |fontspec.cfg| file (see \vref{sec:config}) for this behaviour to be effected in your own documents automatically.
+(Also see \vref{sec:defaults} for more information on setting font defaults.)
+
+
+
+\subsection{Interword space}
+
+While the space between words can be varied on an individual
+basis with the \TeX\ primitive \cmd\spaceskip\ command, it is
+more convenient to specify this information when the font is
+first defined.
+
+The space in between words in a paragraph will be chosen automatically,
+and generally will not need to be adjusted. For those
+times when the precise details are important, the \feat{WordSpace}
+feature is
+provided, which takes either a single scaling factor to scale the
+default value, or a triplet of comma-separated
+values to scale the nominal value, the stretch, and the shrink of the
+interword space by, respectively. (|WordSpace={|$x$|}| is the same as
+|WordSpace={|$x$|,|$x$|,|$x$|}|.)
+
+\begingroup
+\let\centering\relax
+\begin{Xexample}{wordspace}{Scaling the default interword space. An exaggerated value has been chosen to emphasise the effects here.}
+ \fontspec{texgyretermes-regular.otf}
+ Some text for our example to take
+ up some space, and to demonstrate
+ the default interword space.
+ \bigskip
+
+ \fontspec{texgyretermes-regular.otf}%
+ [WordSpace = 0.3]
+ Some text for our example to take
+ up some space, and to demonstrate
+ the default interword space.
+\end{Xexample}
+\endgroup
+
+Note that \TeX's optimisations in how it loads fonts means that you cannot
+use this feature in \cs{addfontfeatures}.
+
+\subsection{Post-punctuation space}
+
+If \cmd\frenchspacing\ is \emph{not} in effect, \TeX\ will allow extra
+space after some punctuation in its goal of justifying the lines of text.
+Generally, this is considered old-fashioned, but occasionally in small amounts the
+effect can be justified, pardon the pun.
+
+The \feat{PunctuationSpace} feature takes a scaling factor by which to
+adjust the nominal value chosen for the font; this is demonstrated in
+\exref{punctspace}.
+Note that |PunctuationSpace=0|
+is \emph{not} equivalent to \cmd\frenchspacing, although the difference
+will only be apparent when a line of text is under-full.
+
+\begin{Lexample}{punctspace}{Scaling the default post-punctuation space.}
+ \nonfrenchspacing
+ \fontspec{texgyreschola-regular.otf}
+ Letters, Words. Sentences. \par
+ \fontspec{texgyreschola-regular.otf}[PunctuationSpace=2]
+ Letters, Words. Sentences. \par
+ \fontspec{texgyreschola-regular.otf}[PunctuationSpace=0]
+ Letters, Words. Sentences.
+\end{Lexample}
+
+Note that \TeX's optimisations in how it loads fonts means that you cannot
+use this feature in \cs{addfontfeatures}.
+
+
+
+\subsection{The hyphenation character}
+
+The letter used for hyphenation may be chosen with the \feat{HyphenChar}
+feature. It takes three types of input, which are chosen according to some
+simple rules. If the input is the string \opt{None}, then hyphenation is
+suppressed for this font.
+If the input is a single character, then this
+character is used. Finally, if the input is longer than a single character
+it must be the UTF-8 slot number of the hyphen character you desire.
+
+This package redefines \LaTeX's \cmd\-\ macro such that it adjusts along with the above changes.
+
+\begin{Xexample}{hyphchar}{Explicitly choosing the hyphenation character.}
+ \def\text{\fbox{\parbox{1.55cm}{%
+ EXAMPLE HYPHENATION%
+ }}\qquad\qquad\null\par\bigskip}
+
+ \fontspec{Linux Libertine O}[HyphenChar=None]
+ \text
+ \fontspec{Linux Libertine O}[HyphenChar={+}]
+ \text
+\end{Xexample}
+
+Note that \TeX's optimisations in how it loads fonts means that you cannot
+use this feature in \cs{addfontfeatures}.
+
+\subsection{Optical font sizes} \label{sec:opticalsize}
+
+Optically scaled fonts thicken out as the font size decreases
+in order to make the glyph shapes more robust (less prone to losing
+detail), which improves legibility. Conversely, at large optical
+sizes the serifs and other small details may be more delicately
+rendered.
+
+OpenType fonts with optical scaling will exist in
+several discrete sizes, and these will be selected by \XeTeX\
+and Lua\TeX\
+\emph{automatically} determined by the current font size as in
+\exref{optsize}, in which we've scaled down some large text in order to be
+able to compare the difference for equivalent font sizes.
+
+The
+\opt{OpticalSize} option may be used to specify a different optical
+size.
+With \opt{OpticalSize} set
+to zero, no optical size font substitution is performed, as shown in
+\exref{optsize0}.
+
+\begin{Xexample}{optsize}{A demonstration of automatic optical size selection.}
+ \fontspec{Latin Modern Roman}
+ Automatic optical size \\
+ \scalebox{0.4}{\Huge
+ Automatic optical size}
+\end{Xexample}
+
+\begin{Xexample}{optsize0}{Optical size substitution is suppressed when set to zero.}
+ \fontspec{Latin Modern Roman 5 Regular}[OpticalSize=0]
+ Latin Modern optical sizes \\
+ \fontspec{Latin Modern Roman 8 Regular}[OpticalSize=0]
+ Latin Modern optical sizes \\
+ \fontspec{Latin Modern Roman 12 Regular}[OpticalSize=0]
+ Latin Modern optical sizes \\
+ \fontspec{Latin Modern Roman 17 Regular}[OpticalSize=0]
+ Latin Modern optical sizes
+\end{Xexample}
+
+The \feat{SizeFeatures} feature (\vref*{sec:sizefeature}) can be
+used to specify exactly which optical sizes will be used for ranges
+of font size. For example, something like:
+\begin{Verbatim}
+ \fontspec{Latin Modern Roman}[
+ UprightFeatures = { SizeFeatures = {
+ {Size=-10, OpticalSize=8 },
+ {Size= 10-14, OpticalSize=10},
+ {Size= 14-18, OpticalSize=14},
+ {Size= 18-, OpticalSize=18}}}
+ ]
+\end{Verbatim}
+
+\subsection{Font transformations}
+
+In rare situations users may want to mechanically distort the shapes of the glyphs in the current font such as shown in \exref{fake}. Please don't overuse these features; they are \emph{not} a good alternative to having the real shapes.
+
+\begin{Xexample}{fake}{Articifial font transformations.}
+ \fontspec{Charis SIL} \emph{ABCxyz} \quad
+ \fontspec{Charis SIL}[FakeSlant=0.2] ABCxyz
+
+ \fontspec{Charis SIL} ABCxyz \quad
+ \fontspec{Charis SIL}[FakeStretch=1.2] ABCxyz
+
+ \fontspec{Charis SIL} \textbf{ABCxyz} \quad
+ \fontspec{Charis SIL}[FakeBold=1.5] ABCxyz
+\end{Xexample}
+
+If values are omitted, their defaults are as shown above.
+
+If you want the bold shape to be faked automatically, or the italic shape
+to be slanted automatically, use the \feat{AutoFakeBold} and
+\feat{AutoFakeSlant} features. For example, the following two invocations
+are equivalent:
+\begin{Verbatim}
+ \fontspec[AutoFakeBold=1.5]{Charis SIL}
+ \fontspec[BoldFeatures={FakeBold=1.5}]{Charis SIL}
+\end{Verbatim}
+If both of the \feat{AutoFake...} features are used, then the bold italic
+font will also be faked.
+
+The \feat{FakeBold} and \feat{AutoFakeBold} features are only available with the \XeTeX\ engine and will be ignored in \LuaTeX.
+
+
+\subsection{Letter spacing}
+Letter spacing, or tracking, is the term given to adding (or subtracting) a small amount of horizontal space in between adjacent characters. It is specified with the \feat{LetterSpace}, which takes a numeric argument,
+shown in \exref{tracking}.
+
+The letter spacing parameter is a normalised additive factor (not a scaling factor); it is defined as a percentage of the font size. That is, for a 10\,pt font, a letter spacing parameter of `|1.0|' will add 0.1\,pt between each letter.
+
+\begin{Xexample}{tracking}{The \feat{LetterSpace} feature.}
+ \fontspec{Didot}
+ \addfontfeature{LetterSpace=0.0}
+ USE TRACKING FOR DISPLAY CAPS TEXT \\
+ \addfontfeature{LetterSpace=2.0}
+ USE TRACKING FOR DISPLAY CAPS TEXT
+\end{Xexample}
+
+This functionality is not generally used for lowercase text in modern typesetting but does have historic precedent in a variety of situations.
+In particular, small amounts of letter spacing can be very useful, when setting small caps or all caps titles.
+Also see the OpenType \opt{Uppercase} option of the \feat{Letters} feature (\vref*{sec:letters}).
+
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-fontsel.aux
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-fontsel.aux (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-fontsel.aux 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,74 @@
+\relax
+\providecommand\hyper at newdestlabel[2]{}
+\@writefile{toc}{\contentsline {part}{II\hspace {1em}General font selection}{10}{part.2}}
+\newlabel{3 at xvr}{{}{10}{General font selection}{part.2}{}}
+\newlabel{3 at vr}{{}{10}{General font selection}{part.2}{}}
+\newlabel{ex:fontload}{{1}{10}{General font selection}{example.1}{}}
+\newlabel{4 at xvr}{{}{10}{General font selection}{figure.caption.1}{}}
+\newlabel{4 at vr}{{}{10}{General font selection}{figure.caption.1}{}}
+\newlabel{5 at xvr}{{}{10}{General font selection}{figure.caption.1}{}}
+\newlabel{5 at vr}{{}{10}{General font selection}{figure.caption.1}{}}
+\newlabel{6 at xvr}{{}{10}{General font selection}{figure.caption.1}{}}
+\newlabel{6 at vr}{{}{10}{General font selection}{figure.caption.1}{}}
+\newlabel{7 at xvr}{{}{10}{General font selection}{figure.caption.1}{}}
+\newlabel{7 at vr}{{}{10}{General font selection}{figure.caption.1}{}}
+\newlabel{8 at xvr}{{}{10}{General font selection}{figure.caption.1}{}}
+\newlabel{8 at vr}{{}{10}{General font selection}{figure.caption.1}{}}
+\newlabel{9 at xvr}{{}{10}{General font selection}{figure.caption.1}{}}
+\newlabel{9 at vr}{{}{10}{General font selection}{figure.caption.1}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {5}Font selection}{10}{section.5}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {5.1}By font name}{11}{subsection.5.1}}
+\@writefile{toc}{\contentsline {paragraph}{\hologoRobust {LuaTeX}\ users only}{11}{section*.2}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {5.2}By file name}{11}{subsection.5.2}}
+\newlabel{sec:by-file-name}{{Section\nobreakspace {}5.2}{11}{By file name}{subsection.5.2}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {5.3}Querying whether a font `exists'}{12}{subsection.5.3}}
+\newlabel{10 at xvr}{{}{13}{Querying whether a font `exists'}{subsection.5.3}{}}
+\newlabel{10 at vr}{{}{13}{Querying whether a font `exists'}{subsection.5.3}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {6}Commands to select font families}{13}{section.6}}
+\newlabel{ex:nff}{{2}{13}{Commands to select font families}{example.2}{}}
+\newlabel{11 at xvr}{{}{13}{Commands to select font families}{figure.caption.3}{}}
+\newlabel{11 at vr}{{}{13}{Commands to select font families}{figure.caption.3}{}}
+\newlabel{ex:nfface}{{3}{13}{Commands to select font families}{example.3}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {6.1}More control over font shape selection}{14}{subsection.6.1}}
+\newlabel{sec:bfitfonts}{{Section\nobreakspace {}6.1}{14}{More control over font shape selection}{subsection.6.1}{}}
+\newlabel{ex:bff}{{4}{14}{More control over font shape selection}{example.4}{}}
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.1.1}Small caps and slanted font shapes}{15}{subsubsection.6.1.1}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {6.2}Specifically choosing the \textsc {nfss}\ family}{15}{subsection.6.2}}
+\newlabel{12 at xvr}{{}{16}{Specifically choosing the \NFSS \ family}{subsection.6.2}{}}
+\newlabel{12 at vr}{{}{16}{Specifically choosing the \NFSS \ family}{subsection.6.2}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {6.3}Choosing additional \textsc {nfss}\ font faces}{16}{subsection.6.3}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {6.4}Math(s) fonts}{17}{subsection.6.4}}
+\@writefile{toc}{\contentsline {section}{\numberline {7}Miscellaneous font selecting details}{18}{section.7}}
+\@writefile{toc}{\contentsline {paragraph}{The optional argument --- from v2.4}{18}{section*.6}}
+\@writefile{toc}{\contentsline {paragraph}{Spaces}{19}{section*.7}}
+\@setckpt{fontspec-doc-fontsel}{
+\setcounter{page}{20}
+\setcounter{equation}{0}
+\setcounter{enumi}{3}
+\setcounter{enumii}{0}
+\setcounter{enumiii}{0}
+\setcounter{enumiv}{0}
+\setcounter{footnote}{4}
+\setcounter{mpfootnote}{0}
+\setcounter{part}{2}
+\setcounter{section}{7}
+\setcounter{subsection}{0}
+\setcounter{subsubsection}{0}
+\setcounter{paragraph}{0}
+\setcounter{subparagraph}{0}
+\setcounter{figure}{0}
+\setcounter{table}{0}
+\setcounter{StandardModuleDepth}{1}
+\setcounter{ContinuedFloat}{0}
+\setcounter{FancyVerbLine}{2}
+\setcounter{vrcnt}{12}
+\setcounter{lofdepth}{1}
+\setcounter{lotdepth}{1}
+\setcounter{Item}{5}
+\setcounter{Hfootnote}{4}
+\setcounter{Hy at AnnotLevel}{0}
+\setcounter{bookmark at seq@number}{26}
+\setcounter{example}{4}
+\setcounter{argument}{0}
+\setcounter{section at level}{4}
+}
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-fontsel.tex
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-fontsel.tex (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-fontsel.tex 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,497 @@
+
+
+\part{General font selection}
+
+This section concerns the variety of commands that can be used to select
+fonts.
+
+\cmdbox{%
+ \CMD{\string\fontspec}\marg{font name}\oarg{font features}\\
+ \CMD{\string\setmainfont}\marg{font name}\oarg{font features}\\
+ \CMD{\string\setsansfont}\marg{font name}\oarg{font features}\\
+ \CMD{\string\setmonofont}\marg{font name}\oarg{font features}\\
+ \CMD{\string\newfontfamily}\meta{cmd}\marg{font name}\oarg{font features}
+}
+
+These are the main font-selecting commands of this package.
+The \cs{fontspec} command selects a font for one-time use; all
+others should be used to define the standard fonts used in a document, as shown in \exref{fontload}.
+Here, the scales of the fonts have been chosen to equalise their
+lowercase letter heights. The \feat{Scale} font feature will be discussed
+further in \vref{sec:font-ind-features}, including methods for automatic
+scaling.
+
+\begin{Lexample}{fontload}{Loading the default, sans serif, and monospaced fonts.}
+ \setmainfont{texgyrebonum-regular.otf}
+ \setsansfont{lmsans10-regular.otf}[Scale=MatchLowercase]
+ \setmonofont{Inconsolata.otf}[Scale=MatchLowercase]
+
+ \rmfamily Pack my box with five dozen liquor jugs\par
+ \sffamily Pack my box with five dozen liquor jugs\par
+ \ttfamily Pack my box with five dozen liquor jugs
+\end{Lexample}
+
+Note that while these commands all look and behave largely identically, the default setup for font loading automatically adds the |Ligatures=TeX| feature for the \cs{setmainfont} and \cs{setsansfont} commands.
+These defaults (and further customisations possible) are discussed in \vref{sec:defaults}.
+
+The font features argument accepts comma separated
+\meta{font feature}=\meta{option} lists; these are described later:
+\begin{itemize}
+\item For general font features, see \vref{sec:font-ind-features}
+\item For OpenType fonts, see Part~\vref{sec:opentype-features}
+\item For \XeTeX-only general font features, see Part~\vref{sec:xetex-features}
+\item For \LuaTeX-only general font features, see Part~\vref{sec:luatex-features}
+\item For features for \AAT\ fonts in \XeTeX, see \vref{sec:aat-features}
+\end{itemize}
+
+\section{Font selection}
+
+In both \LuaTeX\ and \XeTeX, fonts can be selected either by `font name' or
+by `file name', but there are some differences in how each engine finds and selects fonts --- don't be too surprised if a font invocation in one engine needs correction to work in the other.
+
+
+\subsection{By font name}
+
+Fonts known to \LuaTeX\ or \XeTeX\ may be loaded by their standard names as
+you'd speak them out loud, such as \emph{Times New Roman} or
+\emph{Adobe Garamond}.
+`Known to' in this case generally means `exists in a standard fonts location'
+such as |~/Library/Fonts| on \MacOSX, or |C:\Windows\Fonts| on Windows.
+In \LuaTeX, fonts found in the \textsc{texmf} tree can also be loaded by name.
+
+The simplest example might be something like
+\begin{Verbatim}
+ \setmainfont{Cambria}[ ... ]
+\end{Verbatim}
+in which the bold and italic fonts will be found automatically
+(if they exist) and are immediately accessible with the usual
+\cs{textit} and \cs{textbf} commands.
+
+The `font name' can be found in various ways, such as by looking in the name listed in a application like \emph{Font Book} on Mac~OS~X.
+Alternatively, \TeX{}Live contains the \texttt{otfinfo} command line program, which can query this information; for example:
+\begin{Verbatim}
+ otfinfo -a `kpsewhich lmroman10-regular.otf`
+\end{Verbatim}
+results in `\texttt{LM Roman 10}'.
+
+\paragraph{\LuaTeX\ users only}
+In order to load fonts by their name rather than by their filename (\eg,
+`Latin Modern Roman' instead of `ec-lmr10'), you may need to run the script
+\texttt{luaotfload-tool}, which is distributed with the \pkg{luaotfload}
+package. Note that if you do not execute this script beforehand, the first
+time you attempt to typeset the process will pause for (up to) several
+minutes. (But only the first time.)
+Please see the \pkg{luaotfload} documentation for more information.
+
+
+\subsection{By file name}
+\label{sec:by-file-name}
+
+\XeTeX\ and \LuaTeX\ also allow fonts to be loaded by file name instead of font name.
+When you have a very large collection of fonts, you will sometimes not
+wish to have them all installed in your system's font directories.
+In this case, it is more convenient to load them from a different location on your disk.
+This technique is also necessary in \XeTeX\ when loading OpenType fonts that are present within your \TeX\ distribution, such as \path{/usr/local/texlive/2013/texmf-dist/fonts/opentype/public}.
+Fonts in such locations are visible to \XeTeX\ but cannot be loaded by font name, only file name; \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 directly (including in the current directory)
+without having to explicitly define the location of the font file on disk.
+
+Fonts selected by filename must include bold and italic variants explicitly.
+\begin{Verbatim}
+ \setmainfont{texgyrepagella-regular.otf}[
+ BoldFont = texgyrepagella-bold.otf ,
+ ItalicFont = texgyrepagella-italic.otf ,
+ BoldItalicFont = texgyrepagella-bolditalic.otf ]
+\end{Verbatim}
+\pkg{fontspec} knows that the font is to be selected by file name by the
+presence of the `|.otf|' extension.
+An alternative is to specify the extension separately, as shown following:
+\begin{Verbatim}
+ \setmainfont{texgyrepagella-regular}[
+ Extension = .otf ,
+ BoldFont = texgyrepagella-bold ,
+ ... ]
+\end{Verbatim}
+If desired, an abbreviation can be applied to the font names based on the
+mandatory `font name' argument:
+\begin{Verbatim}
+ \setmainfont{texgyrepagella}[
+ Extension = .otf ,
+ UprightFont = *-regular ,
+ BoldFont = *-bold ,
+ ... ]
+\end{Verbatim}
+In this case `texgyrepagella' is no longer the name of an actual font,
+but is used to construct the font names for each shape;
+the |*| is replaced by `texgyrepagella'.
+Note in this case that |UprightFont| is required for constructing the font
+name of the normal font to use.
+
+To load a font that is not in one of the default search paths, its location
+in the filesystem must be specified with the |Path| feature:
+\begin{Verbatim}
+ \setmainfont{texgyrepagella}[
+ Path = /Users/will/Fonts/ ,
+ UprightFont = *-regular ,
+ BoldFont = *-bold ,
+ ... ]
+\end{Verbatim}
+Note that \XeTeX\ and \LuaTeX\ are able to load the font without giving an
+extension, but \pkg{fontspec} must know to search for the file; this can can
+be indicated by using the |Path| feature without an argument:
+\begin{Verbatim}
+ \setmainfont{texgyrepagella-regular}[
+ Path, BoldFont = texgyrepagella-bold,
+ ... ]
+\end{Verbatim}
+My preference is to always be explicit and include the extension; this also allows \pkg{fontspec} to automatically identify that the font should be loaded by filename.
+
+In previous versions of the package, the |Path| feature was also provided under the alias |ExternalLocation|, but this latter name is now deprecated and should not be used for new documents.
+
+
+\subsection{Querying whether a font `exists'}
+
+\cmdbox{
+ \CMD{\string\IfFontExistsTF}\marg{font name}\marg{true branch}\marg{false branch}
+}
+
+The conditional \cs{IfFontExistsTF} is provided to test whether the \meta{font name} exists or is loadable.
+If it is, the \meta{true branch} code is executed; otherwise, the \meta{false branch} code is.
+
+This command can be slow since the engine may resort to scanning the filesystem for a missing font.
+Nonetheless, it has been a popular request for users who wish to define `fallback fonts' for their documents for greater portability.
+
+In this command, the syntax for the \meta{font name} is a restricted/simplified version of the font loading syntax used for \cs{fontspec} and so on.
+Fonts to be loaded by filename are detected by the presence of an appropriate extension (|.otf|, etc.), and paths should be included inline.
+E.g.:
+\begin{Verbatim}
+ \IfFontExistsTF{cmr10}{T}{F}
+ \IfFontExistsTF{Times New Roman}{T}{F}
+ \IfFontExistsTF{texgyrepagella-regular.otf}{T}{F}
+ \IfFontExistsTF{/Users/will/Library/Fonts/CODE2000.TTF}{T}{F}
+\end{Verbatim}
+
+The \cs{IfFontExistsTF} command is a synonym for the programming interface function \cs{fontspec_font_if_exist:nTF} (\vref*{sec:api}).
+
+
+
+\section{Commands to select font families}
+
+\cmdbox{
+ \CMD{\string\newfontfamily}\cs{\meta{font-switch}}\marg{font name}\oarg{font features} \\
+ \CMD{\string\newfontface}\cs{\meta{font-switch}}\marg{font name}\oarg{font features}
+}
+
+\noindent For cases when a specific font with a specific
+feature set is going to be re-used many times in a document, it is inefficient
+to keep calling \cs{fontspec} for every use. While the \cs{fontspec} command does not define
+a new font instance after the first call, the feature options must still be
+parsed and processed.
+
+\DescribeMacro{\newfontfamily}
+For this reason, new commands can be created for loading a particular font
+family with the \cmd\newfontfamily\ command, demonstrated in \exref{nff}.
+This macro should be used to create commands that would be used in
+the same way as \cmd\rmfamily, for example.
+If you would like to create a command that only changes the font
+inside its argument (i.e., the same behaviour as \cs{emph}) define it using regular \LaTeX\
+commands:
+\begin{Verbatim}
+ \newcommand\textnote[1]{{\notefont #1}}
+ \textnote{This is a note.}
+\end{Verbatim}
+Note that the double braces are intentional; the inner pair are used to
+to delimit the scope of the font change.
+
+\begin{Lexample}{nff}{Defining new font families.}
+ \newfontfamily\notefont{Kurier}
+ \notefont This is a \emph{note}.
+\end{Lexample}
+
+\DescribeMacro{\newfontface}
+Sometimes only a specific font face is desired, without accompanying italic or bold variants
+being automatically selected.
+This is common when selecting a fancy italic font, say, that has swash features unavailable
+in the upright forms. \cmd\newfontface\ is used for this purpose, shown
+in \exref{nfface}, which is repeated in \vref{sec:contextuals}.
+
+\begin{Xexample}{nfface}{Defining a single font face.}
+ \newfontface\fancy{Hoefler Text Italic}%
+ [Contextuals={WordInitial,WordFinal}]
+ \fancy where is all the vegemite
+ % \emph, \textbf, etc., all don't work
+\end{Xexample}
+
+Comment for advanced users:
+The commands defined by \cs{newfontface} and \cs{newfontfamily} include
+their encoding information, so even if the document is set to use a
+legacy \TeX\ encoding, such commands will still work correctly. For example,
+\begin{Verbatim}
+\documentclass{article}
+\usepackage{fontspec}
+\newfontfamily\unicodefont{Lucida Grande}
+\usepackage{mathpazo}
+\usepackage[T1]{fontenc}
+\begin{document}
+A legacy \TeX\ font. {\unicodefont A unicode font.}
+\end{document}
+\end{Verbatim}
+
+\subsection{More control over font shape selection}
+\label{sec:bfitfonts}
+
+\cmdbox{
+ \feat{BoldFont} = \meta{font name} \\
+ \feat{ItalicFont} = \meta{font name} \\
+ \feat{~BoldItalicFont} = \meta{font name} \\
+ \feat{SlantedFont} = \meta{font name} \\
+ \feat{BoldSlantedFont} = \meta{font name} \\
+ \feat{SmallCapsFont} = \meta{font name}
+}
+
+The automatic bold, italic, and bold italic font selections will not be
+adequate for the needs of every font: while some fonts mayn't even
+have bold or italic shapes, in which case a skilled (or lucky)
+designer may be able to chose well-matching accompanying shapes from
+a different font altogether, others can have a range of bold and
+italic fonts to chose among. The \feat{BoldFont} and
+\feat{ItalicFont} features are provided for these situations. If only
+one of these is used, the bold italic font is requested as the
+default from the \emph{new} font. See \exref{bff}.
+
+\begin{Xexample}{bff}{Explicit selection of the bold font.}
+ \fontspec{Helvetica Neue UltraLight}%
+ [BoldFont={Helvetica Neue}]
+ Helvetica Neue UltraLight \\
+ {\itshape Helvetica Neue UltraLight Italic} \\
+ {\bfseries Helvetica Neue } \\
+ {\bfseries\itshape Helvetica Neue Italic} \\
+\end{Xexample}
+
+If a bold italic shape is not defined, or you want to specify
+\emph{both} custom bold and italic shapes, the \feat{BoldItalicFont}
+feature is provided.
+
+
+
+\subsubsection{Small caps and slanted font shapes}
+
+When a font family has both slanted \emph{and} italic shapes, these may be specified separately using the analogous features \feat{SlantedFont} and \feat{BoldSlantedFont}.
+Without these, however, the \LaTeX\ font switches for slanted (\cs{textsl}, \cs{slshape}) will default to the italic shape.
+
+Pre-OpenType, it was common for font families to be distributed with small caps glyphs in separate fonts, due to the limitations on the number of glyphs allowed in the PostScript Type~1 format.
+Such fonts may be used by declaring the \feat{SmallCapsFont} of the family you are specifying:
+\begin{Verbatim}
+ \setmainfont{Minion MM Roman}[
+ SmallCapsFont={Minion MM Small Caps & Oldstyle Figures}
+ ]
+ Roman 123 \\ \textsc{Small caps 456}
+\end{Verbatim}
+In fact, you should specify the small caps font for each individual bold and
+italic shape as in
+\begin{Verbatim}
+ \setmainfont{ <upright> }[
+ UprightFeatures = { SmallCapsFont={ <sc> } } ,
+ BoldFeatures = { SmallCapsFont={ <bf sc> } } ,
+ ItalicFeatures = { SmallCapsFont={ <it sc> } } ,
+ BoldItalicFeatures = { SmallCapsFont={ <bf it sc> } } ,
+ ]
+ Roman 123 \\ \textsc{Small caps 456}
+\end{Verbatim}
+For most modern fonts that have small caps as a font feature, this level of
+control isn't generally necessary.
+
+All of the bold, italic, and small caps fonts can be loaded with different
+font features from the main font. See \ref{sec:bfit-feat} for details.
+When an OpenType font is selected for |SmallCapsFont|, the small caps
+font feature is \emph{not} automatically enabled. In this case, users
+should write instead, if necessary,
+\begin{Verbatim}
+ \setmainfont{...}[
+ SmallCapsFont={...},
+ SmallCapsFeatures={Letters=SmallCaps},
+ ]
+\end{Verbatim}
+
+\subsection{Specifically choosing the \NFSS\ family}
+
+In \LaTeX's \NFSS, font families are defined with names such as `\texttt{ppl}' (Palatino), `\texttt{lmr}' (Latin Modern Roman), and so on, which are selected with the \cs{fontfamily} command:
+\begin{Verbatim}
+ \fontfamily{ppl}\selectfont
+\end{Verbatim}
+In \pkg{fontspec}, the family names are auto-generated based on the fontname of the font; for example, writing |\fontspec{Times New Roman}| for the first time would generate an internal font family name of `\texttt{TimesNewRoman(1)}'.
+Please note that should not rely on the name that is generated.
+
+In certain cases it is desirable to be able to choose this internal font family name so it can be re-used elsewhere for interacting with other packages that use the \LaTeX's font selection interface; an example might be
+\begin{Verbatim}
+ \usepackage{fancyvrb}
+ \fvset{fontfamily=myverbatimfont}
+\end{Verbatim}
+To select a font for use in this way in \pkg{fontspec} use the \feat{NFSSFamily} feature:\footnote{Thanks to Luca Fascione for the example and motivation for finally implementing this feature.}
+\begin{Verbatim}
+ \newfontfamily\verbatimfont[NFSSFamily=myverbatimfont]{Inconsolata}
+\end{Verbatim}
+It is then possible to write commands such as:
+\begin{Verbatim}
+ \fontfamily{myverbatimfont}\selectfont
+\end{Verbatim}
+which is essentially the same as writing |\verbatimfont|, or to go back to the orginal example:
+\begin{Verbatim}
+ \fvset{fontfamily=myverbatimfont}
+\end{Verbatim}
+Only use this feature when necessary; the in-built font switching commands that \pkg{fontspec} generates (such as |\verbatimfont| in the example above) are recommended in all other cases.
+
+If you don't wish to explicitly set the \NFSS\ family but you would like to know what it is, an alternative mechanism for package writers is introduced as part of the \pkg{fontspec} programming interface; see the function \cs{fontspec_set_family:Nnn} for details (\vref*{sec:api}).
+
+\subsection{Choosing additional \NFSS\ font faces}
+
+\LaTeX's font selection scheme (\NFSS) is more flexible than the \pkg{fontspec} interface discussed up until this point.
+It assigns to each font face a \emph{family} (discussed above), a \emph{series} such as bold or light or condensed, and a \emph{shape} such as italic or slanted or small caps.
+The \pkg{fontspec} features such as \feat{BoldFont} and so on all assign faces for the default series and shapes of the \NFSS, but it's not uncommon to have font families that have multiple weights and shapes and so on.
+
+If you set up a regular font family with the `standard four' (upright, bold, italic, and bold italic) shapes and then want to use, say, a light font for a certain document element, many users will be perfectly happy to use \cs{newfontface}\cs{\meta{switch}} and use the resulting font \cs{\meta{switch}}.
+In other cases, however, it is more convenient or even necessary to load additional fonts using additional \NFSS\ specifiers.
+
+\cmdbox{
+ \texttt{FontFace = }\marg{series}\marg{shape}
+ \texttt{\char`\{} \texttt{Font = }\meta{font name} \texttt, \meta{features} \texttt{\char`\}} \\
+ \texttt{FontFace = }\marg{series}\marg{shape}\marg{font name}
+}
+
+The font thus specified will inherit the font features of the main font, with optional additional \meta{features} as requested.
+(Note that the optional \marg{features} argument is still surrounded with curly braces.)
+Multiple \feat{FontFace} commands may be used in a single declaration to specify multiple fonts.
+As an example:
+\begin{Verbatim}
+ \setmainfont{font1.otf}[
+ FontFace = {c}{\updefault}{ font2.otf } ,
+ FontFace = {c}{m}{ Font = font3.otf , Color = red }
+ ]
+\end{Verbatim}
+Writing |\fontseries{c}\selectfont| will result in |font2| being selected, which then followed by |\fontshape{m}\selectfont| will result in |font3| being selected (in red).
+A font face that is defined in terms of a different series but an upright shape (|\updefault|, as shown above) will attempt to find a matching small caps feature and define that face as well.
+Conversely, a font face defined in terms of a non-standard font shape will not.
+
+There are some standards for choosing shape and series codes; the \LaTeXe\ font selection guide\footnote{\texttt{texdoc fntguide}} lists series |m| for medium, |b| for bold, |bx| for bold extended, |sb| for semi-bold, and |c| for condensed.
+A far more comprehensive listing is included in Appendix~A of Philipp Lehman's `The Font Installation Guide'\footnote{\texttt{texdoc fontinstallationguide}} covering 14 separate weights and 12 separate widths.
+
+The \feat{FontFace} command also interacts properly with the \feat{SizeFeatures} command as follows: (nonsense set of font selection choices)
+\begin{Verbatim}
+ FontFace = {c}{n}{
+ Font = Times ,
+ SizeFeatures = {
+ { Size = -10 , Font = Georgia } ,
+ { Size = 10-15} , % default "Font = Times"
+ { Size = 15- , Font = Cochin } ,
+ },
+ },
+\end{Verbatim}
+Note that if the first \feat{Font} feature is omitted then each size needs its own inner \feat{Font} declaration.
+
+\subsection{Math(s) fonts}
+
+When \cmd\setmainfont, \cmd\setsansfont\ and \cmd\setmonofont\ are used in the
+preamble, they also define the fonts to be used in maths mode inside the
+\cmd\mathrm-type commands. This only occurs in the preamble because \LaTeX\
+freezes the maths fonts after this stage of the processing. The \pkg{fontspec}
+package must also be loaded after any maths font packages (\eg, \pkg{euler})
+to be successful. (Actually, it is \emph{only} \pkg{euler} that is the
+problem.\note{Speaking of \pkg{euler}, if you want to use its
+\texttt{[mathbf]} option, it won't work, and you'll need to put this after
+\pkg{fontspec} is loaded instead:
+\ttfamily\cmd\AtBeginDocument\char`\{\cmd\DeclareMathAlphabet\cmd\mathbf\char`\{U\char`\}\char`\{eur\char`\}\char`\{b\char`\}\char`\{n\char`\}})
+
+Note that \pkg{fontspec} will not change the font for general mathematics;
+only the upright and bold shapes will be affected.
+To change the font used for the mathematical symbols, see either the
+\pkg{mathspec} package or the \pkg{unicode-math} package.
+
+Note that you may find that loading some maths packages won't be as smooth as
+you expect since \pkg{fontspec} (and \XeTeX\ in general) breaks many of the
+assumptions of \TeX\ as to where maths characters and accents can be found.
+Contact me if you have troubles, but I can't guarantee to be able to fix any
+incompatibilities. The Lucida and Euler maths fonts should be fine; for all
+others keep an eye out for problems.
+
+\cmdbox{
+ \cmd{\setmathrm}\marg{font name}\oarg{font features} \\
+ \cmd{\setmathsf}\marg{font name}\oarg{font features} \\
+ \cmd{\setmathtt}\marg{font name}\oarg{font features} \\
+ \cmd{\setboldmathrm}\marg{font name}\oarg{font features}
+}
+
+However, the default text fonts may not necessarily be the ones you
+wish to use when typesetting maths (especially with the use of fancy
+ligatures and so on). For this reason, you may optionally use the
+commands above (in the same way as our other
+\cmd\fontspec-like commands) to explicitly state which fonts to use
+inside such commands as \cmd\mathrm. Additionally, the
+\cmd\setboldmathrm\ command allows you define the font used for
+\cmd\mathrm\ when in bold maths mode (which is activated with, among
+others, \cmd\boldmath).
+
+For example, if you were using Optima with the Euler maths font, you
+might have this in your preamble:
+\begin{Verbatim}
+ \usepackage{mathpazo}
+ \usepackage{fontspec}
+ \setmainfont{Optima}
+ \setmathrm{Optima}
+ \setboldmathrm[BoldFont={Optima ExtraBlack}]{Optima Bold}
+\end{Verbatim}
+These commands are compatible with the \pkg{unicode-math} package.
+Having said that, \pkg{unicode-math} also defines a more general way of defining fonts to use in maths mode, so you can ignore this subsection if you're already using that package.
+
+
+\section{Miscellaneous font selecting details}
+
+\paragraph{The optional argument --- from v2.4}
+For the first decade of \pkg{fontspec}'s life, optional font features were selected with a bracketed argument before the font name, as in:
+\begin{Verbatim}
+ \setmainfont[
+ lots and lots ,
+ and more and more ,
+ an excessive number really ,
+ of font features could go here
+ ]{myfont.otf}
+\end{Verbatim}
+This always looked like ugly syntax to me, because the most important detail --- the name of the font --- was tucked away at the end.
+The order of these arguments has now been reversed:
+\begin{Verbatim}
+ \setmainfont{myfont.otf}[
+ lots and lots ,
+ and more and more ,
+ an excessive number really ,
+ of font features could go here
+ ]
+\end{Verbatim}
+I hope this doesn't cause any problems.
+\begin{enumerate}
+ \item Backwards compatibility has been preserved, so either input method works.
+ \item In fact, you can write
+ \begin{Verbatim}
+ \fontspec[Ligatures=Rare]{myfont.otf}[Color=red]
+ \end{Verbatim}
+ if you really felt like it and both sets of features would be applied.
+
+ \item
+ Following standard \pkg{xparse} behaviour, there must be no space before the opening bracket; writing
+ \begin{Verbatim*}
+\fontspec{myfont.otf} [Color=red]
+ \end{Verbatim*}
+ will result in |[Color=red]| not being recognised an argument and therefore it will be typeset as text. When breaking over lines, write either of:
+ \begin{Verbatim}
+ \fontspec{myfont.otf}% \fontspec{myfont.otf}[
+ [Color=red] Color=Red]
+ \end{Verbatim}
+
+\end{enumerate}
+
+\paragraph{Spaces}
+\cmd\fontspec\ and \cmd\addfontfeatures\ ignore trailing spaces as
+if it were a `naked' control sequence; \eg, `|M. \fontspec{...} N|' and
+`|M. \fontspec{...}N|' are the same.
+
+
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-intro.aux
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-intro.aux (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-intro.aux 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,56 @@
+\relax
+\providecommand\hyper at newdestlabel[2]{}
+\@writefile{toc}{\contentsline {part}{I\hspace {1em}Getting started}{6}{part.1}}
+\@writefile{toc}{\contentsline {section}{\numberline {1}History}{6}{section.1}}
+\@writefile{toc}{\contentsline {section}{\numberline {2}Introduction}{6}{section.2}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {2.1}Acknowledgements}{6}{subsection.2.1}}
+\@writefile{toc}{\contentsline {section}{\numberline {3}Package loading and options}{7}{section.3}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {3.1}Font encodings}{7}{subsection.3.1}}
+\newlabel{1 at xvr}{{}{7}{Font encodings}{subsection.3.1}{}}
+\newlabel{1 at vr}{{}{7}{Font encodings}{subsection.3.1}{}}
+\newlabel{2 at xvr}{{}{7}{Font encodings}{subsection.3.1}{}}
+\newlabel{2 at vr}{{}{7}{Font encodings}{subsection.3.1}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {3.2}Maths fonts adjustments}{7}{subsection.3.2}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {3.3}Configuration}{7}{subsection.3.3}}
+\newlabel{sec:config}{{Section\nobreakspace {}3.3}{7}{Configuration}{subsection.3.3}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {3.4}Warnings}{8}{subsection.3.4}}
+\newlabel{sec:quiet-warnings}{{Section\nobreakspace {}3.4}{8}{Warnings}{subsection.3.4}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {4}Interaction with \LaTeXe \ and other packages}{8}{section.4}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {4.1}Verbatim}{8}{subsection.4.1}}
+\newlabel{sec:verb}{{Section\nobreakspace {}4.1}{8}{Verbatim}{subsection.4.1}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {4.2}Discretionary hyphenation: \cs {\char 45\relax }}{8}{subsection.4.2}}
+\newlabel{sec:hyphen}{{Section\nobreakspace {}4.2}{8}{Discretionary hyphenation: \cmd \-}{subsection.4.2}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {4.3}Commands for old-style and lining numbers}{8}{subsection.4.3}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {4.4}Italic small caps}{8}{subsection.4.4}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {4.5}Emphasis and nested emphasis}{9}{subsection.4.5}}
+\@setckpt{fontspec-doc-intro}{
+\setcounter{page}{10}
+\setcounter{equation}{0}
+\setcounter{enumi}{2}
+\setcounter{enumii}{0}
+\setcounter{enumiii}{0}
+\setcounter{enumiv}{0}
+\setcounter{footnote}{0}
+\setcounter{mpfootnote}{0}
+\setcounter{part}{1}
+\setcounter{section}{4}
+\setcounter{subsection}{5}
+\setcounter{subsubsection}{0}
+\setcounter{paragraph}{0}
+\setcounter{subparagraph}{0}
+\setcounter{figure}{0}
+\setcounter{table}{0}
+\setcounter{StandardModuleDepth}{1}
+\setcounter{ContinuedFloat}{0}
+\setcounter{FancyVerbLine}{3}
+\setcounter{vrcnt}{2}
+\setcounter{lofdepth}{1}
+\setcounter{lotdepth}{1}
+\setcounter{Item}{2}
+\setcounter{Hfootnote}{0}
+\setcounter{Hy at AnnotLevel}{0}
+\setcounter{bookmark at seq@number}{15}
+\setcounter{example}{0}
+\setcounter{argument}{0}
+\setcounter{section at level}{2}
+}
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-intro.tex
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-intro.tex (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-intro.tex 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,202 @@
+
+\part{Getting started}
+
+\section{History}
+
+This package began life as a \LaTeX\ interface to select system-installed
+\MacOSX\ fonts in \name{Jonathan Kew}'s \XeTeX, the first widely-used
+Unicode extension to \TeX. Over time, \XeTeX\ was extended to support OpenType
+fonts and then was ported into a cross-platform program to run also on Windows
+and Linux.
+
+More recently, \LuaTeX\ is fast becoming the \TeX\ engine of the day; it
+supports Unicode encodings and OpenType fonts and opens up the internals of
+\TeX\ via the Lua programming language. Hans Hagen's Con\TeX t Mk.\,IV is a
+re-write of his powerful typesetting system, taking full advantage of
+\LuaTeX's features including font support; a kernel of his work in this area
+has been extracted to be useful for other \TeX\ macro systems as well, and
+this has enabled \pkg{fontspec} to be adapted for \LaTeX\ when run with the
+\LuaTeX\ engine.
+
+
+
+\section{Introduction}
+
+The \pkg{fontspec} package allows users of either \XeTeX\ or \LuaTeX\ to
+load OpenType fonts in a \LaTeX\ document. No font installation is necessary,
+and font features can be selected and used as desired throughout the document.
+
+Without \pkg{fontspec}, it is necessary to write cumbersome font definition
+files for \LaTeX, since \LaTeX's font selection scheme (known as the
+`\textsc{nfss}') has a lot going on behind the scenes to allow easy
+commands like \cmd\emph\ or \cmd\bfseries. With an uncountable number of
+fonts now available for use, however, it becomes less desirable to have to
+write these font definition (|.fd|) files for every font one wishes to use.
+
+Because \pkg{fontspec} is designed to work in a variety of modes, this
+user documentation is split into separate sections that are designed to be
+relatively independent. Nonetheless, the basic functionality all behaves in
+the same way, so previous users of \pkg{fontspec} under \XeTeX\ should have
+little or no difficulty switching over to \LuaTeX.
+
+This manual can get rather in-depth, as there are a lot of details
+to cover. See the documents \path{fontspec-example.tex} for a complete minimal example
+to get started quickly.
+
+
+\subsection{Acknowledgements}
+
+This package could not have been possible without the early and continued support
+the author of \XeTeX, Jonathan Kew. When I started this package, he steered
+me many times in the right direction.
+
+I've had great
+feedback over the years on feature requests, documentation queries, bug reports, font suggestions, and so on from lots of people all around the world.
+Many thanks to you all.
+
+Thanks to David Perry and Markus B\"ohning for numerous documentation
+improvements and David Perry again for contributing the text for one of the
+sections of this manual.
+
+Special thanks to Khaled Hosny, who was the driving force behind the support for \LuaLaTeX, ultimately leading to version 2.0 of the package.
+
+
+
+\section{Package loading and options}
+
+For basic use, no package options are required:
+\begin{Verbatim}
+ \usepackage{fontspec}
+\end{Verbatim}
+Package options will be introduced below; some preliminary details are discussed first.
+
+
+\subsection{Font encodings}
+The 2016 release of \pkg{fontspec} initiated some changes for font encodings and the loading of \pkg{xunicode}.
+The 2017 release rolls out those changes as default.
+
+The now-default \texttt{tuenc} package option switches the \textsc{nfss} font encoding to \texttt{TU}.
+\texttt{TU} is a new Unicode font encoding, intended for both \XeTeX\ and \LuaTeX\ engines, and automatically contains support for symbols covered by \LaTeX's traditional \texttt{T1} and \texttt{TS1} font encodings (for example, |\%|, |\textbullet|, |\"u|, and so on).
+As a result, with this package option, Ross Moore's \pkg{xunicode} package is \textbf{not} loaded.
+Some new, experimental, features are now provided to customise some encoding details; see Part~\vref{part:enc} for further details.
+
+Pre-2017 behaviour can be achieved with the \texttt{euenc} package option.
+This selects the \texttt{EU1} or \texttt{EU2} encoding (\XeTeX/\LuaTeX, resp.) and loads the \pkg{xunicode} package.
+Package authors and users who have referred explicitly to the encoding names \texttt{EU1} or \texttt{EU2} should update their code or documents.
+(See internal variable names described in \vref{sec:api} for how to do this properly.)
+
+
+\subsection{Maths fonts adjustments}
+By default, \pkg{fontspec} adjusts \LaTeX's default maths setup in order to maintain the correct Computer Modern symbols when the roman font changes.
+However, it will attempt to avoid doing this if another maths font package is loaded (such as \pkg{mathpazo} or the \pkg{unicode-math} package).
+
+If you find that \pkg{fontspec} is incorrectly changing the maths font when it shouldn't be, apply the |no-math| package option to manually suppress its behaviour here.
+
+
+\subsection{Configuration}
+\label{sec:config}
+
+If you wish to customise any part of the
+\pkg{fontspec} interface, this should be done by creating your own
+\texttt{fontspec.cfg} file,
+which will be automatically loaded if it is found by \XeTeX\ or \LuaTeX.
+A |fontspec.cfg| file is distributed with \pkg{fontspec} with a small number of defaults set up within it.
+
+To customise \pkg{fontspec} to your liking, use the standard |.cfg| file as a starting point or write your own from scratch, then either place it in the same folder as the main document for isolated cases, or in a location
+that \XeTeX\ or \LuaTeX\ searches by default; \eg\ in Mac\TeX: \path{~/Library/texmf/tex/latex/}.
+
+The package option |no-config| will suppress the loading of the |fontspec.cfg| file under all circumstances.
+
+
+\subsection{Warnings}
+\label{sec:quiet-warnings}
+
+This package can give some warnings that can be harmless if you know what
+you're doing. Use the |quiet| package option to write these warnings to the
+transcript (\texttt{.log}) file instead.
+
+Use the |silent| package option to completely suppress these warnings if you
+don't even want the |.log| file cluttered up.
+
+
+
+\section{Interaction with \LaTeXe\ and other packages}
+
+This section documents some areas of adjustment that \pkg{fontspec} makes
+to improve default behaviour with \LaTeXe\ and third-party packages.
+
+
+\subsection{Verbatim}
+\label{sec:verb}
+
+Many verbatim mechanisms assume the existence of a `visible space' character that exists in the \textsc{ascii} space slot of the typewriter font. This character is known in Unicode as \unichar{2423}{box open}, which looks like this: `\verb*| |'.
+
+When a Unicode typewriter font is used, \LaTeX\ no longer prints visible spaces for the |verbatim*| environment and |\verb*| command.
+This problem is fixed by using the correct Unicode glyph, and the following packages are patched to do the same:
+\pkg{listings}, \pkg{fancyvrb}, \pkg{moreverb}, and \pkg{verbatim}.
+
+In the case that the typewriter font does not contain `\verb*| |', the Latin Modern Mono font is used as a fallback.
+
+
+\subsection{Discretionary hyphenation: \cmd\-}
+\label{sec:hyphen}
+
+\DescribeMacro{\-}
+\LaTeX\ defines the macro \cmd\-\ to insert discretionary hyphenation points.
+However, it is hard-coded in \LaTeX\ to use the hyphen |-| character.
+Since \pkg{fontspec} provides features to change the hyphenation character on
+a per font basis, the definition of \cmd\-\ is changed to adapt accordingly.
+
+
+\subsection{Commands for old-style and lining numbers}
+
+\DescribeMacro{\oldstylenums}
+\DescribeMacro{\liningnums}
+\LaTeX's definition of \cs{oldstylenums} relies on strange font encodings.
+We provide a \pkg{fontspec}-compatible alternative and while we're at it
+also throw in the reverse option as well. Use \cs{oldstylenums}\marg{text}
+to explicitly use old-style (or lowercase) numbers in \meta{text}, and
+the reverse for \cs{liningnums}\marg{text}.
+
+
+\subsection{Italic small caps}
+
+\DescribeMacro{\itshape}
+\DescribeMacro{\slshape}
+\DescribeMacro{\scshape}
+Note that this package redefines the \cs{itshape}, \cs{slshape}, and \cs{scshape} commands in order to allow them to select italic small caps in conjunction.
+With these changes, writing |\itshape\scshape| will lead to italic small caps, and |\upshape| subsequently then moves back to small caps only. |\upshape| again returns from small caps to upright regular.
+(And similarly for for |\slshape|. In addition, once italic small caps are selected then |\slshape| will switch to slanted small caps, and vice versa.)
+
+
+\subsection{Emphasis and nested emphasis}
+
+\DescribeMacro{\eminnershape}
+\LaTeXe\ allows you to specify the behaviour of \cs{emph} nested within \cs{emph} by setting the \cs{eminnershape} command.
+For example,
+\begin{Verbatim}
+ \renewcommand\eminnershape{\upshape\scshape}
+\end{Verbatim}
+will produce small caps within |\emph{\emph{...}}|.
+
+\DescribeMacro{\emfontdeclare}
+The \pkg{fontspec} package takes this idea one step further to allow arbitrary font changes (e.g., boldness) and arbitrary levels of nesting within emphasis.
+This is performed using the |\emfontdeclare| command, which takes a comma-separated list of font switches corresponding to increasing levels of emphasis.
+Two examples:
+\begin{enumerate}
+\item |\emfontdeclare{\itshape,\upshape\scshape,\itshape}| will lead to `italics', `small caps', then `italic small caps' as the level of emphasis increases, as long as italic small caps are defined for the font.
+ Note that |\upshape| is required because the font changes are cascading.
+\item |\emfontdeclare{\bfseries,\fontseries{h}\selectfont,\fontseries{x}\selectfont}| could lead to (if fonts are set up correctly) `bold', `heavy', and `extra bold'.
+\end{enumerate}
+The implementation of these feature tries to be `smart' and guess what level of emphasis to use in the case of manual font changing.
+This is reliable only if you use series- and/or shape- changing commands in \cs{emfontdeclare}.
+For example:
+\begin{Verbatim}
+ \emfontdeclare{\itshape,\upshape\scshape,\itshape}
+ ...
+ \scshape small caps \emph{hello}
+\end{Verbatim}
+Here, the emphasised text `hello' will be printed in italic small caps since |\emph| can detect that the current font shape is already in the second `mode' of emphasis.
+
+\DescribeMacro{\emreset}
+Finally, if you have so much nested emphasis that |\emfontdeclare| runs out of options, it will insert |\emreset| (by default just |\upshape|) and start again from the beginning.
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-luatex.aux
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-luatex.aux (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-luatex.aux 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,38 @@
+\relax
+\providecommand\hyper at newdestlabel[2]{}
+\@writefile{toc}{\contentsline {part}{VI\hspace {1em}\hologoRobust {LuaTeX}-only font features}{57}{part.6}}
+\newlabel{sec:luatex-features}{{VI}{57}{\LuaTeX -only font features}{part.6}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {20}Custom font features}{57}{section.20}}
+\@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces An example of custom font features.\relax }}{58}{figure.caption.63}}
+\newlabel{fig:featurefile}{{1}{58}{An example of custom font features.\relax }{figure.caption.63}{}}
+\@setckpt{fontspec-doc-luatex}{
+\setcounter{page}{59}
+\setcounter{equation}{0}
+\setcounter{enumi}{3}
+\setcounter{enumii}{0}
+\setcounter{enumiii}{0}
+\setcounter{enumiv}{0}
+\setcounter{footnote}{11}
+\setcounter{mpfootnote}{0}
+\setcounter{part}{6}
+\setcounter{section}{20}
+\setcounter{subsection}{0}
+\setcounter{subsubsection}{0}
+\setcounter{paragraph}{0}
+\setcounter{subparagraph}{0}
+\setcounter{figure}{1}
+\setcounter{table}{17}
+\setcounter{StandardModuleDepth}{1}
+\setcounter{ContinuedFloat}{0}
+\setcounter{FancyVerbLine}{18}
+\setcounter{vrcnt}{32}
+\setcounter{lofdepth}{1}
+\setcounter{lotdepth}{1}
+\setcounter{Item}{5}
+\setcounter{Hfootnote}{11}
+\setcounter{Hy at AnnotLevel}{0}
+\setcounter{bookmark at seq@number}{63}
+\setcounter{example}{40}
+\setcounter{argument}{0}
+\setcounter{section at level}{1}
+}
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-luatex.tex
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-luatex.tex (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-luatex.tex 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,43 @@
+
+
+\part{\LuaTeX-only font features}
+\label{sec:luatex-features}
+
+\section{Custom font features}
+
+Pre-2016, it was possible to load an OpenType font feature file to define new OpenType features for a selected font. This facility was particularly useful to implement custom substitutions, for example. As of \TeX{}Live~2016, \LuaTeX/\pkg{luaotfload} no longer supports this feature, but provides its own internal mechanisms for an equivalent interface.
+
+Any documents using `feature file' options will need to transition to the new interface.
+Figure~\ref{fig:featurefile} shows an example.
+Please refer to the \LuaTeX/\pkg{luaotfload} documentation for more details.
+
+\begin{figure}
+\caption{An example of custom font features.}
+\label{fig:featurefile}
+\hrule
+\begin{Verbatim}
+\documentclass{article}
+\usepackage{fontspec}
+\directlua{
+ fonts.handlers.otf.addfeature {
+ name = "oneb",
+ {
+ type = "substitution",
+ data = {
+ ["1"] = "one.ss01",
+ },
+ },
+ "feature oneb for vollkorn font",
+ }
+}
+\setmainfont{Vollkorn-Regular.otf}[RawFeature=+oneb]
+\begin{document}
+1234567890
+\end{document}
+\end{Verbatim}
+\hrule
+\end{figure}
+
+
+
+
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-opentype.aux
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-opentype.aux (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-opentype.aux 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,151 @@
+\relax
+\providecommand\hyper at newdestlabel[2]{}
+\@writefile{toc}{\contentsline {part}{IV\hspace {1em}OpenType}{32}{part.4}}
+\newlabel{sec:opentype-features}{{IV}{32}{OpenType}{part.4}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {15}Introduction}{32}{section.15}}
+\newlabel{sec:opentype-features-intro}{{Section\nobreakspace {}15}{32}{Introduction}{section.15}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.1}How to select font features}{32}{subsection.15.1}}
+\newlabel{19 at xvr}{{}{32}{How to select font features}{subsection.15.1}{}}
+\newlabel{19 at vr}{{}{32}{How to select font features}{subsection.15.1}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {15.2}How do I know what font features are supported by my fonts?}{33}{subsection.15.2}}
+\@writefile{toc}{\contentsline {paragraph}{otfinfo}{33}{section*.24}}
+\@writefile{toc}{\contentsline {section}{\numberline {16}OpenType font features}{34}{section.16}}
+\newlabel{sec:ot-feat}{{Section\nobreakspace {}16}{34}{OpenType font features}{section.16}{}}
+\newlabel{20 at xvr}{{}{34}{OpenType font features}{section.16}{}}
+\newlabel{20 at vr}{{}{34}{OpenType font features}{section.16}{}}
+\newlabel{21 at xvr}{{}{34}{OpenType font features}{section.16}{}}
+\newlabel{21 at vr}{{}{34}{OpenType font features}{section.16}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {16.1}Tag-based features}{34}{subsection.16.1}}
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {16.1.1}Ligatures}{34}{subsubsection.16.1.1}}
+\newlabel{sec:ot-feat-liga}{{16.1.1}{34}{Ligatures}{subsubsection.16.1.1}{}}
+\newlabel{22 at xvr}{{}{34}{Ligatures}{subsubsection.16.1.1}{}}
+\newlabel{22 at vr}{{}{34}{Ligatures}{subsubsection.16.1.1}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {16.2}Letters}{34}{subsection.16.2}}
+\newlabel{sec:letters}{{Section\nobreakspace {}16.2}{34}{Letters}{subsection.16.2}{}}
+\newlabel{ex:lig}{{19}{34}{Letters}{example.19}{}}
+\@writefile{lot}{\contentsline {table}{\numberline {2}{\ignorespaces Summary of OpenType features in \textsf {fontspec}, alphabetic by feature tag.\relax }}{35}{table.caption.25}}
+\newlabel{tab:all-ot}{{Table\nobreakspace {}2}{35}{Summary of OpenType features in \textsf {fontspec}, alphabetic by feature tag.\relax }{table.caption.25}{}}
+\@writefile{lot}{\contentsline {table}{\numberline {3}{\ignorespaces List of \emph {unsupported} OpenType features.\relax }}{36}{table.caption.26}}
+\newlabel{tab:none-ot}{{Table\nobreakspace {}3}{36}{List of \emph {unsupported} OpenType features.\relax }{table.caption.26}{}}
+\@writefile{lot}{\contentsline {table}{\numberline {4}{\ignorespaces Options for the OpenType font feature `Ligatures'.\relax }}{36}{table.caption.27}}
+\newlabel{feat:Ligatures}{{Table\nobreakspace {}4}{36}{Options for the OpenType font feature `\thisfeatname '.\relax }{table.caption.27}{}}
+\@writefile{lot}{\contentsline {table}{\numberline {5}{\ignorespaces Options for the OpenType font feature `Letters'.\relax }}{37}{table.caption.29}}
+\newlabel{feat:Letters}{{Table\nobreakspace {}5}{37}{Options for the OpenType font feature `\thisfeatname '.\relax }{table.caption.29}{}}
+\newlabel{ex:caps}{{20}{38}{Letters}{example.20}{}}
+\newlabel{ex:letters-uppercase}{{21}{38}{Letters}{example.21}{}}
+\newlabel{23 at xvr}{{}{38}{Letters}{figure.caption.31}{}}
+\newlabel{23 at vr}{{}{38}{Letters}{figure.caption.31}{}}
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {16.2.1}Numbers}{38}{subsubsection.16.2.1}}
+\newlabel{24 at xvr}{{}{38}{Numbers}{table.caption.32}{}}
+\newlabel{24 at vr}{{}{38}{Numbers}{table.caption.32}{}}
+\newlabel{ex:slashzero}{{22}{38}{Numbers}{example.22}{}}
+\newlabel{25 at xvr}{{}{38}{Numbers}{figure.caption.33}{}}
+\newlabel{25 at vr}{{}{38}{Numbers}{figure.caption.33}{}}
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {16.2.2}Contextuals}{38}{subsubsection.16.2.2}}
+\@writefile{lot}{\contentsline {table}{\numberline {6}{\ignorespaces Options for the OpenType font feature `Numbers'.\relax }}{39}{table.caption.32}}
+\newlabel{feat:Numbers}{{Table\nobreakspace {}6}{39}{Options for the OpenType font feature `\thisfeatname '.\relax }{table.caption.32}{}}
+\@writefile{lot}{\contentsline {table}{\numberline {7}{\ignorespaces Options for the OpenType font feature `Contextuals'.\relax }}{39}{table.caption.34}}
+\newlabel{feat:Contextuals}{{Table\nobreakspace {}7}{39}{Options for the OpenType font feature `\thisfeatname '.\relax }{table.caption.34}{}}
+\@writefile{lot}{\contentsline {table}{\numberline {8}{\ignorespaces Options for the OpenType font feature `VerticalPosition'.\relax }}{40}{table.caption.35}}
+\newlabel{feat:VerticalPosition}{{Table\nobreakspace {}8}{40}{Options for the OpenType font feature `\thisfeatname '.\relax }{table.caption.35}{}}
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {16.2.3}Vertical Position}{40}{subsubsection.16.2.3}}
+\newlabel{ex:vertpos}{{23}{40}{Vertical Position}{example.23}{}}
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {16.2.4}Fractions}{40}{subsubsection.16.2.4}}
+\newlabel{ex:ot-frac}{{24}{40}{Fractions}{example.24}{}}
+\@writefile{lot}{\contentsline {table}{\numberline {9}{\ignorespaces Options for the OpenType font feature `Fractions'.\relax }}{41}{table.caption.37}}
+\newlabel{feat:Fractions}{{Table\nobreakspace {}9}{41}{Options for the OpenType font feature `\thisfeatname '.\relax }{table.caption.37}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {16.3}Style}{41}{subsection.16.3}}
+\newlabel{sec:ot-feat-style}{{Section\nobreakspace {}16.3}{41}{Style}{subsection.16.3}{}}
+\newlabel{ex:style-alt}{{25}{41}{Style}{example.25}{}}
+\newlabel{ex:style-hist}{{26}{41}{Style}{example.26}{}}
+\newlabel{ex:style-titl}{{27}{41}{Style}{example.27}{}}
+\newlabel{ex:style-itrub}{{28}{41}{Style}{example.28}{}}
+\newlabel{ex:style-hvkana}{{29}{41}{Style}{example.29}{}}
+\@writefile{lot}{\contentsline {table}{\numberline {10}{\ignorespaces Options for the OpenType font feature `Style'.\relax }}{42}{table.caption.39}}
+\newlabel{feat:Style}{{Table\nobreakspace {}10}{42}{Options for the OpenType font feature `\thisfeatname '.\relax }{table.caption.39}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {16.4}Diacritics}{43}{subsection.16.4}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {16.5}Kerning}{43}{subsection.16.5}}
+\newlabel{sec:kerning}{{Section\nobreakspace {}16.5}{43}{Kerning}{subsection.16.5}{}}
+\newlabel{26 at xvr}{{}{43}{Kerning}{table.caption.46}{}}
+\newlabel{26 at vr}{{}{43}{Kerning}{table.caption.46}{}}
+\newlabel{ex:kernup}{{30}{43}{Kerning}{example.30}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {16.6}Character width}{43}{subsection.16.6}}
+\newlabel{sec:CharacterWidth}{{Section\nobreakspace {}16.6}{43}{Character width}{subsection.16.6}{}}
+\newlabel{ex:charwdprop}{{31}{43}{Character width}{example.31}{}}
+\newlabel{ex:charwd}{{32}{43}{Character width}{example.32}{}}
+\@writefile{lot}{\contentsline {table}{\numberline {11}{\ignorespaces Options for the OpenType font feature `Diacritics'.\relax }}{43}{table.caption.45}}
+\newlabel{feat:Diacritics}{{Table\nobreakspace {}11}{43}{Options for the OpenType font feature `\thisfeatname '.\relax }{table.caption.45}{}}
+\@writefile{lot}{\contentsline {table}{\numberline {12}{\ignorespaces Options for the OpenType font feature `Kerning'.\relax }}{44}{table.caption.46}}
+\newlabel{feat:Kerning}{{Table\nobreakspace {}12}{44}{Options for the OpenType font feature `\thisfeatname '.\relax }{table.caption.46}{}}
+\@writefile{lot}{\contentsline {table}{\numberline {13}{\ignorespaces Options for the OpenType font feature `CharacterWidth'.\relax }}{44}{table.caption.48}}
+\newlabel{feat:CharacterWidth}{{Table\nobreakspace {}13}{44}{Options for the OpenType font feature `\thisfeatname '.\relax }{table.caption.48}{}}
+\@writefile{lot}{\contentsline {table}{\numberline {14}{\ignorespaces Options for the OpenType font feature `CJKShape'.\relax }}{45}{table.caption.51}}
+\newlabel{feat:CJKShape}{{Table\nobreakspace {}14}{45}{Options for the OpenType font feature `\thisfeatname '.\relax }{table.caption.51}{}}
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {16.6.1}CJK shape}{46}{subsubsection.16.6.1}}
+\newlabel{ex:ot-cjk-shape}{{33}{46}{CJK shape}{example.33}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {16.7}Vertical typesetting}{46}{subsection.16.7}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {16.8}Numeric features}{46}{subsection.16.8}}
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {16.8.1}Stylistic Set variations --- \texttt {ssNN}}{46}{subsubsection.16.8.1}}
+\newlabel{ex:ss}{{34}{46}{Stylistic Set variations --- \texttt {ssNN}}{example.34}{}}
+\newlabel{ex:ss2}{{35}{46}{Stylistic Set variations --- \texttt {ssNN}}{example.35}{}}
+\newlabel{27 at xvr}{{}{46}{Stylistic Set variations --- \texttt {ssNN}}{figure.caption.55}{}}
+\newlabel{27 at vr}{{}{46}{Stylistic Set variations --- \texttt {ssNN}}{figure.caption.55}{}}
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {16.8.2}Character Variants --- \texttt {cvNN}}{46}{subsubsection.16.8.2}}
+\@writefile{lot}{\contentsline {table}{\numberline {15}{\ignorespaces Options for the OpenType font feature `Vertical'.\relax }}{47}{table.caption.53}}
+\newlabel{feat:Vertical}{{Table\nobreakspace {}15}{47}{Options for the OpenType font feature `\thisfeatname '.\relax }{table.caption.53}{}}
+\newlabel{ex:cv}{{36}{48}{Character Variants --- \texttt {cvNN}}{example.36}{}}
+\newlabel{ex:cv2}{{37}{48}{Character Variants --- \texttt {cvNN}}{example.37}{}}
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {16.8.3}Alternates --- \texttt {salt}}{48}{subsubsection.16.8.3}}
+\newlabel{ex:salt}{{38}{48}{Alternates --- \texttt {salt}}{example.38}{}}
+\newlabel{28 at xvr}{{}{48}{Alternates --- \texttt {salt}}{figure.caption.58}{}}
+\newlabel{28 at vr}{{}{48}{Alternates --- \texttt {salt}}{figure.caption.58}{}}
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {16.8.4}Annotation --- \texttt {nalt} }{48}{subsubsection.16.8.4}}
+\newlabel{ex:ot-annot}{{39}{48}{Annotation --- \texttt {nalt}}{example.39}{}}
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {16.8.5}Ornament --- \texttt {ornm}}{48}{subsubsection.16.8.5}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {16.9}OpenType scripts and languages}{48}{subsection.16.9}}
+\newlabel{sec:ot}{{Section\nobreakspace {}16.9}{48}{OpenType scripts and languages}{subsection.16.9}{}}
+\newlabel{29 at xvr}{{}{48}{OpenType scripts and languages}{subsection.16.9}{}}
+\newlabel{29 at vr}{{}{48}{OpenType scripts and languages}{subsection.16.9}{}}
+\newlabel{30 at xvr}{{}{48}{OpenType scripts and languages}{subsection.16.9}{}}
+\newlabel{30 at vr}{{}{48}{OpenType scripts and languages}{subsection.16.9}{}}
+\newlabel{31 at xvr}{{}{50}{OpenType scripts and languages}{subsection.16.9}{}}
+\newlabel{31 at vr}{{}{50}{OpenType scripts and languages}{subsection.16.9}{}}
+\newlabel{32 at xvr}{{}{50}{OpenType scripts and languages}{subsection.16.9}{}}
+\newlabel{32 at vr}{{}{50}{OpenType scripts and languages}{subsection.16.9}{}}
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {16.9.1}\texttt {Script} and \texttt {Language} examples}{50}{subsubsection.16.9.1}}
+\newlabel{ex:script-lang}{{40}{50}{\feat {Script} and \feat {Language} examples}{example.40}{}}
+\@writefile{lot}{\contentsline {table}{\numberline {16}{\ignorespaces Defined \texttt {Script}s for OpenType fonts. Aliased names are shown in adjacent positions marked with red pilcrows ({\sffamily \leavevmode {\color {red}\P }}).\relax }}{51}{table.caption.61}}
+\newlabel{tab:ot-scpt}{{Table\nobreakspace {}16}{51}{Defined \opt {Script}s for OpenType fonts. Aliased names are shown in adjacent positions marked with red pilcrows ({\sffamily \textcolor {red}{\P }}).\relax }{table.caption.61}{}}
+\@writefile{lot}{\contentsline {table}{\numberline {17}{\ignorespaces Defined \texttt {Language}s for OpenType fonts. Aliased names are shown in adjacent positions marked with red pilcrows ({\sffamily \leavevmode {\color {red}\P }}).\relax }}{52}{table.caption.62}}
+\newlabel{tab:ot-lang}{{Table\nobreakspace {}17}{52}{Defined \opt {Language}s for OpenType fonts. Aliased names are shown in adjacent positions marked with red pilcrows ({\sffamily \textcolor {red}{\P }}).\relax }{table.caption.62}{}}
+\@setckpt{fontspec-doc-opentype}{
+\setcounter{page}{53}
+\setcounter{equation}{0}
+\setcounter{enumi}{3}
+\setcounter{enumii}{0}
+\setcounter{enumiii}{0}
+\setcounter{enumiv}{0}
+\setcounter{footnote}{11}
+\setcounter{mpfootnote}{0}
+\setcounter{part}{4}
+\setcounter{section}{16}
+\setcounter{subsection}{9}
+\setcounter{subsubsection}{1}
+\setcounter{paragraph}{0}
+\setcounter{subparagraph}{0}
+\setcounter{figure}{0}
+\setcounter{table}{17}
+\setcounter{StandardModuleDepth}{1}
+\setcounter{ContinuedFloat}{0}
+\setcounter{FancyVerbLine}{23}
+\setcounter{vrcnt}{32}
+\setcounter{lofdepth}{1}
+\setcounter{lotdepth}{1}
+\setcounter{Item}{5}
+\setcounter{Hfootnote}{11}
+\setcounter{Hy at AnnotLevel}{0}
+\setcounter{bookmark at seq@number}{57}
+\setcounter{example}{40}
+\setcounter{argument}{0}
+\setcounter{section at level}{3}
+}
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-opentype.tex
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-opentype.tex (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-opentype.tex 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,911 @@
+
+
+\part{OpenType}
+\label{sec:opentype-features}
+
+\section{Introduction}
+\label{sec:opentype-features-intro}
+
+OpenType fonts (and other `smart' font technologies such as AAT and Graphite) can change the appearance of text in many different ways.
+These changes are referred to as font features.
+When the user applies a feature~--- for example, small capitals~--- to a run of text, the code inside the font makes appropriate substitutions and small capitals appear in place of lowercase letters.
+However, the use of such features does not affect the underlying text.
+In our small caps example, the lowercase letters are still stored in the document; only the appearance has been changed by the OpenType feature.
+This makes it possible to search and copy text without difficulty.
+If the user selected a different font that does not support small caps, the `plain' lowercase letters would appear instead.
+
+Some OpenType features are required to support particular scripts, and these features are often applied automatically.
+The Indic scripts, for example, often require that characters be reshaped and reordered after they are typed by the user, in order to display them in the traditional ways that readers expect.
+Other features can be applied to support a particular language.
+The Junicode font for medievalists uses by default the Old English shape of the letter thorn, while in modern Icelandic thorn has a more rounded shape.
+If a user tags some text as being in Icelandic, Junicode will automatically change to the Icelandic shape through an OpenType feature that localises the shapes of letters.
+
+There are a large group of OpenType features, designed to support high quality typography a multitude of languages and writing scripts.
+Examples of some font features have already been shown in previous sections; the complete set of OpenType font features supported by \pkg{fontspec} is described below in \ref{sec:ot-feat}.
+
+The OpenType specification provides four-letter codes (e.g., \texttt{smcp} for small capitals) for each feature. The four-letter codes are given below along with the \pkg{fontspec} names for various features, for the benefit of people who are already familiar with OpenType. You can ignore the codes if they don't mean anything to you.
+
+
+\subsection{How to select font features}
+
+Font features are selected by a series of \meta{feature}=\meta{option}
+selections. Features are (usually) grouped logically; for example, all
+font features relating to ligatures are accessed by writing \verb|Ligatures={...}| with the appropriate argument(s), which could be \texttt{TeX}, \texttt{Rare}, etc., as shown below in \ref{sec:ot-feat-liga}.
+
+Multiple options may be given to
+any feature that accepts non-numerical input, although doing so will
+not always work. Some options will override others in generally
+obvious ways; \Verb|Numbers={OldStyle,Lining}| doesn't make much
+sense because the two options are mutually exclusive, and \XeTeX\
+will simply use the last option that is specified (in this case
+using \opt{Lining} over \opt{OldStyle}).
+
+If a feature or an option is requested that the font does not have,
+a warning is given in the console output. As mentioned in \vref{sec:quiet-warnings}
+these warnings can be suppressed by selecting the \texttt{[quiet]} package option.
+
+\subsection{How do I know what font features are supported by my fonts?}
+
+Although I've long desired to have a feature within \pkg{fontspec} to display the OpenType features within a font, it's never been high on my priority list.
+One reason for that is the existence of the document |opentype-info.tex|, which is available on \textsc{ctan} or typing |kpsewhich opentype-info.tex| in a Terminal window.
+Make a copy of this file and place it somewhere convenient.
+Then open it in your regular \TeX\ editor and change the font name to the font you'd like to query; after running through plain \XeTeX, the output \textsc{pdf} will look something like this:
+
+\begin{framed}
+\def\myfontname{[Asana-Math.otf]}
+%
+%%% OpenType-info.tex %%%
+
+\font\testfont="\myfontname/ICU" at 12pt
+
+\rightskip=0pt plus 1fil
+
+\font\titlefont=ec-lmssbx10 at 12pt
+\font\tenrm=ec-lmss10 at 9pt \tenrm
+\font\tentt=ec-lmtt10 at 9pt
+
+\def\fourcharcode#1{\begingroup
+ \count0=#1\count1=\count0
+ \ifnum\count0=0
+ $\langle$default$\rangle$%
+ \else
+ \tentt
+ '%
+ \divide\count0 by "1000000
+ \char\count0
+ \multiply\count0 by "1000000
+ \advance\count1 by -\count0
+ \count0=\count1
+ \divide\count0 by "10000
+ \char\count0
+ \multiply\count0 by "10000
+ \advance\count1 by -\count0
+ \count0=\count1
+ \divide\count0 by "100
+ \char\count0
+ \multiply\count0 by "100
+ \advance\count1 by -\count0
+ \ifnum\count1=32 \ \else \char\count1 \fi
+ '%
+ \fi
+ \endgroup
+}
+
+\newcount\scriptcount
+\newcount\scriptindex
+\newcount\scripttag
+\newcount\langcount
+\newcount\langindex
+\newcount\langtag
+\newcount\featurecount
+\newcount\featureindex
+\newcount\featuretag
+
+\leftline{\titlefont OpenType Layout features found in `\myfontname'}
+\nobreak
+
+\scriptcount=\XeTeXOTcountscripts\testfont
+\ifnum\scriptcount=0 \noindent None\par\fi
+
+\loop
+ \ifnum\scriptindex<\scriptcount
+ \smallskip
+ \scripttag=\XeTeXOTscripttag\testfont\scriptindex
+ \noindent script = \fourcharcode{\scripttag}\endgraf\nobreak
+ \langcount=\XeTeXOTcountlanguages\testfont\scripttag
+ \advance\langcount by 1 % one extra to get the default language system
+ {\loop
+ \langtag=\XeTeXOTlanguagetag\testfont\scripttag\langindex
+ \indent language = \fourcharcode{\langtag}\endgraf\nobreak
+ \featurecount=\XeTeXOTcountfeatures\testfont\scripttag\langtag
+ {\indent\indent \hangindent=3\parindent \hangafter=1 features = \loop
+ \featuretag=\XeTeXOTfeaturetag\testfont\scripttag\langtag\featureindex
+ \fourcharcode{\featuretag}
+ \advance\featureindex by 1
+ \ifnum\featureindex<\featurecount \repeat\endgraf}
+ \advance\langindex by 1
+ \ifnum\langindex<\langcount \medskip \repeat}
+ \advance\scriptindex by 1
+\repeat
+\end{framed}
+
+\noindent I intentionally picked a font that by design needs few font features; `regular' text fonts such as Latin Modern Roman contain many more, and I didn't want to clutter up the document too much.
+You'll then need to cross-check the OpenType feature tags with the `logical' names used by \pkg{fontspec}.
+
+\paragraph{otfinfo}
+Alternatively, and more simply, you can use the command line tool |otfinfo|, which is distributed with \TeX{}Live.
+Simply type in a Terminal window, say:
+\begin{Verbatim}
+ otfinfo -f `kpsewhich lmromandunh10-oblique.otf`
+\end{Verbatim}
+which results in:
+\begin{Verbatim}[frame=single]
+aalt Access All Alternates
+cpsp Capital Spacing
+dlig Discretionary Ligatures
+frac Fractions
+kern Kerning
+liga Standard Ligatures
+lnum Lining Figures
+onum Oldstyle Figures
+pnum Proportional Figures
+size Optical Size
+tnum Tabular Figures
+zero Slashed Zero
+\end{Verbatim}
+
+\section{OpenType font features}
+\label{sec:ot-feat}
+
+There are a finite set of OpenType font features, and \pkg{fontspec} provides an
+interface to around half of them.
+Full documentation will be presented in the following sections, including how to
+enable and disable individual features, and how they interact.
+
+A brief reference is provided (\vref*{tab:all-ot}) but note that this is an incomplete
+listing --- only the `enable' keys are shown, and where alternative interfaces are
+provided for convenience only the first is shown.
+(E.g., |Numbers=OldStyle| is the same as |Numbers=Lowercase|.)
+
+For completeness, the complete list of OpenType features \emph{not} provided with
+a \pkg{fontspec} interface is shown in \vref{tab:none-ot}.
+Features omitted are partially by design and partially by oversight;
+for example, the |aalt| feature is largely useless in \TeX\ since it is designed
+for providing a textsc{gui} interface for selecting `all alternates' of a glyph.
+Others, such as optical bounds for example, simply haven't yet been considered
+due to a lack of fonts available for testing.
+Suggestions welcome for how/where to add these missing features to the package.
+
+\ExplSyntaxOn
+\def\allOTfeat{
+ \prop_map_inline:Nn \g__fontspec_all_opentype_feature_names_prop
+ { \opentypefeature{##1}{##2} }
+}
+\newcommand\opentypefeature[2]{
+ \prop_get:NnNT \g__fontspec_OT_features_prop {#1} \tmpa
+ {
+ \raggedright
+ \hangindent=5.2cm
+ \makebox[1cm][l]{\textsc{#1}}
+ \makebox[4.2cm][l]{
+ \int_compare:nT { \tl_count:N \tmpa > 25 } {\ttcondensed} {\ttfamily}
+ \tmpa
+ }
+ \textit{#2}
+ \par
+ \vspace{2pt}
+ }
+}
+\ExplSyntaxOff
+
+\begin{table}
+\caption{Summary of OpenType features in \textsf{fontspec}, alphabetic by feature tag.}
+\label{tab:all-ot}
+\centerline{%
+\begin{minipage}{18cm}
+\small
+\hrule\smallskip
+\begin{multicols}{2}
+\parindent =0pt
+\allOTfeat
+\end{multicols}
+\vspace*{-\smallskipamount}
+\hrule
+\end{minipage}}
+\end{table}
+
+\ExplSyntaxOn
+\renewcommand\opentypefeature[2]{
+ \prop_get:NnNF \g__fontspec_OT_features_prop {#1} \tmpa
+ {
+ \raggedright
+ \hangindent=0.9cm
+ \makebox[0.9cm][l]{\textsc{#1}}%
+ \textit{#2}
+ \par
+ }
+}
+\ExplSyntaxOff
+
+\begin{table}
+\caption{List of \emph{unsupported} OpenType features.}
+\label{tab:none-ot}
+\bigskip
+\centerline{%
+\begin{minipage}{15cm}
+\hrule\smallskip
+\begin{multicols}{3}
+\parindent =0pt
+\allOTfeat
+\end{multicols}
+\vspace*{-\smallskipamount}
+\hrule
+\end{minipage}}
+\end{table}
+
+\subsection{Tag-based features}
+
+\subsubsection{Ligatures}
+\label{sec:ot-feat-liga}
+
+\feat{Ligatures} refer to the replacement of two separate characters
+with a specially drawn glyph for functional or \ae sthetic reasons.
+The list of options, of which multiple may be selected at one time,
+is shown in \ref{feat:Ligatures}.
+A demonstration with the Linux Libertine fonts\note{\url{http://www.linuxlibertine.org/}} is shown in \exref{lig}.
+
+Note the additional features accessed with \verb|Ligatures=TeX|. These are
+not actually real OpenType features, but additions provided by \pkg{luaotfload} (i.e., \LuaTeX\ only) to emulate \TeX's behaviour for \textsc{ascii} input of curly quotes and punctuation. In \XeTeX\ this is achieved with the \feat{Mapping} feature (see \vref{sec:mapping}) but for consistency \verb|Ligatures=TeX| will perform the same function as \verb|Mapping=tex-text|.
+
+\subsection{Letters} \label{sec:letters}
+The \opt{Letters} feature specifies how the letters in the current font
+will look. OpenType fonts may contain the following options:
+\opt{Uppercase}, \opt{SmallCaps}, \opt{PetiteCaps},
+\opt{UppercaseSmallCaps}, \opt{UppercasePetiteCaps}, and
+\opt{Unicase}.
+
+
+\begin{features}{Ligatures}
+\otf*{Required}{rlig}
+\otf*{Common}{liga}
+\otf*{Contextual}{clig}
+\otf*{Rare/Discretionary}{dlig}
+\otf*{Historic}{hlig}
+\otf*{TeX}{tlig}
+\cmidrule{2-4}
+\otf{ResetAll}{}
+\end{features}
+
+\begin{Lexample}[firstline=2]{lig}{An example of the \feat{Ligatures} feature.}
+ \Huge\centering
+ \def\test#1#2{%
+ #2 $\to$ {\addfontfeature{#1} #2}\\}
+ \fontspec{Linux Libertine O}
+ \test{Ligatures=Historic}{strict}
+ \test{Ligatures=Rare}{wurtzite}
+ \test{Ligatures=NoCommon}{firefly}
+\end{Lexample}
+
+\begin{features}{Letters}
+\otf*{Uppercase}{case}
+\otf*{SmallCaps}{smcp}
+\otf*{PetiteCaps}{pcap}
+\otf*{UppercaseSmallCaps}{c2sc}
+\otf*{UppercasePetiteCaps}{c2pc}
+\otf*{Unicase}{unic}
+\cmidrule{2-4}
+\otf{ResetAll}{}
+\end{features}
+
+Petite caps are smaller than small caps.
+\opt{SmallCaps} and \opt{PetiteCaps}
+turn lowercase letters into the smaller caps letters,
+whereas the \opt{Uppercase...} options turn the \emph{capital} letters into
+the smaller
+caps (good, \eg, for applying to already uppercase acronyms like
+`NASA').
+This difference is shown in \exref{caps}.
+`Unicase' is a weird hybrid of upper and lower case letters.
+
+\begin{Lexample}{caps}{Small caps from lowercase or uppercase letters.}
+ \fontspec{texgyreadventor-regular.otf}[Letters=SmallCaps]
+ THIS SENTENCE no verb \\
+ \fontspec{texgyreadventor-regular.otf}[Letters=UppercaseSmallCaps]
+ THIS SENTENCE no verb
+\end{Lexample}
+
+Note that the \opt{Uppercase} option will (probably)
+not actually map letters to uppercase.
+ \note{If you want automatic uppercase letters, look to \LaTeX's
+ \cmd\MakeUppercase\ command.}
+It is designed to select various
+uppercase forms for glyphs such as accents and dashes, such as shown
+in \exref{letters-uppercase}; note the raised position of the hyphen
+to better match the surrounding letters.
+
+\begin{Lexample}{letters-uppercase}{An example of the \opt{Uppercase} option of the \feat{Letters} feature.}
+ \fontspec{Linux Libertine O}
+ UPPER-CASE example \\
+ \addfontfeature{Letters=Uppercase}
+ UPPER-CASE example
+\end{Lexample}
+
+The \feat{Kerning} feature also contains an \opt{Uppercase} option,
+which adds a small amount of spacing in between letters (see \vref{sec:kerning}).
+
+\subsubsection{Numbers}
+
+The \feat{Numbers} feature defines how numbers will look in the
+selected font, accepting options shown in \ref{feat:Numbers}.
+
+\begin{features}{Numbers}
+\otf*{Uppercase}{lnum}
+\otf*{Lowercase}{onum}
+\otf*{Lining}{lnum}
+\otf*{OldStyle}{onum}
+\otf*{Proportional}{pnum}
+\otf*{Monospaced}{tnum}
+\otf*{SlashedZero}{zero}
+\otf*{Arabic}{anum}
+\cmidrule{2-4}
+\otf{ResetAll}{}
+\end{features}
+
+The synonyms
+\opt{Uppercase} and \opt{Lowercase} are equivalent to \opt{Lining} and
+\opt{OldStyle}, respectively.
+The differences have been shown previously
+in \vref{sec:addfontfeatures}.
+The \opt{Monospaced} option is useful for tabular material when digits need
+to be vertically aligned.
+
+The \opt{SlashedZero} option
+replaces the default zero with a slashed version to prevent
+confusion with an uppercase `O', shown in \exref{slashzero}.
+
+\begin{Lexample}{slashzero}{The effect of the \opt{SlashedZero} option.}
+ \fontspec[Numbers=Lining]{texgyrebonum-regular.otf}
+ 0123456789
+ \fontspec[Numbers=SlashedZero]{texgyrebonum-regular.otf}
+ 0123456789
+\end{Lexample}
+
+The \opt{Arabic} option (with tag \verb|anum|) maps regular numerals to their Arabic script or Persian equivalents
+based on the current \opt{Language} setting (see \vref{sec:ot}).
+This option is based on a \LuaTeX\ feature of the \pkg{luaotfload} package,
+not an OpenType feature. (Thus, this feature is unavailable in \XeTeX.)
+
+\subsubsection{Contextuals}
+This feature refers to substitutions of glyphs that vary `contextually' by their relative position in a word or string of characters;
+features such as contextual swashes are accessed via the options shown in \ref{feat:Contextuals}.
+
+\begin{features}{Contextuals}
+\otf*{Swash}{cswh}
+\otf*{Alternate}{calt}
+\otf*{WordInitial}{init}
+\otf*{WordFinal}{fina}
+\otf*{LineFinal}{falt}
+\otf*{Inner}{medi}
+\cmidrule{2-4}
+\otf{ResetAll}{}
+\end{features}
+
+Historic forms are accessed in OpenType
+fonts via the feature \feat{Style=Historic}; this is generally \emph{not}
+contextual in OpenType, which is why it is not included in this feature.
+
+\subsubsection{Vertical Position}
+
+\begin{features}{VerticalPosition}
+\otf*{Superior}{sups}
+\otf*{Inferior}{subs}
+\otf*{Numerator}{numr}
+\otf*{Denominator}{dnom}
+\otf*{ScientificInferior}{sinf}
+\otf*{Ordinal}{ordn}
+\cmidrule{2-4}
+\otf{ResetAll}{}
+\end{features}
+
+The \feat{VerticalPosition} feature is used to access things like
+subscript (\opt{Inferior}) and superscript (\opt{Superior}) numbers and
+letters (and a small amount of punctuation, sometimes).
+The \opt{Ordinal} option will only raise characters that are used
+in some languages directly after a number.
+The \opt{ScientificInferior} feature will move glyphs
+further below the baseline than the \opt{Inferior} feature.
+These are shown in \exref{vertpos}
+
+\opt{Numerator} and \opt{Denominator} should only be used for creating
+arbitrary fractions (see next section).
+
+\begin{Lexample}{vertpos}{The \feat{VerticalPosition} feature.}
+ \fontspec{LibreCaslonText-Regular.otf}[VerticalPosition=Superior]
+ Superior: 1234567890 \\
+ \fontspec{LibreCaslonText-Regular.otf}[VerticalPosition=Numerator]
+ Numerator: 12345 \\
+ \fontspec{LibreCaslonText-Regular.otf}[VerticalPosition=Denominator]
+ Denominator: 12345 \\
+ \fontspec{LibreCaslonText-Regular.otf}[VerticalPosition=ScientificInferior]
+ Scientific Inferior: 12345
+\end{Lexample}
+
+The \pkg{realscripts} package
+(which is also loaded by \pkg{xltxtra} for \XeTeX)
+redefines the \cmd\textsubscript\ and
+\cmd\textsuperscript\ commands to use the above font features automatically,
+including for use in footnote labels.
+If this is the only feature of \pkg{xltxtra} you wish to use, consider
+loading \pkg{realscripts} on its own instead.
+
+
+\subsubsection{Fractions}
+
+\begin{features}{Fractions}
+\otf{On}{+frac}
+\otf{Off}{-frac}
+\otf{Reset}{}
+\cmidrule{2-4}
+\otf*{Alternate}{afrc}
+\cmidrule{2-4}
+\otf{ResetAll}{}
+\end{features}
+
+For OpenType fonts use a regular text slash to create fractions, but
+the \feat{Fraction} feature must be explicitly activated.
+Some (Asian fonts predominantly) also provide for the
+\opt{Alternate} feature. These are both shown in \exref{ot-frac}.
+
+\begin{Xexample}{ot-frac}{The \feat{Fractions} feature.}
+ \fontspec{Hiragino Maru Gothic Pro W4}
+ 1/2 \quad 1/4 \quad 5/6 \quad 13579/24680 \\
+ \addfontfeature{Fractions=On}
+ 1/2 \quad 1/4 \quad 5/6 \quad 13579/24680 \\
+ \addfontfeature{Fractions=Alternate}
+ 1/2 \quad 1/4 \quad 5/6 \quad 13579/24680 \\
+\end{Xexample}
+
+\subsection{Style}
+\label{sec:ot-feat-style}
+
+\begin{features}{Style}
+\otf*{Alternate}{salt}
+\otf*{Italic}{ital}
+\otf*{Ruby}{ruby}
+\otf*{Swash}{swsh}
+\otf*{Cursive}{curs}
+\otf*{Historic}{hist}
+\otf*{TitlingCaps}{titl}
+\otf*{HorizontalKana}{hkna}
+\otf*{VerticalKana}{vkna}
+\cmidrule{2-4}
+\otf{ResetAll}{}
+\end{features}
+
+`Ruby' refers to a small optical size, used in
+Japanese typography for annotations.
+For fonts with multiple |salt| OpenType features,
+use the fontspec \feat{Alternate} feature instead.
+
+\Exref{style-alt} and \exref{style-hist} both contain glyph
+substitutions with similar characteristics.
+Note the occasional inconsistency with which font features are labelled; a long-tailed `Q' could turn up anywhere!
+
+ \begin{Xexample}[firstline=2]{style-alt}{Example of the \opt{Alternate} option of the \feat{Style} feature.}
+ \Large
+ \fontspec{Quattrocento Roman}
+ M Q W \\
+ \addfontfeature{Style=Alternate}
+ M Q W
+\end{Xexample}
+
+\begin{Xexample}[firstline=2]{style-hist}{Example of the \opt{Historic} option of the \feat{Style} feature.}
+ \Large
+ \fontspec{Adobe Jenson Pro}
+ M Q Z \\
+ \addfontfeature{Style=Historic}
+ M Q Z
+\end{Xexample}
+
+In other features, larger breadths of changes can be seen, covering
+the style of an entire alphabet. See \exref{style-titl} and \exref{style-itrub}; in the latter, the \opt{Italic} option affects the Latin text and the \opt{Ruby} option the Japanese.
+
+\begin{Xexample}[firstline=2]{style-titl}{Example of the \opt{TitlingCaps} option of the \feat{Style} feature.}
+ \Large
+ \fontspec{Adobe Garamond Pro}
+ TITLING CAPS \\
+ \addfontfeature{Style=TitlingCaps}
+ TITLING CAPS
+\end{Xexample}
+
+\begin{Xexample}[firstline=2]{style-itrub}{Example of the \opt{Italic} and \opt{Ruby} options of the \feat{Style} feature.}
+ \Large \def\kana{ようこそ ワカヨタレソ}
+ \fontspec{Hiragino Mincho Pro}
+ Latin \kana \\
+ \addfontfeature{Style={Italic, Ruby}}
+ Latin \kana
+\end{Xexample}
+
+Note the difference here between the default and the horizontal style kana
+in \exref{style-hvkana}: the horizontal style is slightly wider.
+
+\begin{Xexample}[firstline=2]{style-hvkana}{Example of the \opt{HorizontalKana} and \opt{VerticalKana} options of the \feat{Style} feature.}
+ \Large \def\kana{ようこそ ワカヨタレソ}
+ \fontspec{Hiragino Mincho Pro}
+ \kana \\
+ {\addfontfeature{Style=HorizontalKana}
+ \kana } \\
+ {\addfontfeature{Style=VerticalKana}
+ \kana }
+\end{Xexample}
+
+\subsection{Diacritics}
+Specifies how combining diacritics should be placed.
+These will usually be controlled automatically
+according to the Script setting.
+
+\begin{features}{Diacritics}
+\otf*{MarkToBase}{mark}
+\otf*{MarkToMark}{mkmk}
+\otf*{AboveBase}{abvm}
+\otf*{BelowBase}{blwm}
+\cmidrule{2-4}
+\otf{ResetAll}{}
+\end{features}
+
+\subsection{Kerning}\label{sec:kerning}
+Specifies how inter-glyph spacing should behave.
+Well-made fonts include information for how differing
+amounts of space should be inserted between separate character pairs.
+This kerning space is inserted automatically but in rare
+circumstances you may wish to turn it off.
+
+\begin{features}{Kerning}
+\otf{On}{+kern}
+\otf{Off}{-kern}
+\otf{Reset}{}
+\cmidrule{2-4}
+\otf*{Uppercase}{cpsp}
+\cmidrule{2-4}
+\otf{ResetAll}{}
+\end{features}
+
+As briefly mentioned previously at the end of \vref{sec:letters},
+the \opt{Uppercase} option will add a small amount of tracking between
+uppercase letters, seen in \exref{kernup}, which uses the Romande
+fonts\note{\url{http://arkandis.tuxfamily.org/adffonts.html}}
+(thanks to Clea F. Rees for the suggestion).
+The \opt{Uppercase} option acts separately to the regular kerning
+controlled by the \opt{On}/\opt{Off} options.
+
+\begin{Xexample}[firstline=2]{kernup}{Adding extra kerning for uppercase letters. (The difference is usually very small.)}
+ \large
+ \fontspec{Romande ADF Std Bold}
+ UPPERCASE EXAMPLE \\
+ \addfontfeature{Kerning=Uppercase}
+ UPPERCASE EXAMPLE
+\end{Xexample}
+
+
+\subsection{Character width}\label{sec:CharacterWidth}
+Many Asian fonts are equipped with variously spaced characters for
+shoe-horning into their generally monospaced text.
+These are
+accessed through the \feat{CharacterWidth} feature.
+
+\begin{features}{CharacterWidth}
+\otf*{Proportional}{pwid}
+\otf*{Full} {fwid}
+\otf*{Half} {hwid}
+\otf*{Third} {twid}
+\otf*{Quarter} {qwid}
+\otf*{AlternateProportional}{palt}
+\otf*{AlternateHalf}{halt}
+\cmidrule{2-4}
+\otf{ResetAll}{}
+\end{features}
+
+Japanese alphabetic glyphs (in Hiragana or Katakana) may be typeset
+proportionally, to better fit horizontal measures, or monospaced, to
+fit into the rigid grid imposed by ideographic typesetting. In this
+latter case, there are also half-width forms for squeezing more kana
+glyphs (which are less complex than the kanji they are amongst) into
+a given block of space. The same features are given to roman letters
+in Japanese fonts, for typesetting foreign words in the same style
+as the surrounding text.
+
+\begin{Xexample}[firstline=2]{charwdprop}{Proportional or fixed width forms.}
+ \def\texta{ようこそ}\def\textb{ワカヨタレソ}
+ \def\test{\makebox[2cm][l]{\texta}%
+ \makebox[2.5cm][l]{\textb}%
+ \makebox[2.5cm][l]{abcdef}}
+ \fontspec{Hiragino Mincho Pro}
+ {\addfontfeature{CharacterWidth=Proportional}\test}\\
+ {\addfontfeature{CharacterWidth=Full}\test}\\
+ {\addfontfeature{CharacterWidth=Half}\test}
+\end{Xexample}
+
+The same situation occurs with numbers, which are provided in
+increasingly illegible compressed forms seen in \exref{charwd}.
+
+\begin{Xexample}[firstline=2]{charwd}{Numbers can be compressed significantly.}
+ \centering
+ \fontspec[Renderer=AAT]{Hiragino Mincho Pro}
+ {\addfontfeature{CharacterWidth=Full}
+ ---12321---}\\
+ {\addfontfeature{CharacterWidth=Half}
+ ---1234554321---}\\
+ {\addfontfeature{CharacterWidth=Third}
+ ---123456787654321---}\\
+ {\addfontfeature{CharacterWidth=Quarter}
+ ---12345678900987654321---}
+\end{Xexample}
+
+
+\subsubsection{CJK shape}
+
+\begin{features}{CJKShape}
+\otf{Traditional}{trad}
+\otf{Simplified} {smpl}
+\otf{JIS1978} {jp78}
+\otf{JIS1983} {jp83}
+\otf{JIS1990} {jp90}
+\otf{Expert} {expt}
+\otf{NLC} {nlck}
+\end{features}
+
+There have been many standards for how CJK ideographic
+glyphs are `supposed' to look. Some fonts will contain many alternate
+glyphs available in order to be able to display these gylphs
+correctly in whichever form is appropriate. Both \AAT\ and OpenType
+fonts support the following \feat{CJKShape} options:
+\opt{Traditional}, \opt{Simplified}, \opt{JIS1978}, \opt{JIS1983},
+\opt{JIS1990}, and \opt{Expert}. OpenType also supports the \opt{NLC} option.
+
+\begin{Xexample}[firstline=2]{ot-cjk-shape}{Different standards for CJK ideograph presentation.}
+ \LARGE\def\text{ 唖噛躯 妍并訝}
+ \fontspec{Hiragino Mincho Pro}
+ {\addfontfeature{CJKShape=Traditional}
+ \text } \\
+ {\addfontfeature{CJKShape=NLC}
+ \text } \\
+ {\addfontfeature{CJKShape=Expert}
+ \text }
+\end{Xexample}
+
+
+\subsection{Vertical typesetting}
+
+\begin{features}{Vertical}
+\otf*{RotatedGlyphs} {vrt2}
+\otf*{AlternatesForRotation} {vrtr}
+\otf*{Alternates} {vert}
+\otf*{KanaAlternates} {vkna}
+\otf*{Kerning} {vkrn}
+\otf*{AlternateMetrics} {valt}
+\otf*{HalfMetrics} {vhal}
+\otf*{ProportionalMetrics} {vpal}
+\cmidrule{2-4}
+\otf{ResetAll}{}
+\end{features}
+
+OpenType provides a plethora of features for accommodating the varieties of possibilities
+needed for vertical typesetting (CJK and others).
+No capabilities for achieving such vertical typesetting are provided by \pkg{fontspec},
+however; please get in touch if there are improvements that could be made.
+
+
+\subsection{Numeric features}
+
+\subsubsection{Stylistic Set variations --- \texttt{ssNN}}
+
+This feature selects a `Stylistic Set' variation,
+which usually corresponds to an alternate glyph style for a range of
+characters (usually an alphabet or subset thereof).
+This feature is specified numerically. These correspond to OpenType
+features |ss01|, |ss02|, etc.
+
+Two demonstrations from the Junicode
+font\note{\url{http://junicode.sf.net}}
+are shown in \exref{ss} and \exref{ss2}; thanks to Adam
+Buchbinder for the suggestion.
+
+\begin{Lexample}{ss}{Insular letterforms, as used in medieval Northern Europe, for the Junicode font accessed with the \feat{StylisticSet} feature.}
+ \fontspec{Junicode}
+ Insular forms. \\
+ \addfontfeature{StylisticSet=2}
+ Insular forms. \\
+\end{Lexample}
+
+\begin{Lexample}{ss2}{Enlarged minuscules (capital letters remain unchanged) for the Junicode font, accessed with the \feat{StylisticSet} feature.}
+ \fontspec{Junicode}
+ ENLARGED Minuscules. \\
+ \addfontfeature{StylisticSet=6}
+ ENLARGED Minuscules. \\
+\end{Lexample}
+
+Multiple stylistic sets may be selected simultaneously by writing, e.g.,
+|StylisticSet={1,2,3}|.
+
+The |StylisticSet| feature is a synonym of the \feat{Variant} feature for \AAT\ fonts.
+See \vref{sec:newfeatures} for a way to assign names to stylistic sets, which should be done on a per-font basis.
+
+\subsubsection{Character Variants --- \texttt{cvNN}}
+
+Similar to the `Stylistic Sets' above, `Character Variations' are selected
+numerically to adjust the output of (usually) a single character for the
+particular font. These correspond to the OpenType features |cv01| to |cv99|.
+
+For each character that can be varied, it is possible to select among
+possible options for that particular glyph.
+For example, in \exref{cv} a variety of glyphs for the character `v' are
+selected, in which |5| corresponds to the character `v' for this font feature,
+and the trailing |:|\meta{n} corresponds to which variety to choose.
+Georg Duffner's open source Garamond revival font\footnote{\url{http://www.georgduffner.at/ebgaramond/}} is used in this example.
+Character variants are specifically designed not to conflict with each
+other, so you can enable them individually per character as shown in
+\exref{cv2}. (Unlike stylistic alternates, say.)
+
+Note that the indexing starts from zero.
+
+\begin{Lexample}[firstline=2]{cv}{The \feat{CharacterVariant} feature showing off Georg Duffner's open source Garamond revival font.}
+ \huge
+ \fontspec{EB Garamond 12 Italic} very \\
+ \fontspec{EB Garamond 12 Italic}[CharacterVariant=5] very \\
+ \fontspec{EB Garamond 12 Italic}[CharacterVariant=5:0] very \\
+ \fontspec{EB Garamond 12 Italic}[CharacterVariant=5:1] very \\
+ \fontspec{EB Garamond 12 Italic}[CharacterVariant=5:2] very \\
+ \fontspec{EB Garamond 12 Italic}[CharacterVariant=5:3] very
+\end{Lexample}
+
+\begin{Lexample}[firstline=2]{cv2}{The \feat{CharacterVariant} feature selecting multiple variants simultaneously.}
+ \huge
+ \fontspec{EB Garamond 12 Italic} \& violet \\
+ \fontspec{EB Garamond 12 Italic}[CharacterVariant={4}] \& violet \\
+ \fontspec{EB Garamond 12 Italic}[CharacterVariant={5:2}] \& violet \\
+ \fontspec{EB Garamond 12 Italic}[CharacterVariant={4,5:2}] \& violet
+\end{Lexample}
+
+\subsubsection{Alternates --- \texttt{salt}}
+
+The \feat{Alternate} feature, alias \feat{StylisticAlternates}, is used to access alternate font glyphs when variations exist in the font, such as in \exref{salt}.
+It uses a numerical selection, starting from zero, that will be different for each font.
+Note that the \texttt{Style=Alternate} option is equivalent
+to \texttt{Alternate=0} to access the default case.
+
+\begin{Xexample}[firstline=2]{salt}{The \feat{Alternate} feature.}
+ \huge
+ \fontspec{Linux Libertine O}
+ \textsc{a} \& h \\
+ \addfontfeature{Alternate=0}
+ \textsc{a} \& h
+\end{Xexample}
+
+Note that the indexing starts from zero.
+With the \LuaTeX\ engine, |Alternate=Random| selects a random alternate.
+
+See \vref{sec:newfeatures} for a way to assign names to alternates if desired.
+
+
+\subsubsection{Annotation --- \texttt{nalt} }
+Some fonts are equipped with an extensive range of
+numbers and numerals in different forms. These are accessed with the
+\feat{Annotation} feature (OpenType feature |nalt|), selected numerically as shown in
+\exref{ot-annot}. Note that the indexing starts from zero.
+
+\begin{Xexample}{ot-annot}{Annotation forms for OpenType fonts.}
+ \fontspec{Hiragino Maru Gothic Pro}
+ 1 2 3 4 5 6 7 8 9
+ \def\x#1{\\{\addfontfeature{Annotation=#1}
+ 1 2 3 4 5 6 7 8 9 }}
+ \x0\x1\x2\x3\x4\x5\x6\x7\x7\x8\x9
+\end{Xexample}
+
+
+\subsubsection{Ornament --- \texttt{ornm}}
+Ornaments are selected with the \feat{Ornament} feature (OpenType feature |ornm|), selected numerically such as for the \feat{Annotation} feature.
+If you know of an Open Source font that supports this feature, let me know and I'll add an example.
+
+
+
+
+\subsection{OpenType scripts and languages}\label{sec:ot}
+
+Fonts that include glyphs for various scripts and languages may contain different font features for the different character sets and languages they support, and different font features may behave differently depending on the script or language chosen.
+When multilingual fonts are used, it is important to select which language
+they are being used for, and more importantly what script is being used.
+
+The `script' refers to the alphabet in use; for example, both English
+and French use the Latin script. Similarly, the Arabic script can be used
+to write in both the Arabic and Persian languages.
+
+The
+\feat{Script} and \feat{Language} features are used to designate this information. The possible options are
+tabulated in \vref{tab:ot-scpt} and \vref{tab:ot-lang},
+respectively. When a script or language is requested that is not
+supported by the current font, a warning is printed in the console output.
+
+Because these font features can
+change which features are able to be selected for the font, they are automatically selected
+by \pkg{fontspec} before all others and, if \XeTeX\ is being used, will
+specifically select the \opt{OpenType}
+renderer for this font, as described in \vref{sec:renderer}.
+
+See \vref{sec:newscriptlang} for methods to create new \feat{Script} or \feat{Language}
+options if required.
+
+\subsubsection{\feat{Script} and \feat{Language} examples}
+
+In the examples shown in \exref{script-lang},
+the Code2000 font\note{\url{http://www.code2000.net/}}
+is used to typeset various input texts with and without the OpenType Script
+applied for various alphabets.
+The text is only rendered correctly in the second case;
+many examples of incorrect diacritic spacing as
+well as a lack of contextual ligatures and rearrangement can be
+seen.
+Thanks to \name{Jonathan Kew}, \name{Yves Codet} and
+\name{Gildas Hamel} for their contributions towards these examples.
+
+\begin{Xexample}[firstline=14,lastline=23]{script-lang}{An example of various Scripts and Languages.}
+\def\testfeature#1#2{%^^A
+ \fontspec{\examplefont}#2 & \fontspec[#1]{\examplefont}#2\\[1ex]}
+\def \examplefont{Code2000}
+\def \arabictext{العربي}
+\def \devanagaritext{हिन्दी}
+\def \bengalitext{লেখ}
+\def \gujaratitext{મર્યાદા-સૂચક નિવેદન}
+\def \malayalamtext{നമ്മുടെ പാരബര്യ}
+\def \gurmukhitext{ਆਦਿ ਸਚੁ ਜੁਗਾਦਿ ਸਚੁ}
+\def \tamiltext{தமிழ் தேடி}
+\def \hebrewtext{רִדְתָּֽהּ}
+\def \vietnamesetext{cấp số mỗi}
+\begin{tabular}{r@{\quad}l}
+ \testfeature{Script=Arabic}{\arabictext}
+ \testfeature{Script=Devanagari}{\devanagaritext}
+ \testfeature{Script=Bengali}{\bengalitext}
+ \testfeature{Script=Gujarati}{\gujaratitext}
+ \testfeature{Script=Malayalam}{\malayalamtext}
+ \testfeature{Script=Gurmukhi}{\gurmukhitext}
+ \testfeature{Script=Tamil}{\tamiltext}
+ \testfeature{Script=Hebrew}{\hebrewtext}
+ \def\examplefont{Doulos SIL}
+ \testfeature{Language=Vietnamese}{\vietnamesetext}
+\end{tabular}
+\end{Xexample}
+
+
+
+\begin{table}[!hbp]
+ \caption{Defined \opt{Script}s for OpenType fonts. Aliased names are shown in adjacent positions marked with red pilcrows ({\sffamily\textcolor{red}{\P}}).}
+ \label{tab:ot-scpt}
+\def\dup{\makebox[0pt][r]{\textcolor{red}{\P}}}
+\setlength\columnseprule{0pt}
+ \hrule
+ \begin{multicols}{4}\setlength\parindent{0pt}
+ \sffamily\scriptsize
+ Arabic \par Armenian \par Balinese \par Bengali \par Bopomofo \par Braille \par Buginese \par Buhid \par Byzantine Music \par Canadian Syllabics \par Cherokee \par \dup CJK \par \dup CJK Ideographic \par Coptic \par Cypriot Syllabary \par Cyrillic \par Default \par Deseret \par Devanagari \par Ethiopic \par Georgian \par Glagolitic \par Gothic \par Greek \par Gujarati \par Gurmukhi \par Hangul Jamo \par Hangul \par Hanunoo \par Hebrew \par \dup Hiragana and Katakana \par \dup Kana \par Javanese \par Kannada \par Kharosthi \par Khmer \par Lao \par Latin \par Limbu \par Linear B \par Malayalam \par \dup Math \par \dup Maths \par Mongolian \par Musical Symbols \par Myanmar \par N'ko \par Ogham \par Old Italic \par Old Persian Cuneiform \par Oriya \par Osmanya \par Phags-pa \par Phoenician \par Runic \par Shavian \par Sinhala \par Sumero-Akkadian Cuneiform \par Syloti Nagri \par Syriac \par Tagalog \par Tagbanwa \par Tai Le \par Tai Lu \par Tamil \par Telugu \par Thaana \par Thai \par Tibetan \par Tifinagh \par Ugaritic Cuneiform \par Yi
+ \end{multicols}
+ \hrule
+\end{table}
+
+\begin{table}[p]
+ \vspace*{-3cm}
+ \hspace{-3cm}
+ \def\dup{\makebox[0pt][r]{\textcolor{red}{\P}}}
+ \begin{minipage}{\linewidth+4cm}
+ \caption{Defined \opt{Language}s for OpenType fonts. Aliased names are shown in adjacent positions marked with red pilcrows ({\sffamily\textcolor{red}{\P}}).}
+ \label{tab:ot-lang}
+ \setlength\columnseprule{0pt}
+ \hrule
+ \begin{multicols}{6}
+ \everypar{\setlength\parindent{0pt}\setlength\hangindent{2em}}
+ \sffamily\footnotesize\raggedright
+ Abaza \par Abkhazian \par Adyghe \par Afrikaans \par Afar \par Agaw \par Altai \par Amharic \par Arabic \par Aari \par Arakanese \par Assamese \par Athapaskan \par Avar \par Awadhi \par Aymara \par Azeri \par Badaga \par Baghelkhandi \par Balkar \par Baule \par Berber \par Bench \par Bible Cree \par Belarussian \par Bemba \par Bengali \par Bulgarian \par Bhili \par Bhojpuri \par Bikol \par Bilen \par Blackfoot \par Balochi \par Balante \par Balti \par Bambara \par Bamileke \par Breton \par Brahui \par Braj Bhasha \par Burmese \par Bashkir \par Beti \par Catalan \par Cebuano \par Chechen \par Chaha Gurage \par Chattisgarhi \par Chichewa \par Chukchi \par Chipewyan \par Cherokee \par Chuvash \par Comorian \par Coptic \par Cree \par Carrier \par Crimean Tatar \par Church Slavonic \par Czech \par Danish \par Dargwa \par Woods Cree \par German \par Default \par Dogri \par Divehi \par Djerma \par Dangme \par Dinka \par Dungan \par Dzongkha \par Ebira \par Eastern Cree \par Edo \par Efik \par Greek \par English \par Erzya \par Spanish \par Estonian \par Basque \par Evenki \par Even \par Ewe \par French Antillean \par \dup Farsi \par \dup Parsi \par \dup Persian \par Finnish \par Fijian \par Flemish \par Forest Nenets \par Fon \par Faroese \par French \par Frisian \par Friulian \par Futa \par Fulani \par Ga \par Gaelic \par Gagauz \par Galician \par Garshuni \par Garhwali \par Ge'ez \par Gilyak \par Gumuz \par Gondi \par Greenlandic \par Garo \par Guarani \par Gujarati \par Haitian \par Halam \par Harauti \par Hausa \par Hawaiin \par Hammer-Banna \par Hiligaynon \par Hindi \par High Mari \par Hindko \par Ho \par Harari \par Croatian \par Hungarian \par Armenian \par Igbo \par Ijo \par Ilokano \par Indonesian \par Ingush \par Inuktitut \par Irish \par Irish Traditional \par Icelandic \par Inari Sami \par Italian \par Hebrew \par Javanese \par Yiddish \par Japanese \par Judezmo \par Jula \par Kabardian \par Kachchi \par Kalenjin \par Kannada \par Karachay \par Georgian \par Kazakh \par Kebena \par Khutsuri Ge!
orgian \par Khakass \par Khanty-Kazim \par Khmer \par Khanty-Shurishkar \par Khanty-Vakhi \par Khowar \par Kikuyu \par Kirghiz \par Kisii \par Kokni \par Kalmyk \par Kamba \par Kumaoni \par Komo \par Komso \par Kanuri \par Kodagu \par Korean Old Hangul \par Konkani \par Kikongo \par Komi-Permyak \par Korean \par Komi-Zyrian \par Kpelle \par Krio \par Karakalpak \par Karelian \par Karaim \par Karen \par Koorete \par Kashmiri \par Khasi \par Kildin Sami \par Kui \par Kulvi \par Kumyk \par Kurdish \par Kurukh \par Kuy \par Koryak \par Ladin \par Lahuli \par Lak \par Lambani \par Lao \par Latin \par Laz \par L-Cree \par Ladakhi \par Lezgi \par Lingala \par Low Mari \par Limbu \par Lomwe \par Lower Sorbian \par Lule Sami \par Lithuanian \par Luba \par Luganda \par Luhya \par Luo \par Latvian \par Majang \par Makua \par Malayalam Traditional \par Mansi \par Marathi \par Marwari \par Mbundu \par Manchu \par Moose Cree \par Mende \par Me'en \par Mizo \par Macedonian \par Male \par Malagasy \par Malinke \par Malayalam Reformed \par Malay \par Mandinka \par Mongolian \par Manipuri \par Maninka \par Manx Gaelic \par Moksha \par Moldavian \par Mon \par Moroccan \par Maori \par Maithili \par Maltese \par Mundari \par Naga-Assamese \par Nanai \par Naskapi \par N-Cree \par Ndebele \par Ndonga \par Nepali \par Newari \par Nagari \par Norway House Cree \par Nisi \par Niuean \par Nkole \par N'ko \par Dutch \par Nogai \par Norwegian \par Northern Sami \par Northern Tai \par Esperanto \par Nynorsk \par Oji-Cree \par Ojibway \par Oriya \par Oromo \par Ossetian \par Palestinian Aramaic \par Pali \par Punjabi \par Palpa \par Pashto \par Polytonic Greek \par Pilipino \par Palaung \par Polish \par Provencal \par Portuguese \par Chin \par Rajasthani \par R-Cree \par Russian Buriat \par Riang \par Rhaeto-Romanic \par Romanian \par Romany \par Rusyn \par Ruanda \par Russian \par Sadri \par Sanskrit \par Santali \par Sayisi \par Sekota \par Selkup \par Sango \par Shan \par Sibe \par Sidamo \par Silte Gurage \par Skolt Sami \par Slovak \par !
Slavey \par Slovenian \par Somali \par Samoan \par Sena \par Sindhi \par Sinhalese \par Soninke \par Sodo Gurage \par Sotho \par Albanian \par Serbian \par Saraiki \par Serer \par South Slavey \par Southern Sami \par Suri \par Svan \par Swedish \par Swadaya Aramaic \par Swahili \par Swazi \par Sutu \par Syriac \par Tabasaran \par Tajiki \par Tamil \par Tatar \par TH-Cree \par Telugu \par Tongan \par Tigre \par Tigrinya \par Thai \par Tahitian \par Tibetan \par Turkmen \par Temne \par Tswana \par Tundra Nenets \par Tonga \par Todo \par Turkish \par Tsonga \par Turoyo Aramaic \par Tulu \par Tuvin \par Twi \par Udmurt \par Ukrainian \par Urdu \par Upper Sorbian \par Uyghur \par Uzbek \par Venda \par Vietnamese \par Wa \par Wagdi \par West-Cree \par Welsh \par Wolof \par Tai Lue \par Xhosa \par Yakut \par Yoruba \par Y-Cree \par Yi Classic \par Yi Modern \par Chinese Hong Kong \par Chinese Phonetic \par Chinese Simplified \par Chinese Traditional \par Zande \par Zulu
+ \end{multicols}
+ \hspace{4pt}
+ \hrule
+ \end{minipage}
+\end{table}
+
+
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-patches.aux
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-patches.aux (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-patches.aux 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,40 @@
+\relax
+\providecommand\hyper at newdestlabel[2]{}
+\@writefile{toc}{\contentsline {part}{VIII\hspace {1em}The `improvement' of \LaTeXe \ and other packages}{55}{part.8}}
+\newlabel{sec:patching}{{VIII}{55}{The `improvement' of \LaTeXe \ and other packages}{part.8}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {20}Verbatim}{55}{section.20}}
+\newlabel{sec:verb}{{Section\nobreakspace {}20}{55}{Verbatim}{section.20}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {21}Discretionary hyphenation: \cs {\char 45\relax }}{55}{section.21}}
+\newlabel{sec:hyphen}{{Section\nobreakspace {}21}{55}{Discretionary hyphenation: \cmd \-}{section.21}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {22}Commands for old-style and lining numbers}{55}{section.22}}
+\@setckpt{fontspec-doc-patches}{
+\setcounter{page}{56}
+\setcounter{equation}{0}
+\setcounter{enumi}{2}
+\setcounter{enumii}{0}
+\setcounter{enumiii}{0}
+\setcounter{enumiv}{0}
+\setcounter{footnote}{12}
+\setcounter{mpfootnote}{0}
+\setcounter{part}{8}
+\setcounter{section}{22}
+\setcounter{subsection}{0}
+\setcounter{subsubsection}{0}
+\setcounter{paragraph}{0}
+\setcounter{subparagraph}{0}
+\setcounter{figure}{1}
+\setcounter{table}{16}
+\setcounter{StandardModuleDepth}{1}
+\setcounter{ContinuedFloat}{0}
+\setcounter{FancyVerbLine}{4}
+\setcounter{vrcnt}{32}
+\setcounter{lofdepth}{1}
+\setcounter{lotdepth}{1}
+\setcounter{Item}{5}
+\setcounter{Hfootnote}{12}
+\setcounter{Hy at AnnotLevel}{0}
+\setcounter{bookmark at seq@number}{72}
+\setcounter{example}{39}
+\setcounter{argument}{0}
+\setcounter{section at level}{1}
+}
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-xetex.aux
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-xetex.aux (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-xetex.aux 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,81 @@
+\relax
+\providecommand\hyper at newdestlabel[2]{}
+\@writefile{toc}{\contentsline {part}{VII\hspace {1em}Fonts and features with \hologoRobust {XeTeX}}{59}{part.7}}
+\newlabel{sec:xetex-features}{{VII}{59}{Fonts and features with \XeTeX }{part.7}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {21}\hologoRobust {XeTeX}-only font features}{59}{section.21}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {21.1}Mapping}{59}{subsection.21.1}}
+\newlabel{sec:mapping}{{Section\nobreakspace {}21.1}{59}{Mapping}{subsection.21.1}{}}
+\newlabel{ex:mapping}{{41}{59}{Mapping}{example.41}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {21.2}Different font technologies: \textsc {aat}\ and OpenType}{59}{subsection.21.2}}
+\newlabel{sec:renderer}{{Section\nobreakspace {}21.2}{59}{Different font technologies: \AAT \ and OpenType}{subsection.21.2}{}}
+\newlabel{33 at xvr}{{}{59}{Different font technologies: \AAT \ and OpenType}{subsection.21.2}{}}
+\newlabel{33 at vr}{{}{59}{Different font technologies: \AAT \ and OpenType}{subsection.21.2}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {21.3}Optical font sizes}{59}{subsection.21.3}}
+\newlabel{sec:aat-opticalsize}{{Section\nobreakspace {}21.3}{59}{Optical font sizes}{subsection.21.3}{}}
+\newlabel{34 at xvr}{{}{59}{Optical font sizes}{subsection.21.3}{}}
+\newlabel{34 at vr}{{}{59}{Optical font sizes}{subsection.21.3}{}}
+\@writefile{toc}{\contentsline {section}{\numberline {22}Mac\nobreakspace {}OS\nobreakspace {}X's \textsc {aat}\ fonts}{60}{section.22}}
+\newlabel{sec:aat-features}{{Section\nobreakspace {}22}{60}{\MacOSX 's \AAT \ fonts}{section.22}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {22.1}Ligatures}{60}{subsection.22.1}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {22.2}Letters}{60}{subsection.22.2}}
+\newlabel{sec:aat-letters}{{Section\nobreakspace {}22.2}{60}{Letters}{subsection.22.2}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {22.3}Numbers}{60}{subsection.22.3}}
+\newlabel{35 at xvr}{{}{61}{Numbers}{subsection.22.3}{}}
+\newlabel{35 at vr}{{}{61}{Numbers}{subsection.22.3}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {22.4}Contextuals}{61}{subsection.22.4}}
+\newlabel{sec:contextuals}{{Section\nobreakspace {}22.4}{61}{Contextuals}{subsection.22.4}{}}
+\newlabel{ex:wordcx}{{42}{61}{Contextuals}{example.42}{}}
+\newlabel{ex:longsaat}{{43}{61}{Contextuals}{example.43}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {22.5}Vertical position}{61}{subsection.22.5}}
+\newlabel{ex:aat-supp}{{44}{61}{Vertical position}{example.44}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {22.6}Fractions}{61}{subsection.22.6}}
+\newlabel{ex:aat-frac}{{45}{61}{Fractions}{example.45}{}}
+\newlabel{ex:frac-alt}{{46}{61}{Fractions}{example.46}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {22.7}Variants}{61}{subsection.22.7}}
+\newlabel{ex:aat-var}{{47}{61}{Variants}{example.47}{}}
+\newlabel{36 at xvr}{{}{63}{Variants}{figure.caption.70}{}}
+\newlabel{36 at vr}{{}{63}{Variants}{figure.caption.70}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {22.8}Alternates}{63}{subsection.22.8}}
+\newlabel{37 at xvr}{{}{63}{Alternates}{subsection.22.8}{}}
+\newlabel{37 at vr}{{}{63}{Alternates}{subsection.22.8}{}}
+\newlabel{ex:aat-alt}{{48}{63}{Alternates}{example.48}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {22.9}Style}{63}{subsection.22.9}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {22.10}CJK shape}{63}{subsection.22.10}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {22.11}Character width}{64}{subsection.22.11}}
+\newlabel{38 at xvr}{{}{64}{Character width}{subsection.22.11}{}}
+\newlabel{38 at vr}{{}{64}{Character width}{subsection.22.11}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {22.12}Vertical typesetting}{64}{subsection.22.12}}
+\newlabel{ex:vert}{{49}{64}{Vertical typesetting}{example.49}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {22.13}Diacritics}{64}{subsection.22.13}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {22.14}Annotation}{64}{subsection.22.14}}
+\@setckpt{fontspec-doc-xetex}{
+\setcounter{page}{65}
+\setcounter{equation}{0}
+\setcounter{enumi}{3}
+\setcounter{enumii}{0}
+\setcounter{enumiii}{0}
+\setcounter{enumiv}{0}
+\setcounter{footnote}{13}
+\setcounter{mpfootnote}{0}
+\setcounter{part}{7}
+\setcounter{section}{22}
+\setcounter{subsection}{14}
+\setcounter{subsubsection}{0}
+\setcounter{paragraph}{0}
+\setcounter{subparagraph}{0}
+\setcounter{figure}{1}
+\setcounter{table}{17}
+\setcounter{StandardModuleDepth}{1}
+\setcounter{ContinuedFloat}{0}
+\setcounter{FancyVerbLine}{6}
+\setcounter{vrcnt}{38}
+\setcounter{lofdepth}{1}
+\setcounter{lotdepth}{1}
+\setcounter{Item}{5}
+\setcounter{Hfootnote}{13}
+\setcounter{Hy at AnnotLevel}{0}
+\setcounter{bookmark at seq@number}{83}
+\setcounter{example}{49}
+\setcounter{argument}{0}
+\setcounter{section at level}{2}
+}
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-xetex.tex
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-xetex.tex (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc-xetex.tex 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,334 @@
+
+
+\part{Fonts and features with \XeTeX}
+\label{sec:xetex-features}
+
+\section{\XeTeX-only font features}
+
+The features described here are available for any font
+selected by \pkg{fontspec}.
+
+\subsection{Mapping}
+\label{sec:mapping}
+
+\feat{Mapping} enables a \XeTeX\ text-mapping scheme, shown in \exref{mapping}.
+
+\begin{Xexample}{mapping}{\XeTeX's \feat{Mapping} feature.}
+ \fontspec{Cochin}[Mapping=tex-text]
+ ``!`A small amount of---text!''
+\end{Xexample}
+
+Using the |tex-text| mapping is also equivalent to writing |Ligatures=TeX|.
+The use of the latter syntax is recommended for better compatibility with
+\LuaTeX\ documents.
+
+
+\subsection{Different font technologies: \AAT\ and OpenType}\label{sec:renderer}
+
+\XeTeX\ supports two rendering technologies for typesetting, selected with
+the \feat{Renderer} font feature. The first, \opt{AAT}, is
+that provided (only) by \MacOSX\ itself. The second, \opt{OpenType},
+is an open source OpenType interpreter.
+\note{v2.4: This was called `\texttt{ICU}' in previous versions of \XeTeX\ and \pkg{fontspec}.
+Backwards compatibility is preserved.}
+It provides greater support for
+OpenType features, notably contextual arrangement, over \opt{AAT}.
+
+In general, this feature will not need to be explicitly called: for OpenType
+fonts, the \opt{OpenType} renderer is used automatically, and for \AAT\ fonts,
+\opt{AAT} is chosen by default. Some fonts, however, will contain font tables
+for \emph{both} rendering technologies, such as the Hiragino Japanese fonts
+distributed with \MacOSX, and in these cases the choice may be required.
+
+Among some other font features only available through a specific renderer,
+\opt{OpenType} provides for the \feat{Script} and \feat{Language} features, which allow
+different font behaviour for different alphabets and languages; see \vref{sec:ot}
+for the description of these features. {\em Because these font features can
+change which features are able to be selected for the font instance, they are selected
+by \pkg{fontspec} before all others and will automatically and without warning
+select the \opt{OpenType} renderer.}
+
+
+\subsection{Optical font sizes} \label{sec:aat-opticalsize}
+
+Multiple Master fonts are parameterised over
+orthogonal font axes, allowing continuous selection along such
+features as weight, width, and optical size~(see \vref{sec:mm} for
+further details). Whereas an OpenType font will have only a few separate
+optical sizes, a Multiple Master font's optical size can be
+specified over a continuous range. Unfortunately, this flexibility makes
+it harder to create an automatic interface through \LaTeX, and the
+optical size for a Multiple Master font must always be specified
+explicitly.
+\begin{Verbatim}
+ \fontspec{Minion MM Roman}[OpticalSize=11]
+ MM optical size test \\
+ \fontspec{Minion MM Roman}[OpticalSize=47]
+ MM optical size test \\
+ \fontspec{Minion MM Roman}[OpticalSize=71]
+ MM optical size test \\
+\end{Verbatim}
+
+
+
+
+\section{\MacOSX's \AAT\ fonts}
+\label{sec:aat-features}
+
+\begin{quote}\itshape
+\textbf{Warning!}
+\XeTeX's implementation on \MacOSX\ is currently in a state of flux and the information contained below may well be wrong from 2013 onwards.
+There is a good chance that the features described in this section will not be available any more as \XeTeX's completes its transition to a cross-platform--only application.
+\end{quote}
+
+\MacOSX's font technology began life before the ubiquitous-OpenType era
+and revolved around the Apple-invented `\AAT' font format. This format
+had some advantages (and other disadvantages) but it never became widely
+popular in the font world.
+
+Nonetheless, this is the font format that was first supported by \XeTeX\
+(due to its pedigree on \MacOSX\ in the first place) and was the first
+font format supported by \pkg{fontspec}. A number of fonts distributed with
+\MacOSX\ are still in the \AAT\ format, such as `Skia'.
+
+\subsection{Ligatures}
+
+\feat{Ligatures} refer to the replacement of two separate characters
+with a specially drawn glyph for functional or \ae sthetic reasons.
+For \AAT\ fonts, you may choose from any combination of \opt{Required},
+\opt{Common}, \opt{Rare} (or \opt{Discretionary}), \opt{Logos}, \opt{Rebus},
+\opt{Diphthong}, \opt{Squared}, \opt{AbbrevSquared}, and \opt{Icelandic}.
+
+Some other Apple \AAT\ fonts have those `Rare' ligatures contained in
+the \opt{Icelandic} feature. Notice also that the old \TeX\ trick of
+splitting up a ligature with an empty brace pair does not work in
+\XeTeX; you must use a 0\,pt kern or \cs{hbox} (\eg, \cs{null}) to
+split the characters up if you do not want a ligature to be performed (the usual examples for when this might be desired are words like `shelf\null full').
+
+\subsection{Letters} \label{sec:aat-letters}
+The \opt{Letters} feature specifies how the letters in the current font
+will look. For \AAT\ fonts, you may choose from \opt{Normal},
+\opt{Uppercase}, \opt{Lowercase}, \opt{SmallCaps}, and
+\opt{InitialCaps}.
+
+
+\subsection{Numbers}
+The \feat{Numbers} feature defines how numbers will look in the
+selected font. For \AAT\ fonts, they may be a
+combination of \opt{Lining} or \opt{OldStyle} and \opt{Proportional} or
+\opt{Monospaced} (the latter is good for tabular material). The synonyms
+\opt{Uppercase} and \opt{Lowercase} are equivalent to \opt{Lining} and
+\opt{OldStyle}, respectively. The differences have been shown previously
+in \vref{sec:addfontfeatures}.
+
+\subsection{Contextuals} \label{sec:contextuals}
+This feature refers to glyph substitution that vary by their position;
+things like contextual swashes are implemented here.
+The options for \AAT\ fonts are
+\opt{WordInitial}, \opt{WordFinal} (\exref{wordcx}), \opt{LineInitial},
+\opt{LineFinal}, and \opt{Inner} (\exref{longsaat}, also called `non-final' sometimes). As
+non-exclusive selectors, like the ligatures, you can turn them off
+by prefixing their name with \opt{No}.
+
+\begin{Xexample}{wordcx}{Contextual glyph for the beginnings and ends of words.}
+ \newfontface\fancy{Hoefler Text Italic}[%
+ Contextuals={WordInitial,WordFinal}]
+ \fancy where is all the vegemite
+\end{Xexample}
+
+\begin{Xexample}{longsaat}{A contextual feature for the `long s' can be convenient as the character does not need to be marked up explicitly.}
+ \fontspec{Hoefler Text}[Contextuals=Inner]
+ `Inner' swashes can \emph{sometimes} \\
+ contain the archaic long~s.
+\end{Xexample}
+
+
+
+\subsection{Vertical position}
+The \feat{VerticalPosition} feature is used to access things like
+subscript (\opt{Inferior}) and superscript (\opt{Superior}) numbers and
+letters (and a small amount of punctuation, sometimes).
+The \opt{Ordinal} option is (supposed to be)
+contextually sensitive to only raise characters that appear directly
+after a number.
+These are shown in \exref{aat-supp}.
+
+\begin{Xexample}{aat-supp}{Vertical position for AAT fonts.}
+ \fontspec{Skia}
+ Normal
+ \fontspec{Skia}[VerticalPosition=Superior]
+ Superior
+ \fontspec{Skia}[VerticalPosition=Inferior]
+ Inferior \\
+ \fontspec{Skia}[VerticalPosition=Ordinal]
+ 1st 2nd 3rd 4th 0th 8abcde
+\end{Xexample}
+
+The \pkg{realscripts} package
+(also loaded by \pkg{xltxtra})
+redefines the \cmd\textsubscript\ and
+\cmd\textsuperscript\ commands to use the above font features,
+including for use in footnote labels.
+
+\subsection{Fractions}
+Many fonts come with the capability to typeset various forms of
+fractional material. This is accessed in \pkg{fontspec} with the
+\feat{Fractions} feature, which may be turned \opt{On} or \opt{Off}
+in both \AAT\ and OpenType fonts.
+
+In \AAT\ fonts, the `fraction slash' or solidus character, is
+to be used to create fractions. When \feat{Fractions} are turned
+\opt{On}, then only pre-drawn fractions will be used.
+See \exref{aat-frac}.
+
+Using the \opt{Diagonal} option (\AAT\ only), the font will attempt
+to create the fraction from superscript and subscript
+characters.
+
+\edef\caretcc{\the\catcode`\^}
+\catcode`\^=12\relax
+\begin{Xexample}{aat-frac}{Fractions in AAT fonts. The \texttt{\relax^^^^2044} glyph is the `fraction slash' that may be typed in \MacOSX\ with \textsc{opt+shift+1}; not shown literally here due to font contraints.}
+ \fontspec[Fractions=On]{Skia}
+ 1{^^^^2044}2 \quad 5{^^^^2044}6 \\ % fraction slash
+ 1/2 \quad 5/6 % regular slash
+
+ \fontspec[Fractions=Diagonal]{Skia}
+ 13579{^^^^2044}24680 \\ % fraction slash
+ \quad 13579/24680 % regular slash
+\end{Xexample}
+\catcode`\^=\caretcc\relax
+
+Some (Asian fonts predominantly) also provide for the
+\opt{Alternate} feature shown in \exref{frac-alt}.
+
+\begin{Xexample}{frac-alt}{Alternate design of pre-composed fractions.}
+ \fontspec{Hiragino Maru Gothic Pro}
+ 1/2 \quad 1/4 \quad 5/6 \quad 13579/24680 \\
+ \addfontfeature{Fractions=Alternate}
+ 1/2 \quad 1/4 \quad 5/6 \quad 13579/24680
+\end{Xexample}
+
+
+\subsection{Variants}
+The \feat{Variant} feature takes a single numerical input for
+choosing different alphabetic shapes. Don't mind my fancy \exref{aat-var}
+\texttt{:)} I'm just looping through the nine~(\,!\,) variants of
+Zapfino.
+
+\begin{Xexample}[firstline=2,lastline=9]{aat-var}{Nine variants of Zapfino.}
+ \Huge \rule{0pt}{2cm}
+ \newcounter{var}
+ \whiledo{\value{var}<9}{%
+ \edef\1{%
+ \noexpand\fontspec[Variant=\thevar,
+ Color=0099\thevar\thevar]{Zapfino}}\1%
+ \makebox[0.75\width]{d}%
+ \stepcounter{var}}
+ \hspace*{2cm}
+\end{Xexample}
+
+See \vref{sec:newfeatures} for a way to assign names to variants,
+which should be done on a per-font basis.
+
+\subsection{Alternates}
+
+Selection of \feat{Alternate}s \emph{again}
+must be done numerically; see \exref{aat-alt}.
+See \vref{sec:newfeatures} for a way to assign names to alternates,
+which should be done on a per-font basis.
+
+\begin{Xexample}{aat-alt}{Alternate shape selection must be numerical.}
+ \fontspec{Hoefler Text Italic}[Alternate=0]
+ Sphinx Of Black Quartz, {\scshape Judge My Vow} \\
+ \fontspec{Hoefler Text Italic}[Alternate=1]
+ Sphinx Of Black Quartz, {\scshape Judge My Vow}
+\end{Xexample}
+
+
+\subsection{Style}
+
+The options of the \feat{Style} feature
+are defined in \AAT\ as one of the following: \opt{Display},
+\opt{Engraved}, \opt{IlluminatedCaps}, \opt{Italic},
+\opt{Ruby},\footnotemark\ \opt{TallCaps}, or \opt{TitlingCaps}.
+\footnotetext{`Ruby' refers to a small optical size, used in
+Japanese typography for annotations.}
+
+Typical examples for these features are shown in \ref{sec:ot-feat-style}.
+
+
+
+
+
+
+\subsection{CJK shape}
+There have been many standards for how CJK ideographic
+glyphs are `supposed' to look. Some fonts will contain many alternate
+glyphs in order to be able to display these gylphs
+correctly in whichever form is appropriate. Both \AAT\ and OpenType
+fonts support the following \feat{CJKShape} options:
+\opt{Traditional}, \opt{Simplified}, \opt{JIS1978}, \opt{JIS1983},
+\opt{JIS1990}, and \opt{Expert}. OpenType also supports the \opt{NLC} option.
+
+\subsection{Character width}
+See \vref{sec:CharacterWidth} for relevant examples; the features are
+the same between OpenType and \AAT\ fonts.
+\AAT\ also allows \feat{CharacterWidth}|=|\opt{Default} to return to
+the original font settings.
+
+
+
+
+
+
+
+\subsection{Vertical typesetting}
+
+\XeTeX\ provides for vertical typesetting simply with the ability to rotate
+the individual glyphs as a font is used for typesetting, as shown in
+\exref{vert}.
+
+\begin{Xexample}[firstline=2]{vert}{Vertical typesetting.}
+ \def\verttext{共産主義者は}
+ \fontspec{Hiragino Mincho Pro}
+ \verttext
+
+ \fontspec{Hiragino Mincho Pro}[Renderer=AAT,Vertical=RotatedGlyphs]
+ \rotatebox{-90}{\verttext}% requires the graphicx package
+\end{Xexample}
+
+No actual provision is made for typesetting top-to-bottom
+languages; for an example of how to do this, see the vertical Chinese
+example provided in the \XeTeX\ documentation.
+
+
+
+
+\subsection{Diacritics}
+Diacritics are marks, such as the acute accent or the tilde, applied to letters; they usually indicate a change in pronunciation.
+In Arabic scripts, diacritics are used to indicate vowels.
+You may either choose
+to \opt{Show}, \opt{Hide} or \opt{Decompose} them in \AAT\ fonts.
+The \opt{Hide} option is for scripts such as Arabic which may be
+displayed either with or without vowel markings. E.g.,
+\verb|\fontspec[Diacritics=Hide]{...}|
+
+Some older fonts distributed with \MacOSX\ included `|O/|' \etc\ as shorthand for writing `\O' under the label of the \feat{Diacritics} feature. If you come across such fonts, you'll
+want to turn this feature off (imagine typing |hello/goodbye| and
+getting `hell\o goodbye' instead!) by decomposing the two characters
+in the diacritic into the ones you actually
+want. I recommend using
+the proper \LaTeX\ input conventions for obtaining such characters
+instead.
+
+
+
+\subsection{Annotation}
+Various Asian fonts are equipped with a more extensive range of
+numbers and numerals in different forms. These are accessed through
+the \feat{Annotation} feature with the following
+options: \opt{Off},
+\opt{Box}, \opt{RoundedBox}, \opt{Circle}, \opt{BlackCircle},
+\opt{Parenthesis}, \opt{Period}, \opt{RomanNumerals}, \opt{Diamond},
+\opt{BlackSquare}, \opt{BlackRoundSquare}, and \opt{DoubleCircle}.
+
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.aux
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.aux (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.aux 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,27 @@
+\relax
+\providecommand\hyper at newdestlabel[2]{}
+\providecommand\HyperFirstAtBeginDocument{\AtBeginDocument}
+\HyperFirstAtBeginDocument{\ifx\hyper at anchor\@undefined
+\global\let\oldcontentsline\contentsline
+\gdef\contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}}
+\global\let\oldnewlabel\newlabel
+\gdef\newlabel#1#2{\newlabelxx{#1}#2}
+\gdef\newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}}
+\AtEndDocument{\ifx\hyper at anchor\@undefined
+\let\contentsline\oldcontentsline
+\let\newlabel\oldnewlabel
+\fi}
+\fi}
+\global\let\hyper at last\relax
+\gdef\HyperFirstAtBeginDocument#1{#1}
+\providecommand*\HyPL at Entry[1]{}
+\HyPL at Entry{0<</S/D>>}
+\@input{fontspec-doc-intro.aux}
+\@input{fontspec-doc-fontsel.aux}
+\@input{fontspec-doc-featsel.aux}
+\@input{fontspec-doc-opentype.aux}
+\@input{fontspec-doc-enc.aux}
+\@input{fontspec-doc-luatex.aux}
+\@input{fontspec-doc-xetex.aux}
+\@input{fontspec-doc-api.aux}
+\@input{fontspec-doc-patches.aux}
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.glo
===================================================================
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.idx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.idx (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.idx 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,28 @@
+\indexentry{newfontfamily=\verb!*+\newfontfamily+|usage|hyperpage}{10}
+\indexentry{newfontface=\verb!*+\newfontface+|usage|hyperpage}{10}
+\indexentry{newAATfeature=\verb!*+\newAATfeature+|usage|hyperpage}{49}
+\indexentry{newopentypefeature=\verb!*+\newopentypefeature+|usage|hyperpage}{49}
+\indexentry{newfontfeature=\verb!*+\newfontfeature+|usage|hyperpage}{49}
+\indexentry{newfontscript=\verb!*+\newfontscript+|usage|hyperpage}{50}
+\indexentry{newfontlanguage=\verb!*+\newfontlanguage+|usage|hyperpage}{50}
+\indexentry{aliasfontfeature=\verb!*+\aliasfontfeature+|usage|hyperpage}{50}
+\indexentry{aliasfontfeatureoption=\verb!*+\aliasfontfeatureoption+|usage|hyperpage}{50}
+\indexentry{fontspec_set_family:Nnn=\verb!*+\fontspec_set_family:Nnn+|main}{1}
+\indexentry{l_fontspec_family_tl=\verb!*+\l_fontspec_family_tl+|usage|hyperpage}{51}
+\indexentry{l_fontspec_font=\verb!*+\l_fontspec_font+|usage|hyperpage}{51}
+\indexentry{g_fontspec_encoding_tl=\verb!*+\g_fontspec_encoding_tl+|usage|hyperpage}{51}
+\indexentry{fontspec_set_fontface:NNnn=\verb!*+\fontspec_set_fontface:NNnn+|main}{1}
+\indexentry{fontspec_font_if_exist:nTF=\verb!*+\fontspec_font_if_exist:nTF+|main}{1}
+\indexentry{fontspec_if_fontspec_font:TF=\verb!*+\fontspec_if_fontspec_font:TF+|main}{1}
+\indexentry{fontspec_if_opentype:TF=\verb!*+\fontspec_if_opentype:TF+|main}{1}
+\indexentry{fontspec_if_aat_feature:nnTF=\verb!*+\fontspec_if_aat_feature:nnTF+|main}{1}
+\indexentry{fontspec_if_feature:nTF=\verb!*+\fontspec_if_feature:nTF+|main}{1}
+\indexentry{fontspec_if_feature:nnnTF=\verb!*+\fontspec_if_feature:nnnTF+|main}{1}
+\indexentry{fontspec_if_script:nTF=\verb!*+\fontspec_if_script:nTF+|main}{1}
+\indexentry{fontspec_if_language:nTF=\verb!*+\fontspec_if_language:nTF+|main}{1}
+\indexentry{fontspec_if_language:nnTF=\verb!*+\fontspec_if_language:nnTF+|main}{1}
+\indexentry{fontspec_if_current_feature:nTF=\verb!*+\fontspec_if_current_feature:nTF+|main}{1}
+\indexentry{fontspec_if_current_script:nTF=\verb!*+\fontspec_if_current_script:nTF+|main}{1}
+\indexentry{fontspec_if_current_language:nTF=\verb!*+\fontspec_if_current_language:nTF+|main}{1}
+\indexentry{oldstylenums=\verb!*+\oldstylenums+|usage|hyperpage}{54}
+\indexentry{liningnums=\verb!*+\liningnums+|usage|hyperpage}{54}
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.log
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.log (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.log 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,3750 @@
+This is XeTeX, Version 3.14159265-2.6-0.99996 (TeX Live 2016) (preloaded format=xelatex 2016.5.14) 18 JAN 2017 22:27
+entering extended mode
+ \write18 enabled.
+ file:line:error style messages enabled.
+ %&-line parsing enabled.
+**fontspec-doc.tex
+(./fontspec-doc.tex
+LaTeX2e <2016/03/31>
+Babel <3.9r> and hyphenation patterns for 81 language(s) loaded.
+(/usr/local/texlive/2016/texmf-dist/tex/latex/base/ltxdoc.cls
+Document Class: ltxdoc 2015/03/26 v2.0w Standard LaTeX documentation class
+(/usr/local/texlive/2016/texmf-dist/tex/latex/base/article.cls
+Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
+(/usr/local/texlive/2016/texmf-dist/tex/latex/base/size10.clo
+File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
+)
+\c at part=\count79
+\c at section=\count80
+\c at subsection=\count81
+\c at subsubsection=\count82
+\c at paragraph=\count83
+\c at subparagraph=\count84
+\c at figure=\count85
+\c at table=\count86
+\abovecaptionskip=\skip41
+\belowcaptionskip=\skip42
+\bibindent=\dimen102
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/base/doc.sty
+Package: doc 2016/02/15 v2.1g Standard LaTeX documentation package (FMi)
+\c at StandardModuleDepth=\count87
+\guard at level=\count88
+\MacrocodeTopsep=\skip43
+\MacroIndent=\dimen103
+\macro at cnt=\count89
+\MacroTopsep=\skip44
+\index at excludelist=\toks14
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/tools/multicol.sty
+Package: multicol 2016/02/08 v1.8o multicolumn formatting (FMi)
+\c at tracingmulticols=\count90
+\mult at box=\box26
+\multicol at leftmargin=\dimen104
+\c at unbalance=\count91
+\c at collectmore=\count92
+\doublecol at number=\count93
+\multicoltolerance=\count94
+\multicolpretolerance=\count95
+\full at width=\dimen105
+\page at free=\dimen106
+\premulticols=\dimen107
+\postmulticols=\dimen108
+\multicolsep=\skip45
+\multicolbaselineskip=\skip46
+\partial at page=\box27
+\last at line=\box28
+\maxbalancingoverflow=\dimen109
+\mult at rightbox=\box29
+\mult at grightbox=\box30
+\mult at gfirstbox=\box31
+\mult at firstbox=\box32
+\@tempa=\box33
+\@tempa=\box34
+\@tempa=\box35
+\@tempa=\box36
+\@tempa=\box37
+\@tempa=\box38
+\@tempa=\box39
+\@tempa=\box40
+\@tempa=\box41
+\@tempa=\box42
+\@tempa=\box43
+\@tempa=\box44
+\@tempa=\box45
+\@tempa=\box46
+\@tempa=\box47
+\@tempa=\box48
+\@tempa=\box49
+\c at columnbadness=\count96
+\c at finalcolumnbadness=\count97
+\last at try=\dimen110
+\multicolovershoot=\dimen111
+\multicolundershoot=\dimen112
+\mult at nat@firstbox=\box50
+\colbreak at box=\box51
+\mc at col@check at num=\count98
+)
+\IndexMin=\dimen113
+\c at IndexColumns=\count99
+\GlossaryMin=\dimen114
+\c at GlossaryColumns=\count100
+\check at sum=\count101
+\bslash at cnt=\count102
+\wrong at table=\toks15
+\c at CodelineNo=\count103
+))
+(./fontspec-doc-style.sty
+Package: fontspec-doc-style
+ (./fontspec.sty
+(/usr/local/texlive/2016/texmf-dist/tex/latex/l3kernel/expl3.sty
+Package: expl3 2016/11/21 v6760 L3 programming layer (loader)
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/l3kernel/expl3-code.tex
+Package: expl3 2016/11/21 v6760 L3 programming layer (code)
+L3 Module: l3bootstrap 2016/06/13 v6596 L3 Bootstrap code
+L3 Module: l3names 2016/10/13 v6722 L3 Namespace for primitives
+L3 Module: l3basics 2016/09/01 v6696 L3 Basic definitions
+L3 Module: l3expan 2016/08/19 v6684 L3 Argument expansion
+L3 Module: l3tl 2016/08/19 v6692 L3 Token lists
+L3 Module: l3str 2016/08/19 v6692 L3 Strings
+L3 Module: l3seq 2016/08/19 v6685 L3 Sequences and stacks
+L3 Module: l3int 2016/09/07 v6700 L3 Integers
+\c_max_int=\count104
+\l_tmpa_int=\count105
+\l_tmpb_int=\count106
+\g_tmpa_int=\count107
+\g_tmpb_int=\count108
+L3 Module: l3quark 2016/08/19 v6685 L3 Quarks
+L3 Module: l3prg 2016/08/18 v6679 L3 Control structures
+\g__prg_map_int=\count109
+L3 Module: l3clist 2016/08/19 v6685 L3 Comma separated lists
+L3 Module: l3token 2016/09/01 v6695 L3 Experimental token manipulation
+L3 Module: l3prop 2016/08/19 v6685 L3 Property lists
+L3 Module: l3msg 2016/08/19 v6691 L3 Messages
+L3 Module: l3file 2016/08/19 v6685 L3 File and I/O operations
+\l_iow_line_count_int=\count110
+\l__iow_target_count_int=\count111
+\l__iow_current_line_int=\count112
+\l__iow_current_word_int=\count113
+\l__iow_current_indentation_int=\count114
+L3 Module: l3skip 2016/08/19 v6692 L3 Dimensions and skips
+\c_zero_dim=\dimen115
+\c_max_dim=\dimen116
+\l_tmpa_dim=\dimen117
+\l_tmpb_dim=\dimen118
+\g_tmpa_dim=\dimen119
+\g_tmpb_dim=\dimen120
+\c_zero_skip=\skip47
+\c_max_skip=\skip48
+\l_tmpa_skip=\skip49
+\l_tmpb_skip=\skip50
+\g_tmpa_skip=\skip51
+\g_tmpb_skip=\skip52
+\c_zero_muskip=\muskip10
+\c_max_muskip=\muskip11
+\l_tmpa_muskip=\muskip12
+\l_tmpb_muskip=\muskip13
+\g_tmpa_muskip=\muskip14
+\g_tmpb_muskip=\muskip15
+L3 Module: l3keys 2016/09/21 v6711 L3 Key-value interfaces
+\l_keys_choice_int=\count115
+L3 Module: l3fp 2016/11/21 v6761 L3 Floating points
+\c__fp_leading_shift_int=\count116
+\c__fp_middle_shift_int=\count117
+\c__fp_trailing_shift_int=\count118
+\c__fp_big_leading_shift_int=\count119
+\c__fp_big_middle_shift_int=\count120
+\c__fp_big_trailing_shift_int=\count121
+\c__fp_Bigg_leading_shift_int=\count122
+\c__fp_Bigg_middle_shift_int=\count123
+\c__fp_Bigg_trailing_shift_int=\count124
+L3 Module: l3box 2016/08/19 v6685 L3 Experimental boxes
+\c_empty_box=\box52
+\l_tmpa_box=\box53
+\l_tmpb_box=\box54
+\g_tmpa_box=\box55
+\g_tmpb_box=\box56
+L3 Module: l3coffins 2016/08/19 v6685 L3 Coffin code layer
+\l__coffin_internal_box=\box57
+\l__coffin_internal_dim=\dimen121
+\l__coffin_offset_x_dim=\dimen122
+\l__coffin_offset_y_dim=\dimen123
+\l__coffin_x_dim=\dimen124
+\l__coffin_y_dim=\dimen125
+\l__coffin_x_prime_dim=\dimen126
+\l__coffin_y_prime_dim=\dimen127
+\c_empty_coffin=\box58
+\l__coffin_aligned_coffin=\box59
+\l__coffin_aligned_internal_coffin=\box60
+\l_tmpa_coffin=\box61
+\l_tmpb_coffin=\box62
+\l__coffin_display_coffin=\box63
+\l__coffin_display_coord_coffin=\box64
+\l__coffin_display_pole_coffin=\box65
+\l__coffin_display_offset_dim=\dimen128
+\l__coffin_display_x_dim=\dimen129
+\l__coffin_display_y_dim=\dimen130
+L3 Module: l3color 2016/06/13 v6596 L3 Experimental color support
+L3 Module: l3sys 2015/09/25 v6087 L3 Experimental system/runtime functions
+L3 Module: l3candidates 2016/08/19 v6688 L3 Experimental additions to l3kernel
+\l__box_top_dim=\dimen131
+\l__box_bottom_dim=\dimen132
+\l__box_left_dim=\dimen133
+\l__box_right_dim=\dimen134
+\l__box_top_new_dim=\dimen135
+\l__box_bottom_new_dim=\dimen136
+\l__box_left_new_dim=\dimen137
+\l__box_right_new_dim=\dimen138
+\l__box_internal_box=\box66
+\l__coffin_bounding_shift_dim=\dimen139
+\l__coffin_left_corner_dim=\dimen140
+\l__coffin_right_corner_dim=\dimen141
+\l__coffin_bottom_corner_dim=\dimen142
+\l__coffin_top_corner_dim=\dimen143
+\l__coffin_scaled_total_height_dim=\dimen144
+\l__coffin_scaled_width_dim=\dimen145
+L3 Module: l3luatex 2016/08/18 v6679 L3 Experimental LuaTeX-specific functions
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def
+File: l3xdvidpfmx.def 2016/08/18 v6679 L3 Experimental driver: xdvipdfmx
+\l__driver_tmp_box=\box67
+))
+(/usr/local/texlive/2016/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
+Package: xparse 2016/11/21 v6760 L3 Experimental document command parser
+\l__xparse_current_arg_int=\count125
+\l__xparse_m_args_int=\count126
+\l__xparse_mandatory_args_int=\count127
+\l__xparse_processor_int=\count128
+\l__xparse_v_nesting_int=\count129
+)
+Package: fontspec 2017/01/02 v2.5c Font selection for XeLaTeX and LuaLaTeX
+
+(./fontspec-xetex.sty
+Package: fontspec-xetex 2017/01/02 v2.5c Font selection for XeLaTeX and LuaLaTe
+X
+\l__fontspec_script_int=\count130
+\l__fontspec_language_int=\count131
+\l__fontspec_strnum_int=\count132
+\l__fontspec_tmp_int=\count133
+\l__fontspec_em_int=\count134
+\l__fontspec_emdef_int=\count135
+\l__fontspec_tmpa_dim=\dimen146
+\l__fontspec_tmpb_dim=\dimen147
+\l__fontspec_tmpc_dim=\dimen148
+\g__file_internal_ior=\read1
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/base/fontenc.sty
+Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
+ (./tuenc.def
+File: tuenc.def 2016/12/11 v2.0a Standard LaTeX file
+)
+LaTeX Font Info: Try loading font information for TU+cmr on input line 105.
+LaTeX Font Info: No file TUcmr.fd. on input line 105.
+
+
+LaTeX Font Warning: Font shape `TU/cmr/m/n' undefined
+(Font) using `TU/cmr/m/n' instead on input line 105.
+
+/usr/local/texlive/2016/texmf-dist/tex/latex/base/fontenc.sty:105: Corrupted NF
+SS tables.
+wrong at fontshape ...message {Corrupted NFSS tables}
+ error at fontshape else let f...
+l.105 \fontencoding\encodingdefault\selectfont
+
+?
+
+LaTeX Font Warning: Font shape `TU/cmr/m/n' undefined
+(Font) using `OT1/cmr/m/n' instead on input line 105.
+
+)
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \fontspec with sig. 'O{}mO{}' on line 434.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \setmainfont with sig. 'O{}mO{}' on line 450.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \setsansfont with sig. 'O{}mO{}' on line 466.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \setmonofont with sig. 'O{}mO{}' on line 482.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \setmathrm with sig. 'O{}mO{}' on line 487.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \setboldmathrm with sig. 'O{}mO{}' on line 492.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \setmathsf with sig. 'O{}mO{}' on line 497.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \setmathtt with sig. 'O{}mO{}' on line 502.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \newfontfamily with sig. 'mO{}mO{}' on line 522.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \newfontface with sig. 'mO{}mO{}' on line 526.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \defaultfontfeatures with sig. 't+om' on line 533.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \addfontfeatures with sig. 'm' on line 584.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \newfontfeature with sig. 'mm' on line 595.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \newAATfeature with sig. 'mmmm' on line 603.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \newopentypefeature with sig. 'mmm' on line 611.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \aliasfontfeature with sig. 'mm' on line 632.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \aliasfontfeatureoption with sig. 'mmm' on line 649.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \newfontscript with sig. 'mm' on line 653.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \newfontlanguage with sig. 'mm' on line 657.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \DeclareFontsExtensions with sig. 'm' on line 662.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \IfFontFeatureActiveTF with sig. 'mmm' on line 670.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \EncodingCommand with sig. 'mO{}m' on line 3329.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \DeclareUnicodeEncoding with sig. 'mm' on line 3371.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \ImportEncoding with sig. 'm' on line 3380.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \UndeclareSymbol with sig. 'm' on line 3384.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \UndeclareComposite with sig. 'mm' on line 3390.
+.................................................
+ (./fontspec.cfg)
+LaTeX Info: Redefining \itshape on input line 3571.
+LaTeX Info: Redefining \slshape on input line 3576.
+LaTeX Info: Redefining \scshape on input line 3581.
+LaTeX Info: Redefining \upshape on input line 3586.
+LaTeX Info: Redefining \em on input line 3606.
+LaTeX Info: Redefining \emph on input line 3623.
+LaTeX Font Info: Try loading font information for TU+lmr on input line 3627.
+
+ (./tulmr.fd
+File: tulmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
+)
+LaTeX Info: Redefining \- on input line 3630.
+.................................................
+. LaTeX info: "xparse/redefine-command"
+.
+. Redefining command \oldstylenums with sig. 'm' on line 3725.
+.................................................
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \liningnums with sig. 'm' on line 3729.
+.................................................
+))
+(/usr/local/texlive/2016/texmf-dist/tex/latex/booktabs/booktabs.sty
+Package: booktabs 2016/04/27 v1.618033 publication quality tables
+\heavyrulewidth=\dimen149
+\lightrulewidth=\dimen150
+\cmidrulewidth=\dimen151
+\belowrulesep=\dimen152
+\belowbottomsep=\dimen153
+\aboverulesep=\dimen154
+\abovetopsep=\dimen155
+\cmidrulesep=\dimen156
+\cmidrulekern=\dimen157
+\defaultaddspace=\dimen158
+\@cmidla=\count136
+\@cmidlb=\count137
+\@aboverulesep=\dimen159
+\@belowrulesep=\dimen160
+\@thisruleclass=\count138
+\@lastruleclass=\count139
+\@thisrulewidth=\dimen161
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/tools/calc.sty
+Package: calc 2014/10/28 v4.3 Infix arithmetic (KKT,FJ)
+\calc at Acount=\count140
+\calc at Bcount=\count141
+\calc at Adimen=\dimen162
+\calc at Bdimen=\dimen163
+\calc at Askip=\skip53
+\calc at Bskip=\skip54
+LaTeX Info: Redefining \setlength on input line 80.
+LaTeX Info: Redefining \addtolength on input line 81.
+\calc at Ccount=\count142
+\calc at Cskip=\skip55
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/caption/caption.sty
+Package: caption 2016/02/21 v3.3-144 Customizing captions (AR)
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/caption/caption3.sty
+Package: caption3 2016/02/04 v1.7-139 caption3 kernel (AR)
+Package caption3 Info: TeX engine: e-TeX on input line 67.
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty
+Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
+\KV at toks@=\toks16
+)
+\captionmargin=\dimen164
+\captionmargin@=\dimen165
+\captionwidth=\dimen166
+\caption at tempdima=\dimen167
+\caption at indent=\dimen168
+\caption at parindent=\dimen169
+\caption at hangindent=\dimen170
+)
+\c at ContinuedFloat=\count143
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/color.sty
+Package: color 2016/01/03 v1.1b Standard LaTeX Color (DPC)
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-cfg/color.cfg
+File: color.cfg 2016/01/02 v1.6 sample color configuration
+)
+Package color Info: Driver file: xetex.def on input line 143.
+
+(/usr/local/texlive/2016/texmf-dist/tex/xelatex/xetex-def/xetex.def
+File: xetex.def 2016/04/06 v4.08 LaTeX color/graphics driver for XeTeX (TeX Liv
+e/RRM/JK)
+
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/infwarerr.sty
+Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)
+)
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
+Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
+)))
+(/usr/local/texlive/2016/texmf-dist/tex/latex/enumitem/enumitem.sty
+Package: enumitem 2011/09/28 v3.5.2 Customized lists
+\labelindent=\skip56
+\enit at outerparindent=\dimen171
+\enit at toks=\toks17
+\enit at inbox=\box68
+\enitdp at description=\count144
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
+Package: fancyvrb 2008/02/07
+
+Style option: `fancyvrb' v2.7a, with DG/SPQR fixes, and firstline=lastline fix
+<2008/02/07> (tvz)
+\FV at CodeLineNo=\count145
+\FV at InFile=\read2
+\FV at TabBox=\box69
+\c at FancyVerbLine=\count146
+\FV at StepNumber=\count147
+\FV at OutFile=\write3
+)
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/hologo.sty
+Package: hologo 2012/04/26 v1.10 A logo collection with bookmark support (HO)
+
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
+Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO)
+
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/etexcmds.sty
+Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
+
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ifluatex.sty
+Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
+Package ifluatex Info: LuaTeX not detected.
+)
+Package etexcmds Info: Could not find \expanded.
+(etexcmds) That can mean that you are not using pdfTeX 1.50 or
+(etexcmds) that some package has redefined \expanded.
+(etexcmds) In the latter case, load this package earlier.
+))
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty
+Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO)
+)
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
+Package: pdftexcmds 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO
+)
+
+(/usr/local/texlive/2016/texmf-dist/tex/generic/ifpdf/ifpdf.sty
+Package: ifpdf 2016/04/04 v3.0 Provides the ifpdf switch
+)
+Package pdftexcmds Info: LuaTeX not detected.
+Package pdftexcmds Info: pdfTeX >= 1.30 not detected.
+Package pdftexcmds Info: \pdf at primitive is available.
+Package pdftexcmds Info: \pdf at ifprimitive is available.
+Package pdftexcmds Info: \pdfdraftmode not found.
+)
+(/usr/local/texlive/2016/texmf-dist/tex/generic/ifxetex/ifxetex.sty
+Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
+)
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ifvtex.sty
+Package: ifvtex 2010/03/01 v1.5 Detect VTeX and its facilities (HO)
+Package ifvtex Info: VTeX not detected.
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/kvoptions.sty
+Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO)
+)
+Package hologo Info: Using driver `xetex'.
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphicx.sty
+Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphics.sty
+Package: graphics 2016/01/03 v1.0q Standard LaTeX Graphics (DPC,SPQR)
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/trig.sty
+Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
+File: graphics.cfg 2016/01/02 v1.10 sample graphics configuration
+)
+Package graphics Info: Driver file: xetex.def on input line 95.
+)
+\Gin at req@height=\dimen172
+\Gin at req@width=\dimen173
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/base/ifthen.sty
+Package: ifthen 2014/09/29 v1.1c Standard LaTeX ifthen package (DPC)
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/url/url.sty
+\Urlmuskip=\muskip16
+Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc.
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/tools/varioref.sty
+Package: varioref 2016/02/16 v1.5c package for extended references (FMi)
+\c at vrcnt=\count148
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/varwidth/varwidth.sty
+Package: varwidth 2009/03/30 ver 0.92; Variable-width minipages
+\@vwid at box=\box70
+\sift at deathcycles=\count149
+\@vwid at loff=\dimen174
+\@vwid at roff=\dimen175
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/microtype/microtype.sty
+Package: microtype 2016/05/01 v2.6 Micro-typographical refinements (RS)
+\MT at toks=\toks18
+\MT at count=\count150
+LaTeX Info: Redefining \textls on input line 774.
+\MT at outer@kern=\dimen176
+LaTeX Info: Redefining \textmicrotypecontext on input line 1310.
+\MT at listname@count=\count151
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/microtype/microtype-xetex.def
+File: microtype-xetex.def 2016/05/01 v2.6 Definitions specific to xetex (RS)
+LaTeX Info: Redefining \lsstyle on input line 255.
+)
+Package microtype Info: Loading configuration file microtype.cfg.
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/microtype/microtype.cfg
+File: microtype.cfg 2016/05/01 v2.6 microtype main configuration file (RS)
+))
+(/usr/local/texlive/2016/texmf-dist/tex/latex/tocloft/tocloft.sty
+Package: tocloft 2013/05/02 v2.3f parameterised ToC, etc., typesetting
+Package tocloft Info: The document has section divisions on input line 44.
+\cftparskip=\skip57
+\cftbeforetoctitleskip=\skip58
+\cftaftertoctitleskip=\skip59
+\cftbeforepartskip=\skip60
+\cftpartnumwidth=\skip61
+\cftpartindent=\skip62
+\cftbeforesecskip=\skip63
+\cftsecindent=\skip64
+\cftsecnumwidth=\skip65
+\cftbeforesubsecskip=\skip66
+\cftsubsecindent=\skip67
+\cftsubsecnumwidth=\skip68
+\cftbeforesubsubsecskip=\skip69
+\cftsubsubsecindent=\skip70
+\cftsubsubsecnumwidth=\skip71
+\cftbeforeparaskip=\skip72
+\cftparaindent=\skip73
+\cftparanumwidth=\skip74
+\cftbeforesubparaskip=\skip75
+\cftsubparaindent=\skip76
+\cftsubparanumwidth=\skip77
+\cftbeforeloftitleskip=\skip78
+\cftafterloftitleskip=\skip79
+\cftbeforefigskip=\skip80
+\cftfigindent=\skip81
+\cftfignumwidth=\skip82
+\c at lofdepth=\count152
+\c at lotdepth=\count153
+\cftbeforelottitleskip=\skip83
+\cftafterlottitleskip=\skip84
+\cftbeforetabskip=\skip85
+\cfttabindent=\skip86
+\cfttabnumwidth=\skip87
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/framed/framed.sty
+Package: framed 2011/10/22 v 0.96: framed or shaded text with page breaks
+\OuterFrameSep=\skip88
+\fb at frw=\dimen177
+\fb at frh=\dimen178
+\FrameRule=\dimen179
+\FrameSep=\dimen180
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/docmute/docmute.sty
+Package: docmute 2012/03/22 v1.4 Input stand-alone documents
+)
+::__fontspec_init:
+::__fontspec_if_detect_external:n{AldusNovaPro-Book.otf}
+
+
+::::::::::::::::::::::::::::::
+::fontspec_select:nn {,} {aldus-nova}
+::__fontspec_init:
+::__fontspec_if_detect_external:n{aldus-nova}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {aldus-nova}
+(/Users/will/Dropbox/texmf/tex/latex/willfonts/aldus-nova.fontspec)
+::__fontspec_extract_all_features:n{,}
+fontid:aldus-nova-:-Numbers=OldStyle,Ligatures=TeX,Extension = .otf,UprightFont
+ = AldusNovaPro-Book,ItalicFont = AldusNovaPro-BookItalic,BoldFont = PalatinoNo
+vaPro-Medium,BoldItalicFont = PalatinoNovaPro-MediumIt
+::__fontspec_preparse_features:
+::::Keys set: {fontspec-preparse-external} {Numbers=OldStyle,Ligatures=TeX,Exte
+nsion = .otf,UprightFont = AldusNovaPro-Book,ItalicFont = AldusNovaPro-BookItal
+ic,BoldFont = PalatinoNovaPro-Medium,BoldItalicFont = PalatinoNovaPro-MediumIt}
+
+Setting bold font "PalatinoNovaPro-Medium" with series "bx"
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec-preparse} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::__fontspec_load_font
+Set base font for preliminary analysis:"[AldusNovaPro-Book.otf]/OT"
+::__fontspec_set_font_type:
+Set base font properly:"[AldusNovaPro-Book.otf]/OT"
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+::::__fontspec_remove_clashing_featstr:n{+onum,-onum,+lnum,-lnum}
+:::: Removing feature "+onum;"
+:::: Removing feature "-onum;"
+:::: Removing feature "+lnum;"
+:::: Removing feature "-lnum;"
+::::__fontspec_update_featstr:n{+onum}
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+save family: aldus-nova
+==fontid_tl:"aldus-nova-:-Numbers=OldStyle,Ligatures=TeX,Extension = .otf,Uprig
+htFont = AldusNovaPro-Book,ItalicFont = AldusNovaPro-BookItalic,BoldFont = Pala
+tinoNovaPro-Medium,BoldItalicFont = PalatinoNovaPro-MediumIt".
+\g__fontspec_family_aldus-nova_int=\count154
+::::Keys set: {fontspec-preparse-external} {}
+::::Leftover: {}
+::__fontspec_load_fontname:n{AldusNovaPro-Book}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {AldusNovaPro-
+Book}
+= declare_shape: {AldusNovaPro-Book} {m} {n}
+== size: -
+::__fontspec_load_fontname:n{AldusNovaPro-Book}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {AldusNovaPro-
+Book}
+==== Setup NFSS shape: <-> AldusNovaPro-Book
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+::::__fontspec_remove_clashing_featstr:n{+onum,-onum,+lnum,-lnum}
+:::: Removing feature "+onum;"
+:::: Removing feature "-onum;"
+:::: Removing feature "+lnum;"
+:::: Removing feature "-lnum;"
+::::__fontspec_update_featstr:n{+onum}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+==== Gathered features: +onum;mapping=tex-text;
+=== sized font: AldusNovaPro-Book
+:: fontspec_check_ot_feat:n {smcp}
+==== Small caps found.
+==== Setup NFSS shape: <-> AldusNovaPro-Book
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,\l__fontspec_fontfeat_curr_clist }
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,Letter
+s=SmallCaps}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps
+}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+,Letters={SmallCaps}"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+::::__fontspec_remove_clashing_featstr:n{+onum,-onum,+lnum,-lnum}
+:::: Removing feature "+onum;"
+:::: Removing feature "-onum;"
+:::: Removing feature "+lnum;"
+:::: Removing feature "-lnum;"
+::::__fontspec_update_featstr:n{+onum}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{smcp}{+smcp}{+pcap,+unic,+rand}
+:: fontspec_check_ot_feat:n {smcp}
+::::__fontspec_remove_clashing_featstr:n{+smcp,-smcp,+pcap,+unic,+rand}
+:::: Removing feature "+smcp;"
+:::: Removing feature "-smcp;"
+:::: Removing feature "+pcap;"
+:::: Removing feature "+unic;"
+:::: Removing feature "+rand;"
+::::__fontspec_update_featstr:n{+smcp}
+:::: Adding feature.
+==== Gathered features: +onum;mapping=tex-text;+smcp;
+DeclareFontShape: {TU}{aldus-nova(0)}{m}{n}...
+DeclareFontShape: {TU}{aldus-nova(0)}{m}{sc}...
+::::Keys set: {fontspec-preparse-external} {}
+::::Leftover: {}
+::__fontspec_load_fontname:n{PalatinoNovaPro-Medium}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoNovaP
+ro-Medium}
+= declare_shape: {PalatinoNovaPro-Medium} {bx} {n}
+== size: -
+::__fontspec_load_fontname:n{PalatinoNovaPro-Medium}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoNovaP
+ro-Medium}
+==== Setup NFSS shape: <-> PalatinoNovaPro-Medium
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+::::__fontspec_remove_clashing_featstr:n{+onum,-onum,+lnum,-lnum}
+:::: Removing feature "+onum;"
+:::: Removing feature "-onum;"
+:::: Removing feature "+lnum;"
+:::: Removing feature "-lnum;"
+::::__fontspec_update_featstr:n{+onum}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+==== Gathered features: +onum;mapping=tex-text;
+=== sized font: PalatinoNovaPro-Medium
+:: fontspec_check_ot_feat:n {smcp}
+==== Small caps found.
+==== Setup NFSS shape: <-> PalatinoNovaPro-Medium
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,\l__fontspec_fontfeat_curr_clist }
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,Letter
+s=SmallCaps}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps
+}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+,Letters={SmallCaps}"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+::::__fontspec_remove_clashing_featstr:n{+onum,-onum,+lnum,-lnum}
+:::: Removing feature "+onum;"
+:::: Removing feature "-onum;"
+:::: Removing feature "+lnum;"
+:::: Removing feature "-lnum;"
+::::__fontspec_update_featstr:n{+onum}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{smcp}{+smcp}{+pcap,+unic,+rand}
+:: fontspec_check_ot_feat:n {smcp}
+::::__fontspec_remove_clashing_featstr:n{+smcp,-smcp,+pcap,+unic,+rand}
+:::: Removing feature "+smcp;"
+:::: Removing feature "-smcp;"
+:::: Removing feature "+pcap;"
+:::: Removing feature "+unic;"
+:::: Removing feature "+rand;"
+::::__fontspec_update_featstr:n{+smcp}
+:::: Adding feature.
+==== Gathered features: +onum;mapping=tex-text;+smcp;
+DeclareFontShape: {TU}{aldus-nova(0)}{bx}{n}...
+DeclareFontShape: {TU}{aldus-nova(0)}{bx}{sc}...
+::::Keys set: {fontspec-preparse-external} {}
+::::Leftover: {}
+::__fontspec_load_fontname:n{AldusNovaPro-BookItalic}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {AldusNovaPro-
+BookItalic}
+= declare_shape: {AldusNovaPro-BookItalic} {m} {it}
+== size: -
+::__fontspec_load_fontname:n{AldusNovaPro-BookItalic}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {AldusNovaPro-
+BookItalic}
+==== Setup NFSS shape: <-> AldusNovaPro-BookItalic
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+::::__fontspec_remove_clashing_featstr:n{+onum,-onum,+lnum,-lnum}
+:::: Removing feature "+onum;"
+:::: Removing feature "-onum;"
+:::: Removing feature "+lnum;"
+:::: Removing feature "-lnum;"
+::::__fontspec_update_featstr:n{+onum}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+==== Gathered features: +onum;mapping=tex-text;
+=== sized font: AldusNovaPro-BookItalic
+:: fontspec_check_ot_feat:n {smcp}
+==== Small caps found.
+==== Setup NFSS shape: <-> AldusNovaPro-BookItalic
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,\l__fontspec_fontfeat_curr_clist }
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,Letter
+s=SmallCaps}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps
+}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+,Letters={SmallCaps}"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+::::__fontspec_remove_clashing_featstr:n{+onum,-onum,+lnum,-lnum}
+:::: Removing feature "+onum;"
+:::: Removing feature "-onum;"
+:::: Removing feature "+lnum;"
+:::: Removing feature "-lnum;"
+::::__fontspec_update_featstr:n{+onum}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{smcp}{+smcp}{+pcap,+unic,+rand}
+:: fontspec_check_ot_feat:n {smcp}
+::::__fontspec_remove_clashing_featstr:n{+smcp,-smcp,+pcap,+unic,+rand}
+:::: Removing feature "+smcp;"
+:::: Removing feature "-smcp;"
+:::: Removing feature "+pcap;"
+:::: Removing feature "+unic;"
+:::: Removing feature "+rand;"
+::::__fontspec_update_featstr:n{+smcp}
+:::: Adding feature.
+==== Gathered features: +onum;mapping=tex-text;+smcp;
+DeclareFontShape: {TU}{aldus-nova(0)}{m}{it}...
+DeclareFontShape: {TU}{aldus-nova(0)}{m}{itsc}...
+DeclareFontShape: {TU}{aldus-nova(0)}{m}{sl}...
+::::Keys set: {fontspec-preparse-external} {}
+::::Leftover: {}
+::__fontspec_load_fontname:n{PalatinoNovaPro-MediumIt}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoNovaP
+ro-MediumIt}
+= declare_shape: {PalatinoNovaPro-MediumIt} {bx} {it}
+== size: -
+::__fontspec_load_fontname:n{PalatinoNovaPro-MediumIt}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoNovaP
+ro-MediumIt}
+==== Setup NFSS shape: <-> PalatinoNovaPro-MediumIt
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+::::__fontspec_remove_clashing_featstr:n{+onum,-onum,+lnum,-lnum}
+:::: Removing feature "+onum;"
+:::: Removing feature "-onum;"
+:::: Removing feature "+lnum;"
+:::: Removing feature "-lnum;"
+::::__fontspec_update_featstr:n{+onum}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+==== Gathered features: +onum;mapping=tex-text;
+=== sized font: PalatinoNovaPro-MediumIt
+:: fontspec_check_ot_feat:n {smcp}
+==== Small caps found.
+==== Setup NFSS shape: <-> PalatinoNovaPro-MediumIt
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,\l__fontspec_fontfeat_curr_clist }
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,Letter
+s=SmallCaps}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps
+}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+,Letters={SmallCaps}"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+::::__fontspec_remove_clashing_featstr:n{+onum,-onum,+lnum,-lnum}
+:::: Removing feature "+onum;"
+:::: Removing feature "-onum;"
+:::: Removing feature "+lnum;"
+:::: Removing feature "-lnum;"
+::::__fontspec_update_featstr:n{+onum}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{smcp}{+smcp}{+pcap,+unic,+rand}
+:: fontspec_check_ot_feat:n {smcp}
+::::__fontspec_remove_clashing_featstr:n{+smcp,-smcp,+pcap,+unic,+rand}
+:::: Removing feature "+smcp;"
+:::: Removing feature "-smcp;"
+:::: Removing feature "+pcap;"
+:::: Removing feature "+unic;"
+:::: Removing feature "+rand;"
+::::__fontspec_update_featstr:n{+smcp}
+:::: Adding feature.
+==== Gathered features: +onum;mapping=tex-text;+smcp;
+DeclareFontShape: {TU}{aldus-nova(0)}{bx}{it}...
+DeclareFontShape: {TU}{aldus-nova(0)}{bx}{itsc}...
+DeclareFontShape: {TU}{aldus-nova(0)}{bx}{sl}...
+.................................................
+. fontspec info: "defining-font"
+.
+. Font family 'aldus-nova(0)' created for font 'aldus-nova' with options
+. [Numbers=OldStyle,Ligatures=TeX,Extension = .otf,UprightFont =
+. AldusNovaPro-Book,ItalicFont = AldusNovaPro-BookItalic,BoldFont =
+. PalatinoNovaPro-Medium,BoldItalicFont = PalatinoNovaPro-MediumIt].
+.
+. This font family consists of the following NFSS series/shapes:
+.
+. - 'normal' (m/n) with NFSS spec.:
+. <->"[AldusNovaPro-Book.otf]/OT:script=latn;language=DFLT;+onum;mapping=tex-te
+xt;"
+. - 'small caps' (m/sc) with NFSS spec.:
+. <->"[AldusNovaPro-Book.otf]/OT:script=latn;language=DFLT;+onum;mapping=tex-te
+xt;+smcp;"
+. - 'bold' (bx/n) with NFSS spec.:
+. <->"[PalatinoNovaPro-Medium.otf]/OT:script=latn;language=DFLT;+onum;mapping=t
+ex-text;"
+. - 'bold small caps' (bx/sc) with NFSS spec.:
+. <->"[PalatinoNovaPro-Medium.otf]/OT:script=latn;language=DFLT;+onum;mapping=t
+ex-text;+smcp;"
+. - 'italic' (m/it) with NFSS spec.:
+. <->"[AldusNovaPro-BookItalic.otf]/OT:script=latn;language=DFLT;+onum;mapping=
+tex-text;"
+. - 'italic small caps' (m/itsc) with NFSS spec.:
+. <->"[AldusNovaPro-BookItalic.otf]/OT:script=latn;language=DFLT;+onum;mapping=
+tex-text;+smcp;"
+. - 'bold italic' (bx/it) with NFSS spec.:
+. <->"[PalatinoNovaPro-MediumIt.otf]/OT:script=latn;language=DFLT;+onum;mapping
+=tex-text;"
+. - 'bold italic small caps' (bx/itsc) with NFSS spec.:
+. <->"[PalatinoNovaPro-MediumIt.otf]/OT:script=latn;language=DFLT;+onum;mapping
+=tex-text;+smcp;"
+.................................................
+*************************************************
+* fontspec warning: "defining-font"
+*
+* Font family 'aldus-nova(0)' created for font 'aldus-nova' with options
+* [Numbers=OldStyle,Ligatures=TeX,Extension = .otf,UprightFont =
+* AldusNovaPro-Book,ItalicFont = AldusNovaPro-BookItalic,BoldFont =
+* PalatinoNovaPro-Medium,BoldItalicFont = PalatinoNovaPro-MediumIt].
+*
+* This font family consists of the following NFSS series/shapes:
+*
+* - 'normal' (m/n) with NFSS spec.:
+* <->"[AldusNovaPro-Book.otf]/OT:script=latn;language=DFLT;+onum;mapping=tex-te
+xt;"
+* - 'small caps' (m/sc) with NFSS spec.:
+* <->"[AldusNovaPro-Book.otf]/OT:script=latn;language=DFLT;+onum;mapping=tex-te
+xt;+smcp;"
+* - 'bold' (bx/n) with NFSS spec.:
+* <->"[PalatinoNovaPro-Medium.otf]/OT:script=latn;language=DFLT;+onum;mapping=t
+ex-text;"
+* - 'bold small caps' (bx/sc) with NFSS spec.:
+* <->"[PalatinoNovaPro-Medium.otf]/OT:script=latn;language=DFLT;+onum;mapping=t
+ex-text;+smcp;"
+* - 'italic' (m/it) with NFSS spec.:
+* <->"[AldusNovaPro-BookItalic.otf]/OT:script=latn;language=DFLT;+onum;mapping=
+tex-text;"
+* - 'italic small caps' (m/itsc) with NFSS spec.:
+* <->"[AldusNovaPro-BookItalic.otf]/OT:script=latn;language=DFLT;+onum;mapping=
+tex-text;+smcp;"
+* - 'bold italic' (bx/it) with NFSS spec.:
+* <->"[PalatinoNovaPro-MediumIt.otf]/OT:script=latn;language=DFLT;+onum;mapping
+=tex-text;"
+* - 'bold italic small caps' (bx/itsc) with NFSS spec.:
+* <->"[PalatinoNovaPro-MediumIt.otf]/OT:script=latn;language=DFLT;+onum;mapping
+=tex-text;+smcp;"
+*************************************************
+LaTeX Info: Redefining \rmfamily on input line 65.
+
+
+::::::::::::::::::::::::::::::
+::fontspec_select:nn {,} {palatino-sans-light}
+::__fontspec_init:
+::__fontspec_if_detect_external:n{palatino-sans-light}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {palatino-sans
+-light}
+(/Users/will/Dropbox/texmf/tex/latex/willfonts/palatino-sans-light.fontspec)
+::__fontspec_extract_all_features:n{,}
+fontid:palatino-sans-light-:-Numbers=OldStyle,Ligatures=TeX,Extension = .ttf,Up
+rightFont = PalatinoSansCom-Light,ItalicFont = PalatinoSansCom-LightIta,BoldFon
+t = PalatinoSansCom-Regular,BoldItalicFont = PalatinoSansCom-Italic
+::__fontspec_preparse_features:
+::::Keys set: {fontspec-preparse-external} {Numbers=OldStyle,Ligatures=TeX,Exte
+nsion = .ttf,UprightFont = PalatinoSansCom-Light,ItalicFont = PalatinoSansCom-L
+ightIta,BoldFont = PalatinoSansCom-Regular,BoldItalicFont = PalatinoSansCom-Ita
+lic}
+Setting bold font "PalatinoSansCom-Regular" with series "bx"
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec-preparse} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::__fontspec_load_font
+Set base font for preliminary analysis:"[PalatinoSansCom-Light.ttf]/OT"
+::__fontspec_set_font_type:
+Set base font properly:"[PalatinoSansCom-Light.ttf]/OT"
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+::::__fontspec_remove_clashing_featstr:n{+onum,-onum,+lnum,-lnum}
+:::: Removing feature "+onum;"
+:::: Removing feature "-onum;"
+:::: Removing feature "+lnum;"
+:::: Removing feature "-lnum;"
+::::__fontspec_update_featstr:n{+onum}
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+save family: palatino-sans-light
+==fontid_tl:"palatino-sans-light-:-Numbers=OldStyle,Ligatures=TeX,Extension = .
+ttf,UprightFont = PalatinoSansCom-Light,ItalicFont = PalatinoSansCom-LightIta,B
+oldFont = PalatinoSansCom-Regular,BoldItalicFont = PalatinoSansCom-Italic".
+\g__fontspec_family_palatino-sans-light_int=\count155
+::::Keys set: {fontspec-preparse-external} {}
+::::Leftover: {}
+::__fontspec_load_fontname:n{PalatinoSansCom-Light}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoSansC
+om-Light}
+= declare_shape: {PalatinoSansCom-Light} {m} {n}
+== size: -
+::__fontspec_load_fontname:n{PalatinoSansCom-Light}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoSansC
+om-Light}
+==== Setup NFSS shape: <-> PalatinoSansCom-Light
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+::::__fontspec_remove_clashing_featstr:n{+onum,-onum,+lnum,-lnum}
+:::: Removing feature "+onum;"
+:::: Removing feature "-onum;"
+:::: Removing feature "+lnum;"
+:::: Removing feature "-lnum;"
+::::__fontspec_update_featstr:n{+onum}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+==== Gathered features: +onum;mapping=tex-text;
+=== sized font: PalatinoSansCom-Light
+:: fontspec_check_ot_feat:n {smcp}
+==== Small caps found.
+==== Setup NFSS shape: <-> PalatinoSansCom-Light
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,\l__fontspec_fontfeat_curr_clist }
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,Letter
+s=SmallCaps}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps
+}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+,Letters={SmallCaps}"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+::::__fontspec_remove_clashing_featstr:n{+onum,-onum,+lnum,-lnum}
+:::: Removing feature "+onum;"
+:::: Removing feature "-onum;"
+:::: Removing feature "+lnum;"
+:::: Removing feature "-lnum;"
+::::__fontspec_update_featstr:n{+onum}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{smcp}{+smcp}{+pcap,+unic,+rand}
+:: fontspec_check_ot_feat:n {smcp}
+::::__fontspec_remove_clashing_featstr:n{+smcp,-smcp,+pcap,+unic,+rand}
+:::: Removing feature "+smcp;"
+:::: Removing feature "-smcp;"
+:::: Removing feature "+pcap;"
+:::: Removing feature "+unic;"
+:::: Removing feature "+rand;"
+::::__fontspec_update_featstr:n{+smcp}
+:::: Adding feature.
+==== Gathered features: +onum;mapping=tex-text;+smcp;
+DeclareFontShape: {TU}{palatino-sans-light(0)}{m}{n}...
+DeclareFontShape: {TU}{palatino-sans-light(0)}{m}{sc}...
+::::Keys set: {fontspec-preparse-external} {}
+::::Leftover: {}
+::__fontspec_load_fontname:n{PalatinoSansCom-Regular}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoSansC
+om-Regular}
+= declare_shape: {PalatinoSansCom-Regular} {bx} {n}
+== size: -
+::__fontspec_load_fontname:n{PalatinoSansCom-Regular}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoSansC
+om-Regular}
+==== Setup NFSS shape: <-> PalatinoSansCom-Regular
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+::::__fontspec_remove_clashing_featstr:n{+onum,-onum,+lnum,-lnum}
+:::: Removing feature "+onum;"
+:::: Removing feature "-onum;"
+:::: Removing feature "+lnum;"
+:::: Removing feature "-lnum;"
+::::__fontspec_update_featstr:n{+onum}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+==== Gathered features: +onum;mapping=tex-text;
+=== sized font: PalatinoSansCom-Regular
+:: fontspec_check_ot_feat:n {smcp}
+==== Small caps found.
+==== Setup NFSS shape: <-> PalatinoSansCom-Regular
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,\l__fontspec_fontfeat_curr_clist }
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,Letter
+s=SmallCaps}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps
+}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+,Letters={SmallCaps}"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+::::__fontspec_remove_clashing_featstr:n{+onum,-onum,+lnum,-lnum}
+:::: Removing feature "+onum;"
+:::: Removing feature "-onum;"
+:::: Removing feature "+lnum;"
+:::: Removing feature "-lnum;"
+::::__fontspec_update_featstr:n{+onum}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{smcp}{+smcp}{+pcap,+unic,+rand}
+:: fontspec_check_ot_feat:n {smcp}
+::::__fontspec_remove_clashing_featstr:n{+smcp,-smcp,+pcap,+unic,+rand}
+:::: Removing feature "+smcp;"
+:::: Removing feature "-smcp;"
+:::: Removing feature "+pcap;"
+:::: Removing feature "+unic;"
+:::: Removing feature "+rand;"
+::::__fontspec_update_featstr:n{+smcp}
+:::: Adding feature.
+==== Gathered features: +onum;mapping=tex-text;+smcp;
+DeclareFontShape: {TU}{palatino-sans-light(0)}{bx}{n}...
+DeclareFontShape: {TU}{palatino-sans-light(0)}{bx}{sc}...
+::::Keys set: {fontspec-preparse-external} {}
+::::Leftover: {}
+::__fontspec_load_fontname:n{PalatinoSansCom-LightIta}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoSansC
+om-LightIta}
+= declare_shape: {PalatinoSansCom-LightIta} {m} {it}
+== size: -
+::__fontspec_load_fontname:n{PalatinoSansCom-LightIta}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoSansC
+om-LightIta}
+==== Setup NFSS shape: <-> PalatinoSansCom-LightIta
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+::::__fontspec_remove_clashing_featstr:n{+onum,-onum,+lnum,-lnum}
+:::: Removing feature "+onum;"
+:::: Removing feature "-onum;"
+:::: Removing feature "+lnum;"
+:::: Removing feature "-lnum;"
+::::__fontspec_update_featstr:n{+onum}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+==== Gathered features: +onum;mapping=tex-text;
+=== sized font: PalatinoSansCom-LightIta
+:: fontspec_check_ot_feat:n {smcp}
+==== Small caps found.
+==== Setup NFSS shape: <-> PalatinoSansCom-LightIta
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,\l__fontspec_fontfeat_curr_clist }
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,Letter
+s=SmallCaps}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps
+}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+,Letters={SmallCaps}"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+::::__fontspec_remove_clashing_featstr:n{+onum,-onum,+lnum,-lnum}
+:::: Removing feature "+onum;"
+:::: Removing feature "-onum;"
+:::: Removing feature "+lnum;"
+:::: Removing feature "-lnum;"
+::::__fontspec_update_featstr:n{+onum}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{smcp}{+smcp}{+pcap,+unic,+rand}
+:: fontspec_check_ot_feat:n {smcp}
+::::__fontspec_remove_clashing_featstr:n{+smcp,-smcp,+pcap,+unic,+rand}
+:::: Removing feature "+smcp;"
+:::: Removing feature "-smcp;"
+:::: Removing feature "+pcap;"
+:::: Removing feature "+unic;"
+:::: Removing feature "+rand;"
+::::__fontspec_update_featstr:n{+smcp}
+:::: Adding feature.
+==== Gathered features: +onum;mapping=tex-text;+smcp;
+DeclareFontShape: {TU}{palatino-sans-light(0)}{m}{it}...
+DeclareFontShape: {TU}{palatino-sans-light(0)}{m}{itsc}...
+DeclareFontShape: {TU}{palatino-sans-light(0)}{m}{sl}...
+::::Keys set: {fontspec-preparse-external} {}
+::::Leftover: {}
+::__fontspec_load_fontname:n{PalatinoSansCom-Italic}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoSansC
+om-Italic}
+= declare_shape: {PalatinoSansCom-Italic} {bx} {it}
+== size: -
+::__fontspec_load_fontname:n{PalatinoSansCom-Italic}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {PalatinoSansC
+om-Italic}
+==== Setup NFSS shape: <-> PalatinoSansCom-Italic
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+::::__fontspec_remove_clashing_featstr:n{+onum,-onum,+lnum,-lnum}
+:::: Removing feature "+onum;"
+:::: Removing feature "-onum;"
+:::: Removing feature "+lnum;"
+:::: Removing feature "-lnum;"
+::::__fontspec_update_featstr:n{+onum}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+==== Gathered features: +onum;mapping=tex-text;
+=== sized font: PalatinoSansCom-Italic
+:: fontspec_check_ot_feat:n {smcp}
+==== Small caps found.
+==== Setup NFSS shape: <-> PalatinoSansCom-Italic
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,\l__fontspec_fontfeat_curr_clist }
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},Ligatures={TeX},,,,Letter
+s=SmallCaps}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps}}
+::::Keys set: {fontspec} {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps
+}}
+::::Leftover: {Numbers={OldStyle},Ligatures={TeX},Letters={SmallCaps}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle},Ligatures={TeX}
+,Letters={SmallCaps}"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+::::__fontspec_remove_clashing_featstr:n{+onum,-onum,+lnum,-lnum}
+:::: Removing feature "+onum;"
+:::: Removing feature "-onum;"
+:::: Removing feature "+lnum;"
+:::: Removing feature "-lnum;"
+::::__fontspec_update_featstr:n{+onum}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{}{mapping=tex-text}{}
+::::__fontspec_remove_clashing_featstr:n{mapping=tex-text,ng=tex-text,}
+:::: Removing feature "mapping=tex-text;"
+:::: Removing feature "ng=tex-text;"
+::::__fontspec_update_featstr:n{mapping=tex-text}
+:::: Adding feature.
+::__fontspec_make_OT_feature:nnn{smcp}{+smcp}{+pcap,+unic,+rand}
+:: fontspec_check_ot_feat:n {smcp}
+::::__fontspec_remove_clashing_featstr:n{+smcp,-smcp,+pcap,+unic,+rand}
+:::: Removing feature "+smcp;"
+:::: Removing feature "-smcp;"
+:::: Removing feature "+pcap;"
+:::: Removing feature "+unic;"
+:::: Removing feature "+rand;"
+::::__fontspec_update_featstr:n{+smcp}
+:::: Adding feature.
+==== Gathered features: +onum;mapping=tex-text;+smcp;
+DeclareFontShape: {TU}{palatino-sans-light(0)}{bx}{it}...
+DeclareFontShape: {TU}{palatino-sans-light(0)}{bx}{itsc}...
+DeclareFontShape: {TU}{palatino-sans-light(0)}{bx}{sl}...
+.................................................
+. fontspec info: "defining-font"
+.
+. Font family 'palatino-sans-light(0)' created for font 'palatino-sans-light'
+. with options [Numbers=OldStyle,Ligatures=TeX,Extension = .ttf,UprightFont =
+. PalatinoSansCom-Light,ItalicFont = PalatinoSansCom-LightIta,BoldFont =
+. PalatinoSansCom-Regular,BoldItalicFont = PalatinoSansCom-Italic].
+.
+. This font family consists of the following NFSS series/shapes:
+.
+. - 'normal' (m/n) with NFSS spec.:
+. <->"[PalatinoSansCom-Light.ttf]/OT:script=latn;language=DFLT;+onum;mapping=te
+x-text;"
+. - 'small caps' (m/sc) with NFSS spec.:
+. <->"[PalatinoSansCom-Light.ttf]/OT:script=latn;language=DFLT;+onum;mapping=te
+x-text;+smcp;"
+. - 'bold' (bx/n) with NFSS spec.:
+. <->"[PalatinoSansCom-Regular.ttf]/OT:script=latn;language=DFLT;+onum;mapping=
+tex-text;"
+. - 'bold small caps' (bx/sc) with NFSS spec.:
+. <->"[PalatinoSansCom-Regular.ttf]/OT:script=latn;language=DFLT;+onum;mapping=
+tex-text;+smcp;"
+. - 'italic' (m/it) with NFSS spec.:
+. <->"[PalatinoSansCom-LightIta.ttf]/OT:script=latn;language=DFLT;+onum;mapping
+=tex-text;"
+. - 'italic small caps' (m/itsc) with NFSS spec.:
+. <->"[PalatinoSansCom-LightIta.ttf]/OT:script=latn;language=DFLT;+onum;mapping
+=tex-text;+smcp;"
+. - 'bold italic' (bx/it) with NFSS spec.:
+. <->"[PalatinoSansCom-Italic.ttf]/OT:script=latn;language=DFLT;+onum;mapping=t
+ex-text;"
+. - 'bold italic small caps' (bx/itsc) with NFSS spec.:
+. <->"[PalatinoSansCom-Italic.ttf]/OT:script=latn;language=DFLT;+onum;mapping=t
+ex-text;+smcp;"
+.................................................
+*************************************************
+* fontspec warning: "defining-font"
+*
+* Font family 'palatino-sans-light(0)' created for font 'palatino-sans-light'
+* with options [Numbers=OldStyle,Ligatures=TeX,Extension = .ttf,UprightFont =
+* PalatinoSansCom-Light,ItalicFont = PalatinoSansCom-LightIta,BoldFont =
+* PalatinoSansCom-Regular,BoldItalicFont = PalatinoSansCom-Italic].
+*
+* This font family consists of the following NFSS series/shapes:
+*
+* - 'normal' (m/n) with NFSS spec.:
+* <->"[PalatinoSansCom-Light.ttf]/OT:script=latn;language=DFLT;+onum;mapping=te
+x-text;"
+* - 'small caps' (m/sc) with NFSS spec.:
+* <->"[PalatinoSansCom-Light.ttf]/OT:script=latn;language=DFLT;+onum;mapping=te
+x-text;+smcp;"
+* - 'bold' (bx/n) with NFSS spec.:
+* <->"[PalatinoSansCom-Regular.ttf]/OT:script=latn;language=DFLT;+onum;mapping=
+tex-text;"
+* - 'bold small caps' (bx/sc) with NFSS spec.:
+* <->"[PalatinoSansCom-Regular.ttf]/OT:script=latn;language=DFLT;+onum;mapping=
+tex-text;+smcp;"
+* - 'italic' (m/it) with NFSS spec.:
+* <->"[PalatinoSansCom-LightIta.ttf]/OT:script=latn;language=DFLT;+onum;mapping
+=tex-text;"
+* - 'italic small caps' (m/itsc) with NFSS spec.:
+* <->"[PalatinoSansCom-LightIta.ttf]/OT:script=latn;language=DFLT;+onum;mapping
+=tex-text;+smcp;"
+* - 'bold italic' (bx/it) with NFSS spec.:
+* <->"[PalatinoSansCom-Italic.ttf]/OT:script=latn;language=DFLT;+onum;mapping=t
+ex-text;"
+* - 'bold italic small caps' (bx/itsc) with NFSS spec.:
+* <->"[PalatinoSansCom-Italic.ttf]/OT:script=latn;language=DFLT;+onum;mapping=t
+ex-text;+smcp;"
+*************************************************
+LaTeX Info: Redefining \sffamily on input line 65.
+
+
+::::::::::::::::::::::::::::::
+::fontspec_select:nn {,BoldFont=lmmonolt10-bold.otf} {lmmonolt10-regular.otf}
+::__fontspec_init:
+::__fontspec_if_detect_external:n{lmmonolt10-regular.otf}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {lmmonolt10-re
+gular.otf}
+::__fontspec_extract_all_features:n{,BoldFont=lmmonolt10-bold.otf}
+fontid:lmmonolt10-regular-:-Numbers=OldStyle,WordSpace={1,0,0},PunctuationSpace
+=WordSpace,BoldFont=lmmonolt10-bold.otf
+::__fontspec_preparse_features:
+::::Keys set: {fontspec-preparse-external} {Numbers=OldStyle,WordSpace={1,0,0},
+PunctuationSpace=WordSpace,BoldFont=lmmonolt10-bold.otf}
+Setting bold font "lmmonolt10-bold.otf" with series "bx"
+::::Leftover: {Numbers={OldStyle},WordSpace={1,0,0},PunctuationSpace={WordSpace
+}}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},WordSpace={1,0,0},Punctua
+tionSpace={WordSpace}}
+::::Leftover: {Numbers={OldStyle},WordSpace={1,0,0},PunctuationSpace={WordSpace
+}}
+::::Keys set: {fontspec-preparse} {Numbers={OldStyle},WordSpace={1,0,0},Punctua
+tionSpace={WordSpace}}
+::::Leftover: {Numbers={OldStyle},WordSpace={1,0,0},PunctuationSpace={WordSpace
+}}
+::__fontspec_load_font
+Set base font for preliminary analysis:"[lmmonolt10-regular.otf]/OT"
+::__fontspec_set_font_type:
+Set base font properly:"[lmmonolt10-regular.otf]/OT"
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},WordSpace={1,0,0},Punctua
+tionSpace={WordSpace},}
+::::Leftover: {Numbers={OldStyle},WordSpace={1,0,0},PunctuationSpace={WordSpace
+}}
+::::Keys set: {fontspec} {Numbers={OldStyle},WordSpace={1,0,0},PunctuationSpace
+={WordSpace}}
+::::Leftover: {Numbers={OldStyle}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle}"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+::::__fontspec_remove_clashing_featstr:n{+onum,-onum,+lnum,-lnum}
+:::: Removing feature "+onum;"
+:::: Removing feature "-onum;"
+:::: Removing feature "+lnum;"
+:::: Removing feature "-lnum;"
+::::__fontspec_update_featstr:n{+onum}
+save family: lmmonolt10-regular.otf
+==fontid_tl:"lmmonolt10-regular-:-Numbers=OldStyle,WordSpace={1,0,0},Punctuatio
+nSpace=WordSpace,BoldFont=lmmonolt10-bold.otf".
+\g__fontspec_family_lmmonolt10-regular.otf_int=\count156
+::::Keys set: {fontspec-preparse-external} {}
+::::Leftover: {}
+::__fontspec_load_fontname:n{lmmonolt10-regular}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {lmmonolt10-re
+gular}
+= declare_shape: {lmmonolt10-regular} {m} {n}
+== size: -
+::__fontspec_load_fontname:n{lmmonolt10-regular}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {lmmonolt10-re
+gular}
+==== Setup NFSS shape: <-> lmmonolt10-regular
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},WordSpace={1,0,0},Punctua
+tionSpace={WordSpace},,,,}
+::::Leftover: {Numbers={OldStyle},WordSpace={1,0,0},PunctuationSpace={WordSpace
+}}
+::::Keys set: {fontspec} {Numbers={OldStyle},WordSpace={1,0,0},PunctuationSpace
+={WordSpace}}
+::::Leftover: {Numbers={OldStyle}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle}"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+::::__fontspec_remove_clashing_featstr:n{+onum,-onum,+lnum,-lnum}
+:::: Removing feature "+onum;"
+:::: Removing feature "-onum;"
+:::: Removing feature "+lnum;"
+:::: Removing feature "-lnum;"
+::::__fontspec_update_featstr:n{+onum}
+:::: Adding feature.
+==== Gathered features: +onum;
+=== sized font: lmmonolt10-regular
+:: fontspec_check_ot_feat:n {smcp}
+==== Small caps not found.
+DeclareFontShape: {TU}{lmmonolt10-regular.otf(0)}{m}{n}...
+::::Keys set: {fontspec-preparse-external} {}
+::::Leftover: {}
+::__fontspec_load_fontname:n{lmmonolt10-bold.otf}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {lmmonolt10-bo
+ld.otf}
+= declare_shape: {lmmonolt10-bold} {bx} {n}
+== size: -
+::__fontspec_load_fontname:n{lmmonolt10-bold}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {lmmonolt10-bo
+ld}
+==== Setup NFSS shape: <-> lmmonolt10-bold
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},WordSpace={1,0,0},Punctua
+tionSpace={WordSpace},,,,}
+::::Leftover: {Numbers={OldStyle},WordSpace={1,0,0},PunctuationSpace={WordSpace
+}}
+::::Keys set: {fontspec} {Numbers={OldStyle},WordSpace={1,0,0},PunctuationSpace
+={WordSpace}}
+::::Leftover: {Numbers={OldStyle}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle}"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+::::__fontspec_remove_clashing_featstr:n{+onum,-onum,+lnum,-lnum}
+:::: Removing feature "+onum;"
+:::: Removing feature "-onum;"
+:::: Removing feature "+lnum;"
+:::: Removing feature "-lnum;"
+::::__fontspec_update_featstr:n{+onum}
+:::: Adding feature.
+==== Gathered features: +onum;
+=== sized font: lmmonolt10-bold
+:: fontspec_check_ot_feat:n {smcp}
+==== Small caps not found.
+DeclareFontShape: {TU}{lmmonolt10-regular.otf(0)}{bx}{n}...
+.................................................
+. fontspec info: "defining-font"
+.
+. Font family 'lmmonolt10-regular.otf(0)' created for font
+. 'lmmonolt10-regular.otf' with options
+. [Numbers=OldStyle,WordSpace={1,0,0},PunctuationSpace=WordSpace,BoldFont=lmmon
+olt10-bold.otf].
+.
+. This font family consists of the following NFSS series/shapes:
+.
+. - 'normal' (m/n) with NFSS spec.:
+. <->"[lmmonolt10-regular.otf]/OT:script=latn;language=DFLT;+onum;"
+. - 'small caps' (m/sc) with NFSS spec.:
+. and font adjustment code:
+. \fontdimen 2\font =1\fontdimen 2\font \fontdimen 3\font =0\fontdimen 3\font
+. \fontdimen 4\font =0\fontdimen 4\font \fontdimen 7\font =0\fontdimen 2\font
+. - 'bold' (bx/n) with NFSS spec.:
+. <->"[lmmonolt10-bold.otf]/OT:script=latn;language=DFLT;+onum;"
+. - 'bold small caps' (bx/sc) with NFSS spec.:
+. and font adjustment code:
+. \fontdimen 2\font =1\fontdimen 2\font \fontdimen 3\font =0\fontdimen 3\font
+. \fontdimen 4\font =0\fontdimen 4\font \fontdimen 7\font =0\fontdimen 2\font
+.................................................
+*************************************************
+* fontspec warning: "defining-font"
+*
+* Font family 'lmmonolt10-regular.otf(0)' created for font
+* 'lmmonolt10-regular.otf' with options
+* [Numbers=OldStyle,WordSpace={1,0,0},PunctuationSpace=WordSpace,BoldFont=lmmon
+olt10-bold.otf].
+*
+* This font family consists of the following NFSS series/shapes:
+*
+* - 'normal' (m/n) with NFSS spec.:
+* <->"[lmmonolt10-regular.otf]/OT:script=latn;language=DFLT;+onum;"
+* - 'small caps' (m/sc) with NFSS spec.:
+* and font adjustment code:
+* \fontdimen 2\font =1\fontdimen 2\font \fontdimen 3\font =0\fontdimen 3\font
+* \fontdimen 4\font =0\fontdimen 4\font \fontdimen 7\font =0\fontdimen 2\font
+* - 'bold' (bx/n) with NFSS spec.:
+* <->"[lmmonolt10-bold.otf]/OT:script=latn;language=DFLT;+onum;"
+* - 'bold small caps' (bx/sc) with NFSS spec.:
+* and font adjustment code:
+* \fontdimen 2\font =1\fontdimen 2\font \fontdimen 3\font =0\fontdimen 3\font
+* \fontdimen 4\font =0\fontdimen 4\font \fontdimen 7\font =0\fontdimen 2\font
+*************************************************
+LaTeX Info: Redefining \ttfamily on input line 66.
+
+
+::::::::::::::::::::::::::::::
+::fontspec_select:nn {,} {lmmonoltcond10-regular.otf}
+::__fontspec_init:
+::__fontspec_if_detect_external:n{lmmonoltcond10-regular.otf}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {lmmonoltcond1
+0-regular.otf}
+::__fontspec_extract_all_features:n{,}
+fontid:lmmonoltcond10-regular-:-Numbers=OldStyle
+::__fontspec_preparse_features:
+::::Keys set: {fontspec-preparse-external} {Numbers=OldStyle}
+::::Leftover: {Numbers={OldStyle}}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle}}
+::::Leftover: {Numbers={OldStyle}}
+::::Keys set: {fontspec-preparse} {Numbers={OldStyle}}
+::::Leftover: {Numbers={OldStyle}}
+::__fontspec_load_font
+Set base font for preliminary analysis:"[lmmonoltcond10-regular.otf]/OT"
+::__fontspec_set_font_type:
+Set base font properly:"[lmmonoltcond10-regular.otf]/OT"
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},}
+::::Leftover: {Numbers={OldStyle}}
+::::Keys set: {fontspec} {Numbers={OldStyle}}
+::::Leftover: {Numbers={OldStyle}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle}"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+::::__fontspec_remove_clashing_featstr:n{+onum,-onum,+lnum,-lnum}
+:::: Removing feature "+onum;"
+:::: Removing feature "-onum;"
+:::: Removing feature "+lnum;"
+:::: Removing feature "-lnum;"
+::::__fontspec_update_featstr:n{+onum}
+save family: lmmonoltcond10-regular.otf
+==fontid_tl:"lmmonoltcond10-regular-:-Numbers=OldStyle".
+\g__fontspec_family_lmmonoltcond10-regular.otf_int=\count157
+::::Keys set: {fontspec-preparse-external} {}
+::::Leftover: {}
+::__fontspec_load_fontname:n{lmmonoltcond10-regular}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {lmmonoltcond1
+0-regular}
+= declare_shape: {lmmonoltcond10-regular} {m} {n}
+== size: -
+::__fontspec_load_fontname:n{lmmonoltcond10-regular}
+::__fontspec_load_external_fontoptions:Nn\l_fontspec_fontname_tl {lmmonoltcond1
+0-regular}
+==== Setup NFSS shape: <-> lmmonoltcond10-regular
+::__fontspec_get_features:Nn\l__fontspec_rawfeatures_sclist {,,\l__fontspec_siz
+ing_leftover_clist ,}
+::::Keys set: {fontspec-renderer} {Numbers={OldStyle},,,,}
+::::Leftover: {Numbers={OldStyle}}
+::::Keys set: {fontspec} {Numbers={OldStyle}}
+::::Leftover: {Numbers={OldStyle}}
+:::Setting keys for OpenType font features: "Numbers={OldStyle}"
+::__fontspec_make_OT_feature:nnn{onum}{+onum}{+lnum,-lnum}
+:: fontspec_check_ot_feat:n {onum}
+::::__fontspec_remove_clashing_featstr:n{+onum,-onum,+lnum,-lnum}
+:::: Removing feature "+onum;"
+:::: Removing feature "-onum;"
+:::: Removing feature "+lnum;"
+:::: Removing feature "-lnum;"
+::::__fontspec_update_featstr:n{+onum}
+:::: Adding feature.
+==== Gathered features: +onum;
+=== sized font: lmmonoltcond10-regular
+:: fontspec_check_ot_feat:n {smcp}
+==== Small caps not found.
+DeclareFontShape: {TU}{lmmonoltcond10-regular.otf(0)}{m}{n}...
+.................................................
+. fontspec info: "defining-font"
+.
+. Font family 'lmmonoltcond10-regular.otf(0)' created for font
+. 'lmmonoltcond10-regular.otf' with options [Numbers=OldStyle].
+.
+. This font family consists of the following NFSS series/shapes:
+.
+. - 'normal' (m/n) with NFSS spec.:
+. <->"[lmmonoltcond10-regular.otf]/OT:script=latn;language=DFLT;+onum;"
+. - 'small caps' (m/sc) with NFSS spec.:
+.................................................
+*************************************************
+* fontspec warning: "defining-font"
+*
+* Font family 'lmmonoltcond10-regular.otf(0)' created for font
+* 'lmmonoltcond10-regular.otf' with options [Numbers=OldStyle].
+*
+* This font family consists of the following NFSS series/shapes:
+*
+* - 'normal' (m/n) with NFSS spec.:
+* <->"[lmmonoltcond10-regular.otf]/OT:script=latn;language=DFLT;+onum;"
+* - 'small caps' (m/sc) with NFSS spec.:
+*************************************************
+(/usr/local/texlive/2016/texmf-dist/tex/latex/hyperref/hyperref.sty
+Package: hyperref 2012/11/06 v6.83m Hypertext links for LaTeX
+
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
+Package: hobsub-hyperref 2012/05/28 v1.13 Bundle oberdiek, subset hyperref (HO)
+
+
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty
+Package: hobsub-generic 2012/05/28 v1.13 Bundle oberdiek, subset generic (HO)
+Package: hobsub 2012/05/28 v1.13 Construct package bundles (HO)
+Package hobsub Info: Skipping package `infwarerr' (already loaded).
+Package hobsub Info: Skipping package `ltxcmds' (already loaded).
+Package hobsub Info: Skipping package `ifluatex' (already loaded).
+Package hobsub Info: Skipping package `ifvtex' (already loaded).
+Package: intcalc 2007/09/27 v1.1 Expandable calculations with integers (HO)
+Package hobsub Info: Skipping package `ifpdf' (already loaded).
+Package hobsub Info: Skipping package `etexcmds' (already loaded).
+Package hobsub Info: Skipping package `kvsetkeys' (already loaded).
+Package hobsub Info: Skipping package `kvdefinekeys' (already loaded).
+Package hobsub Info: Skipping package `pdftexcmds' (already loaded).
+Package: pdfescape 2011/11/25 v1.13 Implements pdfTeX's escape features (HO)
+Package: bigintcalc 2012/04/08 v1.3 Expandable calculations on big integers (HO
+)
+Package: bitset 2011/01/30 v1.1 Handle bit-vector datatype (HO)
+Package: uniquecounter 2011/01/30 v1.2 Provide unlimited unique counter (HO)
+)
+Package hobsub Info: Skipping package `hobsub' (already loaded).
+Package: letltxmacro 2010/09/02 v1.4 Let assignment for LaTeX macros (HO)
+Package: hopatch 2012/05/28 v1.2 Wrapper for package hooks (HO)
+Package: xcolor-patch 2011/01/30 xcolor patch
+Package: atveryend 2011/06/30 v1.8 Hooks at the very end of document (HO)
+Package atveryend Info: \enddocument detected (standard20110627).
+Package atveryend Info: \docmute at enddocument detected (standard20110627).
+Package: atbegshi 2011/10/05 v1.16 At begin shipout hook (HO)
+Package: refcount 2011/10/16 v3.4 Data extraction from label references (HO)
+Package: hycolor 2011/01/30 v1.7 Color options for hyperref/bookmark (HO)
+)
+(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/auxhook.sty
+Package: auxhook 2011/03/04 v1.3 Hooks for auxiliary files (HO)
+
+
+Package auxhook Warning: Cannot patch \document,
+(auxhook) using \AtBeginDocument instead.
+
+)
+\@linkdim=\dimen181
+\Hy at linkcounter=\count158
+\Hy at pagecounter=\count159
+ (/usr/local/texlive/2016/texmf-dist/tex/latex/hyperref/pd1enc.def
+File: pd1enc.def 2012/11/06 v6.83m Hyperref: PDFDocEncoding definition (HO)
+)
+\Hy at SavedSpaceFactor=\count160
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/latexconfig/hyperref.cfg
+File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
+)
+Package hyperref Info: Option `bookmarks' set `true' on input line 4328.
+Package hyperref Info: Option `colorlinks' set `true' on input line 4328.
+
+
+Package hyperref Warning: XeTeX driver only supports unicode.
+(hyperref) Enabling option `unicode'.
+
+Package hyperref Info: Option `unicode' set `true' on input line 4328.
+(/usr/local/texlive/2016/texmf-dist/tex/latex/hyperref/puenc.def
+File: puenc.def 2012/11/06 v6.83m Hyperref: PDF Unicode definition (HO)
+)
+Package hyperref Info: Hyper figures OFF on input line 4452.
+Package hyperref Info: Link nesting OFF on input line 4457.
+Package hyperref Info: Hyper index ON on input line 4460.
+Package hyperref Info: Plain pages OFF on input line 4467.
+Package hyperref Info: Backreferencing OFF on input line 4472.
+Package hyperref Info: Implicit mode ON; LaTeX internals redefined.
+Package hyperref Info: Bookmarks ON on input line 4697.
+\c at Hy@tempcnt=\count161
+LaTeX Info: Redefining \url on input line 5051.
+\XeTeXLinkMargin=\dimen182
+\Fld at menulength=\count162
+\Field at Width=\dimen183
+\Fld at charsize=\dimen184
+Package hyperref Info: Hyper figures OFF on input line 6305.
+Package hyperref Info: Link nesting OFF on input line 6310.
+Package hyperref Info: Hyper index ON on input line 6313.
+Package hyperref Info: backreferencing OFF on input line 6320.
+Package hyperref Info: Link coloring ON on input line 6323.
+Package hyperref Info: Link coloring with OCG OFF on input line 6330.
+Package hyperref Info: PDF/A mode OFF on input line 6335.
+LaTeX Info: Redefining \ref on input line 6375.
+LaTeX Info: Redefining \pageref on input line 6379.
+\Hy at abspage=\count163
+\c at Item=\count164
+\c at Hfootnote=\count165
+)
+
+Package hyperref Message: Driver (autodetected): hxetex.
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/hyperref/hxetex.def
+File: hxetex.def 2012/11/06 v6.83m Hyperref driver for XeTeX
+
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/stringenc.sty
+Package: stringenc 2011/12/02 v1.10 Convert strings between diff. encodings (HO
+)
+)
+\pdfm at box=\box71
+\c at Hy@AnnotLevel=\count166
+\HyField at AnnotCount=\count167
+\Fld at listcount=\count168
+\c at bookmark@seq at number=\count169
+
+(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
+Package: rerunfilecheck 2011/04/15 v1.7 Rerun checks for auxiliary files (HO)
+Package rerunfilecheck Info: Feature \pdfmdfivesum is not available
+(rerunfilecheck) (e.g. pdfTeX or LuaTeX with package `pdftexcmds').
+
+(rerunfilecheck) Therefore file contents cannot be checked efficien
+tly
+(rerunfilecheck) and the loading of the package is aborted.
+)
+\Hy at SectionHShift=\skip89
+)
+\X=\box72
+\Y=\box73
+\c at example=\count170
+\c at argument=\count171
+.................................................
+. LaTeX info: "xparse/define-command"
+.
+. Defining command \otf with sig. 'somm' on line 248.
+.................................................
+)
+\@indexfile=\write4
+\openout4 = `fontspec-doc.idx'.
+
+
+Writing index file fontspec-doc.idx
+\@glossaryfile=\write5
+\openout5 = `fontspec-doc.glo'.
+
+Writing glossary file fontspec-doc.glo
+(./fontspec-doc.aux (./fontspec-doc-intro.aux) (./fontspec-doc-fontsel.aux)
+(./fontspec-doc-featsel.aux) (./fontspec-doc-opentype.aux)
+(./fontspec-doc-enc.aux) (./fontspec-doc-luatex.aux) (./fontspec-doc-xetex.aux)
+(./fontspec-doc-api.aux) (./fontspec-doc-patches.aux))
+\openout1 = `fontspec-doc.aux'.
+
+LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 15.
+LaTeX Font Info: ... okay on input line 15.
+LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 15.
+LaTeX Font Info: ... okay on input line 15.
+LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 15.
+LaTeX Font Info: ... okay on input line 15.
+LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 15.
+LaTeX Font Info: ... okay on input line 15.
+LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 15.
+LaTeX Font Info: ... okay on input line 15.
+LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 15.
+LaTeX Font Info: ... okay on input line 15.
+LaTeX Font Info: Checking defaults for TU/cmr/m/n on input line 15.
+LaTeX Font Info: ... okay on input line 15.
+LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 15.
+LaTeX Font Info: ... okay on input line 15.
+LaTeX Font Info: Checking defaults for PU/pdf/m/n on input line 15.
+LaTeX Font Info: ... okay on input line 15.
+Package doc Info: Made | a short reference for \verb on input line 15.
+.................................................
+. fontspec info: "setup-math"
+.
+. Adjusting the maths setup (use [no-math] to avoid this).
+.................................................
+\symlegacymaths=\mathgroup4
+LaTeX Font Info: Overwriting symbol font `legacymaths' in version `bold'
+(Font) OT1/cmr/m/n --> OT1/cmr/bx/n on input line 15.
+LaTeX Font Info: Redeclaring math accent \acute on input line 15.
+LaTeX Font Info: Redeclaring math accent \grave on input line 15.
+LaTeX Font Info: Redeclaring math accent \ddot on input line 15.
+LaTeX Font Info: Redeclaring math accent \tilde on input line 15.
+LaTeX Font Info: Redeclaring math accent \bar on input line 15.
+LaTeX Font Info: Redeclaring math accent \breve on input line 15.
+LaTeX Font Info: Redeclaring math accent \check on input line 15.
+LaTeX Font Info: Redeclaring math accent \hat on input line 15.
+LaTeX Font Info: Redeclaring math accent \dot on input line 15.
+LaTeX Font Info: Redeclaring math accent \mathring on input line 15.
+LaTeX Font Info: Redeclaring math symbol \colon on input line 15.
+LaTeX Font Info: Redeclaring math symbol \Gamma on input line 15.
+LaTeX Font Info: Redeclaring math symbol \Delta on input line 15.
+LaTeX Font Info: Redeclaring math symbol \Theta on input line 15.
+LaTeX Font Info: Redeclaring math symbol \Lambda on input line 15.
+LaTeX Font Info: Redeclaring math symbol \Xi on input line 15.
+LaTeX Font Info: Redeclaring math symbol \Pi on input line 15.
+LaTeX Font Info: Redeclaring math symbol \Sigma on input line 15.
+LaTeX Font Info: Redeclaring math symbol \Upsilon on input line 15.
+LaTeX Font Info: Redeclaring math symbol \Phi on input line 15.
+LaTeX Font Info: Redeclaring math symbol \Psi on input line 15.
+LaTeX Font Info: Redeclaring math symbol \Omega on input line 15.
+LaTeX Font Info: Redeclaring math symbol \mathdollar on input line 15.
+LaTeX Font Info: Redeclaring symbol font `operators' on input line 15.
+LaTeX Font Info: Encoding `OT1' has changed to `TU' for symbol font
+(Font) `operators' in the math version `normal' on input line 15.
+LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
+(Font) OT1/cmr/m/n --> TU/aldus-nova(0)/m/n on input line 15.
+LaTeX Font Info: Encoding `OT1' has changed to `TU' for symbol font
+(Font) `operators' in the math version `bold' on input line 15.
+LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
+(Font) OT1/cmr/bx/n --> TU/aldus-nova(0)/m/n on input line 15.
+
+LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
+(Font) TU/aldus-nova(0)/m/n --> TU/aldus-nova(0)/m/n on input
+line 15.
+LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
+(Font) OT1/cmr/m/it --> TU/aldus-nova(0)/m/it on input line 15
+.
+LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal'
+(Font) OT1/cmr/bx/n --> TU/aldus-nova(0)/bx/n on input line 15
+.
+LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal'
+(Font) OT1/cmss/m/n --> TU/palatino-sans-light(0)/m/n on input
+ line 15.
+LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal'
+(Font) OT1/cmtt/m/n --> TU/lmmonolt10-regular.otf(0)/m/n on in
+put line 15.
+LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
+(Font) TU/aldus-nova(0)/m/n --> TU/aldus-nova(0)/bx/n on input
+ line 15.
+LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
+(Font) OT1/cmr/bx/it --> TU/aldus-nova(0)/bx/it on input line
+15.
+LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
+(Font) OT1/cmss/bx/n --> TU/palatino-sans-light(0)/bx/n on inp
+ut line 15.
+LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
+(Font) OT1/cmtt/m/n --> TU/lmmonolt10-regular.otf(0)/bx/n on i
+nput line 15.
+Package caption Info: Begin \AtBeginDocument code.
+Package caption Info: hyperref package is loaded.
+Package caption Info: End \AtBeginDocument code.
+LaTeX Info: Redefining \microtypecontext on input line 15.
+Package microtype Info: Character protrusion enabled (level 2).
+Package microtype Info: Using default protrusion set `alltext'.
+Package microtype Info: No adjustment of tracking.
+Package microtype Info: No adjustment of spacing.
+Package microtype Info: No adjustment of kerning.
+Package microtype Info: Loading generic settings for font family
+(microtype) `aldus-nova' (encoding: TU).
+(microtype) For optimal results, create family-specific settings.
+(microtype) See the microtype manual for details.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\`i'
+(microtype) in font encoding `TU' in inheritance list
+(microtype) `microtype.cfg/358(protrusion)'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\'i'
+(microtype) in font encoding `TU' in inheritance list
+(microtype) `microtype.cfg/358(protrusion)'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\^i'
+(microtype) in font encoding `TU' in inheritance list
+(microtype) `microtype.cfg/358(protrusion)'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\"i'
+(microtype) in font encoding `TU' in inheritance list
+(microtype) `microtype.cfg/358(protrusion)'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+\AtBeginShipoutBox=\box74
+Package hyperref Info: Link coloring ON on input line 15.
+(/usr/local/texlive/2016/texmf-dist/tex/latex/hyperref/nameref.sty
+Package: nameref 2012/10/27 v2.43 Cross-referencing by name of section
+
+(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/gettitlestring.sty
+Package: gettitlestring 2010/12/03 v1.4 Cleanup title references (HO)
+)
+\c at section@level=\count172
+LaTeX Info: Redefining \Ref on input line 513.
+)
+LaTeX Info: Redefining \ref on input line 15.
+LaTeX Info: Redefining \pageref on input line 15.
+LaTeX Info: Redefining \nameref on input line 15.
+
+(./fontspec-doc.out) (./fontspec-doc.out)
+\@outlinefile=\write6
+\openout6 = `fontspec-doc.out'.
+
+LaTeX Info: Redefining \Ref on input line 15.
+\docmute at nestinglevel=\count173
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+Package microtype Info: Loading generic settings for font family
+(microtype) `palatino-sans-light' (encoding: TU).
+(microtype) For optimal results, create family-specific settings.
+(microtype) See the microtype manual for details.
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+LaTeX Font Info: External font `cmex10' loaded for size
+(Font) <17.28> on input line 27.
+LaTeX Font Info: External font `cmex10' loaded for size
+(Font) <12> on input line 27.
+(/usr/local/texlive/2016/texmf-dist/tex/latex/microtype/mt-cmr.cfg
+File: mt-cmr.cfg 2013/05/19 v2.2 microtype config. file: Computer Modern Roman
+(RS)
+)
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+LaTeX Font Info: External font `cmex10' loaded for size
+(Font) <8> on input line 27.
+LaTeX Font Info: External font `cmex10' loaded for size
+(Font) <6> on input line 27.
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+Package microtype Info: Loading generic settings for font family
+(microtype) `lmmonolt10-regular.otf' (encoding: TU).
+(microtype) For optimal results, create family-specific settings.
+(microtype) See the microtype manual for details.
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+(./fontspec-doc.toc
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+LaTeX Font Info: External font `cmex10' loaded for size
+(Font) <7> on input line 2.
+LaTeX Font Info: External font `cmex10' loaded for size
+(Font) <5> on input line 2.
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+[1
+
+]
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+[2]
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+)
+\tf at toc=\write7
+\openout7 = `fontspec-doc.toc'.
+
+ [3]
+\openout2 = `fontspec-doc-intro.aux'.
+
+ (./fontspec-doc-intro.tex
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+[4
+
+]
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+[5]) [6]
+\openout2 = `fontspec-doc-fontsel.aux'.
+
+ (./fontspec-doc-fontsel.tex
+
+LaTeX Warning: Hyper reference `sec:font-ind-features' on page 7 undefined on i
+nput line 21.
+
+
+LaTeX Warning: Reference `sec:font-ind-features' on page 7 undefined on input l
+ine 21.
+
+\openout3 = `zzz-1-L-fontload.tex'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+File: zzz-1-L-fontload.pdf Graphic file (type QTm)
+<use "zzz-1-L-fontload.pdf" >
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+LaTeX Warning: Hyper reference `sec:defaults' on page 7 undefined on input line
+ 35.
+
+
+LaTeX Warning: Reference `sec:defaults' on page 7 undefined on input line 35.
+
+
+LaTeX Warning: Hyper reference `sec:font-ind-features' on page 7 undefined on i
+nput line 40.
+
+
+LaTeX Warning: Reference `sec:font-ind-features' on page 7 undefined on input l
+ine 40.
+
+[7
+
+
+] [8] [9]
+
+LaTeX Font Warning: Font shape `TU/lmmonolt10-regular.otf(0)/m/it' undefined
+(Font) using `TU/lmmonolt10-regular.otf(0)/m/n' instead on input l
+ine 174.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+\openout3 = `zzz-2-L-nff.tex'.
+
+File: zzz-2-L-nff.pdf Graphic file (type QTm)
+<use "zzz-2-L-nff.pdf" >
+\openout3 = `zzz-3-X-nfface.tex'.
+
+File: zzz-3-X-nfface.pdf Graphic file (type QTm)
+ <use "zzz-3-X-nfface.pdf" > [10]
+\openout3 = `zzz-4-X-bff.tex'.
+
+File: zzz-4-X-bff.pdf Graphic file (type QTm)
+
+<use "zzz-4-X-bff.pdf" > [11]
+
+LaTeX Warning: Reference `sec:bfit-feat' on page 12 undefined on input line 296
+.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+[12]
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+[13]
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+[14] [15]
+Overfull \hbox (74.25003pt too wide) in paragraph at lines 501--502
+[][]\TU/lmmonolt10-regular.otf(0)/m/it/10 \emfontdeclare{\bfseries,\fontseries{
+h}\selectfont,\fontseries{x}\selectfont}
+ []
+
+) [16]
+\openout2 = `fontspec-doc-featsel.aux'.
+
+
+No file fontspec-doc-featsel.tex.
+\openout2 = `fontspec-doc-opentype.aux'.
+
+(./fontspec-doc-opentype.tex [17
+
+
+
+
+]
+\scriptcount=\count174
+\scriptindex=\count175
+\scripttag=\count176
+\langcount=\count177
+\langindex=\count178
+\langtag=\count179
+\featurecount=\count180
+\featureindex=\count181
+\featuretag=\count182
+ [18]
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+Package microtype Info: Loading generic settings for font family
+(microtype) `lmmonoltcond10-regular.otf' (encoding: TU).
+(microtype) For optimal results, create family-specific settings.
+(microtype) See the microtype manual for details.
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+LaTeX Font Info: External font `cmex10' loaded for size
+(Font) <9> on input line 214.
+\openout3 = `zzz-5-L-lig.tex'.
+
+File: zzz-5-L-lig.pdf Graphic file (type QTm)
+<use "zzz-5-L-lig.pdf" > [19] [20] [21] [22]
+\openout3 = `zzz-6-L-caps.tex'.
+
+File: zzz-6-L-caps.pdf Graphic file (type QTm)
+ <use "zzz-6-L-caps.pdf" >
+\openout3 = `zzz-7-L-letters-uppercase.tex'.
+
+File: zzz-7-L-letters-uppercase.pdf Graphic file (type QTm)
+
+<use "zzz-7-L-letters-uppercase.pdf" >
+
+LaTeX Warning: Hyper reference `sec:addfontfeatures' on page 23 undefined on in
+put line 358.
+
+
+LaTeX Warning: Reference `sec:addfontfeatures' on page 23 undefined on input li
+ne 358.
+
+\openout3 = `zzz-8-L-slashzero.tex'.
+
+File: zzz-8-L-slashzero.pdf Graphic file (type QTm)
+<use "zzz-8-L-slashzero.pdf" > [23]
+\openout3 = `zzz-9-L-vertpos.tex'.
+
+File: zzz-9-L-vertpos.pdf Graphic file (type QTm)
+ <use "zzz-9-L-vertpos.pdf" >
+Overfull \hbox (8.82501pt too wide) in paragraph at lines 431--431
+[] [][]
+ []
+
+[24] [25]
+\openout3 = `zzz-10-X-ot-frac.tex'.
+
+File: zzz-10-X-ot-frac.pdf Graphic file (type QTm)
+ <use "zzz-10-X-ot-frac.pdf" >
+\openout3 = `zzz-11-X-style-alt.tex'.
+
+File: zzz-11-X-style-alt.pdf Graphic file (type QTm)
+ <use "zzz-11-X-style-alt.pdf" >
+\openout3 = `zzz-12-X-style-hist.tex'.
+
+File: zzz-12-X-style-hist.pdf Graphic file (type QTm)
+
+<use "zzz-12-X-style-hist.pdf" >
+\openout3 = `zzz-13-X-style-titl.tex'.
+
+File: zzz-13-X-style-titl.pdf Graphic file (type QTm)
+ <use "zzz-13-X-style-titl.pdf" >
+\openout3 = `zzz-14-X-style-itrub.tex'.
+
+File: zzz-14-X-style-itrub.pdf Graphic file (type QTm)
+
+<use "zzz-14-X-style-itrub.pdf" > [26] [27]
+\openout3 = `zzz-15-X-style-hvkana.tex'.
+
+File: zzz-15-X-style-hvkana.pdf Graphic file (type QTm)
+
+<use "zzz-15-X-style-hvkana.pdf" >
+\openout3 = `zzz-16-X-kernup.tex'.
+
+File: zzz-16-X-kernup.pdf Graphic file (type QTm)
+ <use "zzz-16-X-kernup.pdf" > [28] [29]
+\openout3 = `zzz-17-X-charwdprop.tex'.
+
+File: zzz-17-X-charwdprop.pdf Graphic file (type QTm)
+
+<use "zzz-17-X-charwdprop.pdf" >
+\openout3 = `zzz-18-X-charwd.tex'.
+
+File: zzz-18-X-charwd.pdf Graphic file (type QTm)
+ <use "zzz-18-X-charwd.pdf" >
+\openout3 = `zzz-19-X-ot-cjk-shape.tex'.
+
+File: zzz-19-X-ot-cjk-shape.pdf Graphic file (type QTm)
+
+<use "zzz-19-X-ot-cjk-shape.pdf" > [30] [31]
+\openout3 = `zzz-20-L-ss.tex'.
+
+File: zzz-20-L-ss.pdf Graphic file (type QTm)
+ <use "zzz-20-L-ss.pdf" >
+\openout3 = `zzz-21-L-ss2.tex'.
+
+File: zzz-21-L-ss2.pdf Graphic file (type QTm)
+
+<use "zzz-21-L-ss2.pdf" >
+Overfull \hbox (53.08008pt too wide) in paragraph at lines 727--729
+[]\TU/aldus-nova(0)/m/n/10 Multiple stylistic sets may be selected simultaneous
+ly by writing, e.g., []\TU/lmmonolt10-regular.otf(0)/m/it/10 StylisticSet={1,2,
+3}\TU/aldus-nova(0)/m/n/10 .
+ []
+
+\openout3 = `zzz-22-L-cv.tex'.
+
+File: zzz-22-L-cv.pdf Graphic file (type QTm)
+<use "zzz-22-L-cv.pdf" >
+\openout3 = `zzz-23-L-cv2.tex'.
+
+File: zzz-23-L-cv2.pdf Graphic file (type QTm)
+ <use "zzz-23-L-cv2.pdf" > [32] [33]
+\openout3 = `zzz-24-X-salt.tex'.
+
+File: zzz-24-X-salt.pdf Graphic file (type QTm)
+
+<use "zzz-24-X-salt.pdf" >
+Overfull \hbox (8.16304pt too wide) in paragraph at lines 784--786
+[]\TU/aldus-nova(0)/m/n/10 Note that the indexing starts from zero. With the []
+ engine, []\TU/lmmonolt10-regular.otf(0)/m/it/10 Alternate=Random
+ []
+
+\openout3 = `zzz-25-X-ot-annot.tex'.
+
+File: zzz-25-X-ot-annot.pdf Graphic file (type QTm)
+<use "zzz-25-X-ot-annot.pdf" > [34]
+\openout3 = `zzz-26-X-script-lang.tex'.
+
+File: zzz-26-X-script-lang.pdf Graphic file (type QTm)
+ <use "zzz-26-X-script-lang.pdf" >
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Underfull \hbox (badness 10000) in paragraph at lines 887--887
+[]\TU/palatino-sans-light(0)/m/n/7 Sumero-Akkadian
+ []
+
+
+Overfull \hbox (31.65277pt too wide) in paragraph at lines 894--909
+[] $[]$
+ []
+
+
+LaTeX Warning: Float too large for page by 37.64319pt on input line 909.
+
+) [35] [36] [37]
+\openout2 = `fontspec-doc-enc.aux'.
+
+ (./fontspec-doc-enc.tex [38
+
+
+] [39]
+Overfull \hbox (28.05908pt too wide) in paragraph at lines 175--175
+[]\TU/lmmonolt10-regular.otf(0)/m/it/10 \DeclareTextCommand{$\OMS/cmsy/m/n/10 h
+$[]\TU/aldus-nova(0)/m/it/10 command$\OMS/cmsy/m/n/10 i$[]\TU/lmmonolt10-regula
+r.otf(0)/m/it/10 }{$\OMS/cmsy/m/n/10 h$[]\TU/aldus-nova(0)/m/it/10 encoding$\OM
+S/cmsy/m/n/10 i$[]\TU/lmmonolt10-regular.otf(0)/m/it/10 }[$\OMS/cmsy/m/n/10 h$[
+]\TU/aldus-nova(0)/m/it/10 num$\OMS/cmsy/m/n/10 i$[]\TU/lmmonolt10-regular.otf(
+0)/m/it/10 ][$\OMS/cmsy/m/n/10 h$[]\TU/aldus-nova(0)/m/it/10 default$\OMS/cmsy/
+m/n/10 i$[]\TU/lmmonolt10-regular.otf(0)/m/it/10 ]{$\OMS/cmsy/m/n/10 h$[]\TU/al
+dus-nova(0)/m/it/10 code$\OMS/cmsy/m/n/10 i$[]\TU/lmmonolt10-regular.otf(0)/m/i
+t/10 }
+ []
+
+[40]
+Overfull \hbox (30.61127pt too wide) in paragraph at lines 179--179
+[]\TU/lmmonolt10-regular.otf(0)/m/it/10 \DeclareTextCompositeCommand{$\OMS/cmsy
+/m/n/10 h$[]\TU/aldus-nova(0)/m/it/10 command$\OMS/cmsy/m/n/10 i$[]\TU/lmmonolt
+10-regular.otf(0)/m/it/10 }{$\OMS/cmsy/m/n/10 h$[]\TU/aldus-nova(0)/m/it/10 enc
+oding$\OMS/cmsy/m/n/10 i$[]\TU/lmmonolt10-regular.otf(0)/m/it/10 }{$\OMS/cmsy/m
+/n/10 h$[]\TU/aldus-nova(0)/m/it/10 letter$\OMS/cmsy/m/n/10 i$[]\TU/lmmonolt10-
+regular.otf(0)/m/it/10 }{$\OMS/cmsy/m/n/10 h$[]\TU/aldus-nova(0)/m/it/10 code$\
+OMS/cmsy/m/n/10 i$[]\TU/lmmonolt10-regular.otf(0)/m/it/10 }
+ []
+
+) [41]
+\openout2 = `fontspec-doc-luatex.aux'.
+
+ (./fontspec-doc-luatex.tex) [42
+
+
+]
+\openout2 = `fontspec-doc-xetex.aux'.
+
+ (./fontspec-doc-xetex.tex
+\openout3 = `zzz-27-X-mapping.tex'.
+
+File: zzz-27-X-mapping.pdf Graphic file (type QTm)
+
+<use "zzz-27-X-mapping.pdf" >
+
+LaTeX Warning: Hyper reference `sec:mm' on page 43 undefined on input line 56.
+
+
+LaTeX Warning: Reference `sec:mm' on page 43 undefined on input line 56.
+
+[43
+
+
+]
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+LaTeX Warning: Hyper reference `sec:addfontfeatures' on page 44 undefined on in
+put line 122.
+
+
+LaTeX Warning: Reference `sec:addfontfeatures' on page 44 undefined on input li
+ne 122.
+
+[44]
+\openout3 = `zzz-28-X-wordcx.tex'.
+
+File: zzz-28-X-wordcx.pdf Graphic file (type QTm)
+ <use "zzz-28-X-wordcx.pdf" >
+\openout3 = `zzz-29-X-longsaat.tex'.
+
+File: zzz-29-X-longsaat.pdf Graphic file (type QTm)
+ <use "zzz-29-X-longsaat.pdf" >
+\openout3 = `zzz-30-X-aat-supp.tex'.
+
+File: zzz-30-X-aat-supp.pdf Graphic file (type QTm)
+
+<use "zzz-30-X-aat-supp.pdf" > [45]
+\openout3 = `zzz-31-X-aat-frac.tex'.
+
+File: zzz-31-X-aat-frac.pdf Graphic file (type QTm)
+ <use "zzz-31-X-aat-frac.pdf" >
+\openout3 = `zzz-32-X-frac-alt.tex'.
+
+File: zzz-32-X-frac-alt.pdf Graphic file (type QTm)
+
+<use "zzz-32-X-frac-alt.pdf" >
+\openout3 = `zzz-33-X-aat-var.tex'.
+
+File: zzz-33-X-aat-var.pdf Graphic file (type QTm)
+ <use "zzz-33-X-aat-var.pdf" >
+\openout3 = `zzz-34-X-aat-alt.tex'.
+
+File: zzz-34-X-aat-alt.pdf Graphic file (type QTm)
+
+<use "zzz-34-X-aat-alt.pdf" > [46]
+\openout3 = `zzz-35-X-vert.tex'.
+
+File: zzz-35-X-vert.pdf Graphic file (type QTm)
+ <use "zzz-35-X-vert.pdf" > [47]) [48]
+\openout2 = `fontspec-doc-api.aux'.
+
+
+(./fontspec-doc-api.tex
+\openout3 = `zzz-36-X-newAATfeat.tex'.
+
+File: zzz-36-X-newAATfeat.pdf Graphic file (type QTm)
+ <use "zzz-36-X-newAATfeat.pdf" > [49
+
+
+]
+
+LaTeX Warning: Marginpar on page 50 moved.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+\openout3 = `zzz-37-X-raw.tex'.
+
+File: zzz-37-X-raw.pdf Graphic file (type QTm)
+<use "zzz-37-X-raw.pdf" >
+\openout3 = `zzz-38-X-alias.tex'.
+
+File: zzz-38-X-alias.pdf Graphic file (type QTm)
+ <use "zzz-38-X-alias.pdf" >
+Overfull \hbox (6.94453pt too wide) in paragraph at lines 122--126
+\TU/aldus-nova(0)/m/n/10 with the command \TU/lmmonolt10-regular.otf(0)/m/it/10
+ \aliasfontfeatureoption{$\OMS/cmsy/m/n/10 h$[]\TU/aldus-nova(0)/m/it/10 font f
+eature$\OMS/cmsy/m/n/10 i$[]\TU/lmmonolt10-regular.otf(0)/m/it/10 }{$\OMS/cmsy/
+m/n/10 h$[]\TU/aldus-nova(0)/m/it/10 existing name$\OMS/cmsy/m/n/10 i$[]\TU/lmm
+onolt10-regular.otf(0)/m/it/10 }{$\OMS/cmsy/m/n/10 h$[]\TU/aldus-nova(0)/m/it/1
+0 new
+ []
+
+\openout3 = `zzz-39-L-aliasopt.tex'.
+
+File: zzz-39-L-aliasopt.pdf Graphic file (type QTm)
+<use "zzz-39-L-aliasopt.pdf" > [50]
+Overfull \hbox (4.43005pt too wide) in paragraph at lines 158--166
+\TU/aldus-nova(0)/m/n/10 is. After a \TU/lmmonolt10-regular.otf(0)/m/it/10 \fon
+tspec\TU/aldus-nova(0)/m/n/10 -like command, this is stored inside the \TU/lmmo
+nolt10-regular.otf(0)/m/it/10 \l_fontspec_family_tl
+ []
+
+
+LaTeX Warning: Marginpar on page 51 moved.
+
+[51]
+Overfull \hbox (270.1301pt too wide) in paragraph at lines 249--252
+\TU/aldus-nova(0)/m/n/10 OpenType language tag []\TU/lmmonolt10-regular.otf(0)/
+m/it/10 #2 \TU/aldus-nova(0)/m/n/10 contains the raw OpenType feature tag []\TU
+/lmmonolt10-regular.otf(0)/m/it/10 #3\TU/aldus-nova(0)/m/n/10 . E.g.: []\TU/lmm
+onolt10-regular.otf(0)/m/it/10 \fontspec_if_feature:nnnTF {latn} {ROM} {pnum} {
+True} {False}\TU/aldus-nova(0)/m/n/10 .
+ []
+
+[52]) [53]
+\openout2 = `fontspec-doc-patches.aux'.
+
+ (./fontspec-doc-patches.tex
+LaTeX Font Info: External font `cmex10' loaded for size
+(Font) <20.74> on input line 4.
+LaTeX Font Info: External font `cmex10' loaded for size
+(Font) <14.4> on input line 4.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbackslash '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceleft '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textbraceright '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textless '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package microtype Warning: Unknown slot number of character
+(microtype) `\textgreater '
+(microtype) in font encoding `TU' in protrusion list
+(microtype) `T1-default'.
+
+
+Package hyperref Warning: Token not allowed in a PDF string (Unicode):
+(hyperref) removing `\char' on input line 21.
+
+
+Package hyperref Warning: Token not allowed in a PDF string (Unicode):
+(hyperref) removing `\\' on input line 21.
+
+
+Package hyperref Warning: Token not allowed in a PDF string (Unicode):
+(hyperref) removing `\char' on input line 21.
+
+
+LaTeX Warning: Marginpar on page 54 moved.
+
+) [54
+
+
+]
+Package atveryend Info: Empty hook `BeforeClearDocument' on input line 41.
+Package atveryend Info: Empty hook `AfterLastShipout' on input line 41.
+ (./fontspec-doc.aux (./fontspec-doc-intro.aux)
+(./fontspec-doc-fontsel.aux) (./fontspec-doc-featsel.aux)
+(./fontspec-doc-opentype.aux) (./fontspec-doc-enc.aux)
+(./fontspec-doc-luatex.aux) (./fontspec-doc-xetex.aux) (./fontspec-doc-api.aux)
+(./fontspec-doc-patches.aux))
+Package atveryend Info: Empty hook `AtVeryEndDocument' on input line 41.
+Package atveryend Info: Empty hook `AtEndAfterFileList' on input line 41.
+
+
+LaTeX Font Warning: Some font shapes were not available, defaults substituted.
+
+
+LaTeX Warning: There were undefined references.
+
+Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 41.
+ )
+Here is how much of TeX's memory you used:
+ 22757 strings out of 493624
+ 448558 string characters out of 6144511
+ 560700 words of memory out of 5000000
+ 25805 multiletter control sequences out of 15000+600000
+ 21344 words of font info for 108 fonts, out of 8000000 for 9000
+ 1328 hyphenation exceptions out of 8191
+ 74i,9n,86p,10353b,500s stack positions out of 5000i,500n,10000p,200000b,80000s
+
+Output written on fontspec-doc.pdf (54 pages).
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.out
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.out (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.out 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,72 @@
+\BOOKMARK [0][-]{part.1}{\376\377\000I\000\040\000G\000e\000t\000t\000i\000n\000g\000\040\000s\000t\000a\000r\000t\000e\000d}{}% 1
+\BOOKMARK [1][-]{section.1}{\376\377\000H\000i\000s\000t\000o\000r\000y}{part.1}% 2
+\BOOKMARK [1][-]{section.2}{\376\377\000I\000n\000t\000r\000o\000d\000u\000c\000t\000i\000o\000n}{part.1}% 3
+\BOOKMARK [2][-]{subsection.2.1}{\376\377\000A\000c\000k\000n\000o\000w\000l\000e\000d\000g\000e\000m\000e\000n\000t\000s}{section.2}% 4
+\BOOKMARK [1][-]{section.3}{\376\377\000P\000a\000c\000k\000a\000g\000e\000\040\000l\000o\000a\000d\000i\000n\000g\000\040\000a\000n\000d\000\040\000o\000p\000t\000i\000o\000n\000s}{part.1}% 5
+\BOOKMARK [2][-]{subsection.3.1}{\376\377\000M\000a\000t\000h\000s\000\040\000f\000o\000n\000t\000s\000\040\000a\000d\000j\000u\000s\000t\000m\000e\000n\000t\000s}{section.3}% 6
+\BOOKMARK [2][-]{subsection.3.2}{\376\377\000C\000o\000n\000f\000i\000g\000u\000r\000a\000t\000i\000o\000n}{section.3}% 7
+\BOOKMARK [2][-]{subsection.3.3}{\376\377\000W\000a\000r\000n\000i\000n\000g\000s}{section.3}% 8
+\BOOKMARK [0][-]{part.2}{\376\377\000I\000I\000\040\000G\000e\000n\000e\000r\000a\000l\000\040\000f\000o\000n\000t\000\040\000s\000e\000l\000e\000c\000t\000i\000o\000n}{}% 9
+\BOOKMARK [1][-]{section.4}{\376\377\000F\000o\000n\000t\000\040\000s\000e\000l\000e\000c\000t\000i\000o\000n}{part.2}% 10
+\BOOKMARK [2][-]{subsection.4.1}{\376\377\000B\000y\000\040\000f\000o\000n\000t\000\040\000n\000a\000m\000e}{section.4}% 11
+\BOOKMARK [2][-]{subsection.4.2}{\376\377\000B\000y\000\040\000f\000i\000l\000e\000\040\000n\000a\000m\000e}{section.4}% 12
+\BOOKMARK [2][-]{subsection.4.3}{\376\377\000Q\000u\000e\000r\000y\000i\000n\000g\000\040\000w\000h\000e\000t\000h\000e\000r\000\040\000a\000\040\000f\000o\000n\000t\000\040\000`\000e\000x\000i\000s\000t\000s\000'}{section.4}% 13
+\BOOKMARK [1][-]{section.5}{\376\377\000C\000o\000m\000m\000a\000n\000d\000s\000\040\000t\000o\000\040\000s\000e\000l\000e\000c\000t\000\040\000f\000o\000n\000t\000\040\000f\000a\000m\000i\000l\000i\000e\000s}{part.2}% 14
+\BOOKMARK [2][-]{subsection.5.1}{\376\377\000M\000o\000r\000e\000\040\000c\000o\000n\000t\000r\000o\000l\000\040\000o\000v\000e\000r\000\040\000f\000o\000n\000t\000\040\000s\000h\000a\000p\000e\000\040\000s\000e\000l\000e\000c\000t\000i\000o\000n}{section.5}% 15
+\BOOKMARK [2][-]{subsection.5.2}{\376\377\000S\000p\000e\000c\000i\000f\000i\000c\000a\000l\000l\000y\000\040\000c\000h\000o\000o\000s\000i\000n\000g\000\040\000t\000h\000e\000\040\000n\000f\000s\000s\000\040\000f\000a\000m\000i\000l\000y}{section.5}% 16
+\BOOKMARK [2][-]{subsection.5.3}{\376\377\000C\000h\000o\000o\000s\000i\000n\000g\000\040\000a\000d\000d\000i\000t\000i\000o\000n\000a\000l\000\040\000n\000f\000s\000s\000\040\000f\000o\000n\000t\000\040\000f\000a\000c\000e\000s}{section.5}% 17
+\BOOKMARK [2][-]{subsection.5.4}{\376\377\000M\000a\000t\000h\000\050\000s\000\051\000\040\000f\000o\000n\000t\000s}{section.5}% 18
+\BOOKMARK [1][-]{section.6}{\376\377\000M\000i\000s\000c\000e\000l\000l\000a\000n\000e\000o\000u\000s\000\040\000f\000o\000n\000t\000\040\000s\000e\000l\000e\000c\000t\000i\000n\000g\000\040\000d\000e\000t\000a\000i\000l\000s}{part.2}% 19
+\BOOKMARK [0][-]{part.3}{\376\377\000I\000I\000I\000\040\000O\000p\000e\000n\000T\000y\000p\000e}{}% 20
+\BOOKMARK [1][-]{section.7}{\376\377\000I\000n\000t\000r\000o\000d\000u\000c\000t\000i\000o\000n}{part.3}% 21
+\BOOKMARK [2][-]{subsection.7.1}{\376\377\000H\000o\000w\000\040\000t\000o\000\040\000s\000e\000l\000e\000c\000t\000\040\000f\000o\000n\000t\000\040\000f\000e\000a\000t\000u\000r\000e\000s}{section.7}% 22
+\BOOKMARK [2][-]{subsection.7.2}{\376\377\000H\000o\000w\000\040\000d\000o\000\040\000I\000\040\000k\000n\000o\000w\000\040\000w\000h\000a\000t\000\040\000f\000o\000n\000t\000\040\000f\000e\000a\000t\000u\000r\000e\000s\000\040\000a\000r\000e\000\040\000s\000u\000p\000p\000o\000r\000t\000e\000d\000\040\000b\000y\000\040\000m\000y\000\040\000f\000o\000n\000t\000s\000?}{section.7}% 23
+\BOOKMARK [1][-]{section.8}{\376\377\000O\000p\000e\000n\000T\000y\000p\000e\000\040\000f\000o\000n\000t\000\040\000f\000e\000a\000t\000u\000r\000e\000s}{part.3}% 24
+\BOOKMARK [2][-]{subsection.8.1}{\376\377\000T\000a\000g\000-\000b\000a\000s\000e\000d\000\040\000f\000e\000a\000t\000u\000r\000e\000s}{section.8}% 25
+\BOOKMARK [2][-]{subsection.8.2}{\376\377\000L\000e\000t\000t\000e\000r\000s}{section.8}% 26
+\BOOKMARK [2][-]{subsection.8.3}{\376\377\000S\000t\000y\000l\000e}{section.8}% 27
+\BOOKMARK [2][-]{subsection.8.4}{\376\377\000D\000i\000a\000c\000r\000i\000t\000i\000c\000s}{section.8}% 28
+\BOOKMARK [2][-]{subsection.8.5}{\376\377\000K\000e\000r\000n\000i\000n\000g}{section.8}% 29
+\BOOKMARK [2][-]{subsection.8.6}{\376\377\000C\000h\000a\000r\000a\000c\000t\000e\000r\000\040\000w\000i\000d\000t\000h}{section.8}% 30
+\BOOKMARK [2][-]{subsection.8.7}{\376\377\000V\000e\000r\000t\000i\000c\000a\000l\000\040\000t\000y\000p\000e\000s\000e\000t\000t\000i\000n\000g}{section.8}% 31
+\BOOKMARK [2][-]{subsection.8.8}{\376\377\000N\000u\000m\000e\000r\000i\000c\000\040\000f\000e\000a\000t\000u\000r\000e\000s}{section.8}% 32
+\BOOKMARK [2][-]{subsection.8.9}{\376\377\000O\000p\000e\000n\000T\000y\000p\000e\000\040\000s\000c\000r\000i\000p\000t\000s\000\040\000a\000n\000d\000\040\000l\000a\000n\000g\000u\000a\000g\000e\000s}{section.8}% 33
+\BOOKMARK [0][-]{part.4}{\376\377\000I\000V\000\040\000C\000o\000m\000m\000a\000n\000d\000s\000\040\000f\000o\000r\000\040\000a\000c\000c\000e\000n\000t\000s\000\040\000a\000n\000d\000\040\000s\000y\000m\000b\000o\000l\000s\000\040\000\050\000`\000e\000n\000c\000o\000d\000i\000n\000g\000s\000'\000\051}{}% 34
+\BOOKMARK [1][-]{section.9}{\376\377\000A\000\040\000n\000e\000w\000\040\000U\000n\000i\000c\000o\000d\000e\000-\000b\000a\000s\000e\000d\000\040\000e\000n\000c\000o\000d\000i\000n\000g\000\040\000f\000r\000o\000m\000\040\000s\000c\000r\000a\000t\000c\000h}{part.4}% 35
+\BOOKMARK [1][-]{section.10}{\376\377\000A\000d\000j\000u\000s\000t\000i\000n\000g\000\040\000a\000\040\000p\000r\000e\000-\000e\000x\000i\000s\000t\000i\000n\000g\000\040\000e\000n\000c\000o\000d\000i\000n\000g}{part.4}% 36
+\BOOKMARK [1][-]{section.11}{\376\377\000S\000u\000m\000m\000a\000r\000y\000\040\000o\000f\000\040\000c\000o\000m\000m\000a\000n\000d\000s}{part.4}% 37
+\BOOKMARK [0][-]{part.5}{\376\377\000V\000\040\000L\000u\000a\000T\000e\000X\000-\000o\000n\000l\000y\000\040\000f\000o\000n\000t\000\040\000f\000e\000a\000t\000u\000r\000e\000s}{}% 38
+\BOOKMARK [1][-]{section.12}{\376\377\000C\000u\000s\000t\000o\000m\000\040\000f\000o\000n\000t\000\040\000f\000e\000a\000t\000u\000r\000e\000s}{part.5}% 39
+\BOOKMARK [0][-]{part.6}{\376\377\000V\000I\000\040\000F\000o\000n\000t\000s\000\040\000a\000n\000d\000\040\000f\000e\000a\000t\000u\000r\000e\000s\000\040\000w\000i\000t\000h\000\040\000X\000e\000T\000e\000X}{}% 40
+\BOOKMARK [1][-]{section.13}{\376\377\000X\000e\000T\000e\000X\000-\000o\000n\000l\000y\000\040\000f\000o\000n\000t\000\040\000f\000e\000a\000t\000u\000r\000e\000s}{part.6}% 41
+\BOOKMARK [2][-]{subsection.13.1}{\376\377\000M\000a\000p\000p\000i\000n\000g}{section.13}% 42
+\BOOKMARK [2][-]{subsection.13.2}{\376\377\000D\000i\000f\000f\000e\000r\000e\000n\000t\000\040\000f\000o\000n\000t\000\040\000t\000e\000c\000h\000n\000o\000l\000o\000g\000i\000e\000s\000:\000\040\000a\000a\000t\000\040\000a\000n\000d\000\040\000O\000p\000e\000n\000T\000y\000p\000e}{section.13}% 43
+\BOOKMARK [2][-]{subsection.13.3}{\376\377\000O\000p\000t\000i\000c\000a\000l\000\040\000f\000o\000n\000t\000\040\000s\000i\000z\000e\000s}{section.13}% 44
+\BOOKMARK [1][-]{section.14}{\376\377\000M\000a\000c\000\040\000O\000S\000\040\000X\000'\000s\000\040\000a\000a\000t\000\040\000f\000o\000n\000t\000s}{part.6}% 45
+\BOOKMARK [2][-]{subsection.14.1}{\376\377\000L\000i\000g\000a\000t\000u\000r\000e\000s}{section.14}% 46
+\BOOKMARK [2][-]{subsection.14.2}{\376\377\000L\000e\000t\000t\000e\000r\000s}{section.14}% 47
+\BOOKMARK [2][-]{subsection.14.3}{\376\377\000N\000u\000m\000b\000e\000r\000s}{section.14}% 48
+\BOOKMARK [2][-]{subsection.14.4}{\376\377\000C\000o\000n\000t\000e\000x\000t\000u\000a\000l\000s}{section.14}% 49
+\BOOKMARK [2][-]{subsection.14.5}{\376\377\000V\000e\000r\000t\000i\000c\000a\000l\000\040\000p\000o\000s\000i\000t\000i\000o\000n}{section.14}% 50
+\BOOKMARK [2][-]{subsection.14.6}{\376\377\000F\000r\000a\000c\000t\000i\000o\000n\000s}{section.14}% 51
+\BOOKMARK [2][-]{subsection.14.7}{\376\377\000V\000a\000r\000i\000a\000n\000t\000s}{section.14}% 52
+\BOOKMARK [2][-]{subsection.14.8}{\376\377\000A\000l\000t\000e\000r\000n\000a\000t\000e\000s}{section.14}% 53
+\BOOKMARK [2][-]{subsection.14.9}{\376\377\000S\000t\000y\000l\000e}{section.14}% 54
+\BOOKMARK [2][-]{subsection.14.10}{\376\377\000C\000J\000K\000\040\000s\000h\000a\000p\000e}{section.14}% 55
+\BOOKMARK [2][-]{subsection.14.11}{\376\377\000C\000h\000a\000r\000a\000c\000t\000e\000r\000\040\000w\000i\000d\000t\000h}{section.14}% 56
+\BOOKMARK [2][-]{subsection.14.12}{\376\377\000V\000e\000r\000t\000i\000c\000a\000l\000\040\000t\000y\000p\000e\000s\000e\000t\000t\000i\000n\000g}{section.14}% 57
+\BOOKMARK [2][-]{subsection.14.13}{\376\377\000D\000i\000a\000c\000r\000i\000t\000i\000c\000s}{section.14}% 58
+\BOOKMARK [2][-]{subsection.14.14}{\376\377\000A\000n\000n\000o\000t\000a\000t\000i\000o\000n}{section.14}% 59
+\BOOKMARK [0][-]{part.7}{\376\377\000V\000I\000I\000\040\000C\000u\000s\000t\000o\000m\000i\000s\000a\000t\000i\000o\000n\000\040\000a\000n\000d\000\040\000p\000r\000o\000g\000r\000a\000m\000m\000i\000n\000g\000\040\000i\000n\000t\000e\000r\000f\000a\000c\000e}{}% 60
+\BOOKMARK [1][-]{section.15}{\376\377\000D\000e\000f\000i\000n\000i\000n\000g\000\040\000n\000e\000w\000\040\000f\000e\000a\000t\000u\000r\000e\000s}{part.7}% 61
+\BOOKMARK [1][-]{section.16}{\376\377\000D\000e\000f\000i\000n\000i\000n\000g\000\040\000n\000e\000w\000\040\000s\000c\000r\000i\000p\000t\000s\000\040\000a\000n\000d\000\040\000l\000a\000n\000g\000u\000a\000g\000e\000s}{part.7}% 62
+\BOOKMARK [1][-]{section.17}{\376\377\000G\000o\000i\000n\000g\000\040\000b\000e\000h\000i\000n\000d\000\040\000f\000o\000n\000t\000s\000p\000e\000c\000'\000s\000\040\000b\000a\000c\000k}{part.7}% 63
+\BOOKMARK [1][-]{section.18}{\376\377\000R\000e\000n\000a\000m\000i\000n\000g\000\040\000e\000x\000i\000s\000t\000i\000n\000g\000\040\000f\000e\000a\000t\000u\000r\000e\000s\000\040\000\046\000\040\000o\000p\000t\000i\000o\000n\000s}{part.7}% 64
+\BOOKMARK [1][-]{section.19}{\376\377\000P\000r\000o\000g\000r\000a\000m\000m\000i\000n\000g\000\040\000i\000n\000t\000e\000r\000f\000a\000c\000e}{part.7}% 65
+\BOOKMARK [2][-]{subsection.19.1}{\376\377\000V\000a\000r\000i\000a\000b\000l\000e\000s}{section.19}% 66
+\BOOKMARK [2][-]{subsection.19.2}{\376\377\000F\000u\000n\000c\000t\000i\000o\000n\000s\000\040\000f\000o\000r\000\040\000l\000o\000a\000d\000i\000n\000g\000\040\000n\000e\000w\000\040\000f\000o\000n\000t\000s\000\040\000a\000n\000d\000\040\000f\000a\000m\000i\000l\000i\000e\000s}{section.19}% 67
+\BOOKMARK [2][-]{subsection.19.3}{\376\377\000C\000o\000n\000d\000i\000t\000i\000o\000n\000a\000l\000s}{section.19}% 68
+\BOOKMARK [0][-]{part.8}{\376\377\000V\000I\000I\000I\000\040\000T\000h\000e\000\040\000`\000i\000m\000p\000r\000o\000v\000e\000m\000e\000n\000t\000'\000\040\000o\000f\000\040\000L\000a\000T\000e\000X\0002\003\265\000\040\000a\000n\000d\000\040\000o\000t\000h\000e\000r\000\040\000p\000a\000c\000k\000a\000g\000e\000s}{}% 69
+\BOOKMARK [1][-]{section.20}{\376\377\000V\000e\000r\000b\000a\000t\000i\000m}{part.8}% 70
+\BOOKMARK [1][-]{section.21}{\376\377\000D\000i\000s\000c\000r\000e\000t\000i\000o\000n\000a\000r\000y\000\040\000h\000y\000p\000h\000e\000n\000a\000t\000i\000o\000n\000:\000\040\000`\0004\0005}{part.8}% 71
+\BOOKMARK [1][-]{section.22}{\376\377\000C\000o\000m\000m\000a\000n\000d\000s\000\040\000f\000o\000r\000\040\000o\000l\000d\000-\000s\000t\000y\000l\000e\000\040\000a\000n\000d\000\040\000l\000i\000n\000i\000n\000g\000\040\000n\000u\000m\000b\000e\000r\000s}{part.8}% 72
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.pdf
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.pdf
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.pdf 2017-01-22 22:33:54 UTC (rev 43015)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.pdf 2017-01-22 22:34:22 UTC (rev 43016)
Property changes on: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.synctex.gz
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.synctex.gz
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.synctex.gz 2017-01-22 22:33:54 UTC (rev 43015)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.synctex.gz 2017-01-22 22:34:22 UTC (rev 43016)
Property changes on: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.synctex.gz
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Modified: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.tex
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.tex 2017-01-22 22:33:54 UTC (rev 43015)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.tex 2017-01-22 22:34:22 UTC (rev 43016)
@@ -1,256 +1,11 @@
-\ifdefined \XeTeXOTcountscripts \else
- \makeatletter
+\ifdefined \XeTeXOTcountscripts \else \makeatletter
\@latex at error{^^J*** The fontspec documentation can only be typeset with XeTeX at present! ***\@gobble}\@ehc
\fi
\documentclass[a4paper]{ltxdoc}
+\usepackage{fontspec-doc-style}
-\makeatletter
-
-\usepackage{booktabs,calc,caption,color,enumitem,fancyvrb,hologo,graphicx,ifthen,url,varioref,varwidth,microtype,tocloft,framed}
-
-% ToC formatting:
-\setlength\cftsubsecnumwidth{1.4\cftsubsecnumwidth}
-%\def\@cfttocstart{\small\begin{multicols}{2}}
-%\def\@cfttocfinish{\end{multicols}}
-
-\fvset{gobble=0}
-
-\captionsetup[table]{position=above}
-\captionsetup[figure]{position=above}
-
-\usepackage{tgpagella,eulervm}
-\usepackage{inconsolata}
-\usepackage[
- bookmarks=true,
- colorlinks=true,
- linkcolor=niceblue,
- urlcolor=niceblue,
- citecolor=niceblue,
- pdftitle={The fontspec package},
- pdfsubject={Advanced font selection for XeLaTeX/LuaLaTeX},
- pdfauthor={Will Robertson},
- pdfkeywords={xetex, xelatex, luatex, lualatex, unicode, opentype, aat}
- ]{hyperref}
-
-%% ToC
-\def\@dotsep{1000}
-\setcounter{tocdepth}{2}
-\setlength\columnseprule{0.4pt}
-\renewcommand\tableofcontents{\relax
- \begin{multicols}{2}[\section*{\contentsname}]\relax
- \@starttoc{toc}\relax
- \end{multicols}}
-
-%% Index
-\setcounter{IndexColumns}{2}
-\renewenvironment{theglossary}
- {\small\list{}{}
- \item\relax
- \glossary at prologue\GlossaryParms
- \let\item\@idxitem \ignorespaces
- \def\pfill{\hspace*{\fill}}}
- {\endlist}
-
-%% varioref definitions:
-\labelformat{table}{Table~#1}
-\labelformat{section}{Section~#1}
-\labelformat{subsection}{Section~#1}
-
-\definecolor{niceblue}{rgb}{0.1,0.2,0.8}
-
-\newsavebox\X
-\newsavebox\Y
-
-\newcounter{example}
-
-\newcommand\exref[1]{Example~\ref{ex:#1}}
-\newcommand\Exref[1]{Example~\ref{ex:#1}}
-
-\newenvironment{Xexample}[3][]
- {\VerbatimEnvironment\begin{Fexample}[#1]{#2}{#3}{X}}
- {\end{Fexample}}
-
-\newenvironment{Lexample}[3][]
- {\VerbatimEnvironment\begin{Fexample}[#1]{#2}{#3}{L}}
- {\end{Fexample}}
-
-
-
-\newenvironment{Fexample}[4][]
- {%
- \def\options{#1}%
- \def\filename{#2}%
- \def\captiontext{#3}%
- \def\prefix{#4}
- \refstepcounter{example}%
- \label{ex:\filename}%
- \IfFileExists{zzz-\theexample-\prefix-\filename.tex}{}{%
- \immediate\write18{rm -f zzz-\theexample-* ;}%
- }%
- \VerbatimEnvironment
- \begin{VerbatimOut}{zzz-\theexample-\prefix-\filename.tex}}
-% text in the environment
- {\end{VerbatimOut}
- \begin{figure}
- \setlength\parindent{0pt}%
- \edef\@tempa{[gobble=0,fontsize=\noexpand\small,\options]}%
- \savebox\X{%
- \expandafter\BVerbatimInput
- \@tempa{zzz-\theexample-\prefix-\filename.tex}%
- }%
- \IfFileExists{zzz-\theexample-\prefix-\filename.pdf}{}
- {%
- \edef\1{%
- \csname prog@\prefix\endcsname
- "%
- \unexpanded{%
- \documentclass{article}%
- \usepackage{booktabs,ifthen,graphicx,xcolor,varwidth}
- \usepackage[active,tightpage]{preview}%
- \usepackage{fontspec}%
- \defaultfontfeatures{Ligatures=TeX} \begin{document}\begin{preview}\begin{varwidth}{0.7\linewidth}\input} zzz-\theexample-\prefix-\filename.tex
- \unexpanded{\end{varwidth}\end{preview}\end{document}}
- "
- }%
- \immediate\write18{\unexpanded\expandafter{\1}}%
- }%
- \savebox\Y{%
- \IfFileExists{zzz-\theexample-\prefix-\filename.pdf}
- {\includegraphics{zzz-\theexample-\prefix-\filename.pdf}}
- {\color{red}\itshape ---Graphic not generated---}%
- }
- % TYPESETTING
- \rule[0.5\baselineskip]{\columnwidth}{1pt}%
- \vspace{-1.2ex}%
- \def\@tempa{\small\textsf{Example~\theexample:~}}%
- \settowidth\@tempdima{\@tempa\captiontext}%
- \par
- \ifdim\@tempdima>\linewidth
- \settowidth\@tempdima{\@tempa}%
- \@tempa\parbox[t]{\linewidth-\@tempdima}{\small\captiontext}%
- \vspace{0.4\baselineskip}%
- \else
- \parbox{\linewidth}{\centering\@tempa~\captiontext}%
- \fi
- \par\rule[0.4\baselineskip]{\columnwidth}{0.4pt}\par
- \ifdim\dimexpr\wd\X+\wd\Y>\linewidth\relax
- \null\hfill\makebox[0pt][r]{\usebox\Y}\usebox\X
- \else
- \hfill\usebox\Y\hfill\usebox\X
- \fi
- \par\rule[0.5\baselineskip]{\columnwidth}{1pt}
- \end{figure}
-}
-
-\def\prog at X{xelatex
- -jobname=zzz-\theexample-X-\filename\space}
-
-\def\prog at L{lualatex
- -jobname=zzz-\theexample-L-\filename\space}
-
-%%%%%%%%%%%%%%%%%%%%%%
-
-\newcommand*\setexsize[1]{\let\examplesize#1}
-\newcommand*\setverbwidth[1]{\def\auxwidth{#1}}
-
-%% Various labelling commands:
-\newcommand*\name[1]{{#1}}
-\newcommand*\pkg[1]{\textsf{#1}}
-\newcommand*\opt[1]{\texttt{#1}}
-\newcommand*\feat[1]{\texttt{#1}}
-
-\let\latin\textit
-\def\eg{\latin{e.g.}}
-\def\ie{\latin{i.e.}}
-\def\Eg{\latin{E.g.}}
-\def\Ie{\latin{I.e.}}
-\def\etc{\@ifnextchar.{\latin{etc}}{\latin{etc.}\@}}
-
-\newcommand\note[1]{\unskip\footnote{#1}}
-
-\def\MacOSX{Mac~OS~X}
-\def\AAT{\textsc{aat}}
-\def\ATSUI{\textsc{atsui}}
-
-\newcommand\NFSS{\textsc{nfss}}
-\newcommand\XeTeX{\hologo{XeTeX}}
-\newcommand\XeLaTeX{\hologo{XeLaTeX}}
-\newcommand\LuaTeX{\hologo{LuaTeX}}
-\newcommand\LuaLaTeX{\hologo{LuaLaTeX}}
-
-
-%% (La)TeX font-related declarations:
-\linespread{1.05} % Pagella needs more space between lines
-\frenchspacing % Remove ugly extra space after punctuation
-
-\newcounter{argument}
-\g at addto@macro\endmacro{\setcounter{argument}{0}}
-\newcommand*\darg[1]{%
- \stepcounter{argument}%
- \noindent{\ttfamily\char`\#\theargument~:~}#1\par}
-\newcommand*\doarg[1]{%
- \stepcounter{argument}%
- \noindent{\ttfamily\makebox[0pt][r]{[}\char`\#\theargument]:~}#1\par}
-
-\newcommand\unichar[2]{\textsc{\MakeLowercase{u+#1: #2}}}
-
-\newcommand\cmdbox[1]{%
- \smallskip\par\noindent
- \fbox{\begin{varwidth}{\linewidth}
- #1%
- \end{varwidth}}%
- \smallskip
-}
-\def\CMD#1{\texttt{\null#1\unskip}}
-
-\usepackage{xparse}
-\NewDocumentCommand \otf {somm} {%
- \IfBooleanTF #1
- {%
- \gdef\NOTE{\par\smallskip {$\ast$ \footnotesize This feature is activated by default.}}%
- \IfNoValueTF {#2} {\gdef\offname{No#3}}{\gdef\offname{#2}}%
- \featname&$\ast$&\texttt{#4}\\
- \featname&\offname&&\texttt{#4}~~{\footnotesize(\textit{deactivate})}\\
- }
- {\featname&&\texttt{#4}\\}%
-}
-\newenvironment{features}[1]{%
- \def\NOTE{}
- \def\thisfeatname{#1}%
- \def\featname{\thisfeatname~~\texttt=~~\null\gdef\featname{}}%
- \begin{table}
- \caption{Options for the OpenType font feature `\thisfeatname'.}
- \edef\@tempa{\noexpand\label{feat:\thisfeatname}}\@tempa
- \centering
- \begin{tabular}{@{}l@{}l@{\hspace{0.5\tabcolsep}}l@{\hspace{0.5\tabcolsep}}l@{}}
- \toprule
- Feature & Option && Tag \\
- \midrule
-}{
- \bottomrule
- \end{tabular}
- \NOTE
- \end{table}
-}
-
-%%%%%%%%%%%
-
-\def \MakePrivateLetters {%
- \catcode `\@ = 11
- \catcode `\_ = 11
- \catcode `\: = 11
-}
-
-%% for LaTeX3 csnames
-\catcode `\_= 11
-
-\renewcommand\partname{Part}
-
-\makeatother
-
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\EnableCrossrefs
@@ -260,7 +15,6 @@
\begin{document}
\GetFileInfo{fontspec.dtx}
-\errorcontextlines=999 ^^A% Show up all my mistakes
\title{The \textsf{fontspec} package\\Font selection for \XeLaTeX\ and \LuaLaTeX}
\author{
@@ -270,2668 +24,17 @@
\date{\filedate \qquad \fileversion}
\maketitle
-
\tableofcontents
-
\newpage
-\part{Getting started}
+\include{fontspec-doc-intro}
+\include{fontspec-doc-fontsel}
+\include{fontspec-doc-featset}
+\include{fontspec-doc-opentype}
+\include{fontspec-doc-enc}
+\include{fontspec-doc-luatex}
+\include{fontspec-doc-xetex}
+\include{fontspec-doc-api}
-\section{History}
-
-This package began life as a \LaTeX\ interface to select system-installed
-\MacOSX\ fonts in \name{Jonathan Kew}'s \XeTeX, the first widely-used
-Unicode extension to \TeX. Over time, \XeTeX\ was extended to support OpenType
-fonts and then was ported into a cross-platform program to run also on Windows
-and Linux.
-
-More recently, \LuaTeX\ is fast becoming the \TeX\ engine of the day; it
-supports Unicode encodings and OpenType fonts and opens up the internals of
-\TeX\ via the Lua programming language. Hans Hagen's Con\TeX t Mk.\,IV is a
-re-write of his powerful typesetting system, taking full advantage of
-\LuaTeX's features including font support; a kernel of his work in this area
-has been extracted to be useful for other \TeX\ macro systems as well, and
-this has enabled \pkg{fontspec} to be adapted for \LaTeX\ when run with the
-\LuaTeX\ engine.
-
-\section{Introduction}
-
-The \pkg{fontspec} package allows users of either \XeTeX\ or \LuaTeX\ to
-load OpenType fonts in a \LaTeX\ document. No font installation is necessary,
-and font features can be selected and used as desired throughout the document.
-
-Without \pkg{fontspec}, it is necessary to write cumbersome font definition
-files for \LaTeX, since \LaTeX's font selection scheme (known as the
-`\textsc{nfss}') has a lot going on behind the scenes to allow easy
-commands like \cmd\emph\ or \cmd\bfseries. With an uncountable number of
-fonts now available for use, however, it becomes less desirable to have to
-write these font definition (|.fd|) files for every font one wishes to use.
-
-Because \pkg{fontspec} is designed to work in a variety of modes, this
-user documentation is split into separate sections that are designed to be
-relatively independent. Nonetheless, the basic functionality all behaves in
-the same way, so previous users of \pkg{fontspec} under \XeTeX\ should have
-little or no difficulty switching over to \LuaTeX.
-
-This manual can get rather in-depth, as there are a lot of details
-to cover. See the documents \path{fontspec-example.tex} for a complete minimal example
-to get started quickly.
-
-
-\subsection{Acknowledgements}
-
-This package could not have been possible without the early and continued support
-the author of \XeTeX, Jonathan Kew. When I started this package, he steered
-me many times in the right direction.
-
-I've had great
-feedback over the years on feature requests, documentation queries, bug reports, font suggestions, and so on from lots of people all around the world.
-Many thanks to you all.
-
-Thanks to David Perry and Markus B\"ohning for numerous documentation
-improvements and David Perry again for contributing the text for one of the
-sections of this manual.
-
-Special thanks to Khaled Hosny, who was the driving force behind the support for \LuaLaTeX, ultimately leading to version 2.0 of the package.
-
-\section{Package loading and options}
-
-For basic use, no package options are required:
-\begin{Verbatim}
- \usepackage{fontspec}
-\end{Verbatim}
-Package options will be introduced below; some preliminary details are discussed first.
-
-\paragraph{Font encodings}
-\null\marginpar{\null\hfill\fbox{\color{red}\textsc{update}!}}%
-The 2016 release of \pkg{fontspec} initiates some changes for font encodings and the loading of \pkg{xunicode}.
-
-A new package option, \texttt{tuenc}, which is selected by default, switches the \textsc{nfss} font encoding to \texttt{TU}.
-\texttt{TU} is a new Unicode font encoding, intended for both \XeTeX\ and \LuaTeX\ engines, and automatically contains support for symbols covered by \LaTeX's traditional \texttt{T1} and \texttt{TS1} font encodings (for example, |\%|, |\textbullet|, |\"u|, and so on).
-As a result, with this package option, Ross Moore's \pkg{xunicode} package is \textbf{not} loaded.
-
-The old behaviour can be achieved by loading the \texttt{euenc} package option. This selects the \texttt{EU1} or \texttt{EU2} encoding (\XeTeX/\LuaTeX, resp.) and loads the \pkg{xunicode} package.
-Package authors and users who have referred explicitly to the encoding names \texttt{EU1} or \texttt{EU2} should update their code or documents.
-(See internal variable names described in \vref{sec:api} for how to do this properly.)
-
-\emph{While \pkg{fontspec} is providing the \texttt{TU} encoding, its interface should be considered \textsc{experimental}; feedback welcome. Once \texttt{TU} is incorporated into the \LaTeXe\ kernel directly (later in 2016), it will be considered stable.}
-
-
-\paragraph{\LuaTeX\ users only}
-In order to load fonts by their name rather than by their filename (\eg,
-`Latin Modern Roman' instead of `ec-lmr10'), you may need to run the script
-\texttt{luaotfload-tool}, which is distributed with the \pkg{luaotfload}
-package. Note that if you do not execute this script beforehand, the first
-time you attempt to typeset the process will pause for (up to) several
-minutes. (But only the first time.)
-Please see the \pkg{luaotfload} documentation for more information.
-
-
-\paragraph{\pkg{babel}}
-\emph{The \pkg{babel} package is only supported for certain languages.}
-Especially Vietnamese, Greek, and Hebrew at least might not work correctly, as far as I can tell.
-There's a better chance with Cyrillic and Latin-based languages, however---\pkg{fontspec} ensures at least that fonts should load correctly.
-The \pkg{polyglossia} package is recommended instead as a modern replacement for \pkg{babel}.
-
-
-
-\subsection{Maths fonts adjustments}
-By default, \pkg{fontspec} adjusts \LaTeX's default maths setup in order to maintain the correct Computer Modern symbols when the roman font changes.
-However, it will attempt to avoid doing this if another maths font package is loaded (such as \pkg{mathpazo} or the \pkg{unicode-math} package).
-
-If you find that \pkg{fontspec} is incorrectly changing the maths font when it shouldn't be, apply the |no-math| package option to manually suppress its selection of the maths fonts.
-
-\subsection{Configuration}
-\label{sec:config}
-
-If you wish to customise any part of the
-\pkg{fontspec} interface, this should be done by creating your own
-\texttt{fontspec.cfg} file,
-which will be automatically loaded if it is found by \XeTeX\ or \LuaTeX.
-A |fontspec.cfg| file is distributed with \pkg{fontspec} with a small number of defaults set up within it.
-
-To customise \pkg{fontspec} to your liking, use the standard |.cfg| file as a starting point or write your own from scratch, then either place it in the same folder as the main document for isolated cases, or in a location
-that \XeTeX\ or \LuaTeX\ searches by default; \eg\ in Mac\TeX: \path{~/Library/texmf/tex/latex/}.
-
-The package option |no-config| will suppress the loading of the |fontspec.cfg| file under all circumstances.
-
-\subsection{Warnings}
-\label{sec:quiet-warnings}
-
-This package can give some warnings that can be harmless if you know what
-you're doing. Use the |quiet| package option to write these warnings to the
-transcript (\texttt{.log}) file instead.
-
-Use the |silent| package option to completely suppress these warnings if you
-don't even want the |.log| file cluttered up.
-
-
-
-
-
-\part{General font selection}
-
-This section concerns the variety of commands that can be used to select
-fonts.
-
-\cmdbox{%
- \CMD{\string\fontspec}\marg{font name}\oarg{font features}\\
- \CMD{\string\setmainfont}\marg{font name}\oarg{font features}\\
- \CMD{\string\setsansfont}\marg{font name}\oarg{font features}\\
- \CMD{\string\setmonofont}\marg{font name}\oarg{font features}\\
- \CMD{\string\newfontfamily}\meta{cmd}\marg{font name}\oarg{font features}
-}
-
-These are the main font-selecting commands of this package.
-The \cs{fontspec} command selects a font for one-time use; all
-others should be used to define the standard fonts used in a document, as shown in \exref{fontload}.
-Here, the scales of the fonts have been chosen to equalise their
-lowercase letter heights. The \feat{Scale} font feature will be discussed
-further in \vref{sec:font-ind-features}, including methods for automatic
-scaling.
-
-\begin{Lexample}{fontload}{Loading the default, sans serif, and monospaced fonts.}
- \setmainfont{texgyrebonum-regular.otf}
- \setsansfont{lmsans10-regular.otf}[Scale=MatchLowercase]
- \setmonofont{Inconsolata.otf}[Scale=MatchLowercase]
-
- \rmfamily Pack my box with five dozen liquor jugs\par
- \sffamily Pack my box with five dozen liquor jugs\par
- \ttfamily Pack my box with five dozen liquor jugs
-\end{Lexample}
-
-The font features argument accepts comma separated
-\meta{font feature}=\meta{option} lists; these are described in later:
-\begin{itemize}
-\item For general font features, see \vref{sec:font-ind-features}
-\item For OpenType fonts, see Part~\vref{sec:opentype-features}
-\item For \XeTeX-only general font features, see Part~\vref{sec:xetex-features}
-\item For \LuaTeX-only general font features, see Part~\vref{sec:luatex-features}
-\item For features for \AAT\ fonts in \XeTeX, see \vref{sec:aat-features}
-\end{itemize}
-
-\section{Font selection}
-
-In both \LuaTeX\ and \XeTeX, fonts can be selected either by `font name' or
-by `file name', but there are some differences in how each engine finds and selects fonts --- don't be too surprised if a font invocation in one engine needs correction to work in the other.
-
-\subsection{By font name}
-
-Fonts known to \LuaTeX\ or \XeTeX\ may be loaded by their standard names as
-you'd speak them out loud, such as \emph{Times New Roman} or
-\emph{Adobe Garamond}.
-`Known to' in this case generally means `exists in a standard fonts location'
-such as |~/Library/Fonts| on \MacOSX, or |C:\Windows\Fonts| on Windows.
-In \LuaTeX, fonts found in the \textsc{texmf} tree can also be loaded by name.
-
-The simplest example might be something like
-\begin{Verbatim}
- \setmainfont{Cambria}[ ... ]
-\end{Verbatim}
-in which the bold and italic fonts will be found automatically
-(if they exist) and are immediately accessible with the usual
-\cs{textit} and \cs{textbf} commands.
-
-The `font name' can be found in various ways, such as by looking in the name listed in a application like \emph{Font Book} on Mac~OS~X.
-Alternatively, \TeX{}Live contains the \texttt{otfinfo} command line program, which can query this information; for example:
-\begin{Verbatim}
- otfinfo -a `kpsewhich lmroman10-regular.otf`
-\end{Verbatim}
-results in `\texttt{LM Roman 10}'.
-
-\subsection{By file name}
-\label{sec:by-file-name}
-
-\XeTeX\ and \LuaTeX\ also allow fonts to be loaded by file name instead of font name.
-When you have a very large collection of fonts, you will sometimes not
-wish to have them all installed in your system's font directories.
-In this case, it is more convenient to load them from a different location on your disk.
-This technique is also necessary in \XeTeX\ when loading OpenType fonts that are present within your \TeX\ distribution, such as \path{/usr/local/texlive/2013/texmf-dist/fonts/opentype/public}.
-Fonts in such locations are visible to \XeTeX\ but cannot be loaded by font name, only file name; \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 directly (including in the current directory)
-without having to explicitly define the location of the font file on disk.
-
-Fonts selected by filename must include bold and italic variants explicitly.
-\begin{Verbatim}
- \setmainfont{texgyrepagella-regular.otf}[
- BoldFont = texgyrepagella-bold.otf ,
- ItalicFont = texgyrepagella-italic.otf ,
- BoldItalicFont = texgyrepagella-bolditalic.otf ]
-\end{Verbatim}
-\pkg{fontspec} knows that the font is to be selected by file name by the
-presence of the `|.otf|' extension.
-An alternative is to specify the extension separately, as shown following:
-\begin{Verbatim}
- \setmainfont{texgyrepagella-regular}[
- Extension = .otf ,
- BoldFont = texgyrepagella-bold ,
- ... ]
-\end{Verbatim}
-If desired, an abbreviation can be applied to the font names based on the
-mandatory `font name' argument:
-\begin{Verbatim}
- \setmainfont{texgyrepagella}[
- Extension = .otf ,
- UprightFont = *-regular ,
- BoldFont = *-bold ,
- ... ]
-\end{Verbatim}
-In this case `texgyrepagella' is no longer the name of an actual font,
-but is used to construct the font names for each shape;
-the |*| is replaced by `texgyrepagella'.
-Note in this case that |UprightFont| is required for constructing the font
-name of the normal font to use.
-
-To load a font that is not in one of the default search paths, its location
-in the filesystem must be specified with the |Path| feature:
-\begin{Verbatim}
- \setmainfont{texgyrepagella}[
- Path = /Users/will/Fonts/ ,
- UprightFont = *-regular ,
- BoldFont = *-bold ,
- ... ]
-\end{Verbatim}
-Note that \XeTeX\ and \LuaTeX\ are able to load the font without giving an
-extension, but \pkg{fontspec} must know to search for the file; this can can
-be indicated by using the |Path| option without an argument:
-\begin{Verbatim}
- \setmainfont{texgyrepagella-regular}[
- Path, BoldFont = texgyrepagella-bold,
- ... ]
-\end{Verbatim}
-In previous versions of the package, the alias |ExternalLocation| was documented for this purpose, but this is now deprecated and may be removed in the future.
-
-
-
-
-
-
-\section{Commands to select font families}
-
-\cmdbox{
- \CMD{\string\newfontfamily}\cs{\meta{font-switch}}\marg{font name}\oarg{font features} \\
- \CMD{\string\newfontface}\cs{\meta{font-switch}}\marg{font name}\oarg{font features}
-}
-
-\noindent For cases when a specific font with a specific
-feature set is going to be re-used many times in a document, it is inefficient
-to keep calling \cs{fontspec} for every use. While the \cs{fontspec} command does not define
-a new font instance after the first call, the feature options must still be
-parsed and processed.
-
-\DescribeMacro{\newfontfamily}
-For this reason, new commands can be created for loading a particular font
-family with the \cmd\newfontfamily\ command, demonstrated in \exref{nff}.
-This macro should be used to create commands that would be used in
-the same way as \cmd\rmfamily, for example.
-If you would like to create a command that only changes the font
-inside its argument (i.e., the same behaviour as \cs{emph}) define it using regular \LaTeX\
-commands:
-\begin{Verbatim}
- \newcommand\textnote[1]{{\notefont #1}}
- \textnote{This is a note.}
-\end{Verbatim}
-Note that the double braces are intentional; the inner pair are used to
-to delimit the scope of the font change.
-
-\begin{Lexample}{nff}{Defining new font families.}
- \newfontfamily\notefont{Kurier}
- \notefont This is a \emph{note}.
-\end{Lexample}
-
-\DescribeMacro{\newfontface}
-Sometimes only a specific font face is desired, without accompanying italic or bold variants
-being automatically selected.
-This is common when selecting a fancy italic font, say, that has swash features unavailable
-in the upright forms. \cmd\newfontface\ is used for this purpose, shown
-in \exref{nfface}, which is repeated in \vref{sec:contextuals}.
-
-\begin{Xexample}{nfface}{Defining a single font face.}
- \newfontface\fancy{Hoefler Text Italic}%
- [Contextuals={WordInitial,WordFinal}]
- \fancy where is all the vegemite
- % \emph, \textbf, etc., all don't work
-\end{Xexample}
-
-Comment for advanced users:
-The commands defined by \cs{newfontface} and \cs{newfontfamily} include
-their encoding information, so even if the document is set to use a
-legacy \TeX\ encoding, such commands will still work correctly. For example,
-\begin{Verbatim}
-\documentclass{article}
-\usepackage{fontspec}
-\newfontfamily\unicodefont{Lucida Grande}
-\usepackage{mathpazo}
-\usepackage[T1]{fontenc}
-\begin{document}
-A legacy \TeX\ font. {\unicodefont A unicode font.}
-\end{document}
-\end{Verbatim}
-
-\subsection{More control over font shape selection}
-\label{sec:bfitfonts}
-
-\cmdbox{
- \feat{BoldFont} = \meta{font name} \\
- \feat{ItalicFont} = \meta{font name} \\
- \feat{~BoldItalicFont} = \meta{font name} \\
- \feat{SlantedFont} = \meta{font name} \\
- \feat{BoldSlantedFont} = \meta{font name} \\
- \feat{SmallCapsFont} = \meta{font name}
-}
-
-The automatic bold, italic, and bold italic font selections will not be
-adequate for the needs of every font: while some fonts mayn't even
-have bold or italic shapes, in which case a skilled (or lucky)
-designer may be able to chose well-matching accompanying shapes from
-a different font altogether, others can have a range of bold and
-italic fonts to chose among. The \feat{BoldFont} and
-\feat{ItalicFont} features are provided for these situations. If only
-one of these is used, the bold italic font is requested as the
-default from the \emph{new} font. See \exref{bff}.
-
-\begin{Xexample}{bff}{Explicit selection of the bold font.}
- \fontspec{Helvetica Neue UltraLight}%
- [BoldFont={Helvetica Neue}]
- Helvetica Neue UltraLight \\
- {\itshape Helvetica Neue UltraLight Italic} \\
- {\bfseries Helvetica Neue } \\
- {\bfseries\itshape Helvetica Neue Italic} \\
-\end{Xexample}
-
-If a bold italic shape is not defined, or you want to specify
-\emph{both} custom bold and italic shapes, the \feat{BoldItalicFont}
-feature is provided.
-
-
-
-\subsubsection{Small caps and slanted font shapes}
-
-When a font family has both slanted \emph{and} italic shapes, these may be specified separately using the analogous features \feat{SlantedFont} and \feat{BoldSlantedFont}.
-Without these, however, the \LaTeX\ font switches for slanted (\cs{textsl}, \cs{slshape}) will default to the italic shape.
-
-Pre-OpenType, it was common for font families to be distributed with small caps glyphs in separate fonts, due to the limitations on the number of glyphs allowed in the PostScript Type~1 format.
-Such fonts may be used by declaring the \feat{SmallCapsFont} of the family you are specifying:
-\begin{Verbatim}
- \setmainfont{Minion MM Roman}[
- SmallCapsFont={Minion MM Small Caps & Oldstyle Figures}
- ]
- Roman 123 \\ \textsc{Small caps 456}
-\end{Verbatim}
-In fact, you should specify the small caps font for each individual bold and
-italic shape as in
-\begin{Verbatim}
- \setmainfont{ <upright> }[
- UprightFeatures = { SmallCapsFont={ <sc> } } ,
- BoldFeatures = { SmallCapsFont={ <bf sc> } } ,
- ItalicFeatures = { SmallCapsFont={ <it sc> } } ,
- BoldItalicFeatures = { SmallCapsFont={ <bf it sc> } } ,
- ]
- Roman 123 \\ \textsc{Small caps 456}
-\end{Verbatim}
-For most modern fonts that have small caps as a font feature, this level of
-control isn't generally necessary.
-
-All of the bold, italic, and small caps fonts can be loaded with different
-font features from the main font. See \ref{sec:bfit-feat} for details.
-When an OpenType font is selected for |SmallCapsFont|, the small caps
-font feature is \emph{not} automatically enabled. In this case, users
-should write instead, if necessary,
-\begin{Verbatim}
- \setmainfont{...}[
- SmallCapsFont={...},
- SmallCapsFeatures={Letters=SmallCaps},
- ]
-\end{Verbatim}
-
-\subsection{Specifically choosing the \NFSS\ family}
-
-In \LaTeX's \NFSS, font families are defined with names such as `\texttt{ppl}' (Palatino), `\texttt{lmr}' (Latin Modern Roman), and so on, which are selected with the \cs{fontfamily} command:
-\begin{Verbatim}
- \fontfamily{ppl}\selectfont
-\end{Verbatim}
-In \pkg{fontspec}, the family names are auto-generated based on the fontname of the font; for example, writing |\fontspec{Times New Roman}| for the first time would generate an internal font family name of `\texttt{TimesNewRoman(1)}'.
-Please note that should not rely on the name that is generated.
-
-In certain cases it is desirable to be able to choose this internal font family name so it can be re-used elsewhere for interacting with other packages that use the \LaTeX's font selection interface; an example might be
-\begin{Verbatim}
- \usepackage{fancyvrb}
- \fvset{fontfamily=myverbatimfont}
-\end{Verbatim}
-To select a font for use in this way in \pkg{fontspec} use the \feat{NFSSFamily} feature:\footnote{Thanks to Luca Fascione for the example and motivation for finally implementing this feature.}
-\begin{Verbatim}
- \newfontfamily\verbatimfont[NFSSFamily=myverbatimfont]{Inconsolata}
-\end{Verbatim}
-It is then possible to write commands such as:
-\begin{Verbatim}
- \fontfamily{myverbatimfont}\selectfont
-\end{Verbatim}
-which is essentially the same as writing |\verbatimfont|, or to go back to the orginal example:
-\begin{Verbatim}
- \fvset{fontfamily=myverbatimfont}
-\end{Verbatim}
-Only use this feature when necessary; the in-built font switching commands that \pkg{fontspec} generates (such as |\verbatimfont| in the example above) are recommended in all other cases.
-
-If you don't wish to explicitly set the \NFSS\ family but you would like to know what it is, an alternative mechanism for package writers is introduced as part of the \pkg{fontspec} programming interface; see the function \cs{fontspec_set_family:Nnn} for details (\vref*{sec:api}).
-
-\subsection{Choosing additional \NFSS\ font faces}
-
-\LaTeX's font selection scheme (\NFSS) is more flexible than the \pkg{fontspec} interface discussed up until this point.
-It assigns to each font face a \emph{family} (discussed above), a \emph{series} such as bold or light or condensed, and a \emph{shape} such as italic or slanted or small caps.
-The \pkg{fontspec} features such as \feat{BoldFont} and so on all assign faces for the default series and shapes of the \NFSS, but it's not uncommon to have font families that have multiple weights and shapes and so on.
-
-If you set up a regular font family with the `standard four' (upright, bold, italic, and bold italic) shapes and then want to use, say, a light font for a certain document element, many users will be perfectly happy to use \cs{newfontface}\cs{\meta{switch}} and use the resulting font \cs{\meta{switch}}.
-In other cases, however, it is more convenient or even necessary to load additional fonts using additional \NFSS\ specifiers.
-
-\cmdbox{
- \texttt{FontFace = }\marg{series}\marg{shape}
- \texttt{\char`\{} \texttt{Font = }\meta{font name} \texttt, \meta{features} \texttt{\char`\}} \\
- \texttt{FontFace = }\marg{series}\marg{shape}\marg{font name}
-}
-
-The font thus specified will inherit the font features of the main font, with optional additional \meta{features} as requested.
-(Note that the optional \marg{features} argument is still surrounded with curly braces.)
-Multiple \feat{FontFace} commands may be used in a single declaration to specify multiple fonts.
-As an example:
-\begin{Verbatim}
- \setmainfont{font1.otf}[
- FontFace = {c}{\updefault}{ font2.otf } ,
- FontFace = {c}{m}{ Font = font3.otf , Color = red }
- ]
-\end{Verbatim}
-Writing |\fontseries{c}\selectfont| will result in |font2| being selected, which then followed by |\fontshape{m}\selectfont| will result in |font3| being selected (in red).
-A font face that is defined in terms of a different series but an upright shape (|\updefault|, as shown above) will attempt to find a matching small caps feature and define that face as well.
-Conversely, a font face defined in terms of a non-standard font shape will not.
-
-There are some standards for choosing shape and series codes; the \LaTeXe\ font selection guide\footnote{\texttt{texdoc fntguide}} lists series |m| for medium, |b| for bold, |bx| for bold extended, |sb| for semi-bold, and |c| for condensed.
-A far more comprehensive listing is included in Appendix~A of Philipp Lehman's `The Font Installation Guide'\footnote{\texttt{texdoc fontinstallationguide}} covering 14 separate weights and 12 separate widths.
-
-The \feat{FontFace} command also interacts properly with the \feat{SizeFeatures} command as follows: (nonsense set of font selection choices)
-\begin{Verbatim}
- FontFace = {c}{n}{
- Font = Times ,
- SizeFeatures = {
- { Size = -10 , Font = Georgia } ,
- { Size = 10-15} , % default "Font = Times"
- { Size = 15- , Font = Cochin } ,
- },
- },
-\end{Verbatim}
-Note that if the first \feat{Font} feature is omitted then each size needs its own inner \feat{Font} declaration.
-
-\subsection{Math(s) fonts}
-
-When \cmd\setmainfont, \cmd\setsansfont\ and \cmd\setmonofont\ are used in the
-preamble, they also define the fonts to be used in maths mode inside the
-\cmd\mathrm-type commands. This only occurs in the preamble because \LaTeX\
-freezes the maths fonts after this stage of the processing. The \pkg{fontspec}
-package must also be loaded after any maths font packages (\eg, \pkg{euler})
-to be successful. (Actually, it is \emph{only} \pkg{euler} that is the
-problem.\note{Speaking of \pkg{euler}, if you want to use its
-\texttt{[mathbf]} option, it won't work, and you'll need to put this after
-\pkg{fontspec} is loaded instead:
-\ttfamily\cmd\AtBeginDocument\char`\{\cmd\DeclareMathAlphabet\cmd\mathbf\char`\{U\char`\}\char`\{eur\char`\}\char`\{b\char`\}\char`\{n\char`\}})
-
-Note that \pkg{fontspec} will not change the font for general mathematics;
-only the upright and bold shapes will be affected.
-To change the font used for the mathematical symbols, see either the
-\pkg{mathspec} package or the \pkg{unicode-math} package.
-
-Note that you may find that loading some maths packages won't be as smooth as
-you expect since \pkg{fontspec} (and \XeTeX\ in general) breaks many of the
-assumptions of \TeX\ as to where maths characters and accents can be found.
-Contact me if you have troubles, but I can't guarantee to be able to fix any
-incompatibilities. The Lucida and Euler maths fonts should be fine; for all
-others keep an eye out for problems.
-
-\cmdbox{
- \cmd{\setmathrm}\marg{font name}\oarg{font features} \\
- \cmd{\setmathsf}\marg{font name}\oarg{font features} \\
- \cmd{\setmathtt}\marg{font name}\oarg{font features} \\
- \cmd{\setboldmathrm}\marg{font name}\oarg{font features}
-}
-
-However, the default text fonts may not necessarily be the ones you
-wish to use when typesetting maths (especially with the use of fancy
-ligatures and so on). For this reason, you may optionally use the
-commands above (in the same way as our other
-\cmd\fontspec-like commands) to explicitly state which fonts to use
-inside such commands as \cmd\mathrm. Additionally, the
-\cmd\setboldmathrm\ command allows you define the font used for
-\cmd\mathrm\ when in bold maths mode (which is activated with, among
-others, \cmd\boldmath).
-
-For example, if you were using Optima with the Euler maths font, you
-might have this in your preamble:
-\begin{Verbatim}
- \usepackage{mathpazo}
- \usepackage{fontspec}
- \setmainfont{Optima}
- \setmathrm{Optima}
- \setboldmathrm[BoldFont={Optima ExtraBlack}]{Optima Bold}
-\end{Verbatim}
-These commands are compatible with the \pkg{unicode-math} package.
-Having said that, \pkg{unicode-math} also defines a more general way of defining fonts to use in maths mode, so you can ignore this subsection if you're already using that package.
-
-
-\section{Miscellaneous font selecting details}
-
-\paragraph{The optional argument --- from v2.4}
-For the first decade of \pkg{fontspec}'s life, optional font features were selected with a bracketed argument before the font name, as in:
-\begin{Verbatim}
- \setmainfont[
- lots and lots ,
- and more and more ,
- an excessive number really ,
- of font features could go here
- ]{myfont.otf}
-\end{Verbatim}
-This always looked like ugly syntax to me, because the most important detail --- the name of the font --- was tucked away at the end.
-The order of these arguments has now been reversed:
-\begin{Verbatim}
- \setmainfont{myfont.otf}[
- lots and lots ,
- and more and more ,
- an excessive number really ,
- of font features could go here
- ]
-\end{Verbatim}
-I hope this doesn't cause any problems.
-\begin{enumerate}
- \item Backwards compatibility has been preserved, so either input method works. (In fact, in the next version of \pkg{fontspec} you will be able to write
- \begin{Verbatim}
- \fontspec[Ligatures=Rare]{myfont.otf}[Color=red]
- \end{Verbatim}
- if you really felt like it and both sets of features would be applied.)
-
- \item
- Following standard \pkg{xparse} behaviour, there must be no space before the opening bracket; writing
- \begin{Verbatim*}
-\fontspec{myfont.otf} [Color=red]
- \end{Verbatim*}
- will result in |[Color=red]| not being recognised an argument and therefore it will be typeset as text. When breaking over lines, write either of:
- \begin{Verbatim}
- \fontspec{myfont.otf}% \fontspec{myfont.otf}[
- [Color=red] Color=Red]
- \end{Verbatim}
-
-\end{enumerate}
-
-\paragraph{Spaces}
-\cmd\fontspec\ and \cmd\addfontfeatures\ ignore trailing spaces as
-if it were a `naked' control sequence; \eg, `|M. \fontspec{...} N|' and
-`|M. \fontspec{...}N|' are the same.
-
-\paragraph{Italic small caps}
-Note that this package redefines the \cs{itshape}, \cs{slshape}, and \cs{scshape} commands in order to allow them to select italic small caps in conjunction.
-With these changes, writing |\itshape\scshape| will lead to italic small caps, and |\upshape| subsequently then moves back to small caps only. |\upshape| again returns from small caps to upright regular.
-(And similarly for for |\slshape|. In addition, once italic small caps are selected then |\slshape| will switch to slanted small caps, and vice versa.)
-
-\paragraph{Emphasis and nested emphasis}
-\LaTeXe\ allows you to specify the behaviour of \cs{emph} nested within \cs{emph} by setting the \cs{eminnershape} command.
-For example, |\renewcommand\eminnershape{\upshape\scshape}| will produce small caps within |\emph{\emph{...}}|.
-
-The \pkg{fontspec} package takes this idea one step further to allow arbitrary font changes (e.g., boldness) and arbitrary levels of nesting within emphasis.
-This is performed using the |\emfontdeclare| command, which takes a comma-separated list of font switches corresponding to increasing levels of emphasis.
-Two examples:
-\begin{enumerate}
-\item |\emfontdeclare{\itshape,\upshape\scshape,\itshape}| will lead to `italics', `small caps', then `italic small caps' as the level of emphasis increases, as long as italic small caps are defined for the font.
- Note that |\upshape| is required because the font changes are cascading.
-\item |\emfontdeclare{\bfseries,\fontseries{h}\selectfont,\fontseries{x}\selectfont}| could lead to (if fonts are set up correctly) `bold', `heavy', and `extra bold'.
-\end{enumerate}
-
-
-
-
-\section{Selecting font features}
-\label{sec:selectingfeature}
-
-The commands discussed so far such as \cs{fontspec} each take an optional argument for
-accessing the font features of the requested font.
-Commands are provided to set default features to be applied for all fonts, and even to change the features that a font is presently loaded with.
-Different font shapes can be loaded with separate features, and different features can even be selected for different sizes that the font appears in.
-This section discusses these options.
-
-\subsection{Default settings} \label{sec:defaults}
-
-\cmdbox{\cmd\defaultfontfeatures\marg{font features}}
-
-It is sometimes useful to define
-font features that are applied to every subsequent font selection command.
-This may be defined with the
-\cmd{\defaultfontfeatures} command, shown in \exref{dff}.
-New calls of \cs{defaultfontfeatures} overwrite previous ones, and defaults can be reset by calling the command with an empty argument.
-
-\begin{Xexample}{dff}{A demonstration of the \cs{defaultfontfeatures} command.}
- \fontspec{texgyreadventor-regular.otf}
- Some default text 0123456789 \\
- \defaultfontfeatures{
- Numbers=OldStyle, Color=888888
- }
- \fontspec{texgyreadventor-regular.otf}
- Now grey, with old-style figures:
- 0123456789
-\end{Xexample}
-
-\cmdbox{\cmd\defaultfontfeatures\oarg{font name}\marg{font features}}
-
-Default font features can be specified on a per-font and per-face basis
-by using the optional argument to \cs{defaultfontfeatures} as shown.\footnote{Internally, \meta{font name} has all spaces removed and is converted to lowercase.}
-\begin{Verbatim}
- \defaultfontfeatures[texgyreadventor-regular.otf]{Color=blue}
- \setmainfont{texgyreadventor-regular.otf}% will be blue
-\end{Verbatim}
-Multiple fonts may be affected by using a comma separated list of font names.
-
-\cmdbox{\cmd\defaultfontfeatures\oarg{\cs{font-switch}}\marg{font features}}
-
-\textbf{New in v2.4}.
-Defaults can also be applied to symbolic families such as those created with the |\newfontfamily| command and for |\rmfamily|, |\sffamily|, and |\ttfamily|:
-\begin{Verbatim}
- \defaultfontfeatures[\rmfamily,\sffamily]{Ligatures=TeX}
- \setmainfont{texgyreadventor-regular.otf}% will use standard TeX ligatures
-\end{Verbatim}
-The line above to set \TeX-like ligatures is now activated by \emph{default} in \texttt{fontspec.cfg}.
-To reset default font features, simply call the command with an empty argument:
-\begin{Verbatim}
- \defaultfontfeatures[\rmfamily,\sffamily]{}
- \setmainfont{texgyreadventor-regular.otf}% will no longer use standard TeX ligatures
-\end{Verbatim}
-
-\cmdbox{\cmd\defaultfontfeatures\texttt{+}\marg{font features}\\
- \cmd\defaultfontfeatures\texttt{+}\oarg{font name}\marg{font features}}
-
-\textbf{New in v2.4}.
-Using the |+| form of the command appends the \meta{font features} to any already-selected defaults.
-
-
-\subsection{Default settings from a file}
-
-In addition to the defaults that may be specified in the document as described above, when a font is first loaded, a configuration file is searched
-for with the name `\meta{fontname}\texttt{.fontspec}'.\footnote{Located in the current folder or within a standard \texttt{texmf} location.}
-
-The contents of this file can be used to specify default font features without
-having to have this information present within each document.
-\meta{fontname} is stripped of spaces and file extensions are omitted; for
-example, the line above for \TeX\ Gyre Adventor could be placed in a file
-called \texttt{TeXGyreAdventor.fontspec}, or for specifying options for
-\texttt{texgyreadventor-regular.otf} (when loading by filename), the configuration
-file would be \texttt{texgyreadventor-regular.fontspec}.
-(N.B. the lettercase of the names should match.)
-
-This mechanism can be used to define custom names or aliases for your font collections.
-If you create a file \texttt{MyCharis.fontspec} containing, say,
-\begin{Verbatim}
- \defaultfontfeatures[My Charis]
- {
- Extension = .ttf ,
- UprightFont = CharisSILR,
- BoldFont = CharisSILB,
- ItalicFont = CharisSILI,
- BoldItalicFont = CharisSILBI,
- % <any other desired options>
- }
-\end{Verbatim}
-you can load that custom family with \verb|\fontspec{My Charis}| and similar.
-The optional argument to \cs{defaultfontfeatures} must match that requested by the font loading command (\verb|\fontspec|, etc.), else the options won't take effect.
-
-Finally, note that options for font faces can also be defined in this way.
-To continue the example above, here we colour the different faces:
-\begin{Verbatim}
- \defaultfontfeatures[CharisSILR]{Color=blue}
- \defaultfontfeatures[CharisSILB]{Color=red}
-\end{Verbatim}
-And such configuration lines can be stored either inline inside \texttt{My Charis.fontspec} or within their own \texttt{.fontspec} files; in this way, \pkg{fontspec} is designed to handle `nested' configuration options as well.
-
-\subsection{Changing the currently selected features}
-\label{sec:addfontfeatures}
-
-\cmdbox{\cmd\addfontfeatures\marg{font features}}
-
-This command allows font features to
-be changed without knowing what features are currently selected or even what
-font is being used. A good example of this could be to add a hook to all
-tabular material to use monospaced numbers, as shown in \exref{aff}.
-Note however that the behaviour in this regard will be unreliable (subject to the font itself) if you attempt to \emph{change} an already selected feature.
-\Eg, this sort of thing can cause troubles:
-\begin{Verbatim}
-\addfontfeature{Numbers=OldStyle}...
-\addfontfeature{Numbers=Lining}...
-123
-\end{Verbatim}
-With both features active, how will the font render `123'? Depends on the font.
-In the distant future this functionality will be re-written to avoid this issue (giving `\verb|Numbers=OldStyle|' the smarts to know to explicitly de-activate any previous instances of `\verb|Numbers=Lining|', and vice-versa, but as I hope you can imagine this requires a fair degree of elbow grease which I haven't had available for some time now.
-
-\begin{Lexample}{aff}{A demonstration of the \cs{addfontfeatures} command. Note the caveat listed in the text regarding such usage.}
- \fontspec{texgyreadventor-regular.otf}%
- [Numbers={Proportional,OldStyle}]
- `In 1842, 999 people sailed 97 miles in
- 13 boats. In 1923, 111 people sailed 54
- miles in 56 boats.' \bigskip
-
- {\addfontfeatures{Numbers={Monospaced,Lining}}
- \begin{tabular}{@{} cccc @{}}
- Year & People & Miles & Boats \\
- \hline 1842 & 999 & 75 & 13 \\
- 1923 & 111 & 54 & 56
- \end{tabular}}
-\end{Lexample}
-
-\DescribeMacro{\addfontfeature}
-This command may also be executed under the alias \cmd{\addfontfeature}.
-
-\subsection{Priority of feature selection}
-Features defined with \cs{addfontfeatures} override features
-specified by \cs{fontspec}, which in turn override features
-specified by \cs{defaultfontfeatures}. If in doubt, whenever a
-new font is chosen for the first time, an entry is made in the
-transcript (\texttt{.log}) file displaying the font name and the
-features requested.
-
-\subsection{Different features for different font shapes}
-\label{sec:bfit-feat}
-
-\cmdbox{
- \feat{BoldFeatures}\texttt=\marg{features} \\
- \feat{ItalicFeatures}\texttt=\marg{features} \\
- \feat{BoldItalicFeatures}\texttt=\marg{features} \\
- \feat{SlantedFeatures}\texttt=\marg{features} \\
- \feat{BoldSlantedFeatures}\texttt=\marg{features} \\
- \feat{SmallCapsFeatures}\texttt=\marg{features}
-}
-
-It is entirely possible that separate fonts in a family will require
-separate options; \eg, Hoefler Text Italic contains various swash
-feature options that are completely unavailable in the upright shapes.
-
-The font features defined at the top level of the optional \cmd\fontspec\
-argument are applied to \emph{all} shapes of the family.
-Using \feat{Upright-}, \feat{SmallCaps-}, \feat{Bold-},
-\feat{Italic-}, and \feat{BoldItalicFeatures},
-separate font features may be defined to their respective shapes
-\emph{in addition} to, and with precedence over, the `global' font features.
-See \exref{itfeat}.
-
-\begin{Xexample}{itfeat}{Features for, say, just italics.}
-\fontspec{EBGaramond12-Regular.otf}%
- [ItalicFont=EBGaramond12-Italic.otf]
-\itshape Don’t Ask Victoria! \\
-\addfontfeature{ItalicFeatures={Style=Swash}}
-Don’t Ask Victoria! \\
-\end{Xexample}
-
-Note that because most fonts include their small caps glyphs
-within the main font, features specified with \feat{SmallCapsFeatures} are applied \emph{in addition} to
-any other shape-specific features as defined above, and hence \feat{SmallCapsFeatures}
-can be nested within \feat{ItalicFeatures} and friends. Every combination
-of upright, italic, bold and small caps can thus be assigned individual
-features, as shown in the somewhat ludicrous \exref{scfeat}.
-
-\begin{Xexample}{scfeat}{An example of setting the \feat{SmallCapsFeatures}
-separately for each font shape.}
- \fontspec{texgyretermes}[
- Extension = {.otf},
- UprightFont = {*-regular}, ItalicFont = {*-italic},
- BoldFont = {*-bold}, BoldItalicFont = {*-bolditalic},
- UprightFeatures={Color = 220022,
- SmallCapsFeatures = {Color=115511}},
- ItalicFeatures={Color = 2244FF,
- SmallCapsFeatures = {Color=112299}},
- BoldFeatures={Color = FF4422,
- SmallCapsFeatures = {Color=992211}},
- BoldItalicFeatures={Color = 888844,
- SmallCapsFeatures = {Color=444422}},
- ]
- Upright {\scshape Small Caps}\\
- \itshape Italic {\scshape Italic Small Caps}\\
- \upshape\bfseries Bold {\scshape Bold Small Caps}\\
- \itshape Bold Italic {\scshape Bold Italic Small Caps}
-\end{Xexample}
-
-\subsection{Different features for different font sizes}
-\label{sec:sizefeature}
-
-\cmdbox{
-\ttfamily SizeFeatures = \char`\{\\
-\null\quad...\\
-\null\quad\char`\{~Size =
-\rmfamily\meta{size range}\ttfamily
-,
-\rmfamily \meta{font features}\ttfamily
-~\char`\} , \\
-\null\quad\char`\{~Size =
-\rmfamily\meta{size range}\ttfamily
-, Font =
-\rmfamily\meta{font name}\texttt, \meta{font features}\ttfamily
-~\char`\} , \\
-\null\quad... \\
-\char`\}}
-
-The \feat{SizeFeature} feature is a little more complicated
-than the previous features discussed. It allows different fonts
-and different font features to be selected for a given font
-family as the point size varies.
-
-It takes a comma separated list of braced, comma separated lists of features for each size range.
-Each sub-list must contain the \opt{Size} option
-to declare the size range, and optionally \opt{Font} to change the
-font based on size. Other (regular) fontspec features that are added
-are used on top of the font features that would be used anyway.
-A demonstration to clarify these details is shown in \exref{sizefeat}.
-A less trivial example is shown in the context of optical font sizes
-in \vref{sec:opticalsize}.
-
-\begin{Xexample}{sizefeat}{An example of specifying different font features for different sizes of font with \feat{SizeFeatures}.}
- \fontspec{texgyrechorus-mediumitalic.otf}[
- SizeFeatures={
- {Size={-8}, Font=texgyrebonum-italic.otf, Color=AA0000},
- {Size={8-14}, Color=00AA00},
- {Size={14-}, Color=0000AA}} ]
-
- {\scriptsize Small\par} Normal size\par {\Large Large\par}
-\end{Xexample}
-
-To be precise, the \opt{Size} sub-feature accepts arguments in the form shown in \vref{tab:sizing}.
-Braces around the size range are optional. For an exact font size (|Size=X|)
-font sizes chosen near that size will `snap'. For example, for size definitions
-at exactly 11pt and 14pt, if a 12pt font is requested \emph{actually} the
-11pt font will be selected. This is a remnant of the past when fonts were designed
-in metal (at obviously rigid sizes) and later when bitmap fonts were similarly
-designed for fixed sizes.
-
-If additional features are only required for a single size, the other sizes
-must still be specified. As in:
-\begin{Verbatim}
- SizeFeatures={
- {Size=-10,Numbers=Uppercase},
- {Size=10-}}
-\end{Verbatim}
-Otherwise, the font sizes greater than 10 won't be defined at all!
-
-\begin{table}
-\caption{Syntax for specifying the size to apply custom font features.}\label{tab:sizing}
-\centering
-\begin{tabular}{@{}ll@{}}
-\toprule
-Input & Font size, $s$ \\
-\midrule
- |Size = X-| & $s \geq \texttt{X}$ \\
- |Size = -Y| & $s < \texttt{Y}$ \\
- |Size = X-Y| & $\texttt{X} \leq s < \texttt{Y}$ \\
- |Size = X| & $s = \texttt{X}$ \\
-\bottomrule
-\end{tabular}
-\end{table}
-
-\paragraph{Interaction with other features}
-For \feat{SizeFeatures} to work with \feat{ItalicFeatures}, \feat{BoldFeatures}, etc., and \feat{SmallCapsFeatures}, a strict heirarchy is required:
-\begin{Verbatim}
- UprightFeatures =
- {
- SizeFeatures =
- {
- {
- Size = -10,
- Font = ..., % if necessary
- SmallCapsFeatures = {...},
- ... % other features for this size range
- },
- ... % other size ranges
- }
- }
-\end{Verbatim}
-Suggestions on simplifying this interface welcome.
-
-
-\section{Font independent options} \label{sec:font-ind-features}
-
-Features introduced in this section may be used with any font.
-
-\subsection{Colour}
-
-\feat{Color} (or \feat{Colour}), also shown in \vref{sec:defaults}
-and elsewhere, uses font specifications to set the colour of
-the text. The colour is defined as a triplet of two-digit Hex RGB
-values, with optionally another value for the transparency (where
-|00| is completely transparent and |FF| is opaque.)
-\begin{Lexample}{color}{Selecting colour with transparency. N.B. due to a conflict betweeen \pkg{fontspec} and the \pkg{preview} package, this example currently does not show any transparency!}
- \fontsize{48}{48}
- \fontspec{texgyrebonum-bold.otf}
- {\addfontfeature{Color=FF000099}W}\kern-0.5ex
- {\addfontfeature{Color=0000FF99}S}\kern-0.4ex
- {\addfontfeature{Color=DDBB2299}P}\kern-0.4ex
- {\addfontfeature{Color=00BB3399}R}
-\end{Lexample}
-Transparency is supported by \LuaLaTeX; \XeLaTeX\ with the \texttt{xdvipdfmx} driver
-does not support this feature.
-
-If you load the \pkg{xcolor} package, you may use any named colour instead
-of writing the colours in hexadecimal.
-\begin{Verbatim}
- \usepackage{xcolor}
- ...
- \fontspec[Color=red]{Verdana} ...
- \definecolor{Foo}{rgb}{0.3,0.4,0.5}
- \fontspec[Color=Foo]{Verdana} ...
-\end{Verbatim}
-The \pkg{color} package is \emph{not} supported; use \pkg{xcolor} instead.
-
-You may specify the transparency with a named colour using the \feat{Opacity}
-feature which takes an decimal from zero to one corresponding to
-transparent to opaque respectively:
-\begin{Verbatim}
- \fontspec[Color=red,Opacity=0.7]{Verdana} ...
-\end{Verbatim}
-It is still possible to specify a colour in six-char hexadecimal form
-while defining opacity in this way, if you like.
-
-\subsection{Scale}
-
-\cmdbox{
- \feat{Scale} = \meta{number} \\
- \feat{Scale} = \opt{MatchLowercase} \\
- \feat{Scale} = \opt{MatchUppercase}
-}
-
-In its explicit form, \feat{Scale} takes a single
-numeric argument for linearly scaling the font, as demonstrated
-in \exref{fontload}.
-It is now possible to
-measure the correct dimensions of the fonts loaded and
-calculate values to scale them automatically.
-
-As well as a numerical argument, the \feat{Scale} feature
-also accepts options \opt{MatchLowercase}
-and \opt{MatchUppercase}, which will scale the font being selected to match
-the current default roman font to either the height of the lowercase or
-uppercase letters, respectively; these features are shown in \exref{scale}.
-
-\begin{Xexample}{scale}{Automatically calculated scale values.}
- \setmainfont{Georgia}
- \newfontfamily\lc[Scale=MatchLowercase]{Verdana}
- The perfect match {\lc is hard to find.}\\
- \newfontfamily\uc[Scale=MatchUppercase]{Arial}
- L O G O \uc F O N T
-\end{Xexample}
-
-The amount of scaling used in each instance is reported in the \texttt{.log} file.
-Since there is some subjectivity about the exact scaling to be used, these values
-should be used to fine-tune the results.
-
-Note that when |Scale=MatchLowercase| is used with |\setmainfont|, the new `main' font of the document will be scaled to match the old default.
-This may be undesirable in some cases, so to achieve `natural' scaling for the main font but automatically scale all other fonts selected, you may write
-\begin{Verbatim}
- \defaultfontfeatures{ Scale = MatchLowercase }
- \defaultfontfeatures[\rmfamily]{ Scale = 1}
-\end{Verbatim}
-One or both of these lines may be placed into a local |fontspec.cfg| file (see \vref{sec:config}) for this behaviour to be effected in your own documents automatically.
-(Also see \vref{sec:defaults} for more information on setting font defaults.)
-
-
-
-\subsection{Interword space}
-
-While the space between words can be varied on an individual
-basis with the \TeX\ primitive \cmd\spaceskip\ command, it is
-more convenient to specify this information when the font is
-first defined.
-
-The space in between words in a paragraph will be chosen automatically,
-and generally will not need to be adjusted. For those
-times when the precise details are important, the \feat{WordSpace}
-feature is
-provided, which takes either a single scaling factor to scale the
-default value, or a triplet of comma-separated
-values to scale the nominal value, the stretch, and the shrink of the
-interword space by, respectively. (|WordSpace={|$x$|}| is the same as
-|WordSpace={|$x$|,|$x$|,|$x$|}|.)
-
-\begingroup
-\let\centering\relax
-\begin{Xexample}{wordspace}{Scaling the default interword space. An exaggerated value has been chosen to emphasise the effects here.}
- \fontspec{texgyretermes-regular.otf}
- Some text for our example to take
- up some space, and to demonstrate
- the default interword space.
- \bigskip
-
- \fontspec{texgyretermes-regular.otf}%
- [WordSpace = 0.3]
- Some text for our example to take
- up some space, and to demonstrate
- the default interword space.
-\end{Xexample}
-\endgroup
-
-\subsection{Post-punctuation space}
-
-If \cmd\frenchspacing\ is \emph{not} in effect, \TeX\ will allow extra
-space after some punctuation in its goal of justifying the lines of text.
-Generally, this is considered old-fashioned, but occasionally in small amounts the
-effect can be justified, pardon the pun.
-
-The \feat{PunctuationSpace} feature takes a scaling factor by which to
-adjust the nominal value chosen for the font; this is demonstrated in
-\exref{punctspace}.
-Note that |PunctuationSpace=0|
-is \emph{not} equivalent to \cmd\frenchspacing, although the difference
-will only be apparent when a line of text is under-full.
-
-\begin{Lexample}{punctspace}{Scaling the default post-punctuation space.}
- \nonfrenchspacing
- \fontspec{texgyreschola-regular.otf}
- Letters, Words. Sentences. \par
- \fontspec{texgyreschola-regular.otf}[PunctuationSpace=2]
- Letters, Words. Sentences. \par
- \fontspec{texgyreschola-regular.otf}[PunctuationSpace=0]
- Letters, Words. Sentences.
-\end{Lexample}
-
-
-
-
-\subsection{The hyphenation character}
-
-The letter used for hyphenation may be chosen with the \feat{HyphenChar}
-feature. It takes three types of input, which are chosen according to some
-simple rules. If the input is the string \opt{None}, then hyphenation is
-suppressed for this font.
-If the input is a single character, then this
-character is used. Finally, if the input is longer than a single character
-it must be the UTF-8 slot number of the hyphen character you desire.
-
-This package redefines \LaTeX's \cmd\-\ macro such that it adjusts along with the above changes.
-
-\begin{Xexample}{hyphchar}{Explicitly choosing the hyphenation character.}
- \def\text{\fbox{\parbox{1.55cm}{%
- EXAMPLE HYPHENATION%
- }}\qquad\qquad\null\par\bigskip}
-
- \fontspec{Linux Libertine O}[HyphenChar=None]
- \text
- \fontspec{Linux Libertine O}[HyphenChar={+}]
- \text
-\end{Xexample}
-
-Note that \TeX's optimisations in how it loads fonts means that you cannot
-use this feature in \cs{addfontfeatures}.
-
-\subsection{Optical font sizes} \label{sec:opticalsize}
-
-Optically scaled fonts thicken out as the font size decreases
-in order to make the glyph shapes more robust (less prone to losing
-detail), which improves legibility. Conversely, at large optical
-sizes the serifs and other small details may be more delicately
-rendered.
-
-OpenType fonts with optical scaling will exist in
-several discrete sizes, and these will be selected by \XeTeX\
-and Lua\TeX\
-\emph{automatically} determined by the current font size as in
-\exref{optsize}, in which we've scaled down some large text in order to be
-able to compare the difference for equivalent font sizes.
-
-The
-\opt{OpticalSize} option may be used to specify a different optical
-size.
-With \opt{OpticalSize} set
-to zero, no optical size font substitution is performed, as shown in
-\exref{optsize0}.
-
-\begin{Xexample}{optsize}{A demonstration of automatic optical size selection.}
- \fontspec{Latin Modern Roman}
- Automatic optical size \\
- \scalebox{0.4}{\Huge
- Automatic optical size}
-\end{Xexample}
-
-\begin{Xexample}{optsize0}{Optical size substitution is suppressed when set to zero.}
- \fontspec{Latin Modern Roman 5 Regular}[OpticalSize=0]
- Latin Modern optical sizes \\
- \fontspec{Latin Modern Roman 8 Regular}[OpticalSize=0]
- Latin Modern optical sizes \\
- \fontspec{Latin Modern Roman 12 Regular}[OpticalSize=0]
- Latin Modern optical sizes \\
- \fontspec{Latin Modern Roman 17 Regular}[OpticalSize=0]
- Latin Modern optical sizes
-\end{Xexample}
-
-The \feat{SizeFeatures} feature (\vref*{sec:sizefeature}) can be
-used to specify exactly which optical sizes will be used for ranges
-of font size. For example, something like:
-\begin{Verbatim}
- \fontspec{Latin Modern Roman}[
- UprightFeatures = { SizeFeatures = {
- {Size=-10, OpticalSize=8 },
- {Size= 10-14, OpticalSize=10},
- {Size= 14-18, OpticalSize=14},
- {Size= 18-, OpticalSize=18}}}
- ]
-\end{Verbatim}
-
-\part{OpenType}
-\label{sec:opentype-features}
-
-\section{Introduction}
-\label{sec:opentype-features-intro}
-
-OpenType fonts (and other `smart' font technologies such as AAT and Graphite) can change the appearance of text in many different ways.
-These changes are referred to as font features.
-When the user applies a feature~--- for example, small capitals~--- to a run of text, the code inside the font makes appropriate substitutions and small capitals appear in place of lowercase letters.
-However, the use of such features does not affect the underlying text.
-In our small caps example, the lowercase letters are still stored in the document; only the appearance has been changed by the OpenType feature.
-This makes it possible to search and copy text without difficulty.
-If the user selected a different font that does not support small caps, the `plain' lowercase letters would appear instead.
-
-Some OpenType features are required to support particular scripts, and these features are often applied automatically.
-The Indic scripts, for example, often require that characters be reshaped and reordered after they are typed by the user, in order to display them in the traditional ways that readers expect.
-Other features can be applied to support a particular language.
-The Junicode font for medievalists uses by default the Old English shape of the letter thorn, while in modern Icelandic thorn has a more rounded shape.
-If a user tags some text as being in Icelandic, Junicode will automatically change to the Icelandic shape through an OpenType feature that localises the shapes of letters.
-
-There are a large group of OpenType features, designed to support high quality typography a multitude of languages and writing scripts.
-Examples of some font features have already been shown in previous sections; the complete set of OpenType font features supported by \pkg{fontspec} is described below in \ref{sec:ot-feat}.
-
-The OpenType specification provides four-letter codes (e.g., \texttt{smcp} for small capitals) for each feature. The four-letter codes are given below along with the \pkg{fontspec} names for various features, for the benefit of people who are already familiar with OpenType. You can ignore the codes if they don't mean anything to you.
-
-
-\subsection{How to select font features}
-
-Font features are selected by a series of \meta{feature}=\meta{option}
-selections. Features are (usually) grouped logically; for example, all
-font features relating to ligatures are accessed by writing \verb|Ligatures={...}| with the appropriate argument(s), which could be \texttt{TeX}, \texttt{Rare}, etc., as shown below in \ref{sec:ot-feat-liga}.
-
-Multiple options may be given to
-any feature that accepts non-numerical input, although doing so will
-not always work. Some options will override others in generally
-obvious ways; \Verb|Numbers={OldStyle,Lining}| doesn't make much
-sense because the two options are mutually exclusive, and \XeTeX\
-will simply use the last option that is specified (in this case
-using \opt{Lining} over \opt{OldStyle}).
-
-If a feature or an option is requested that the font does not have,
-a warning is given in the console output. As mentioned in \vref{sec:quiet-warnings}
-these warnings can be suppressed by selecting the \texttt{[quiet]} package option.
-
-\subsection{How do I know what font features are supported by my fonts?}
-
-Although I've long desired to have a feature within \pkg{fontspec} to display the OpenType features within a font, it's never been high on my priority list.
-One reason for that is the existence of the document |opentype-info.tex|, which is available on \textsc{ctan} or typing |kpsewhich opentype-info.tex| in a Terminal window.
-Make a copy of this file and place it somewhere convenient.
-Then open it in your regular \TeX\ editor and change the font name to the font you'd like to query; after running through plain \XeTeX, the output \textsc{pdf} will look something like this:
-
-\begin{framed}
-\def\myfontname{[Asana-Math.otf]}
-%
-%%% OpenType-info.tex %%%
-
-\font\testfont="\myfontname/ICU" at 12pt
-
-\rightskip=0pt plus 1fil
-
-\font\titlefont=ec-lmssbx10 at 12pt
-\font\tenrm=ec-lmss10 at 9pt \tenrm
-\font\tentt=ec-lmtt10 at 9pt
-
-\def\fourcharcode#1{\begingroup
- \count0=#1\count1=\count0
- \ifnum\count0=0
- $\langle$default$\rangle$%
- \else
- \tentt
- '%
- \divide\count0 by "1000000
- \char\count0
- \multiply\count0 by "1000000
- \advance\count1 by -\count0
- \count0=\count1
- \divide\count0 by "10000
- \char\count0
- \multiply\count0 by "10000
- \advance\count1 by -\count0
- \count0=\count1
- \divide\count0 by "100
- \char\count0
- \multiply\count0 by "100
- \advance\count1 by -\count0
- \ifnum\count1=32 \ \else \char\count1 \fi
- '%
- \fi
- \endgroup
-}
-
-\newcount\scriptcount
-\newcount\scriptindex
-\newcount\scripttag
-\newcount\langcount
-\newcount\langindex
-\newcount\langtag
-\newcount\featurecount
-\newcount\featureindex
-\newcount\featuretag
-
-\leftline{\titlefont OpenType Layout features found in `\myfontname'}
-\nobreak
-
-\scriptcount=\XeTeXOTcountscripts\testfont
-\ifnum\scriptcount=0 \noindent None\par\fi
-
-\loop
- \ifnum\scriptindex<\scriptcount
- \smallskip
- \scripttag=\XeTeXOTscripttag\testfont\scriptindex
- \noindent script = \fourcharcode{\scripttag}\endgraf\nobreak
- \langcount=\XeTeXOTcountlanguages\testfont\scripttag
- \advance\langcount by 1 % one extra to get the default language system
- {\loop
- \langtag=\XeTeXOTlanguagetag\testfont\scripttag\langindex
- \indent language = \fourcharcode{\langtag}\endgraf\nobreak
- \featurecount=\XeTeXOTcountfeatures\testfont\scripttag\langtag
- {\indent\indent \hangindent=3\parindent \hangafter=1 features = \loop
- \featuretag=\XeTeXOTfeaturetag\testfont\scripttag\langtag\featureindex
- \fourcharcode{\featuretag}
- \advance\featureindex by 1
- \ifnum\featureindex<\featurecount \repeat\endgraf}
- \advance\langindex by 1
- \ifnum\langindex<\langcount \medskip \repeat}
- \advance\scriptindex by 1
-\repeat
-\end{framed}
-
-\noindent I intentionally picked a font that by design needs few font features; `regular' text fonts such as Latin Modern Roman contain many more, and I didn't want to clutter up the document too much.
-You'll then need to cross-check the OpenType feature tags with the `logical' names used by \pkg{fontspec}.
-
-\paragraph{otfinfo}
-Alternatively, and more simply, you can use the command line tool |otfinfo|, which is distributed with \TeX{}Live.
-Simply type in a Terminal window, say:
-\begin{Verbatim}
- otfinfo -f `kpsewhich lmromandunh10-oblique.otf`
-\end{Verbatim}
-which results in:
-\begin{Verbatim}[frame=single]
-aalt Access All Alternates
-cpsp Capital Spacing
-dlig Discretionary Ligatures
-frac Fractions
-kern Kerning
-liga Standard Ligatures
-lnum Lining Figures
-onum Oldstyle Figures
-pnum Proportional Figures
-size Optical Size
-tnum Tabular Figures
-zero Slashed Zero
-\end{Verbatim}
-
-\section{Complete listing of OpenType font features}
-\label{sec:ot-feat}
-
-\subsection{Ligatures}
-\label{sec:ot-feat-liga}
-
-\feat{Ligatures} refer to the replacement of two separate characters
-with a specially drawn glyph for functional or \ae sthetic reasons.
-The list of options, of which multiple may be selected at one time,
-is shown in \ref{feat:Ligatures}.
-A demonstration with the Linux Libertine fonts\note{\url{http://www.linuxlibertine.org/}} is shown in \exref{lig}.
-
-Note the additional features accessed with \verb|Ligatures=TeX|. These are
-not actually real OpenType features, but additions provided by \pkg{luaotfload} (i.e., \LuaTeX\ only) to emulate \TeX's behaviour for \textsc{ascii} input of curly quotes and punctuation. In \XeTeX\ this is achieved with the \feat{Mapping} feature (see \vref{sec:mapping}) but for consistency \verb|Ligatures=TeX| will perform the same function as \verb|Mapping=tex-text|.
-
-\subsection{Letters} \label{sec:letters}
-The \opt{Letters} feature specifies how the letters in the current font
-will look. OpenType fonts may contain the following options:
-\opt{Uppercase}, \opt{SmallCaps}, \opt{PetiteCaps},
-\opt{UppercaseSmallCaps}, \opt{UppercasePetiteCaps}, and
-\opt{Unicase}.
-
-
-\begin{features}{Ligatures}
-\otf*{Required}{rlig}
-\otf*{Common}{liga}
-\otf*{Contextual}{clig}
-\otf{Rare/Discretionary}{dlig}
-\otf{Historic}{hlig}
-\otf{TeX}{tlig/trep}
-\end{features}
-
-\begin{Lexample}[firstline=2]{lig}{An example of the \feat{Ligatures} feature.}
- \Huge\centering
- \def\test#1#2{%
- #2 $\to$ {\addfontfeature{#1} #2}\\}
- \fontspec{Linux Libertine O}
- \test{Ligatures=Historic}{strict}
- \test{Ligatures=Rare}{wurtzite}
- \test{Ligatures=NoCommon}{firefly}
-\end{Lexample}
-
-\begin{features}{Letters}
-\otf{Uppercase}{case}
-\otf{SmallCaps}{smcp}
-\otf{PetiteCaps}{pcap}
-\otf{UppercaseSmallCaps}{c2sc}
-\otf{UppercasePetiteCaps}{c2pc}
-\otf{Unicase}{unic}
-\end{features}
-
-Petite caps are smaller than small caps.
-\opt{SmallCaps} and \opt{PetiteCaps}
-turn lowercase letters into the smaller caps letters,
-whereas the \opt{Uppercase...} options turn the \emph{capital} letters into
-the smaller
-caps (good, \eg, for applying to already uppercase acronyms like
-`NASA').
-This difference is shown in \exref{caps}.
-`Unicase' is a weird hybrid of upper and lower case letters.
-
-\begin{Lexample}{caps}{Small caps from lowercase or uppercase letters.}
- \fontspec{texgyreadventor-regular.otf}[Letters=SmallCaps]
- THIS SENTENCE no verb \\
- \fontspec{texgyreadventor-regular.otf}[Letters=UppercaseSmallCaps]
- THIS SENTENCE no verb
-\end{Lexample}
-
-Note that the \opt{Uppercase} option will (probably)
-not actually map letters to uppercase.
- \note{If you want automatic uppercase letters, look to \LaTeX's
- \cmd\MakeUppercase\ command.}
-It is designed to select various
-uppercase forms for glyphs such as accents and dashes, such as shown
-in \exref{letters-uppercase}; note the raised position of the hyphen
-to better match the surrounding letters.
-
-\begin{Lexample}{letters-uppercase}{An example of the \opt{Uppercase} option of the \feat{Letters} feature.}
- \fontspec{Linux Libertine O}
- UPPER-CASE example \\
- \addfontfeature{Letters=Uppercase}
- UPPER-CASE example
-\end{Lexample}
-
-The \feat{Kerning} feature also contains an \opt{Uppercase} option,
-which adds a small amount of spacing in between letters (see \vref{sec:kerning}).
-
-\subsection{Numbers}
-
-The \feat{Numbers} feature defines how numbers will look in the
-selected font, accepting options shown in \ref{feat:Numbers}.
-
-\begin{features}{Numbers}
-\otf{Uppercase/Lining}{lnum}
-\otf{Lowercase/OldStyle}{onum}
-\otf{Proportional}{pnum}
-\otf{Monospaced}{tnum}
-\otf{SlashedZero}{zero}
-\otf{Arabic}{anum}
-\end{features}
-
-The synonyms
-\opt{Uppercase} and \opt{Lowercase} are equivalent to \opt{Lining} and
-\opt{OldStyle}, respectively.
-The differences have been shown previously
-in \vref{sec:addfontfeatures}.
-The \opt{Monospaced} option is useful for tabular material when digits need
-to be vertically aligned.
-
-The \opt{SlashedZero} option
-replaces the default zero with a slashed version to prevent
-confusion with an uppercase `O', shown in \exref{slashzero}.
-
-\begin{Lexample}{slashzero}{The effect of the \opt{SlashedZero} option.}
- \fontspec[Numbers=Lining]{texgyrebonum-regular.otf}
- 0123456789
- \fontspec[Numbers=SlashedZero]{texgyrebonum-regular.otf}
- 0123456789
-\end{Lexample}
-
-The \opt{Arabic} option (with tag \verb|anum|) maps regular numerals to their Arabic script or Persian equivalents
-based on the current \opt{Language} setting (see \vref{sec:ot}).
-This option is based on a \LuaTeX\ feature of the \pkg{luaotfload} package,
-not an OpenType feature. (Thus, this feature is unavailable in \XeTeX.)
-
-\subsection{Contextuals}
-This feature refers to substitutions of glyphs that vary `contextually' by their relative position in a word or string of characters;
-features such as contextual swashes are accessed via the options shown in \ref{feat:Contextuals}.
-
-\begin{features}{Contextuals}
-\otf{Swash}{cswh}
-\otf{Alternate}{calt}
-\otf{WordInitial}{init}
-\otf{WordFinal}{fina}
-\otf{LineFinal}{falt}
-\otf{Inner}{medi}
-\end{features}
-
-Historic forms are accessed in OpenType
-fonts via the feature \feat{Style=Historic}; this is generally \emph{not}
-contextual in OpenType, which is why it is not included in this feature.
-
-\subsection{Vertical Position}
-
-\begin{features}{VerticalPosition}
-\otf{Superior}{sups}
-\otf{Inferior}{subs}
-\otf{Numerator}{numr}
-\otf{Denominator}{dnom}
-\otf{ScientificInferior}{sinf}
-\otf{Ordinal}{ordn}
-\end{features}
-
-The \feat{VerticalPosition} feature is used to access things like
-subscript (\opt{Inferior}) and superscript (\opt{Superior}) numbers and
-letters (and a small amount of punctuation, sometimes).
-The \opt{Ordinal} option will only raise characters that are used
-in some languages directly after a number.
-The \opt{ScientificInferior} feature will move glyphs
-further below the baseline than the \opt{Inferior} feature.
-These are shown in \exref{vertpos}
-
-\opt{Numerator} and \opt{Denominator} should only be used for creating
-arbitrary fractions (see next section).
-
-\begin{Lexample}{vertpos}{The \feat{VerticalPosition} feature.}
- \fontspec{LibreCaslonText-Regular.otf}[VerticalPosition=Superior]
- Superior: 1234567890 \\
- \fontspec{LibreCaslonText-Regular.otf}[VerticalPosition=Numerator]
- Numerator: 12345 \\
- \fontspec{LibreCaslonText-Regular.otf}[VerticalPosition=Denominator]
- Denominator: 12345 \\
- \fontspec{LibreCaslonText-Regular.otf}[VerticalPosition=ScientificInferior]
- Scientific Inferior: 12345
-\end{Lexample}
-
-The \pkg{realscripts} package
-(which is also loaded by \pkg{xltxtra} for \XeTeX)
-redefines the \cmd\textsubscript\ and
-\cmd\textsuperscript\ commands to use the above font features automatically,
-including for use in footnote labels.
-If this is the only feature of \pkg{xltxtra} you wish to use, consider
-loading \pkg{realscripts} on its own instead.
-
-
-\subsection{Fractions}
-
-\begin{features}{Fractions}
-\otf{On}{frac}
-\otf{Alternate}{afrc}
-\end{features}
-
-For OpenType fonts use a regular text slash to create fractions, but
-the \feat{Fraction} feature must be explicitly activated.
-Some (Asian fonts predominantly) also provide for the
-\opt{Alternate} feature. These are both shown in \exref{ot-frac}.
-
-\begin{Xexample}{ot-frac}{The \feat{Fractions} feature.}
- \fontspec{Hiragino Maru Gothic Pro W4}
- 1/2 \quad 1/4 \quad 5/6 \quad 13579/24680 \\
- \addfontfeature{Fractions=On}
- 1/2 \quad 1/4 \quad 5/6 \quad 13579/24680 \\
- \addfontfeature{Fractions=Alternate}
- 1/2 \quad 1/4 \quad 5/6 \quad 13579/24680 \\
-\end{Xexample}
-
-
-\subsection{Stylistic Set variations}
-
-This feature selects a `Stylistic Set' variation,
-which usually corresponds to an alternate glyph style for a range of
-characters (usually an alphabet or subset thereof).
-This feature is specified numerically. These correspond to OpenType
-features |ss01|, |ss02|, etc.
-
-Two demonstrations from the Junicode
-font\note{\url{http://junicode.sf.net}}
-are shown in \exref{ss} and \exref{ss2}; thanks to Adam
-Buchbinder for the suggestion.
-
-\begin{Lexample}{ss}{Insular letterforms, as used in medieval Northern Europe, for the Junicode font accessed with the \feat{StylisticSet} feature.}
- \fontspec{Junicode}
- Insular forms. \\
- \addfontfeature{StylisticSet=2}
- Insular forms. \\
-\end{Lexample}
-
-\begin{Lexample}{ss2}{Enlarged minuscules (capital letters remain unchanged) for the Junicode font, accessed with the \feat{StylisticSet} feature.}
- \fontspec{Junicode}
- ENLARGED Minuscules. \\
- \addfontfeature{StylisticSet=6}
- ENLARGED Minuscules. \\
-\end{Lexample}
-
-Multiple stylistic sets may be selected simultaneously by writing, e.g.,
-|StylisticSet={1,2,3}|.
-
-The |StylisticSet| feature is a synonym of the \feat{Variant} feature for \AAT\ fonts.
-See \vref{sec:newfeatures} for a way to assign names to stylistic sets, which should be done on a per-font basis.
-
-\subsection{Character Variants}
-
-Similar to the `Stylistic Sets' above, `Character Variations' are selected
-numerically to adjust the output of (usually) a single character for the
-particular font. These correspond to the OpenType features |cv01| to |cv99|.
-
-For each character that can be varied, it is possible to select among
-possible options for that particular glyph.
-For example, in \exref{cv} a variety of glyphs for the character `v' are
-selected, in which |5| corresponds to the character `v' for this font feature,
-and the trailing |:|\meta{n} corresponds to which variety to choose.
-Georg Duffner's open source Garamond revival font\footnote{\url{http://www.georgduffner.at/ebgaramond/}} is used in this example.
-Character variants are specifically designed not to conflict with each
-other, so you can enable them individually per character as shown in
-\exref{cv2}. (Unlike stylistic alternates, say.)
-
-Note that the indexing starts from zero.
-
-\begin{Lexample}[firstline=2]{cv}{The \feat{CharacterVariant} feature showing off Georg Duffner's open source Garamond revival font.}
- \huge
- \fontspec{EB Garamond 12 Italic} very \\
- \fontspec{EB Garamond 12 Italic}[CharacterVariant=5] very \\
- \fontspec{EB Garamond 12 Italic}[CharacterVariant=5:0] very \\
- \fontspec{EB Garamond 12 Italic}[CharacterVariant=5:1] very \\
- \fontspec{EB Garamond 12 Italic}[CharacterVariant=5:2] very \\
- \fontspec{EB Garamond 12 Italic}[CharacterVariant=5:3] very
-\end{Lexample}
-
-\begin{Lexample}[firstline=2]{cv2}{The \feat{CharacterVariant} feature selecting multiple variants simultaneously.}
- \huge
- \fontspec{EB Garamond 12 Italic} \& violet \\
- \fontspec{EB Garamond 12 Italic}[CharacterVariant={4}] \& violet \\
- \fontspec{EB Garamond 12 Italic}[CharacterVariant={5:2}] \& violet \\
- \fontspec{EB Garamond 12 Italic}[CharacterVariant={4,5:2}] \& violet
-\end{Lexample}
-
-\subsection{Alternates}
-
-The \feat{Alternate} feature (for the raw OpenType feature |salt|) is used to access alternate font glyphs when variations exist in the font, such as in \exref{salt}.
-It uses a numerical selection, starting from zero, that will be different for each font.
-Note that the \texttt{Style=Alternate} option is equivalent
-to \texttt{Alternate=0} to access the default case.
-
-\begin{Xexample}[firstline=2]{salt}{The \feat{Alternate} feature.}
- \huge
- \fontspec{Linux Libertine O}
- \textsc{a} \& h \\
- \addfontfeature{Alternate=0}
- \textsc{a} \& h
-\end{Xexample}
-
-Note that the indexing starts from zero.
-
-See \vref{sec:newfeatures} for a way to assign names to alternates,
-which must be done on a per-font basis.
-
-\subsection{Style}
-\label{sec:ot-feat-style}
-
-\begin{features}{Style}
-\otf{Alternate}{salt}
-\otf{Italic}{ital}
-\otf{Ruby}{ruby}
-\otf{Swash}{swsh}
-\otf{Historic}{hist}
-\otf{TitlingCaps}{titl}
-\otf{HorizontalKana}{hkna}
-\otf{VerticalKana}{vkna}
-\end{features}
-
-`Ruby' refers to a small optical size, used in
-Japanese typography for annotations.
-For fonts with multiple |salt| OpenType features,
-use the fontspec \feat{Alternate} feature instead.
-
-\Exref{style-alt} and \exref{style-hist} both contain glyph
-substitutions with similar characteristics.
-Note the occasional inconsistency with which font features are labelled; a long-tailed `Q' could turn up anywhere!
-
- \begin{Xexample}[firstline=2]{style-alt}{Example of the \opt{Alternate} option of the \feat{Style} feature.}
- \Large
- \fontspec{Quattrocento Roman}
- M Q W \\
- \addfontfeature{Style=Alternate}
- M Q W
-\end{Xexample}
-
-\begin{Xexample}[firstline=2]{style-hist}{Example of the \opt{Historic} option of the \feat{Style} feature.}
- \Large
- \fontspec{Adobe Jenson Pro}
- M Q Z \\
- \addfontfeature{Style=Historic}
- M Q Z
-\end{Xexample}
-
-In other features, larger breadths of changes can be seen, covering
-the style of an entire alphabet. See \exref{style-titl} and \exref{style-itrub}; in the latter, the \opt{Italic} option affects the Latin text and the \opt{Ruby} option the Japanese.
-
-\begin{Xexample}[firstline=2]{style-titl}{Example of the \opt{TitlingCaps} option of the \feat{Style} feature.}
- \Large
- \fontspec{Adobe Garamond Pro}
- TITLING CAPS \\
- \addfontfeature{Style=TitlingCaps}
- TITLING CAPS
-\end{Xexample}
-
-\begin{Xexample}[firstline=2]{style-itrub}{Example of the \opt{Italic} and \opt{Ruby} options of the \feat{Style} feature.}
- \Large \def\kana{ようこそ ワカヨタレソ}
- \fontspec{Hiragino Mincho Pro}
- Latin \kana \\
- \addfontfeature{Style={Italic, Ruby}}
- Latin \kana
-\end{Xexample}
-
-Note the difference here between the default and the horizontal style kana
-in \exref{style-hvkana}: the horizontal style is slightly wider.
-
-\begin{Xexample}[firstline=2]{style-hvkana}{Example of the \opt{HorizontalKana} and \opt{VerticalKana} options of the \feat{Style} feature.}
- \Large \def\kana{ようこそ ワカヨタレソ}
- \fontspec{Hiragino Mincho Pro}
- \kana \\
- {\addfontfeature{Style=HorizontalKana}
- \kana } \\
- {\addfontfeature{Style=VerticalKana}
- \kana }
-\end{Xexample}
-
-\subsection{Diacritics}
-Specifies how combining diacritics should be placed.
-These will usually be controlled automatically
-according to the Script setting.
-
-\begin{features}{Diacritics}
-\otf*{MarkToBase}{mark}
-\otf*{MarkToMark}{mkmk}
-\otf*{AboveBase}{abvm}
-\otf*{BelowBase}{blwm}
-\end{features}
-
-\subsection{Kerning}\label{sec:kerning}
-Specifies how inter-glyph spacing should behave.
-Well-made fonts include information for how differing
-amounts of space should be inserted between separate character pairs.
-This kerning space is inserted automatically but in rare
-circumstances you may wish to turn it off.
-
-\begin{features}{Kerning}
-\otf{Uppercase}{cpsp}
-\otf*[Off]{On}{kern}
-\end{features}
-
-As briefly mentioned previously at the end of \vref{sec:letters},
-the \opt{Uppercase} option will add a small amount of tracking between
-uppercase letters, seen in \exref{kernup}, which uses the Romande
-fonts\note{\url{http://arkandis.tuxfamily.org/adffonts.html}}
-(thanks to Clea F. Rees for the suggestion).
-The \opt{Uppercase} option acts separately to the regular kerning
-controlled by the \opt{On}/\opt{Off} options.
-
-\begin{Xexample}[firstline=2]{kernup}{Adding extra kerning for uppercase letters. (The difference is usually very small.)}
- \large
- \fontspec{Romande ADF Std Bold}
- UPPERCASE EXAMPLE \\
- \addfontfeature{Kerning=Uppercase}
- UPPERCASE EXAMPLE
-\end{Xexample}
-
-
-\subsection{Font transformations}
-
-In rare situations users may want to mechanically distort the shapes of the glyphs in the current font such as shown in \exref{fake}. Please don't overuse these features; they are \emph{not} a good alternative to having the real shapes.
-
-\begin{Xexample}{fake}{Articifial font transformations.}
- \fontspec{Charis SIL} \emph{ABCxyz} \quad
- \fontspec{Charis SIL}[FakeSlant=0.2] ABCxyz
-
- \fontspec{Charis SIL} ABCxyz \quad
- \fontspec{Charis SIL}[FakeStretch=1.2] ABCxyz
-
- \fontspec{Charis SIL} \textbf{ABCxyz} \quad
- \fontspec{Charis SIL}[FakeBold=1.5] ABCxyz
-\end{Xexample}
-
-If values are omitted, their defaults are as shown above.
-
-If you want the bold shape to be faked automatically, or the italic shape
-to be slanted automatically, use the \feat{AutoFakeBold} and
-\feat{AutoFakeSlant} features. For example, the following two invocations
-are equivalent:
-\begin{Verbatim}
- \fontspec[AutoFakeBold=1.5]{Charis SIL}
- \fontspec[BoldFeatures={FakeBold=1.5}]{Charis SIL}
-\end{Verbatim}
-If both of the \feat{AutoFake...} features are used, then the bold italic
-font will also be faked.
-
-The \feat{FakeBold} and \feat{AutoFakeBold} features are only available with the \XeTeX\ engine and will be ignored in \LuaTeX.
-
-\subsection{Annotation}
-Some fonts are equipped with an extensive range of
-numbers and numerals in different forms. These are accessed with the
-\feat{Annotation} feature (OpenType feature |nalt|), selected numerically as shown in
-\exref{ot-annot}.
-
-\begin{Xexample}{ot-annot}{Annotation forms for OpenType fonts.}
- \fontspec{Hiragino Maru Gothic Pro}
- 1 2 3 4 5 6 7 8 9
- \def\x#1{\\{\addfontfeature{Annotation=#1}
- 1 2 3 4 5 6 7 8 9 }}
- \x0\x1\x2\x3\x4\x5\x6\x7\x7\x8\x9
-\end{Xexample}
-
-Note that the indexing starts from zero.
-
-\subsection{CJK shape}
-
-\begin{features}{CJKShape}
-\otf{Traditional}{trad}
-\otf{Simplified} {smpl}
-\otf{JIS1978} {jp78}
-\otf{JIS1983} {jp83}
-\otf{JIS1990} {jp90}
-\otf{Expert} {expt}
-\otf{NLC} {nlck}
-\end{features}
-
-There have been many standards for how CJK ideographic
-glyphs are `supposed' to look. Some fonts will contain many alternate
-glyphs available in order to be able to display these gylphs
-correctly in whichever form is appropriate. Both \AAT\ and OpenType
-fonts support the following \feat{CJKShape} options:
-\opt{Traditional}, \opt{Simplified}, \opt{JIS1978}, \opt{JIS1983},
-\opt{JIS1990}, and \opt{Expert}. OpenType also supports the \opt{NLC} option.
-
-\begin{Xexample}[firstline=2]{ot-cjk-shape}{Different standards for CJK ideograph presentation.}
- \LARGE\def\text{ 唖噛躯 妍并訝}
- \fontspec{Hiragino Mincho Pro}
- {\addfontfeature{CJKShape=Traditional}
- \text } \\
- {\addfontfeature{CJKShape=NLC}
- \text } \\
- {\addfontfeature{CJKShape=Expert}
- \text }
-\end{Xexample}
-
-\subsection{Character width}\label{sec:CharacterWidth}
-Many Asian fonts are equipped with variously spaced characters for
-shoe-horning into their generally monospaced text.
-These are
-accessed through the \feat{CharacterWidth} feature.
-
-\begin{features}{CharacterWidth}
-\otf{Proportional}{pwid}
-\otf{Full} {fwid}
-\otf{Half} {hwid}
-\otf{Third} {twid}
-\otf{Quarter} {qwid}
-\otf{AlternateProportional}{palt}
-\otf{AlternateHalf}{halt}
-\end{features}
-
-Japanese alphabetic glyphs (in Hiragana or Katakana) may be typeset
-proportionally, to better fit horizontal measures, or monospaced, to
-fit into the rigid grid imposed by ideographic typesetting. In this
-latter case, there are also half-width forms for squeezing more kana
-glyphs (which are less complex than the kanji they are amongst) into
-a given block of space. The same features are given to roman letters
-in Japanese fonts, for typesetting foreign words in the same style
-as the surrounding text.
-
-\begin{Xexample}[firstline=2]{charwdprop}{Proportional or fixed width forms.}
- \def\texta{ようこそ}\def\textb{ワカヨタレソ}
- \def\test{\makebox[2cm][l]{\texta}%
- \makebox[2.5cm][l]{\textb}%
- \makebox[2.5cm][l]{abcdef}}
- \fontspec{Hiragino Mincho Pro}
- {\addfontfeature{CharacterWidth=Proportional}\test}\\
- {\addfontfeature{CharacterWidth=Full}\test}\\
- {\addfontfeature{CharacterWidth=Half}\test}
-\end{Xexample}
-
-The same situation occurs with numbers, which are provided in
-increasingly illegible compressed forms seen in \exref{charwd}.
-
-\begin{Xexample}[firstline=2]{charwd}{Numbers can be compressed significantly.}
- \centering
- \fontspec[Renderer=AAT]{Hiragino Mincho Pro}
- {\addfontfeature{CharacterWidth=Full}
- ---12321---}\\
- {\addfontfeature{CharacterWidth=Half}
- ---1234554321---}\\
- {\addfontfeature{CharacterWidth=Third}
- ---123456787654321---}\\
- {\addfontfeature{CharacterWidth=Quarter}
- ---12345678900987654321---}
-\end{Xexample}
-
-\subsection{Vertical typesetting}
-
-TODO!
-
-
-\subsection{OpenType scripts and languages}\label{sec:ot}
-
-Fonts that include glyphs for various scripts and languages may contain different font features for the different character sets and languages they support, and different font features may behave differently depending on the script or language chosen.
-When multilingual fonts are used, it is important to select which language
-they are being used for, and more importantly what script is being used.
-
-The `script' refers to the alphabet in use; for example, both English
-and French use the Latin script. Similarly, the Arabic script can be used
-to write in both the Arabic and Persian languages.
-
-The
-\feat{Script} and \feat{Language} features are used to designate this information. The possible options are
-tabulated in \vref{tab:ot-scpt} and \vref{tab:ot-lang},
-respectively. When a script or language is requested that is not
-supported by the current font, a warning is printed in the console output.
-
-Because these font features can
-change which features are able to be selected for the font, they are automatically selected
-by \pkg{fontspec} before all others and, if \XeTeX\ is being used, will
-specifically select the \opt{OpenType}
-renderer for this font, as described in \vref{sec:renderer}.
-
-
-\subsubsection{\feat{Script} and \feat{Language} examples}
-
-In the examples shown in \exref{script-lang},
-the Code2000 font\note{\url{http://www.code2000.net/}}
-is used to typeset various input texts with and without the OpenType Script
-applied for various alphabets.
-The text is only rendered correctly in the second case;
-many examples of incorrect diacritic spacing as
-well as a lack of contextual ligatures and rearrangement can be
-seen.
-Thanks to \name{Jonathan Kew}, \name{Yves Codet} and
-\name{Gildas Hamel} for their contributions towards these examples.
-
-\begin{Xexample}[firstline=14,lastline=23]{script-lang}{An example of various Scripts and Languages.}
-\def\testfeature#1#2{%^^A
- \fontspec{\examplefont}#2 & \fontspec[#1]{\examplefont}#2\\[1ex]}
-\def \examplefont{Code2000}
-\def \arabictext{العربي}
-\def \devanagaritext{हिन्दी}
-\def \bengalitext{লেখ}
-\def \gujaratitext{મર્યાદા-સૂચક નિવેદન}
-\def \malayalamtext{നമ്മുടെ പാരബര്യ}
-\def \gurmukhitext{ਆਦਿ ਸਚੁ ਜੁਗਾਦਿ ਸਚੁ}
-\def \tamiltext{தமிழ் தேடி}
-\def \hebrewtext{רִדְתָּֽהּ}
-\def \vietnamesetext{cấp số mỗi}
-\begin{tabular}{r@{\quad}l}
- \testfeature{Script=Arabic}{\arabictext}
- \testfeature{Script=Devanagari}{\devanagaritext}
- \testfeature{Script=Bengali}{\bengalitext}
- \testfeature{Script=Gujarati}{\gujaratitext}
- \testfeature{Script=Malayalam}{\malayalamtext}
- \testfeature{Script=Gurmukhi}{\gurmukhitext}
- \testfeature{Script=Tamil}{\tamiltext}
- \testfeature{Script=Hebrew}{\hebrewtext}
- \def\examplefont{Doulos SIL}
- \testfeature{Language=Vietnamese}{\vietnamesetext}
-\end{tabular}
-\end{Xexample}
-
-
-
-\subsubsection{Defining new scripts and languages}
-
-\DescribeMacro{\newfontscript}
-\DescribeMacro{\newfontlanguage}
-While the scripts and languages listed in \ref{tab:ot-scpt} and \ref{tab:ot-lang}
-are intended to be comprehensive, there may be some missing; alternatively,
-you might wish to use different names to access scripts/languages that are
-already listed.
-Adding scripts and languages can be performed with the \cmd\newfontscript\
-and \cmd\newfontlanguage\ commands. For example,
-\begin{Verbatim}
- \newfontscript{Arabic}{arab}
- \newfontlanguage{Zulu}{ZUL}
-\end{Verbatim}
-The first argument is the \pkg{fontspec} name, the second the OpenType
-tag. The advantage to using these commands rather than \cmd\newfontfeature\
-(see \vref{sec:newfeatures}) is the error-checking that is performed when
-the script or language is requested.
-
-\begin{table}[!hbp]
- \caption{Defined \opt{Script}s for OpenType fonts. Aliased names are shown in adjacent positions marked with red pilcrows ({\sffamily\textcolor{red}{\P}}).}
- \label{tab:ot-scpt}
-\def\dup{\makebox[0pt][r]{\textcolor{red}{\P}}}
-\setlength\columnseprule{0pt}
- \hrule
- \begin{multicols}{4}\setlength\parindent{0pt}
- \sffamily\scriptsize
- Arabic \par Armenian \par Balinese \par Bengali \par Bopomofo \par Braille \par Buginese \par Buhid \par Byzantine Music \par Canadian Syllabics \par Cherokee \par \dup CJK \par \dup CJK Ideographic \par Coptic \par Cypriot Syllabary \par Cyrillic \par Default \par Deseret \par Devanagari \par Ethiopic \par Georgian \par Glagolitic \par Gothic \par Greek \par Gujarati \par Gurmukhi \par Hangul Jamo \par Hangul \par Hanunoo \par Hebrew \par \dup Hiragana and Katakana \par \dup Kana \par Javanese \par Kannada \par Kharosthi \par Khmer \par Lao \par Latin \par Limbu \par Linear B \par Malayalam \par \dup Math \par \dup Maths \par Mongolian \par Musical Symbols \par Myanmar \par N'ko \par Ogham \par Old Italic \par Old Persian Cuneiform \par Oriya \par Osmanya \par Phags-pa \par Phoenician \par Runic \par Shavian \par Sinhala \par Sumero-Akkadian Cuneiform \par Syloti Nagri \par Syriac \par Tagalog \par Tagbanwa \par Tai Le \par Tai Lu \par Tamil \par Telugu \par Thaana \par Thai \par Tibetan \par Tifinagh \par Ugaritic Cuneiform \par Yi
- \end{multicols}
- \hrule
-\end{table}
-
-\begin{table}[p]
- \vspace*{-3cm}
- \hspace{-3cm}
- \def\dup{\makebox[0pt][r]{\textcolor{red}{\P}}}
- \begin{minipage}{\linewidth+4cm}
- \caption{Defined \opt{Language}s for OpenType fonts. Aliased names are shown in adjacent positions marked with red pilcrows ({\sffamily\textcolor{red}{\P}}).}
- \label{tab:ot-lang}
- \setlength\columnseprule{0pt}
- \hrule
- \begin{multicols}{6}
- \everypar{\setlength\parindent{0pt}\setlength\hangindent{2em}}
- \sffamily\footnotesize\raggedright
- Abaza \par Abkhazian \par Adyghe \par Afrikaans \par Afar \par Agaw \par Altai \par Amharic \par Arabic \par Aari \par Arakanese \par Assamese \par Athapaskan \par Avar \par Awadhi \par Aymara \par Azeri \par Badaga \par Baghelkhandi \par Balkar \par Baule \par Berber \par Bench \par Bible Cree \par Belarussian \par Bemba \par Bengali \par Bulgarian \par Bhili \par Bhojpuri \par Bikol \par Bilen \par Blackfoot \par Balochi \par Balante \par Balti \par Bambara \par Bamileke \par Breton \par Brahui \par Braj Bhasha \par Burmese \par Bashkir \par Beti \par Catalan \par Cebuano \par Chechen \par Chaha Gurage \par Chattisgarhi \par Chichewa \par Chukchi \par Chipewyan \par Cherokee \par Chuvash \par Comorian \par Coptic \par Cree \par Carrier \par Crimean Tatar \par Church Slavonic \par Czech \par Danish \par Dargwa \par Woods Cree \par German \par Default \par Dogri \par Divehi \par Djerma \par Dangme \par Dinka \par Dungan \par Dzongkha \par Ebira \par Eastern Cree \par Edo \par Efik \par Greek \par English \par Erzya \par Spanish \par Estonian \par Basque \par Evenki \par Even \par Ewe \par French Antillean \par \dup Farsi \par \dup Parsi \par \dup Persian \par Finnish \par Fijian \par Flemish \par Forest Nenets \par Fon \par Faroese \par French \par Frisian \par Friulian \par Futa \par Fulani \par Ga \par Gaelic \par Gagauz \par Galician \par Garshuni \par Garhwali \par Ge'ez \par Gilyak \par Gumuz \par Gondi \par Greenlandic \par Garo \par Guarani \par Gujarati \par Haitian \par Halam \par Harauti \par Hausa \par Hawaiin \par Hammer-Banna \par Hiligaynon \par Hindi \par High Mari \par Hindko \par Ho \par Harari \par Croatian \par Hungarian \par Armenian \par Igbo \par Ijo \par Ilokano \par Indonesian \par Ingush \par Inuktitut \par Irish \par Irish Traditional \par Icelandic \par Inari Sami \par Italian \par Hebrew \par Javanese \par Yiddish \par Japanese \par Judezmo \par Jula \par Kabardian \par Kachchi \par Kalenjin \par Kannada \par Karachay \par Georgian \par Kazakh \par Kebena \par Khutsuri Ge!
orgian \par Khakass \par Khanty-Kazim \par Khmer \par Khanty-Shurishkar \par Khanty-Vakhi \par Khowar \par Kikuyu \par Kirghiz \par Kisii \par Kokni \par Kalmyk \par Kamba \par Kumaoni \par Komo \par Komso \par Kanuri \par Kodagu \par Korean Old Hangul \par Konkani \par Kikongo \par Komi-Permyak \par Korean \par Komi-Zyrian \par Kpelle \par Krio \par Karakalpak \par Karelian \par Karaim \par Karen \par Koorete \par Kashmiri \par Khasi \par Kildin Sami \par Kui \par Kulvi \par Kumyk \par Kurdish \par Kurukh \par Kuy \par Koryak \par Ladin \par Lahuli \par Lak \par Lambani \par Lao \par Latin \par Laz \par L-Cree \par Ladakhi \par Lezgi \par Lingala \par Low Mari \par Limbu \par Lomwe \par Lower Sorbian \par Lule Sami \par Lithuanian \par Luba \par Luganda \par Luhya \par Luo \par Latvian \par Majang \par Makua \par Malayalam Traditional \par Mansi \par Marathi \par Marwari \par Mbundu \par Manchu \par Moose Cree \par Mende \par Me'en \par Mizo \par Macedonian \par Male \par Malagasy \par Malinke \par Malayalam Reformed \par Malay \par Mandinka \par Mongolian \par Manipuri \par Maninka \par Manx Gaelic \par Moksha \par Moldavian \par Mon \par Moroccan \par Maori \par Maithili \par Maltese \par Mundari \par Naga-Assamese \par Nanai \par Naskapi \par N-Cree \par Ndebele \par Ndonga \par Nepali \par Newari \par Nagari \par Norway House Cree \par Nisi \par Niuean \par Nkole \par N'ko \par Dutch \par Nogai \par Norwegian \par Northern Sami \par Northern Tai \par Esperanto \par Nynorsk \par Oji-Cree \par Ojibway \par Oriya \par Oromo \par Ossetian \par Palestinian Aramaic \par Pali \par Punjabi \par Palpa \par Pashto \par Polytonic Greek \par Pilipino \par Palaung \par Polish \par Provencal \par Portuguese \par Chin \par Rajasthani \par R-Cree \par Russian Buriat \par Riang \par Rhaeto-Romanic \par Romanian \par Romany \par Rusyn \par Ruanda \par Russian \par Sadri \par Sanskrit \par Santali \par Sayisi \par Sekota \par Selkup \par Sango \par Shan \par Sibe \par Sidamo \par Silte Gurage \par Skolt Sami \par Slovak \par !
Slavey \par Slovenian \par Somali \par Samoan \par Sena \par Sindhi \par Sinhalese \par Soninke \par Sodo Gurage \par Sotho \par Albanian \par Serbian \par Saraiki \par Serer \par South Slavey \par Southern Sami \par Suri \par Svan \par Swedish \par Swadaya Aramaic \par Swahili \par Swazi \par Sutu \par Syriac \par Tabasaran \par Tajiki \par Tamil \par Tatar \par TH-Cree \par Telugu \par Tongan \par Tigre \par Tigrinya \par Thai \par Tahitian \par Tibetan \par Turkmen \par Temne \par Tswana \par Tundra Nenets \par Tonga \par Todo \par Turkish \par Tsonga \par Turoyo Aramaic \par Tulu \par Tuvin \par Twi \par Udmurt \par Ukrainian \par Urdu \par Upper Sorbian \par Uyghur \par Uzbek \par Venda \par Vietnamese \par Wa \par Wagdi \par West-Cree \par Welsh \par Wolof \par Tai Lue \par Xhosa \par Yakut \par Yoruba \par Y-Cree \par Yi Classic \par Yi Modern \par Chinese Hong Kong \par Chinese Phonetic \par Chinese Simplified \par Chinese Traditional \par Zande \par Zulu
- \end{multicols}
- \hspace{4pt}
- \hrule
- \end{minipage}
-\end{table}
-
-
-
-\part{\LuaTeX-only font features}
-\label{sec:luatex-features}
-
-\section{OpenType font feature files}
-
-An OpenType font feature file is a plain text file describing OpenType layout
-feature of a font in a human-readable format. The syntax of OpenType feature
-files is defined by Adobe\note{\url{http://www.adobe.com/devnet/opentype/afdko/topic_feature_file_syntax.html}}.
-
-Feature files can be used to add or customize OpenType features of a font on
-the fly without editing the font file itself.
-
-Adding a new OpenType feature is as creating a plain text file defining
-the new feature and then loading it by passing its name or path to
-\feat{FeatureFile}, then OpenType features defined in the file can be
-activated as usual.
-
-For example, when adding one of the default features like \texttt{kern}
-or \texttt{liga}, no special activation is needed. On the other hand,
-an optional feature like \texttt{onum} or \texttt{smcp} will be
-activated when old style numbers or small capitals are activated,
-respectively. However, OpenType feature in the feature file can have any
-and that can be used to selectively activate the feature; for example
-defining a ligature feature called \texttt{mlig} and then activating it
-using \feat{RawFeature} option without activating other ligatures in the
-font.
-
-Figure~\ref{fig:featurefile} shows an example feature file. The first two
-lines set the script and language under which the defined features will be
-available, which the default language in both default and Latin scripts,
-respectively.
-
-Then it defines a \texttt{liga} feature, which is a glyph substitution
-feature. The names starting with backslash are glyph names that is to be
-substituted and while the leading backslash is optional, it is used to
-escape glyph names when they interfere with preserved keywords. It should
-also be noted that glyph names are font specific and the same glyph can be
-named differently in different fonts.
-
-Glyph positioning features like kerning can be defined in a similar way,
-but instead of the keyword \texttt{sub(stitute)} the keyword
-\texttt{pos(ition)} is used instead. Figure~\ref{fig:featurefile} shows
-an example of adding kerning between \texttt{AY} and \texttt{ay}\note{
-The kerning is expressed in font design units which are fractions of em
-depending on the \emph{units per em} value of the font, usually 1000 for
-PostScript fonts and 2048 for TrueType fonts.}.
-
-Lines starting with \verb|#| are comments and will be ignored.
-
-An OpenType feature file can have any number of features and can have a
-mix of substitution and positioning features, please refer to the full
-feature file specification for further documentation.
-
-\begin{figure}
-\caption{An example font feature file.}
-\label{fig:featurefile}
-\hrule
-\begin{Verbatim}
-languagesystem DFLT dflt;
-languagesystem latn dflt;
-
-# Ligatures
-feature liga {
- sub \f \i by \fi;
- sub \f \l by \fl;
-} liga;
-
-# Kerning
-feature kern {
- pos \A \Y -200;
- pos \a \y -80;
-} kern;
-\end{Verbatim}
-\hrule
-\end{figure}
-
-\part{Fonts and features with \XeTeX}
-\label{sec:xetex-features}
-
-
-
-
-\section{\XeTeX-only font features}
-
-The features described here are available for any font
-selected by \pkg{fontspec}.
-
-\subsection{Mapping}
-\label{sec:mapping}
-
-\feat{Mapping} enables a \XeTeX\ text-mapping scheme, shown in \exref{mapping}.
-
-\begin{Xexample}{mapping}{\XeTeX's \feat{Mapping} feature.}
- \fontspec{Cochin}[Mapping=tex-text]
- ``!`A small amount of---text!''
-\end{Xexample}
-
-Using the |tex-text| mapping is also equivalent to writing |Ligatures=TeX|.
-The use of the latter syntax is recommended for better compatibility with
-\LuaTeX\ documents.
-
-
-\subsection{Letter spacing}
-Letter spacing, or tracking, is the term given to adding (or subtracting) a small amount of horizontal space in between adjacent characters. It is specified with the \feat{LetterSpace}, which takes a numeric argument,
-shown in \exref{tracking}.
-
-The letter spacing parameter is a normalised additive factor (not a scaling factor); it is defined as a percentage of the font size. That is, for a 10\,pt font, a letter spacing parameter of `|1.0|' will add 0.1\,pt between each letter.
-
-\begin{Xexample}{tracking}{The \feat{LetterSpace} feature.}
- \fontspec{Didot}
- \addfontfeature{LetterSpace=0.0}
- USE TRACKING FOR DISPLAY CAPS TEXT \\
- \addfontfeature{LetterSpace=2.0}
- USE TRACKING FOR DISPLAY CAPS TEXT
-\end{Xexample}
-
-This functionality \emph{should not be used for lowercase text}, which is spacing correctly to begin with, but it can be very useful, in small amounts, when setting small caps or all caps titles.
-Also see the OpenType \opt{Uppercase}
-option of the \feat{Letters} feature (\vref*{sec:letters}).
-
-\subsection{Different font technologies: \AAT\ and OpenType}\label{sec:renderer}
-
-\XeTeX\ supports two rendering technologies for typesetting, selected with
-the \feat{Renderer} font feature. The first, \opt{AAT}, is
-that provided (only) by \MacOSX\ itself. The second, \opt{OpenType},
-is an open source OpenType interpreter.
-\note{v2.4: This was called `\texttt{ICU}' in previous versions of \XeTeX\ and \pkg{fontspec}.
-Backwards compatibility is preserved.}
-It provides greater support for
-OpenType features, notably contextual arrangement, over \opt{AAT}.
-
-In general, this feature will not need to be explicitly called: for OpenType
-fonts, the \opt{OpenType} renderer is used automatically, and for \AAT\ fonts,
-\opt{AAT} is chosen by default. Some fonts, however, will contain font tables
-for \emph{both} rendering technologies, such as the Hiragino Japanese fonts
-distributed with \MacOSX, and in these cases the choice may be required.
-
-Among some other font features only available through a specific renderer,
-\opt{OpenType} provides for the \feat{Script} and \feat{Language} features, which allow
-different font behaviour for different alphabets and languages; see \vref{sec:ot}
-for the description of these features. {\em Because these font features can
-change which features are able to be selected for the font instance, they are selected
-by \pkg{fontspec} before all others and will automatically and without warning
-select the \opt{OpenType} renderer.}
-
-
-\subsection{Optical font sizes} \label{sec:aat-opticalsize}
-
-Multiple Master fonts are parameterised over
-orthogonal font axes, allowing continuous selection along such
-features as weight, width, and optical size~(see \vref{sec:mm} for
-further details). Whereas an OpenType font will have only a few separate
-optical sizes, a Multiple Master font's optical size can be
-specified over a continuous range. Unfortunately, this flexibility makes
-it harder to create an automatic interface through \LaTeX, and the
-optical size for a Multiple Master font must always be specified
-explicitly.
-\begin{Verbatim}
- \fontspec{Minion MM Roman}[OpticalSize=11]
- MM optical size test \\
- \fontspec{Minion MM Roman}[OpticalSize=47]
- MM optical size test \\
- \fontspec{Minion MM Roman}[OpticalSize=71]
- MM optical size test \\
-\end{Verbatim}
-
-
-
-
-\section{\MacOSX's \AAT\ fonts}
-\label{sec:aat-features}
-
-\begin{quote}\itshape
-\textbf{Warning!}
-\XeTeX's implementation on \MacOSX\ is currently in a state of flux and the information contained below may well be wrong from 2013 onwards.
-There is a good chance that the features described in this section will not be available any more as \XeTeX's completes its transition to a cross-platform--only application.
-\end{quote}
-
-\MacOSX's font technology began life before the ubiquitous-OpenType era
-and revolved around the Apple-invented `\AAT' font format. This format
-had some advantages (and other disadvantages) but it never became widely
-popular in the font world.
-
-Nonetheless, this is the font format that was first supported by \XeTeX\
-(due to its pedigree on \MacOSX\ in the first place) and was the first
-font format supported by \pkg{fontspec}. A number of fonts distributed with
-\MacOSX\ are still in the \AAT\ format, such as `Skia'.
-
-\subsection{Ligatures}
-
-\feat{Ligatures} refer to the replacement of two separate characters
-with a specially drawn glyph for functional or \ae sthetic reasons.
-For \AAT\ fonts, you may choose from any combination of \opt{Required},
-\opt{Common}, \opt{Rare} (or \opt{Discretionary}), \opt{Logos}, \opt{Rebus},
-\opt{Diphthong}, \opt{Squared}, \opt{AbbrevSquared}, and \opt{Icelandic}.
-
-Some other Apple \AAT\ fonts have those `Rare' ligatures contained in
-the \opt{Icelandic} feature. Notice also that the old \TeX\ trick of
-splitting up a ligature with an empty brace pair does not work in
-\XeTeX; you must use a 0\,pt kern or \cs{hbox} (\eg, \cs{null}) to
-split the characters up if you do not want a ligature to be performed (the usual examples for when this might be desired are words like `shelf\null full').
-
-\subsection{Letters} \label{sec:aat-letters}
-The \opt{Letters} feature specifies how the letters in the current font
-will look. For \AAT\ fonts, you may choose from \opt{Normal},
-\opt{Uppercase}, \opt{Lowercase}, \opt{SmallCaps}, and
-\opt{InitialCaps}.
-
-
-\subsection{Numbers}
-The \feat{Numbers} feature defines how numbers will look in the
-selected font. For \AAT\ fonts, they may be a
-combination of \opt{Lining} or \opt{OldStyle} and \opt{Proportional} or
-\opt{Monospaced} (the latter is good for tabular material). The synonyms
-\opt{Uppercase} and \opt{Lowercase} are equivalent to \opt{Lining} and
-\opt{OldStyle}, respectively. The differences have been shown previously
-in \vref{sec:addfontfeatures}.
-
-\subsection{Contextuals} \label{sec:contextuals}
-This feature refers to glyph substitution that vary by their position;
-things like contextual swashes are implemented here.
-The options for \AAT\ fonts are
-\opt{WordInitial}, \opt{WordFinal} (\exref{wordcx}), \opt{LineInitial},
-\opt{LineFinal}, and \opt{Inner} (\exref{longsaat}, also called `non-final' sometimes). As
-non-exclusive selectors, like the ligatures, you can turn them off
-by prefixing their name with \opt{No}.
-
-\begin{Xexample}{wordcx}{Contextual glyph for the beginnings and ends of words.}
- \newfontface\fancy{Hoefler Text Italic}
- [Contextuals={WordInitial,WordFinal}]
- \fancy where is all the vegemite
-\end{Xexample}
-
-\begin{Xexample}{longsaat}{A contextual feature for the `long s' can be convenient as the character does not need to be marked up explicitly.}
- \fontspec{Hoefler Text}[Contextuals=Inner]
- `Inner' swashes can \emph{sometimes} \\
- contain the archaic long~s.
-\end{Xexample}
-
-
-
-\subsection{Vertical position}
-The \feat{VerticalPosition} feature is used to access things like
-subscript (\opt{Inferior}) and superscript (\opt{Superior}) numbers and
-letters (and a small amount of punctuation, sometimes).
-The \opt{Ordinal} option is (supposed to be)
-contextually sensitive to only raise characters that appear directly
-after a number.
-These are shown in \exref{aat-supp}.
-
-\begin{Xexample}{aat-supp}{Vertical position for AAT fonts.}
- \fontspec{Skia}
- Normal
- \fontspec{Skia}[VerticalPosition=Superior]
- Superior
- \fontspec{Skia}[VerticalPosition=Inferior]
- Inferior \\
- \fontspec{Skia}[VerticalPosition=Ordinal]
- 1st 2nd 3rd 4th 0th 8abcde
-\end{Xexample}
-
-The \pkg{realscripts} package
-(also loaded by \pkg{xltxtra})
-redefines the \cmd\textsubscript\ and
-\cmd\textsuperscript\ commands to use the above font features,
-including for use in footnote labels.
-
-\subsection{Fractions}
-Many fonts come with the capability to typeset various forms of
-fractional material. This is accessed in \pkg{fontspec} with the
-\feat{Fractions} feature, which may be turned \opt{On} or \opt{Off}
-in both \AAT\ and OpenType fonts.
-
-In \AAT\ fonts, the `fraction slash' or solidus character, is
-to be used to create fractions. When \feat{Fractions} are turned
-\opt{On}, then only pre-drawn fractions will be used.
-See \exref{aat-frac}.
-
-Using the \opt{Diagonal} option (\AAT\ only), the font will attempt
-to create the fraction from superscript and subscript
-characters.
-
-\edef\caretcc{\the\catcode`\^}
-\catcode`\^=12\relax
-\begin{Xexample}{aat-frac}{Fractions in AAT fonts. The \texttt{\relax^^^^2044} glyph is the `fraction slash' that may be typed in \MacOSX\ with \textsc{opt+shift+1}; not shown literally here due to font contraints.}
- \fontspec[Fractions=On]{Skia}
- 1{^^^^2044}2 \quad 5{^^^^2044}6 \\ % fraction slash
- 1/2 \quad 5/6 % regular slash
-
- \fontspec[Fractions=Diagonal]{Skia}
- 13579{^^^^2044}24680 \\ % fraction slash
- \quad 13579/24680 % regular slash
-\end{Xexample}
-\catcode`\^=\caretcc\relax
-
-Some (Asian fonts predominantly) also provide for the
-\opt{Alternate} feature shown in \exref{frac-alt}.
-
-\begin{Xexample}{frac-alt}{Alternate design of pre-composed fractions.}
- \fontspec{Hiragino Maru Gothic Pro}
- 1/2 \quad 1/4 \quad 5/6 \quad 13579/24680 \\
- \addfontfeature{Fractions=Alternate}
- 1/2 \quad 1/4 \quad 5/6 \quad 13579/24680
-\end{Xexample}
-
-
-\subsection{Variants}
-The \feat{Variant} feature takes a single numerical input for
-choosing different alphabetic shapes. Don't mind my fancy \exref{aat-var}
-\texttt{:)} I'm just looping through the nine~(\,!\,) variants of
-Zapfino.
-
-\begin{Xexample}[firstline=2,lastline=9]{aat-var}{Nine variants of Zapfino.}
- \Huge \rule{0pt}{2cm}
- \newcounter{var}
- \whiledo{\value{var}<9}{%
- \edef\1{%
- \noexpand\fontspec[Variant=\thevar,
- Color=0099\thevar\thevar]{Zapfino}}\1%
- \makebox[0.75\width]{d}%
- \stepcounter{var}}
- \hspace*{2cm}
-\end{Xexample}
-
-See \vref{sec:newfeatures} for a way to assign names to variants,
-which should be done on a per-font basis.
-
-\subsection{Alternates}
-
-Selection of \feat{Alternate}s \emph{again}
-must be done numerically; see \exref{aat-alt}.
-See \vref{sec:newfeatures} for a way to assign names to alternates,
-which should be done on a per-font basis.
-
-\begin{Xexample}{aat-alt}{Alternate shape selection must be numerical.}
- \fontspec{Hoefler Text Italic}[Alternate=0]
- Sphinx Of Black Quartz, {\scshape Judge My Vow} \\
- \fontspec{Hoefler Text Italic}[Alternate=1]
- Sphinx Of Black Quartz, {\scshape Judge My Vow}
-\end{Xexample}
-
-
-\subsection{Style}
-
-The options of the \feat{Style} feature
-are defined in \AAT\ as one of the following: \opt{Display},
-\opt{Engraved}, \opt{IlluminatedCaps}, \opt{Italic},
-\opt{Ruby},\footnotemark\ \opt{TallCaps}, or \opt{TitlingCaps}.
-\footnotetext{`Ruby' refers to a small optical size, used in
-Japanese typography for annotations.}
-
-Typical examples for these features are shown in \ref{sec:ot-feat-style}.
-
-
-
-
-
-
-\subsection{CJK shape}
-There have been many standards for how CJK ideographic
-glyphs are `supposed' to look. Some fonts will contain many alternate
-glyphs in order to be able to display these gylphs
-correctly in whichever form is appropriate. Both \AAT\ and OpenType
-fonts support the following \feat{CJKShape} options:
-\opt{Traditional}, \opt{Simplified}, \opt{JIS1978}, \opt{JIS1983},
-\opt{JIS1990}, and \opt{Expert}. OpenType also supports the \opt{NLC} option.
-
-\subsection{Character width}
-See \vref{sec:CharacterWidth} for relevant examples; the features are
-the same between OpenType and \AAT\ fonts.
-\AAT\ also allows \feat{CharacterWidth}|=|\opt{Default} to return to
-the original font settings.
-
-
-
-
-
-
-
-\subsection{Vertical typesetting}
-
-TODO: improve!
-
-\XeTeX\ provides for vertical typesetting simply with the ability to rotate
-the individual glyphs as a font is used for typesetting, as shown in
-\exref{vert}.
-
-\begin{Xexample}[firstline=2]{vert}{Vertical typesetting.}
- \def\verttext{共産主義者は}
- \fontspec{Hiragino Mincho Pro}
- \verttext
-
- \fontspec{Hiragino Mincho Pro}[Renderer=AAT,Vertical=RotatedGlyphs]
- \rotatebox{-90}{\verttext}% requires the graphicx package
-\end{Xexample}
-
-No actual provision is made for typesetting top-to-bottom
-languages; for an example of how to do this, see the vertical Chinese
-example provided in the \XeTeX\ documentation.
-
-
-
-
-\subsection{Diacritics}
-Diacritics are marks, such as the acute accent or the tilde, applied to letters; they usually indicate a change in pronunciation.
-In Arabic scripts, diacritics are used to indicate vowels.
-You may either choose
-to \opt{Show}, \opt{Hide} or \opt{Decompose} them in \AAT\ fonts.
-The \opt{Hide} option is for scripts such as Arabic which may be
-displayed either with or without vowel markings. E.g.,
-\verb|\fontspec[Diacritics=Hide]{...}|
-
-Some older fonts distributed with \MacOSX\ included `|O/|' \etc\ as shorthand for writing `\O' under the label of the \feat{Diacritics} feature. If you come across such fonts, you'll
-want to turn this feature off (imagine typing |hello/goodbye| and
-getting `hell\o goodbye' instead!) by decomposing the two characters
-in the diacritic into the ones you actually
-want. I recommend using
-the proper \LaTeX\ input conventions for obtaining such characters
-instead.
-
-
-
-\subsection{Annotation}
-Various Asian fonts are equipped with a more extensive range of
-numbers and numerals in different forms. These are accessed through
-the \feat{Annotation} feature with the following
-options: \opt{Off},
-\opt{Box}, \opt{RoundedBox}, \opt{Circle}, \opt{BlackCircle},
-\opt{Parenthesis}, \opt{Period}, \opt{RomanNumerals}, \opt{Diamond},
-\opt{BlackSquare}, \opt{BlackRoundSquare}, and \opt{DoubleCircle}.
-
-
-
-\part{Programming interface}
-
-This is the beginning of some work to provide some hooks that use
-\pkg{fontspec} for various macro programming purposes.
-
-
-\section{Defining new features} \label{sec:newfeatures}
-This package cannot hope to contain every possible font
-feature. Three commands are provided for selecting font features
-that are not provided for out of the box. If you are using
-them a lot, chances are I've left something out, so please let me
-know.
-
-\DescribeMacro{\newAATfeature}
-New \AAT\ features may be created with this command:\par
-{\centering\cmd\newAATfeature\marg{feature}\marg{option}\marg{feature code}\marg{selector code}\par}\noindent
-Use the \XeTeX\ file \path{AAT-info.tex} to obtain the code numbers.
-See \exref{newAATfeat}.
-
-\begin{Xexample}{newAATfeat}{Assigning new \AAT\ features.}
- \newAATfeature{Alternate}{HoeflerSwash}{17}{1}
- \fontspec{Hoefler Text Italic}[Alternate=HoeflerSwash]
- This is XeTeX by Jonathan Kew.
-\end{Xexample}
-
-
-\DescribeMacro{\newopentypefeature}
-New OpenType features may be created with this command:\par
-{\centering\cmd\newopentypefeature\marg{feature}\marg{option}\marg{feature tag}\par}
-The synonym \cs{newICUfeature} is deprecated.
-
-Here's what it would look like in practise:
-\begin{Verbatim}
-\newopentypefeature{Style}{NoLocalForms}{-locl}
-\end{Verbatim}
-
-\DescribeMacro{\newfontfeature}
-In case the above commands do not accommodate the desired font feature
-(perhaps a new \XeTeX\ feature that \pkg{fontspec} hasn't been updated
-to support), a command is provided to pass arbitrary input into the
-font selection string:\par
-{\centering\cmd{\newfontfeature}\marg{name}\marg{input string}\par}
-
-For example, Zapfino
-contains the feature `Avoid d-collisions'. To access it
-with this package, you could do some like that shown in \exref{avoidd}.
-(For some reason this feature doesn't appear to be working although \pkg{fontspec} is doing the right thing. To be investigated.)
-
-\begin{Xexample}{avoidd}{Assigning new arbitary features.}
- \newfontfeature{AvoidD}{Special=Avoid d-collisions}
- \newfontfeature{NoAvoidD}{Special=!Avoid d-collisions}
- \fontspec{Zapfino}[AvoidD,Variant=1]
- sockdolager rubdown \\
- \fontspec{Zapfino}[NoAvoidD,Variant=1]
- sockdolager rubdown
-\end{Xexample}
-
-The advantage to using the \cmd\newAATfeature\ and \cmd\newopentypefeature\
-commands instead of \cs{newfontfeature} is that they check if the selected font actually contains the desired font
-feature at load time. By contrast, \cmd\newfontfeature\ will not give a warning
-for improper input.
-
-\section{Going behind \pkg{fontspec}'s back}
-Expert users may wish not to use \pkg{fontspec}'s feature handling at all,
-while still taking advantage of its \LaTeX\ font selection conveniences. The
-\feat{RawFeature} font feature allows literal \XeTeX\ font feature selection
-when you happen to have the OpenType feature tag memorised.
-
-\begin{Xexample}{raw}{Using raw font features directly.}
- \fontspec{texgyrepagella-regular.otf}[RawFeature=+smcp]
- Pagella small caps
-\end{Xexample}
-
-Multiple features can either be included in a single declaration:\par
-{\centering|[RawFeature=+smcp;+onum]|\par}
-\noindent or with multiple declarations:\par
-{\centering|[RawFeature=+smcp, RawFeature=+onum]|\par}
-
-\section{Renaming existing features \& options}
-\label{sec:aliasfontfeature}
-
-\DescribeMacro{\aliasfontfeature}
-If you don't like the name of a particular font feature,
-it may be aliased to another with the
-\cs{aliasfontfeature}\marg{existing name}\marg{new name} command,
-such as shown in \exref{alias}.
-
-\begin{Xexample}{alias}{Renaming font features.}
- \aliasfontfeature{ItalicFeatures}{IF}
- \fontspec{Hoefler Text}[IF = {Alternate=1}]
- Roman Letters \itshape And Swash
-\end{Xexample}
-
-Spaces in feature (and option names, see below) \emph{are} allowed. (You may have
-noticed this already in the lists of OpenType scripts and languages).
-
-\DescribeMacro{\aliasfontfeatureoption}
-If you wish to change the name of a font feature option,
-it can be aliased to another with the command
-\cs{aliasfontfeatureoption}\marg{font feature}\marg{existing name}\marg{new name}, such as shown in \exref{aliasopt}.
-
-\begin{Lexample}{aliasopt}{Renaming font feature options.}
- \aliasfontfeature{VerticalPosition}{Vert Pos}
- \aliasfontfeatureoption{VerticalPosition}{ScientificInferior}{Sci Inf}
- \fontspec{LinLibertine_R.otf}[Vert Pos=Sci Inf]
- Scientific Inferior: 12345
-\end{Lexample}
-
-This example demonstrates an important point: when aliasing the feature
-options, the \emph{original} feature name must be used when declaring
-to which feature the option belongs.
-
-Only feature options that exist as sets of fixed strings may be altered in
-this way. That is, \opt{Proportional} can be aliased to \opt{Prop} in the
-\feat{Letters} feature, but \opt{550099BB} cannot be substituted for \opt{Purple}
-in a \feat{Color} specification. For this type of thing, the \cmd\newfontfeature\
-command should be used to declare a new, \eg, \feat{PurpleColor} feature:
-\begin{Verbatim}
- \newfontfeature{PurpleColor}{color=550099BB}
-\end{Verbatim}
-Except that this example was written before support for named colours was
-implemented. But you get the idea.
-
-\section{Programming details}
-\label{sec:api}
-
-\subsection{Variables}
-
-\DescribeMacro{\l_fontspec_family_tl}
-\DescribeMacro{\l_fontspec_font}
-In some cases, it is useful to know what the \LaTeX\ font family
-of a specific \pkg{fontspec} font is. After a \cmd\fontspec-like
-command, this is stored inside the \cmd\l_fontspec_family_tl\ macro.
-Otherwise, \LaTeX's own \cmd\f at family\ macro can be useful here,
-too.
-The raw \TeX\ font that is defined from the `base' font in the family is stored in \cmd{\l_fontspec_font}.
-
-\DescribeMacro{\g_fontspec_encoding_tl}
-Package authors who need to load fonts with legacy \LaTeX\ \NFSS\ commands may also need to know what the default font encoding is.
-Since this has changed from \texttt{EU1}/\texttt{EU2} to \texttt{TU}, it is best to use the variables \cs{g_fontspec_encoding_tl} or \cs{UTFencname} instead.
-
-\subsection{Functions for loading new fonts and families}
-
-\begin{macro}{\fontspec_set_family:Nnn}
-\darg{\LaTeX\ family}
-\darg{fontspec features}
-\darg{font name}
-Defines a new \NFSS\ family from given \meta{features} and \meta{font},
-and stores the family name in the variable \meta{family}.
-This font family can then be selected with standard \LaTeX\ commands
-\cs{fontfamily}\marg{family}\cs{selectfont}.
-See the standard \pkg{fontspec} user commands for applications of this
-function.
-\end{macro}
-
-\begin{macro}{\fontspec_set_fontface:NNnn}
-\darg{primitive font}
-\darg{\LaTeX\ family}
-\darg{fontspec features}
-\darg{font name}
-Variant of the above in which the primitive \TeX\ font command is stored in
-the variable \meta{primitive font}.
-If a family is loaded (with bold and italic shapes) the primitive font
-command will only select the regular face.
-This feature is designed for \LaTeX\ programmers who need to
-perform subsequent font-related tests on the \meta{primitive font}.
-\end{macro}
-
-
-\subsection{Functions for querying font families}
-
-The following functions in \pkg{expl3} syntax may be used
-for writing code that interfaces with \pkg{fontspec}-loaded fonts.
-All of the following conditionals also exist with |T| and |F|
-as well as |TF| suffixes.
-
-\begin{macro}{\fontspec_if_fontspec_font:TF}
-Test whether the currently selected font has been loaded by fontspec.
-\end{macro}
-
-
-\begin{macro}{\fontspec_if_aat_feature:nnTF}
-Test whether the currently selected font contains the \AAT\
-feature (|#1|,|#2|).
-\end{macro}
-
-
-\begin{macro}{\fontspec_if_opentype:TF}
-Test whether the currently selected font is an OpenType font.
-Always true for \LuaTeX{} fonts.
-\end{macro}
-
-\begin{macro}{\fontspec_if_feature:nTF}
-Test whether the currently selected font contains the raw OpenType
-feature |#1|. E.g.: |\fontspec_if_feature:nTF {pnum} {True} {False}|.
-Returns false if the font is not loaded by fontspec or is not an OpenType
-font.
-\end{macro}
-
-\begin{macro}{\fontspec_if_feature:nnnTF}
-Test whether the currently selected font with raw OpenType script tag |#1| and raw OpenType language tag |#2| contains the raw OpenType feature tag |#3|. E.g.: |\fontspec_if_feature:nTF {latn} {ROM} {pnum} {True} {False}|.
-Returns false if the font is not loaded by fontspec or is not an OpenType
-font.
-\end{macro}
-
-\begin{macro}{\fontspec_if_script:nTF}
-Test whether the currently selected font contains the raw OpenType
-script |#1|. E.g.: |\fontspec_if_script:nTF {latn} {True} {False}|.
-Returns false if the font is not loaded by fontspec or is not an OpenType
-font.
-\end{macro}
-
-\begin{macro}{\fontspec_if_language:nTF}
-Test whether the currently selected font contains the raw OpenType language
-tag |#1|. E.g.: |\fontspec_if_language:nTF {ROM} {True} {False}|.
-Returns false if the font is not loaded by fontspec or is not an OpenType
-font.
-\end{macro}
-
-\begin{macro}{\fontspec_if_language:nnTF}
-Test whether the currently selected font contains the raw OpenType language
-tag |#2| in script |#1|. E.g.: |\fontspec_if_language:nnTF {cyrl} {SRB} {True} {False}|.
-Returns false if the font is not loaded by fontspec or is not an OpenType
-font.
-\end{macro}
-
-
-\begin{macro}{\fontspec_if_current_script:nTF}
-Test whether the currently loaded font is using the specified raw
-OpenType script tag |#1|.
-\end{macro}
-
-\begin{macro}{\fontspec_if_current_language:nTF}
-Test whether the currently loaded font is using the specified raw
-OpenType language tag |#1|.
-\end{macro}
-
-
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\part{The `improvement' of \LaTeXe\ and other packages}
-\label{sec:patching}
-
-This part of the package code contains patches to various
-\LaTeX\ components and third-party packages to improve the default
-behaviour.
-
-\section{Verbatim}
-\label{sec:verb}
-
-Many verbatim mechanisms assume the existence of a `visible space' character that exists in the \textsc{ascii} space slot of the typewriter font. This character is known in Unicode as \unichar{2423}{box open}, which looks like this: `\verb*| |'.
-
-When a Unicode typewriter font is used, \LaTeX\ no longer prints visible spaces for the |verbatim*| environment and |\verb*| command. This problem is fixed by using the correct Unicode glyph, and the following packages are patched to do the same:
-\pkg{listings}, \pkg{fancyvrb}, \pkg{moreverb}, and \pkg{verbatim}.
-
-In the case that the typewriter font does not contain `\verb*| |', the Latin Modern Mono font is used as a fallback.
-
-\section{Discretionary hyphenation: \cmd\-}
-\label{sec:hyphen}
-
-\LaTeX\ defines the macro \cmd\-\ to insert discretionary hyphenation points.
-However, it is hard-coded in \LaTeX\ to use the hyphen |-| character. Since \pkg{fontspec}
-makes it easy to change the hyphenation character on a per font basis, it would
-be nice if \cmd\-\ adjusted automatically --- and now it does.
-
-\section{Commands for old-style and lining numbers}
-
-\DescribeMacro{\oldstylenums}
-\DescribeMacro{\liningnums}
-\LaTeX's definition of \cs{oldstylenums} relies on strange font encodings.
-We provide a \pkg{fontspec}-compatible alternative and while we're at it
-also throw in the reverse option as well. Use \cs{oldstylenums}\marg{text}
-to explicitly use old-style (or lowercase) numbers in \meta{text}, and
-the reverse for \cs{liningnums}\marg{text}.
-
\providecommand\ENDDOCUMENT{\end{document}}
\ENDDOCUMENT
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.toc
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.toc (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-doc.toc 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,96 @@
+\contentsline {part}{I\hspace {1em}Getting started}{4}{part.1}
+\contentsline {section}{\numberline {1}History}{4}{section.1}
+\contentsline {section}{\numberline {2}Introduction}{4}{section.2}
+\contentsline {subsection}{\numberline {2.1}Acknowledgements}{4}{subsection.2.1}
+\contentsline {section}{\numberline {3}Package loading and options}{5}{section.3}
+\contentsline {paragraph}{Font encodings}{5}{section*.1}
+\contentsline {paragraph}{\hologoRobust {LuaTeX}\ users only}{5}{section*.2}
+\contentsline {paragraph}{\textsf {babel}}{5}{section*.3}
+\contentsline {subsection}{\numberline {3.1}Maths fonts adjustments}{5}{subsection.3.1}
+\contentsline {subsection}{\numberline {3.2}Configuration}{6}{subsection.3.2}
+\contentsline {subsection}{\numberline {3.3}Warnings}{6}{subsection.3.3}
+\contentsline {part}{II\hspace {1em}General font selection}{7}{part.2}
+\contentsline {section}{\numberline {4}Font selection}{7}{section.4}
+\contentsline {subsection}{\numberline {4.1}By font name}{8}{subsection.4.1}
+\contentsline {subsection}{\numberline {4.2}By file name}{8}{subsection.4.2}
+\contentsline {subsection}{\numberline {4.3}Querying whether a font `exists'}{9}{subsection.4.3}
+\contentsline {section}{\numberline {5}Commands to select font families}{10}{section.5}
+\contentsline {subsection}{\numberline {5.1}More control over font shape selection}{11}{subsection.5.1}
+\contentsline {subsubsection}{\numberline {5.1.1}Small caps and slanted font shapes}{11}{subsubsection.5.1.1}
+\contentsline {subsection}{\numberline {5.2}Specifically choosing the \textsc {nfss}\ family}{12}{subsection.5.2}
+\contentsline {subsection}{\numberline {5.3}Choosing additional \textsc {nfss}\ font faces}{13}{subsection.5.3}
+\contentsline {subsection}{\numberline {5.4}Math(s) fonts}{14}{subsection.5.4}
+\contentsline {section}{\numberline {6}Miscellaneous font selecting details}{15}{section.6}
+\contentsline {paragraph}{The optional argument --- from v2.4}{15}{section*.8}
+\contentsline {paragraph}{Spaces}{16}{section*.9}
+\contentsline {paragraph}{Italic small caps}{16}{section*.10}
+\contentsline {paragraph}{Emphasis and nested emphasis}{16}{section*.11}
+\contentsline {part}{III\hspace {1em}OpenType}{17}{part.3}
+\contentsline {section}{\numberline {7}Introduction}{17}{section.7}
+\contentsline {subsection}{\numberline {7.1}How to select font features}{17}{subsection.7.1}
+\contentsline {subsection}{\numberline {7.2}How do I know what font features are supported by my fonts?}{18}{subsection.7.2}
+\contentsline {paragraph}{otfinfo}{18}{section*.12}
+\contentsline {section}{\numberline {8}OpenType font features}{19}{section.8}
+\contentsline {subsection}{\numberline {8.1}Tag-based features}{19}{subsection.8.1}
+\contentsline {subsubsection}{\numberline {8.1.1}Ligatures}{19}{subsubsection.8.1.1}
+\contentsline {subsection}{\numberline {8.2}Letters}{19}{subsection.8.2}
+\contentsline {subsubsection}{\numberline {8.2.1}Numbers}{23}{subsubsection.8.2.1}
+\contentsline {subsubsection}{\numberline {8.2.2}Contextuals}{24}{subsubsection.8.2.2}
+\contentsline {subsubsection}{\numberline {8.2.3}Vertical Position}{24}{subsubsection.8.2.3}
+\contentsline {subsubsection}{\numberline {8.2.4}Fractions}{26}{subsubsection.8.2.4}
+\contentsline {subsection}{\numberline {8.3}Style}{26}{subsection.8.3}
+\contentsline {subsection}{\numberline {8.4}Diacritics}{28}{subsection.8.4}
+\contentsline {subsection}{\numberline {8.5}Kerning}{28}{subsection.8.5}
+\contentsline {subsection}{\numberline {8.6}Character width}{28}{subsection.8.6}
+\contentsline {subsubsection}{\numberline {8.6.1}CJK shape}{30}{subsubsection.8.6.1}
+\contentsline {subsection}{\numberline {8.7}Vertical typesetting}{30}{subsection.8.7}
+\contentsline {subsection}{\numberline {8.8}Numeric features}{32}{subsection.8.8}
+\contentsline {subsubsection}{\numberline {8.8.1}Stylistic Set variations --- \texttt {ssNN}}{32}{subsubsection.8.8.1}
+\contentsline {subsubsection}{\numberline {8.8.2}Character Variants --- \texttt {cvNN}}{32}{subsubsection.8.8.2}
+\contentsline {subsubsection}{\numberline {8.8.3}Alternates --- \texttt {salt}}{34}{subsubsection.8.8.3}
+\contentsline {subsubsection}{\numberline {8.8.4}Annotation --- \texttt {nalt} }{34}{subsubsection.8.8.4}
+\contentsline {subsubsection}{\numberline {8.8.5}Ornament --- \texttt {ornm}}{34}{subsubsection.8.8.5}
+\contentsline {subsection}{\numberline {8.9}OpenType scripts and languages}{35}{subsection.8.9}
+\contentsline {subsubsection}{\numberline {8.9.1}\texttt {Script} and \texttt {Language} examples}{35}{subsubsection.8.9.1}
+\contentsline {part}{IV\hspace {1em}Commands for accents and symbols (`encodings')}{38}{part.4}
+\contentsline {section}{\numberline {9}A new Unicode-based encoding from scratch}{38}{section.9}
+\contentsline {section}{\numberline {10}Adjusting a pre-existing encoding}{39}{section.10}
+\contentsline {section}{\numberline {11}Summary of commands}{41}{section.11}
+\contentsline {part}{V\hspace {1em}\hologoRobust {LuaTeX}-only font features}{42}{part.5}
+\contentsline {section}{\numberline {12}Custom font features}{42}{section.12}
+\contentsline {part}{VI\hspace {1em}Fonts and features with \hologoRobust {XeTeX}}{43}{part.6}
+\contentsline {section}{\numberline {13}\hologoRobust {XeTeX}-only font features}{43}{section.13}
+\contentsline {subsection}{\numberline {13.1}Mapping}{43}{subsection.13.1}
+\contentsline {subsection}{\numberline {13.2}Different font technologies: \textsc {aat}\ and OpenType}{43}{subsection.13.2}
+\contentsline {subsection}{\numberline {13.3}Optical font sizes}{43}{subsection.13.3}
+\contentsline {section}{\numberline {14}Mac\nobreakspace {}OS\nobreakspace {}X's \textsc {aat}\ fonts}{44}{section.14}
+\contentsline {subsection}{\numberline {14.1}Ligatures}{44}{subsection.14.1}
+\contentsline {subsection}{\numberline {14.2}Letters}{44}{subsection.14.2}
+\contentsline {subsection}{\numberline {14.3}Numbers}{44}{subsection.14.3}
+\contentsline {subsection}{\numberline {14.4}Contextuals}{45}{subsection.14.4}
+\contentsline {subsection}{\numberline {14.5}Vertical position}{45}{subsection.14.5}
+\contentsline {subsection}{\numberline {14.6}Fractions}{46}{subsection.14.6}
+\contentsline {subsection}{\numberline {14.7}Variants}{46}{subsection.14.7}
+\contentsline {subsection}{\numberline {14.8}Alternates}{46}{subsection.14.8}
+\contentsline {subsection}{\numberline {14.9}Style}{47}{subsection.14.9}
+\contentsline {subsection}{\numberline {14.10}CJK shape}{47}{subsection.14.10}
+\contentsline {subsection}{\numberline {14.11}Character width}{47}{subsection.14.11}
+\contentsline {subsection}{\numberline {14.12}Vertical typesetting}{47}{subsection.14.12}
+\contentsline {subsection}{\numberline {14.13}Diacritics}{48}{subsection.14.13}
+\contentsline {subsection}{\numberline {14.14}Annotation}{48}{subsection.14.14}
+\contentsline {part}{VII\hspace {1em}Customisation and programming interface}{49}{part.7}
+\contentsline {section}{\numberline {15}Defining new features}{49}{section.15}
+\contentsline {section}{\numberline {16}Defining new scripts and languages}{50}{section.16}
+\contentsline {section}{\numberline {17}Going behind \textsf {fontspec}'s back}{50}{section.17}
+\contentsline {section}{\numberline {18}Renaming existing features \& options}{50}{section.18}
+\contentsline {section}{\numberline {19}Programming interface}{51}{section.19}
+\contentsline {subsection}{\numberline {19.1}Variables}{51}{subsection.19.1}
+\contentsline {subsection}{\numberline {19.2}Functions for loading new fonts and families}{51}{subsection.19.2}
+\contentsline {subsection}{\numberline {19.3}Conditionals}{52}{subsection.19.3}
+\contentsline {subsubsection}{\numberline {19.3.1}Querying font families}{52}{subsubsection.19.3.1}
+\contentsline {subsubsection}{\numberline {19.3.2}Availability of features}{52}{subsubsection.19.3.2}
+\contentsline {subsubsection}{\numberline {19.3.3}Currently selected features}{53}{subsubsection.19.3.3}
+\contentsline {part}{VIII\hspace {1em}The `improvement' of \LaTeXe \ and other packages}{54}{part.8}
+\contentsline {section}{\numberline {20}Verbatim}{54}{section.20}
+\contentsline {section}{\numberline {21}Discretionary hyphenation: \cs {\char 45\relax }}{54}{section.21}
+\contentsline {section}{\numberline {22}Commands for old-style and lining numbers}{54}{section.22}
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-enc.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-enc.dtx (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-enc.dtx 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,138 @@
+
+% \section{Extended font encodings}
+%
+% \iffalse
+% \begin{macrocode}
+%<*fontspec&(xetexx|luatex)>
+% \end{macrocode}
+% \fi
+%
+% To be removed after the 2017 release of LaTeX2e:
+% \begin{macrocode}
+\providecommand\UnicodeFontFile[2]{"[#1]:#2"}
+\providecommand\UnicodeFontName[2]{"#1:#2"}
+%<xetexx>\providecommand\UnicodeFontTeXLigatures{mapping=tex-text;}
+%<luatex>\providecommand\UnicodeFontTeXLigatures{+tlig;}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\providecommand\add at unicode@accent[2]{#2\char#1\relax}
+\providecommand\DeclareUnicodeAccent[3]{%
+ \DeclareTextCommand{#1}{#2}{\add at unicode@accent{#3}}%
+}
+% \end{macrocode}
+%
+% \begin{macro}{\EncodingCommand}
+% \begin{macrocode}
+\DeclareDocumentCommand \EncodingCommand {mO{}m}
+ {
+ \bool_if:NF \l_@@_defining_encoding_bool
+ { \@@_error:nn {only-inside-encdef} \EncodingCommand }
+ \DeclareTextCommand{#1}{\UnicodeEncodingName}[#2]{#3}
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\EncodingAccent}
+% \begin{macrocode}
+\DeclareDocumentCommand \EncodingAccent {mm}
+ {
+ \bool_if:NF \l_@@_defining_encoding_bool
+ { \@@_error:nn {only-inside-encdef} \EncodingAccent }
+ \DeclareTextCommand{#1}{\UnicodeEncodingName}{\add at unicode@accent{#2}}
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\EncodingSymbol}
+% \begin{macrocode}
+\DeclareDocumentCommand \EncodingSymbol {mm}
+ {
+ \bool_if:NF \l_@@_defining_encoding_bool
+ { \@@_error:nn {only-inside-encdef} \EncodingSymbol }
+ \DeclareTextSymbol{#1}{\UnicodeEncodingName}{#2}
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\EncodingComposite}
+% \begin{macrocode}
+\DeclareDocumentCommand \EncodingComposite {mmm}
+ {
+ \bool_if:NF \l_@@_defining_encoding_bool
+ { \@@_error:nn {only-inside-encdef} \EncodingComposite }
+ \DeclareTextComposite{#1}{\UnicodeEncodingName}{#2}{#3}
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\EncodingCompositeCommand}
+% \begin{macrocode}
+\DeclareDocumentCommand \EncodingCompositeCommand {mmm}
+ {
+ \bool_if:NF \l_@@_defining_encoding_bool
+ { \@@_error:nn {only-inside-encdef} \EncodingCompositeCommand }
+ \DeclareTextCompositeCommand{#1}{\UnicodeEncodingName}{#2}{#3}
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\DeclareUnicodeEncoding}
+% \begin{macrocode}
+\DeclareDocumentCommand \DeclareUnicodeEncoding {mm}
+ {
+ \DeclareFontEncoding{#1}{}{}
+ \DeclareErrorFont{#1}{lmr}{m}{n}{10}
+ \DeclareFontSubstitution{#1}{lmr}{m}{n}
+ \DeclareFontFamily{#1}{lmr}{}
+
+ \DeclareFontShape{#1}{lmr}{m}{n}
+ {<->\UnicodeFontFile{lmroman10-regular}{\UnicodeFontTeXLigatures}}{}
+ \DeclareFontShape{#1}{lmr}{m}{it}
+ {<->\UnicodeFontFile{lmroman10-italic}{\UnicodeFontTeXLigatures}}{}
+ \DeclareFontShape{#1}{lmr}{m}{sc}
+ {<->\UnicodeFontFile{lmromancaps10-regular}{\UnicodeFontTeXLigatures}}{}
+ \DeclareFontShape{#1}{lmr}{bx}{n}
+ {<->\UnicodeFontFile{lmroman10-bold}{\UnicodeFontTeXLigatures}}{}
+ \DeclareFontShape{#1}{lmr}{bx}{it}
+ {<->\UnicodeFontFile{lmroman10-bolditalic}{\UnicodeFontTeXLigatures}}{}
+
+ \tl_set_eq:NN \l_@@_prev_unicode_name_tl \UnicodeEncodingName
+ \tl_set:Nn \UnicodeEncodingName {#1}
+ \bool_set_true:N \l_@@_defining_encoding_bool
+ #2
+ \bool_set_false:N \l_@@_defining_encoding_bool
+ \tl_set_eq:NN \UnicodeEncodingName \l_@@_prev_unicode_name_tl
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\UndeclareSymbol}
+% \begin{macrocode}
+\DeclareDocumentCommand \UndeclareSymbol {m}
+ {
+ \bool_if:NF \l_@@_defining_encoding_bool
+ { \@@_error:nn {only-inside-encdef} \UndeclareSymbol }
+ \UndeclareTextCommand {#1} {\UnicodeEncodingName}
+ }
+
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\UndeclareComposite}
+% \begin{macrocode}
+\DeclareDocumentCommand \UndeclareComposite {mm}
+ {
+ \bool_if:NF \l_@@_defining_encoding_bool
+ { \@@_error:nn {only-inside-encdef} \UndeclareComposite }
+ \cs_undefine:c
+ { \c_backslash_str \UnicodeEncodingName \token_to_str:N #1 - \tl_to_str:n {#2} }
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \iffalse
+% \begin{macrocode}
+%</fontspec&(xetexx|luatex)>
+% \end{macrocode}
+% \fi
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-feat-aat.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-feat-aat.dtx (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-feat-aat.dtx 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,224 @@
+
+% \subsection{AAT feature definitions}
+%
+% These are only defined for \XeTeX.
+%
+% \iffalse
+% \begin{macrocode}
+%<*fontspec&xetexx>
+% \end{macrocode}
+% \fi
+
+% \subsubsection{Ligatures}
+% \begin{macrocode}
+\@@_define_aat_feature_group:n {Ligatures}
+\@@_define_aat_feature:nnnn {Ligatures} {Required} {1} {0}
+\@@_define_aat_feature:nnnn {Ligatures} {NoRequired} {1} {1}
+\@@_define_aat_feature:nnnn {Ligatures} {Common} {1} {2}
+\@@_define_aat_feature:nnnn {Ligatures} {NoCommon} {1} {3}
+\@@_define_aat_feature:nnnn {Ligatures} {Rare} {1} {4}
+\@@_define_aat_feature:nnnn {Ligatures} {NoRare} {1} {5}
+\@@_define_aat_feature:nnnn {Ligatures} {Discretionary} {1} {4}
+\@@_define_aat_feature:nnnn {Ligatures} {NoDiscretionary} {1} {5}
+\@@_define_aat_feature:nnnn {Ligatures} {Logos} {1} {6}
+\@@_define_aat_feature:nnnn {Ligatures} {NoLogos} {1} {7}
+\@@_define_aat_feature:nnnn {Ligatures} {Rebus} {1} {8}
+\@@_define_aat_feature:nnnn {Ligatures} {NoRebus} {1} {9}
+\@@_define_aat_feature:nnnn {Ligatures} {Diphthong} {1} {10}
+\@@_define_aat_feature:nnnn {Ligatures} {NoDiphthong} {1} {11}
+\@@_define_aat_feature:nnnn {Ligatures} {Squared} {1} {12}
+\@@_define_aat_feature:nnnn {Ligatures} {NoSquared} {1} {13}
+\@@_define_aat_feature:nnnn {Ligatures} {AbbrevSquared} {1} {14}
+\@@_define_aat_feature:nnnn {Ligatures} {NoAbbrevSquared} {1} {15}
+\@@_define_aat_feature:nnnn {Ligatures} {Icelandic} {1} {32}
+\@@_define_aat_feature:nnnn {Ligatures} {NoIcelandic} {1} {33}
+% \end{macrocode}
+% Emulate CM extra ligatures.
+% \begin{macrocode}
+\keys_define:nn {fontspec-aat}
+ {
+ Ligatures / TeX .code:n =
+ {
+ \@@_update_featstr:n { mapping = tex-text }
+ }
+ }
+% \end{macrocode}
+%
+% \subsubsection{Letters}
+% \begin{macrocode}
+\@@_define_aat_feature_group:n {Letters}
+\@@_define_aat_feature:nnnn {Letters} {Normal} {3} {0}
+\@@_define_aat_feature:nnnn {Letters} {Uppercase} {3} {1}
+\@@_define_aat_feature:nnnn {Letters} {Lowercase} {3} {2}
+\@@_define_aat_feature:nnnn {Letters} {SmallCaps} {3} {3}
+\@@_define_aat_feature:nnnn {Letters} {InitialCaps} {3} {4}
+% \end{macrocode}
+%
+% \subsubsection{Numbers}
+%
+% These were originally separated into \feat{NumberCase} and
+% \feat{NumberSpacing} following \AAT, but it makes more sense to
+% combine them.
+%
+% Both naming conventions are offered to select the number case.
+%
+% \begin{macrocode}
+\@@_define_aat_feature_group:n {Numbers}
+\@@_define_aat_feature:nnnn {Numbers} {Monospaced} {6} {0}
+\@@_define_aat_feature:nnnn {Numbers} {Proportional} {6} {1}
+\@@_define_aat_feature:nnnn {Numbers} {Lowercase} {21} {0}
+\@@_define_aat_feature:nnnn {Numbers} {OldStyle} {21} {0}
+\@@_define_aat_feature:nnnn {Numbers} {Uppercase} {21} {1}
+\@@_define_aat_feature:nnnn {Numbers} {Lining} {21} {1}
+\@@_define_aat_feature:nnnn {Numbers} {SlashedZero} {14} {5}
+\@@_define_aat_feature:nnnn {Numbers} {NoSlashedZero} {14} {4}
+% \end{macrocode}
+%
+% \subsubsection{Contextuals}
+% \begin{macrocode}
+\@@_define_aat_feature_group:n {Contextuals}
+\@@_define_aat_feature:nnnn {Contextuals} {WordInitial} {8} {0}
+\@@_define_aat_feature:nnnn {Contextuals} {NoWordInitial} {8} {1}
+\@@_define_aat_feature:nnnn {Contextuals} {WordFinal} {8} {2}
+\@@_define_aat_feature:nnnn {Contextuals} {NoWordFinal} {8} {3}
+\@@_define_aat_feature:nnnn {Contextuals} {LineInitial} {8} {4}
+\@@_define_aat_feature:nnnn {Contextuals} {NoLineInitial} {8} {5}
+\@@_define_aat_feature:nnnn {Contextuals} {LineFinal} {8} {6}
+\@@_define_aat_feature:nnnn {Contextuals} {NoLineFinal} {8} {7}
+\@@_define_aat_feature:nnnn {Contextuals} {Inner} {8} {8}
+\@@_define_aat_feature:nnnn {Contextuals} {NoInner} {8} {9}
+% \end{macrocode}
+%
+% \subsubsection{Diacritics}
+% \begin{macrocode}
+\@@_define_aat_feature_group:n {Diacritics}
+\@@_define_aat_feature:nnnn {Diacritics} {Show} {9} {0}
+\@@_define_aat_feature:nnnn {Diacritics} {Hide} {9} {1}
+\@@_define_aat_feature:nnnn {Diacritics} {Decompose} {9} {2}
+% \end{macrocode}
+%
+%
+% \subsubsection{Vertical position}
+% \begin{macrocode}
+\@@_define_aat_feature_group:n {VerticalPosition}
+\@@_define_aat_feature:nnnn {VerticalPosition} {Normal} {10} {0}
+\@@_define_aat_feature:nnnn {VerticalPosition} {Superior} {10} {1}
+\@@_define_aat_feature:nnnn {VerticalPosition} {Inferior} {10} {2}
+\@@_define_aat_feature:nnnn {VerticalPosition} {Ordinal} {10} {3}
+% \end{macrocode}
+%
+% \subsubsection{Fractions}
+% \begin{macrocode}
+\@@_define_aat_feature_group:n {Fractions}
+\@@_define_aat_feature:nnnn {Fractions} {On} {11} {1}
+\@@_define_aat_feature:nnnn {Fractions} {Off} {11} {0}
+\@@_define_aat_feature:nnnn {Fractions} {Diagonal} {11} {2}
+% \end{macrocode}
+%
+% \subsubsection{Alternate}
+% \begin{macrocode}
+\@@_define_aat_feature_group:n { Alternate }
+\keys_define:nn {fontspec-aat}
+ {
+ Alternate .default:n = {0} ,
+ Alternate / unknown .code:n =
+ {
+ \clist_map_inline:nn {#1}
+ {
+ \@@_make_AAT_feature:nn {17}{##1}
+ }
+ }
+ }
+% \end{macrocode}
+%
+%
+% \subsubsection{Variant / StylisticSet}
+% \begin{macrocode}
+\@@_define_aat_feature_group:n {Variant}
+\keys_define:nn {fontspec-aat}
+ {
+ Variant .default:n = {0} ,
+ Variant / unknown .code:n =
+ {
+ \clist_map_inline:nn {#1}
+ { \@@_make_AAT_feature:nn {18}{##1} }
+ }
+ }
+\aliasfontfeature{Variant}{StylisticSet}
+% \end{macrocode}
+%
+%
+%
+% \begin{macrocode}
+\@@_define_aat_feature_group:n {Vertical}
+\keys_define:nn {fontspec-aat}
+ {
+ Vertical .choice: ,
+ Vertical / RotatedGlyphs .code:n =
+ {
+ \__fontspec_update_featstr:n {vertical}
+ }
+ }
+
+% \end{macrocode}
+%
+%
+% \subsubsection{Style}
+% \begin{macrocode}
+\@@_define_aat_feature_group:n {Style}
+\@@_define_aat_feature:nnnn {Style} {Italic} {32} {2}
+\@@_define_aat_feature:nnnn {Style} {Ruby} {28} {2}
+\@@_define_aat_feature:nnnn {Style} {Display} {19} {1}
+\@@_define_aat_feature:nnnn {Style} {Engraved} {19} {2}
+\@@_define_aat_feature:nnnn {Style} {TitlingCaps} {19} {4}
+\@@_define_aat_feature:nnnn {Style} {TallCaps} {19} {5}
+% \end{macrocode}
+%
+% \subsubsection{CJK shape}
+% \begin{macrocode}
+\@@_define_aat_feature_group:n {CJKShape}
+\@@_define_aat_feature:nnnn {CJKShape} {Traditional} {20} {0}
+\@@_define_aat_feature:nnnn {CJKShape} {Simplified} {20} {1}
+\@@_define_aat_feature:nnnn {CJKShape} {JIS1978} {20} {2}
+\@@_define_aat_feature:nnnn {CJKShape} {JIS1983} {20} {3}
+\@@_define_aat_feature:nnnn {CJKShape} {JIS1990} {20} {4}
+\@@_define_aat_feature:nnnn {CJKShape} {Expert} {20} {10}
+\@@_define_aat_feature:nnnn {CJKShape} {NLC} {20} {13}
+% \end{macrocode}
+%
+% \subsubsection{Character width}
+% \begin{macrocode}
+\@@_define_aat_feature_group:n {CharacterWidth}
+\@@_define_aat_feature:nnnn {CharacterWidth} {Proportional} {22} {0}
+\@@_define_aat_feature:nnnn {CharacterWidth} {Full} {22} {1}
+\@@_define_aat_feature:nnnn {CharacterWidth} {Half} {22} {2}
+\@@_define_aat_feature:nnnn {CharacterWidth} {Third} {22} {3}
+\@@_define_aat_feature:nnnn {CharacterWidth} {Quarter} {22} {4}
+\@@_define_aat_feature:nnnn {CharacterWidth} {AlternateProportional} {22} {5}
+\@@_define_aat_feature:nnnn {CharacterWidth} {AlternateHalf} {22} {6}
+\@@_define_aat_feature:nnnn {CharacterWidth} {Default} {22} {7}
+% \end{macrocode}
+%
+% \subsubsection{Annotation}
+% \begin{macrocode}
+\@@_define_aat_feature_group:n {Annotation}
+\@@_define_aat_feature:nnnn {Annotation} {Off} {24} {0}
+\@@_define_aat_feature:nnnn {Annotation} {Box} {24} {1}
+\@@_define_aat_feature:nnnn {Annotation} {RoundedBox} {24} {2}
+\@@_define_aat_feature:nnnn {Annotation} {Circle} {24} {3}
+\@@_define_aat_feature:nnnn {Annotation} {BlackCircle} {24} {4}
+\@@_define_aat_feature:nnnn {Annotation} {Parenthesis} {24} {5}
+\@@_define_aat_feature:nnnn {Annotation} {Period} {24} {6}
+\@@_define_aat_feature:nnnn {Annotation} {RomanNumerals} {24} {7}
+\@@_define_aat_feature:nnnn {Annotation} {Diamond} {24} {8}
+\@@_define_aat_feature:nnnn {Annotation} {BlackSquare} {24} {9}
+\@@_define_aat_feature:nnnn {Annotation} {BlackRoundSquare} {24} {10}
+\@@_define_aat_feature:nnnn {Annotation} {DoubleCircle} {24} {11}
+% \end{macrocode}
+%
+% \iffalse
+% \begin{macrocode}
+%</fontspec&xetexx>
+% \end{macrocode}
+% \fi
+
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-feat-opentype.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-feat-opentype.dtx (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-feat-opentype.dtx 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,534 @@
+
+% \subsection{OpenType feature definitions}
+%
+% \iffalse
+% \begin{macrocode}
+%<*fontspec&(xetexx|luatex)>
+% \end{macrocode}
+% \fi
+%
+%
+% \begin{macrocode}
+\@@_feat_prop_add:nn {salt} { Alternate\,=\,$N$ }
+\@@_feat_prop_add:nn {nalt} { Annotation\,=\,$N$ }
+\@@_feat_prop_add:nn {ornm} { Ornament\,=\,$N$ }
+\@@_feat_prop_add:nn {cvNN} { CharacterVariant\,=\,$N$:$M$ }
+\@@_feat_prop_add:nn {ssNN} { StylisticSet\,=\,$N$ }
+% \end{macrocode}
+%
+% \subsection{Regular key=val / tag definitions}
+%
+% \subsubsection{Ligatures}
+% \begin{macrocode}
+\@@_define_opentype_feature_group:n {Ligatures}
+\@@_define_opentype_feature:nnnnn {Ligatures} {ResetAll} {} {}
+ {
+ +dlig,-dlig,+rlig,-rlig,+liga,-liga,+dlig,-dlig,+clig,-clig,+hlig,-hlig,
+%<xetexx> mapping = tex-text
+%<luatex> +tlig,-tlig
+ }
+% \end{macrocode}
+%
+% \begin{macrocode}
+\@@_define_opentype_onoffreset:nnnnn {Ligatures} {Required} {rlig} {rlig} {}
+\@@_define_opentype_onoffreset:nnnnn {Ligatures} {Common} {liga} {liga} {}
+\@@_define_opentype_onoffreset:nnnnn {Ligatures} {Rare} {dlig} {dlig} {}
+\@@_define_opentype_onoffreset:nnnnn {Ligatures} {Discretionary} {dlig} {dlig} {}
+\@@_define_opentype_onoffreset:nnnnn {Ligatures} {Contextual} {clig} {clig} {}
+\@@_define_opentype_onoffreset:nnnnn {Ligatures} {Historic} {hlig} {hlig} {}
+% \end{macrocode}
+% Emulate CM extra ligatures.
+% \begin{macrocode}
+%<xetexx>\@@_define_opentype_onreset:nnnnn {Ligatures} {TeX} {} { mapping = tex-text } {}
+%<luatex>\@@_define_opentype_onreset:nnnnn {Ligatures} {TeX} {} { +tlig } {}
+% \end{macrocode}
+%
+% \subsubsection{Letters}
+% \begin{macrocode}
+\@@_define_opentype_feature_group:n {Letters}
+\@@_define_opentype_feature:nnnnn {Letters} {ResetAll} {} {}
+ {
+ +case,+smcp,+pcap,+c2sc,+c2pc,+unic,+rand,
+ -case,-smcp,-pcap,-c2sc,-c2pc,-unic,-rand
+ }
+% \end{macrocode}
+%
+% \begin{macrocode}
+\@@_define_opentype_onoffreset:nnnnn {Letters} {Uppercase} {case} {case} {+smcp,+pcap,+c2sc,+c2pc,+unic,+rand}
+\@@_define_opentype_onoffreset:nnnnn {Letters} {SmallCaps} {smcp} {smcp} {+pcap,+unic,+rand}
+\@@_define_opentype_onoffreset:nnnnn {Letters} {PetiteCaps} {pcap} {pcap} {+smcp,+unic,+rand}
+\@@_define_opentype_onoffreset:nnnnn {Letters} {UppercaseSmallCaps} {c2sc} {c2sc} {+c2pc,+unic,+rand}
+\@@_define_opentype_onoffreset:nnnnn {Letters} {UppercasePetiteCaps} {c2pc} {c2pc} {+c2sc,+unic,+rand}
+\@@_define_opentype_onoffreset:nnnnn {Letters} {Unicase} {unic} {unic} {+rand}
+\@@_define_opentype_onoffreset:nnnnn {Letters} {Random} {rand} {rand} {+unic}
+% \end{macrocode}
+%
+% \subsubsection{Numbers}
+% \begin{macrocode}
+\@@_define_opentype_feature_group:n {Numbers}
+\@@_define_opentype_feature:nnnnn {Numbers} {ResetAll} {} {}
+ {
+ +tnum,-tnum,
+ +pnum,-pnum,
+ +onum,-onum,
+ +lnum,-lnum,
+ +zero,-zero,
+ +anum,-anum,
+ }
+% \end{macrocode}
+%
+% \begin{macrocode}
+\@@_define_opentype_onoffreset:nnnnn {Numbers} {Monospaced} {tnum} {tnum} {+pnum,-pnum}
+\@@_define_opentype_onoffreset:nnnnn {Numbers} {Proportional} {pnum} {pnum} {+tnum,-tnum}
+\@@_define_opentype_onoffreset:nnnnn {Numbers} {Lowercase} {onum} {onum} {+lnum,-lnum}
+\@@_define_opentype_onoffreset:nnnnn {Numbers} {Uppercase} {lnum} {lnum} {+onum,-onum}
+\@@_define_opentype_onoffreset:nnnnn {Numbers} {SlashedZero} {zero} {zero} {}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\aliasfontfeatureoption {Numbers} {Lowercase} {OldStyle}
+\aliasfontfeatureoption {Numbers} {Uppercase} {Lining}
+% \end{macrocode}
+%
+% |luaotload| provides a custom |anum| feature for replacing Latin
+% (AKA Arabic) numbers with Arabic (AKA Indic-Arabic). The same feature
+% maps to Farsi (Persian) numbers if font language is Farsi.
+% \begin{macrocode}
+%<luatex> \@@_define_opentype_onoffreset:nnnnn {Numbers} {Arabic} {anum} {anum} {}
+% \end{macrocode}
+%
+% \subsubsection{Vertical position}
+% \begin{macrocode}
+\@@_define_opentype_feature_group:n {VerticalPosition}
+\@@_define_opentype_feature:nnnnn {VerticalPosition} {ResetAll} {} {}
+ {
+ +sups,-sups,
+ +subs,-subs,
+ +ordn,-ordn,
+ +numr,-numr,
+ +dnom,-dnom,
+ +sinf,-sinf,
+ }
+% \end{macrocode}
+%
+% \begin{macrocode}
+\@@_define_opentype_onoffreset:nnnnn {VerticalPosition} {Superior} {sups} {sups} {+subs,+ordn,+numr,+dnom,+sinf}
+\@@_define_opentype_onoffreset:nnnnn {VerticalPosition} {Inferior} {subs} {subs} {+sups,+ordn,+numr,+dnom,+sinf}
+\@@_define_opentype_onoffreset:nnnnn {VerticalPosition} {Ordinal} {ordn} {ordn} {+sups,+subs,+numr,+dnom,+sinf}
+\@@_define_opentype_onoffreset:nnnnn {VerticalPosition} {Numerator} {numr} {numr} {+sups,+subs,+ordn,+dnom,+sinf}
+\@@_define_opentype_onoffreset:nnnnn {VerticalPosition} {Denominator} {dnom} {dnom} {+sups,+subs,+ordn,+numr,+sinf}
+\@@_define_opentype_onoffreset:nnnnn {VerticalPosition} {ScientificInferior} {sinf} {sinf} {+sups,+subs,+ordn,+numr,+dnom}
+% \end{macrocode}
+%
+% \subsubsection{Contextuals}
+% \begin{macrocode}
+\@@_define_opentype_feature_group:n {Contextuals}
+\@@_define_opentype_feature:nnnnn {Contextuals} {ResetAll} {} {}
+ {
+ +cswh,-cswh,
+ +calt,-calt,
+ +init,-init,
+ +fina,-fina,
+ +falt,-falt,
+ +medi,-medi,
+ }
+% \end{macrocode}
+%
+% \begin{macrocode}
+\@@_define_opentype_onoffreset:nnnnn {Contextuals} {Swash} {cswh} {cswh} {}
+\@@_define_opentype_onoffreset:nnnnn {Contextuals} {Alternate} {calt} {calt} {}
+\@@_define_opentype_onoffreset:nnnnn {Contextuals} {WordInitial} {init} {init} {}
+\@@_define_opentype_onoffreset:nnnnn {Contextuals} {WordFinal} {fina} {fina} {}
+\@@_define_opentype_onoffreset:nnnnn {Contextuals} {LineFinal} {falt} {falt} {}
+\@@_define_opentype_onoffreset:nnnnn {Contextuals} {Inner} {medi} {medi} {}
+% \end{macrocode}
+%
+% \subsubsection{Diacritics}
+% \begin{macrocode}
+\@@_define_opentype_feature_group:n {Diacritics}
+\@@_define_opentype_feature:nnnnn {Diacritics} {ResetAll} {} {}
+ {
+ +mark,-mark,
+ +mkmk,-mkmk,
+ +abvm,-abvm,
+ +blwm,-blwm,
+ }
+% \end{macrocode}
+%
+% \begin{macrocode}
+\@@_define_opentype_onoffreset:nnnnn {Diacritics} {MarkToBase} {mark} {mark} {}
+\@@_define_opentype_onoffreset:nnnnn {Diacritics} {MarkToMark} {mkmk} {mkmk} {}
+\@@_define_opentype_onoffreset:nnnnn {Diacritics} {AboveBase} {abvm} {abvm} {}
+\@@_define_opentype_onoffreset:nnnnn {Diacritics} {BelowBase} {blwm} {blwm} {}
+% \end{macrocode}
+%
+% \subsubsection{Kerning}
+% \begin{macrocode}
+\@@_define_opentype_feature_group:n {Kerning}
+\@@_define_opentype_feature:nnnnn {Kerning} {ResetAll} {} {}
+ {
+ +cpsp,-cpsp,
+ +kern,-kern,
+ }
+\@@_define_opentype_onoffreset:nnnnn {Kerning} {Uppercase} {cpsp} {cpsp} {}
+\@@_define_opentype_feature:nnnnn {Kerning} {On} {kern} {+kern} {-kern}
+\@@_define_opentype_feature:nnnnn {Kerning} {Off} {kern} {-kern} {+kern}
+\@@_define_opentype_feature:nnnnn {Kerning} {Reset} {} {} {+kern,-kern}
+% \end{macrocode}
+%
+% \subsubsection{Fractions}
+% \begin{macrocode}
+\@@_define_opentype_feature_group:n {Fractions}
+\@@_define_opentype_feature:nnnnn {Fractions} {ResetAll} {} {}
+ {
+ +frac,-frac,
+ +afrc,-afrc,
+ }
+% \end{macrocode}
+%
+% \begin{macrocode}
+\@@_define_opentype_feature:nnnnn {Fractions} {On} {frac} {+frac} {}
+\@@_define_opentype_feature:nnnnn {Fractions} {Off} {frac} {-frac} {}
+\@@_define_opentype_feature:nnnnn {Fractions} {Reset} {} {} {+frac,-frac}
+\@@_define_opentype_onoffreset:nnnnn {Fractions} {Alternate} {afrc} {afrc} {-frac}
+% \end{macrocode}
+%
+
+% \subsubsection{Style}
+% \begin{macrocode}
+\@@_define_opentype_feature_group:n {Style}
+\@@_define_opentype_feature:nnnnn {Style} {ResetAll} {} {}
+ {
+ +salt,-salt,
+ +ital,-ital,
+ +ruby,-ruby,
+ +swsh,-swsh,
+ +hist,-hist,
+ +titl,-titl,
+ +hkna,-hkna,
+ +vkna,-vkna,
+ +ssty=0,-ssty=0,
+ +ssty=1,-ssty=1,
+ }
+% \end{macrocode}
+%
+% \begin{macrocode}
+\@@_define_opentype_onoffreset:nnnnn {Style} {Alternate} {salt} {salt} {}
+\@@_define_opentype_onoffreset:nnnnn {Style} {Italic} {ital} {ital} {}
+\@@_define_opentype_onoffreset:nnnnn {Style} {Ruby} {ruby} {ruby} {}
+\@@_define_opentype_onoffreset:nnnnn {Style} {Swash} {swsh} {swsh} {}
+\@@_define_opentype_onoffreset:nnnnn {Style} {Cursive} {swsh} {curs} {}
+\@@_define_opentype_onoffreset:nnnnn {Style} {Historic} {hist} {hist} {}
+\@@_define_opentype_onoffreset:nnnnn {Style} {TitlingCaps} {titl} {titl} {}
+\@@_define_opentype_onoffreset:nnnnn {Style} {HorizontalKana} {hkna} {hkna} {+vkna,+pkna}
+\@@_define_opentype_onoffreset:nnnnn {Style} {VerticalKana} {vkna} {vkna} {+hkna,+pkna}
+\@@_define_opentype_onoffreset:nnnnn {Style} {ProportionalKana} {pkna} {pkna} {+vkna,+hkna}
+\@@_define_opentype_feature:nnnnn {Style} {MathScript} {ssty} {+ssty=0} {+ssty=1}
+\@@_define_opentype_feature:nnnnn {Style} {MathScriptScript} {ssty} {+ssty=1} {+ssty=0}
+% \end{macrocode}
+%
+% \subsubsection{CJK shape}
+% \begin{macrocode}
+\@@_define_opentype_feature_group:n {CJKShape}
+\@@_define_opentype_feature:nnnnn {CJKShape} {ResetAll} {} {}
+ {
+ +trad,-trad,
+ +smpl,-smpl,
+ +jp78,-jp78,
+ +jp83,-jp83,
+ +jp90,-jp90,
+ +jp04,-jp04,
+ +expt,-expt,
+ +nlck,-nlck,
+ }
+% \end{macrocode}
+%
+% \begin{macrocode}
+\@@_define_opentype_onoffreset:nnnnn {CJKShape} {Traditional} {trad} {trad} {+smpl,+jp78,+jp83,+jp90,+jp04,+expt,+nlck}
+\@@_define_opentype_onoffreset:nnnnn {CJKShape} {Simplified} {smpl} {smpl} {+trad,+jp78,+jp83,+jp90,+jp04,+expt,+nlck}
+\@@_define_opentype_onoffreset:nnnnn {CJKShape} {JIS1978} {jp78} {jp78} {+trad,+smpl,+jp83,+jp90,+jp04,+expt,+nlck}
+\@@_define_opentype_onoffreset:nnnnn {CJKShape} {JIS1983} {jp83} {jp83} {+trad,+smpl,+jp78,+jp90,+jp04,+expt,+nlck}
+\@@_define_opentype_onoffreset:nnnnn {CJKShape} {JIS1990} {jp90} {jp90} {+trad,+smpl,+jp78,+jp83,+jp04,+expt,+nlck}
+\@@_define_opentype_onoffreset:nnnnn {CJKShape} {JIS2004} {jp04} {jp04} {+trad,+smpl,+jp78,+jp83,+jp90,+expt,+nlck}
+\@@_define_opentype_onoffreset:nnnnn {CJKShape} {Expert} {expt} {expt} {+trad,+smpl,+jp78,+jp83,+jp90,+jp04,+nlck}
+\@@_define_opentype_onoffreset:nnnnn {CJKShape} {NLC} {nlck} {nlck} {+trad,+smpl,+jp78,+jp83,+jp90,+jp04,+expt}
+% \end{macrocode}
+%
+% \subsubsection{Character width}
+% \begin{macrocode}
+\@@_define_opentype_feature_group:n {CharacterWidth}
+\@@_define_opentype_feature:nnnnn {CharacterWidth} {ResetAll} {} {}
+ {
+ +pwid,-pwid,
+ +fwid,-fwid,
+ +hwid,-hwid,
+ +twid,-twid,
+ +qwid,-qwid,
+ +palt,-palt,
+ +halt,-halt,
+ }
+% \end{macrocode}
+%
+% \begin{macrocode}
+\@@_define_opentype_onoffreset:nnnnn {CharacterWidth} {Proportional} {pwid} {pwid} {+fwid,+hwid,+twid,+qwid,+palt,+halt}
+\@@_define_opentype_onoffreset:nnnnn {CharacterWidth} {Full} {fwid} {fwid} {+pwid,+hwid,+twid,+qwid,+palt,+halt}
+\@@_define_opentype_onoffreset:nnnnn {CharacterWidth} {Half} {hwid} {hwid} {+pwid,+fwid,+twid,+qwid,+palt,+halt}
+\@@_define_opentype_onoffreset:nnnnn {CharacterWidth} {Third} {twid} {twid} {+pwid,+fwid,+hwid,+qwid,+palt,+halt}
+\@@_define_opentype_onoffreset:nnnnn {CharacterWidth} {Quarter} {qwid} {qwid} {+pwid,+fwid,+hwid,+twid,+palt,+halt}
+\@@_define_opentype_onoffreset:nnnnn {CharacterWidth} {AlternateProportional} {palt} {palt} {+pwid,+fwid,+hwid,+twid,+qwid,+halt}
+\@@_define_opentype_onoffreset:nnnnn {CharacterWidth} {AlternateHalf} {halt} {halt} {+pwid,+fwid,+hwid,+twid,+qwid,+palt}
+% \end{macrocode}
+%
+% \subsubsection{Vertical}
+% According to spec |vkrn| must also activate |vpal| if available but for simplicity we don't do that here (yet?).
+% \begin{macrocode}
+\@@_define_opentype_feature_group:n {Vertical}
+\@@_define_opentype_onoffreset:nnnnn {Vertical} {RotatedGlyphs} {vrt2} {vrt2} {+vrtr,+vert}
+\@@_define_opentype_onoffreset:nnnnn {Vertical} {AlternatesForRotation} {vrtr} {vrtr} {+vrt2}
+\@@_define_opentype_onoffreset:nnnnn {Vertical} {Alternates} {vert} {vert} {+vrt2}
+\@@_define_opentype_onoffreset:nnnnn {Vertical} {KanaAlternates} {vkna} {vkna} {+hkna}
+\@@_define_opentype_onoffreset:nnnnn {Vertical} {Kerning} {vkrn} {vkrn} {}
+\@@_define_opentype_onoffreset:nnnnn {Vertical} {AlternateMetrics} {valt} {valt} {+vhal,+vpal,+kern}
+\@@_define_opentype_onoffreset:nnnnn {Vertical} {HalfMetrics} {vhal} {vhal} {+valt,+vpal,+kern}
+\@@_define_opentype_onoffreset:nnnnn {Vertical} {ProportionalMetrics} {vpal} {vpal} {+valt,+vhal}
+% \end{macrocode}
+%
+%
+%
+%
+% \subsection{OpenType features that need numbering}
+%
+% \subsubsection{Alternate}
+% \begin{macrocode}
+\@@_define_opentype_feature_group:n {Alternate}
+\keys_define:nn {fontspec-opentype}
+ {
+ Alternate .default:n = {0} ,
+%<luatex> Alternate / Random .code:n =
+%<luatex> { \@@_make_OT_feature:nnn {salt}{ +salt = random }{} } ,
+ Alternate / unknown .code:n =
+ {
+ \clist_map_inline:nn {#1}
+ { \@@_make_OT_feature:nnn {salt}{ +salt = ##1 }{} }
+ }
+ }
+% \end{macrocode}
+%
+% \begin{macrocode}
+\aliasfontfeature{Alternate}{StylisticAlternates}
+% \end{macrocode}
+%
+%
+% \subsubsection{Variant / StylisticSet}
+% \begin{macrocode}
+\@@_define_opentype_feature_group:n {Variant}
+\keys_define:nn {fontspec-opentype}
+ {
+ Variant .default:n = {0} ,
+ Variant / unknown .code:n =
+ {
+ \clist_map_inline:nn {#1}
+ {
+ \@@_make_OT_feature:xxx { ss \two at digits {##1} } { +ss \two at digits {##1} } {}
+ }
+ }
+ }
+% \end{macrocode}
+%
+% \begin{macrocode}
+\aliasfontfeature{Variant}{StylisticSet}
+% \end{macrocode}
+%
+% \subsubsection{CharacterVariant}
+% \begin{macrocode}
+\@@_define_opentype_feature_group:n {CharacterVariant}
+\use:x
+ {
+ \cs_new:Npn \exp_not:N \fontspec_parse_cv:w
+ ##1 \c_colon_str ##2 \c_colon_str ##3 \exp_not:N \q_nil
+ {
+ \@@_make_OT_feature:xxx
+ { cv \exp_not:N \two at digits {##1} } { +cv \exp_not:N \two at digits {##1} = ##2 } {}
+ }
+ \keys_define:nn {fontspec-opentype}
+ {
+ CharacterVariant / unknown .code:n =
+ {
+ \clist_map_inline:nn {##1}
+ {
+ \exp_not:N \fontspec_parse_cv:w
+ ####1 \c_colon_str 0 \c_colon_str \exp_not:N \q_nil
+ }
+ }
+ }
+ }
+% \end{macrocode}
+% Possibilities: \verb|a:0:\q_nil| or \verb|a:b:0:\q_nil|.
+%
+%
+% \subsubsection{Annotation}
+% \begin{macrocode}
+\@@_define_opentype_feature_group:n {Annotation}
+\keys_define:nn {fontspec-opentype}
+ {
+ Annotation .default:n = {0} ,
+ Annotation / unknown .code:n =
+ {
+ \@@_make_OT_feature:nnn {nalt} {+nalt=#1} {}
+ }
+ }
+% \end{macrocode}
+%
+% \subsubsection{Ornament}
+%
+% \begin{macrocode}
+\@@_define_opentype_feature_group:n {Ornament}
+\keys_define:nn {fontspec-opentype}
+ {
+ Ornament .default:n = {0} ,
+ Ornament / unknown .code:n =
+ {
+ \@@_make_OT_feature:nnn {ornm} { +ornm=#1 } {}
+ }
+ }
+% \end{macrocode}
+%
+%
+% \subsection{Script and Language}
+%
+%
+% \subsubsection{Script}
+%
+% \begin{macrocode}
+\keys_define:nn { fontspec-opentype } { Script .choice: }
+\cs_new:Nn \fontspec_new_script:nn
+ {
+ \keys_define:nn { fontspec-opentype } { Script / #1 .code:n =
+ \bool_set_false:N \l_@@_script_exist_bool
+ \clist_map_inline:nn {#2}
+ {
+ \@@_check_script:nTF {####1}
+ {
+ \tl_set:Nn \l_fontspec_script_tl {####1}
+ \int_set:Nn \l_@@_script_int {\l_@@_strnum_int}
+ \bool_set_true:N \l_@@_script_exist_bool
+ \tl_gset:Nx \g_@@_single_feat_tl { script=####1 }
+ \clist_map_break:
+ }
+ { }
+ }
+ \bool_if:NF \l_@@_script_exist_bool
+ {
+ \str_if_eq:nnTF {#1} {Latin}
+ {
+ \@@_warning:nx {script-not-exist} {#1}
+ }
+ {
+ \@@_check_script:nTF {latn}
+ {
+ \@@_warning:nx {script-not-exist-latn} {#1}
+ \tl_set:Nn \l_fontspec_script_tl {latn}
+ \int_set:Nn \l_@@_script_int {\l_@@_strnum_int}
+ }
+ {
+ \@@_warning:nx {script-not-exist} {#1}
+ }
+ }
+ }
+ }
+ }
+% \end{macrocode}
+%
+%
+% \subsubsection{Language}
+%
+% \begin{macrocode}
+\keys_define:nn { fontspec-opentype } { Language .choice: }
+\cs_new:Nn \fontspec_new_lang:nn
+ {
+ \keys_define:nn { fontspec-opentype } { Language / #1 .code:n =
+ \@@_check_lang:nTF {#2}
+ {
+ \tl_set:Nn \l_fontspec_lang_tl {#2}
+ \int_set:Nn \l_@@_language_int {\l_@@_strnum_int}
+ \tl_gset:Nx \g_@@_single_feat_tl { language=#2 }
+ }
+ {
+ \@@_warning:nx {language-not-exist} {#1}
+ \keys_set:nn { fontspec-opentype } { Language = Default }
+ }
+ }
+ }
+% \end{macrocode}
+%
+% \paragraph{Default}
+%
+% \begin{macrocode}
+\@@_keys_define_code:nnn {fontspec-opentype}{ Language / Default }
+ {
+ \tl_set:Nn \l_fontspec_lang_tl {DFLT}
+ \int_zero:N \l_@@_language_int
+ \tl_gset:Nn \g_@@_single_feat_tl { language=DFLT }
+ }
+% \end{macrocode}
+%
+% \paragraph{Turkish} Turns out that many fonts use `TUR' as their Turkish language tag rather than the specified `TRK'. So we check for both:
+% \begin{macrocode}
+\keys_define:nn {fontspec-opentype}
+ {
+ Language / Turkish .code:n =
+ {
+ \@@_check_lang:nTF {TRK}
+ {
+ \int_set:Nn \l_@@_language_int {\l_@@_strnum_int}
+ \tl_set:Nn \l_fontspec_lang_tl {TRK}
+ \tl_gset:Nn \g_@@_single_feat_tl { language=TRK }
+ }
+ {
+ \@@_check_lang:nTF {TUR}
+ {
+ \int_set:Nn \l_@@_language_int {\l_@@_strnum_int}
+ \tl_set:Nn \l_fontspec_lang_tl {TUR}
+ \tl_gset:Nn \g_@@_single_feat_tl { language=TUR }
+ }
+ {
+ \@@_warning:nx {language-not-exist} {Turkish}
+ \keys_set:nn {fontspec-opentype} {Language=Default}
+ }
+ }
+ }
+ }
+% \end{macrocode}
+%
+% \subsection{Backwards compatibility}
+% Backwards compatibility:
+% \begin{macrocode}
+\cs_new:Nn \@@_ot_compat:nn
+ {
+ \aliasfontfeatureoption {#1} {#2Off} {No#2}
+ }
+\@@_ot_compat:nn {Ligatures} {Rare}
+\@@_ot_compat:nn {Ligatures} {Required}
+\@@_ot_compat:nn {Ligatures} {Common}
+\@@_ot_compat:nn {Ligatures} {Discretionary}
+\@@_ot_compat:nn {Ligatures} {Contextual}
+\@@_ot_compat:nn {Ligatures} {Historic}
+\@@_ot_compat:nn {Numbers} {SlashedZero}
+\@@_ot_compat:nn {Contextuals} {Swash}
+\@@_ot_compat:nn {Contextuals} {Alternate}
+\@@_ot_compat:nn {Contextuals} {WordInitial}
+\@@_ot_compat:nn {Contextuals} {WordFinal}
+\@@_ot_compat:nn {Contextuals} {LineFinal}
+\@@_ot_compat:nn {Contextuals} {Inner}
+\@@_ot_compat:nn {Diacritics} {MarkToBase}
+\@@_ot_compat:nn {Diacritics} {MarkToMark}
+\@@_ot_compat:nn {Diacritics} {AboveBase}
+\@@_ot_compat:nn {Diacritics} {BelowBase}
+% \end{macrocode}
+%
+% \iffalse
+% \begin{macrocode}
+%</fontspec&(xetexx|luatex)>
+% \end{macrocode}
+% \fi
+
Modified: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-fontload.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-fontload.dtx 2017-01-22 22:33:54 UTC (rev 43015)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-fontload.dtx 2017-01-22 22:34:22 UTC (rev 43016)
@@ -7,27 +7,31 @@
% \end{macrocode}
% \fi
%
+% \begin{macro}{\@@_primitive_font_set:Nnn,\@@_primitive_font_gset:Nnn}
% \begin{macrocode}
-\cs_set:Nn \@@_fontwrap:n { "#1" }
-% \end{macrocode}
-%
-% \begin{macrocode}
\cs_set:Npn \@@_primitive_font_set:Nnn #1#2#3
{
\font #1 = #2 ~at~ #3 \scan_stop:
}
-
\cs_set:Npn \@@_primitive_font_gset:Nnn #1#2#3
{
\global \font #1 = #2 ~at~ #3 \scan_stop:
}
-
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_font_suppress_not_found_error:}
+% \begin{macrocode}
\cs_set:Npn \@@_font_suppress_not_found_error:
{
\int_set_eq:NN \xetex_suppressfontnotfounderror:D \c_one
}
-
-\prg_set_conditional:Nnn \@@_font_if_null:N {p,TF,T,F}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}[pTF]{\@@_primitive_font_if_null:N}
+% \begin{macrocode}
+\prg_set_conditional:Nnn \@@_primitive_font_if_null:N {p,TF,T,F}
{
\ifx #1 \nullfont
\prg_return_true:
@@ -36,33 +40,32 @@
\fi
}
% \end{macrocode}
+% \end{macro}
%
-%
-% \begin{macro}{\fontspec_set:Nnn,\fontspec_gset:Nnn}
-% Wrapper around \cs{font_set:Nnn} and \cs{font_gset:Nnn}.
+% \begin{macro}[TF]{\@@_primitive_font_if_exist:n}
% \begin{macrocode}
-\cs_new:Nn \@@_font_set:Nnn
- {
- \@@_primitive_font_set:Nnn #1 { \@@_fontwrap:n {#2} } {#3}
- }
-\cs_new:Nn \@@_font_gset:Nnn
- {
- \@@_primitive_font_gset:Nnn #1 { \@@_fontwrap:n {#2} } {#3}
- }
+\prg_set_conditional:Nnn \@@_primitive_font_if_exist:n {TF,T,F}
+ {
+ \group_begin:
+ \@@_font_suppress_not_found_error:
+ \@@_primitive_font_set:Nnn \l_@@_primitive_font {#1} {10pt}
+ \@@_primitive_font_if_null:NTF \l_@@_primitive_font
+ { \group_end: \prg_return_false: }
+ { \group_end: \prg_return_true: }
+ }
% \end{macrocode}
% \end{macro}
%
-%
-% \begin{macro}{\font_glyph_if_exist:NnTF}
+% \begin{macro}{\@@_primitive_font_glyph_if_exist:NnTF}
% \begin{macrocode}
-\prg_new_conditional:Nnn \font_glyph_if_exist:Nn {p,TF,T,F}
- {
- \etex_iffontchar:D #1 #2 \scan_stop:
- \prg_return_true:
- \else:
- \prg_return_false:
- \fi:
- }
+\prg_new_conditional:Nnn \@@_primitive_font_glyph_if_exist:Nn {p,TF,T,F}
+ {
+ \etex_iffontchar:D #1 #2 \scan_stop:
+ \prg_return_true:
+ \else:
+ \prg_return_false:
+ \fi:
+ }
% \end{macrocode}
% \end{macro}
%
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-graphite.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-graphite.dtx (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-graphite.dtx 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,103 @@
+% \section{Graphite/AAT code}
+%
+% \iffalse
+% \begin{macrocode}
+%<*fontspec&xetexx>
+% \end{macrocode}
+% \fi
+%
+
+
+% \begin{macro}{\@@_define_aat_feature_group:n}
+% \begin{macrocode}
+\cs_new:Nn \@@_define_aat_feature_group:n
+ { \keys_define:nn {fontspec-aat} { #1 .multichoice: } }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_define_aat_feature:nnnn}
+% \begin{macrocode}
+\cs_new:Nn \@@_define_aat_feature:nnnn
+ {
+ \keys_define:nn {fontspec-aat}
+ {
+ #1/#2 .code:n = { \@@_make_AAT_feature:nn {#3}{#4} }
+ }
+ }
+% \end{macrocode}
+% \end{macro}
+
+% \begin{macro}{\@@_make_AAT_feature:nn}
+% \begin{macrocode}
+\cs_new:Nn \@@_make_AAT_feature:nn
+ {
+ \tl_if_empty:nTF {#1}
+ { \@@_warning:n {aat-feature-not-exist} }
+ {
+ \@@_make_AAT_feature_string:nnTF {#1}{#2}
+ {
+ \@@_update_featstr:n {\l_fontspec_feature_string_tl}
+ }
+ { \@@_warning:nx {aat-feature-not-exist-in-font} {#1,#2} }
+ }
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_make_AAT_feature_string:nnTF}
+% This macro takes the numerical codes for a font feature and
+% creates a specified macro containing the string required in the
+% font definition to turn that feature on or off. Used primarily in
+% [...], but also used to check if small caps
+% exists in the requested font (see page~\pageref{mac:makesmallcaps}).
+%
+% For exclusive selectors, it's easy; just grab the string:
+% For \emph{non}-exclusive selectors, it's a little more complex.
+% If the selector is even, it corresponds to switching the feature on.
+% If the selector is \emph{odd}, it corresponds to switching the feature off.
+% But \XeTeX\ doesn't return a selector string for this number, since the
+% feature is defined for the `switching on' value. So we need to check the
+% selector of the previous number, and then prefix the feature string with |!|
+% to denote the switch.
+%
+% Finally, save out the complete feature string in \cmd\l_fontspec_feature_string_tl.
+% \begin{macrocode}
+\prg_new_conditional:Nnn \@@_make_AAT_feature_string:nn {TF,T,F}
+ {
+ \tl_set:Nx \l_tmpa_tl { \XeTeXfeaturename \l_fontspec_font #1 }
+ \tl_if_empty:NTF \l_tmpa_tl
+ { \prg_return_false: }
+ {
+ \int_compare:nTF { \XeTeXisexclusivefeature\l_fontspec_font #1 > 0 }
+ {
+ \tl_set:Nx \l_tmpb_tl {\XeTeXselectorname\l_fontspec_font #1\space #2}
+ }
+ {
+ \int_if_even:nTF {#2}
+ {
+ \tl_set:Nx \l_tmpb_tl {\XeTeXselectorname\l_fontspec_font #1\space #2}
+ }
+ {
+ \tl_set:Nx \l_tmpb_tl
+ {
+ \XeTeXselectorname\l_fontspec_font #1\space \numexpr#2-1\relax
+ }
+ \tl_if_empty:NF \l_tmpb_tl { \tl_put_left:Nn \l_tmpb_tl {!} }
+ }
+ }
+ \tl_if_empty:NTF \l_tmpb_tl
+ { \prg_return_false: }
+ {
+ \tl_set:Nx \l_fontspec_feature_string_tl { \l_tmpa_tl = \l_tmpb_tl }
+ \prg_return_true:
+ }
+ }
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \iffalse
+% \begin{macrocode}
+%</fontspec&xetexx>
+% \end{macrocode}
+% \fi
Modified: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-internal.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-internal.dtx 2017-01-22 22:33:54 UTC (rev 43015)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-internal.dtx 2017-01-22 22:34:22 UTC (rev 43016)
@@ -6,16 +6,10 @@
% \end{macrocode}
% \fi
%
-% \subsection{Internal macros}
+% \subsection{The main function for setting fonts}
% \label{sec:codeinternal}
%
-% The macros from here in are used internally by all those defined above.
-% They are not designed to remain consistent between versions.
-%
-%
-%
-%
-% \begin{macro}{\fontspec_select:nn}
+% \begin{macro}{\@@_select_font_family:nn}
% This is the command that defines font families for use, the underlying
% procedure of all \cmd\fontspec-like commands. Given a
% list of font features (|#1|) for a requested font (|#2|),
@@ -30,46 +24,46 @@
% \begin{itemize}
% \item \cmd{\l_fontspec_fontname_tl} is used as the generic name of the font being defined.
% \item \cmd{\l_@@_fontid_tl} is the unique identifier of the font with all its features.
-% \item \cmd{\l_fontspec_fontname_up_tl} is the font specifically to be used as the upright font.
+% \item \cmd{\l_@@_fontname_up_tl} is the font specifically to be used as the upright font.
% \item \cmd{\l_@@_basename_tl} is the (immutable) original argument used for |*|-replacing.
% \item \cmd{\l_fontspec_font} is the plain \TeX{} font of the upright font requested.
% \end{itemize}
% \begin{macrocode}
-\cs_set:Nn \fontspec_select:nn
+\cs_new_protected:Nn \@@_select_font_family:nn
{
+%<debug>\typeout{^^J^^J::::::::::::::::::::::::::::::^^J:: fontspec_select:nn~ {#1}~ {#2} }
\group_begin:
\@@_font_suppress_not_found_error:
\@@_init:
- \tl_set:Nx \l_fontspec_fontname_tl {#2}
- \tl_set:Nx \l_fontspec_fontname_up_tl {#2}
- \tl_set:Nx \l_@@_basename_tl {#2}
+ \@@_sanitise_fontname:Nn \l_fontspec_fontname_tl {#2}
+ \@@_sanitise_fontname:Nn \l_@@_fontname_up_tl {#2}
+ \@@_sanitise_fontname:Nn \l_@@_basename_tl {#2}
+ \@@_if_detect_external:nT {#2}
+ { \keys_set:nn {fontspec-preparse-external} {Path} }
+
+ \@@_init_ttc:n {#2}
\@@_load_external_fontoptions:Nn \l_fontspec_fontname_tl {#2}
+
\@@_extract_all_features:n {#1}
+ \tl_set:Nx \l_@@_fontid_tl { \tl_to_str:N \l_fontspec_fontname_tl-:-\tl_to_str:N \l_@@_all_features_clist }
+
+%<debug>\typeout{fontid: \l_@@_fontid_tl}
+
\@@_preparse_features:
-
\@@_load_font:
\@@_set_scriptlang:
\@@_get_features:Nn \l_@@_rawfeatures_sclist {}
\bool_set_false:N \l_@@_firsttime_bool
- \@@_save_family:nTF {#2}
+ \@@_save_family_needed:nTF {#2}
{
- \@@_save_fontinfo:
- \@@_find_autofonts:
- \DeclareFontFamily{\l_@@_nfss_enc_tl}{\l_fontspec_family_tl}{}
- \@@_set_faces:
- \@@_info:nxx {defining-font} {#1} {#2}
-%<*debug>
- \typeout{"\l_@@_fontid_tl"~ defined.}
- \@@_warning:nxx {defining-font} {#1} {#2}
-%</debug>
+ \@@_save_family:nn {#1} {#2}
+%<debug> \@@_warning:nxx {defining-font} {#1} {#2}
}
{
-%<*debug>
- \typeout{"\l_@@_fontid_tl"~ already~ defined~ apparently.}
-%</debug>
+%<debug> \typeout{Font~ family~ already~ defined.}
}
\group_end:
}
@@ -76,6 +70,69 @@
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\fontspec_select:nn}
+% This old name has been used by 3rd party packages so for compatibility:
+% \begin{macrocode}
+\cs_set_eq:NN \fontspec_select:nn \@@_select_font_family:nn
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_sanitise_fontname:Nn}
+% Assigns font name |#2| to token list variable |#1| and strips extension(s) from it in the case of an external font.
+% We strip spaces for luatex for consistency with luaotfload, although I'm not sure this is necessary any more.
+% At one stage this also lowercased the name, but this step has been removed unless someone can remind me why it was necessary.
+% \begin{macrocode}
+\cs_new:Nn \@@_sanitise_fontname:Nn
+ {
+ \tl_set:Nx #1 {#2}
+%<luatex> \tl_remove_all:Nn #1 {~}
+ \clist_map_inline:Nn \l_@@_extensions_clist
+ {
+ \tl_if_in:NnT #1 {##1}
+ {
+ \tl_remove_once:Nn #1 {##1}
+ \tl_set:Nn \l_@@_extension_tl {##1}
+ \clist_map_break:
+ }
+ }
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_if_detect_external:nT}
+% Check if either the fontname ends with a known font extension.
+% \begin{macrocode}
+\prg_new_conditional:Nnn \@@_if_detect_external:n {T}
+ {
+%<debug> \typeout{:: @@_if_detect_external:n { \exp_not:n {#1} } }
+ \clist_map_inline:Nn \l_@@_extensions_clist
+ {
+ \bool_set_false:N \l_@@_tmpa_bool
+ \exp_args:Nx % <- this should be handled earlier
+ \tl_if_in:nnT {#1 <= end_of_string} {##1 <= end_of_string}
+ { \bool_set_true:N \l_@@_tmpa_bool \clist_map_break: }
+ }
+ \bool_if:NTF \l_@@_tmpa_bool \prg_return_true: \prg_return_false:
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_init_ttc:n}
+% For TTC fonts we assume they will be loading the italic/bold fonts from the same file,
+% so prepopulate the fontnames to avoid needing to do it manually.
+% \begin{macrocode}
+\cs_new:Nn \@@_init_ttc:n
+ {
+ \str_if_eq_x:nnT { \str_lower_case:f {\l_@@_extension_tl} } {.ttc}
+ {
+ \@@_sanitise_fontname:Nn \l_@@_fontname_it_tl {#1}
+ \@@_sanitise_fontname:Nn \l_@@_fontname_bf_tl {#1}
+ \@@_sanitise_fontname:Nn \l_@@_fontname_bfit_tl {#1}
+ }
+ }
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\@@_load_external_fontoptions:Nn}
% Load a possible \texttt{.fontspec} font configuration file.
% This file could set font-specific options for the font about to be loaded.
@@ -82,6 +139,7 @@
% \begin{macrocode}
\cs_new:Nn \@@_load_external_fontoptions:Nn
{
+%<debug> \typeout{:: @@_load_external_fontoptions:Nn \exp_not:N #1 {#2} }
\@@_sanitise_fontname:Nn #1 {#2}
\tl_set:Nx \l_@@_ext_filename_tl {#1.fontspec}
\tl_remove_all:Nn \l_@@_ext_filename_tl {~}
@@ -94,10 +152,11 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\@@_extract_features:}
+% \begin{macro}{\@@_extract_all_features:}
% \begin{macrocode}
\cs_new:Nn \@@_extract_all_features:n
{
+%<debug> \typeout{:: @@_extract_all_features:n { \unexpanded {#1} } }
\bool_if:NTF \l_@@_disable_defaults_bool
{
\clist_set:Nx \l_@@_all_features_clist {#1}
@@ -118,10 +177,6 @@
#1
}
}
- \tl_set:Nx \l_@@_fontid_tl { \tl_to_str:N \l_fontspec_fontname_tl-:-\tl_to_str:N \l_@@_all_features_clist }
-%<*debug>
- \typeout{fontid: \l_@@_fontid_tl}
-%</debug>
}
% \end{macrocode}
% \end{macro}
@@ -138,25 +193,25 @@
% \begin{macrocode}
\cs_new:Nn \@@_preparse_features:
{
+%<debug> \typeout{:: @@_preparse_features:}
% \end{macrocode}
% Detect if external fonts are to be used, possibly automatically, and
% parse fontspec features for bold/italic fonts and their features.
% \begin{macrocode}
- \@@_if_detect_external:VT \l_@@_basename_tl
- { \keys_set:nn {fontspec-preparse-external} {ExternalLocation} }
- \keys_set_known:nxN {fontspec-preparse-external}
+ \@@_keys_set_known:nxN {fontspec-preparse-external}
{ \l_@@_all_features_clist }
\l_@@_keys_leftover_clist
+
% \end{macrocode}
% When \cmd{\l_fontspec_fontname_tl} is augmented with a prefix or whatever to create
-% the name of the upright font (\cmd{\l_fontspec_fontname_up_tl}), this latter is the new `general
+% the name of the upright font (\cmd{\l_@@_fontname_up_tl}), this latter is the new `general
% font name' to use.
% \begin{macrocode}
- \tl_set_eq:NN \l_fontspec_fontname_tl \l_fontspec_fontname_up_tl
- \keys_set_known:nxN {fontspec-renderer} {\l_@@_keys_leftover_clist}
+ \tl_set_eq:NN \l_fontspec_fontname_tl \l_@@_fontname_up_tl
+ \@@_keys_set_known:nxN {fontspec-renderer} {\l_@@_keys_leftover_clist}
\l_@@_keys_leftover_clist
- \keys_set_known:nxN {fontspec-preparse} {\l_@@_keys_leftover_clist}
+ \@@_keys_set_known:nxN {fontspec-preparse} {\l_@@_keys_leftover_clist}
\l_@@_fontfeat_clist
}
% \end{macrocode}
@@ -166,46 +221,67 @@
% \begin{macrocode}
\cs_new:Nn \@@_load_font:
{
- \@@_font_set:Nnn \l_fontspec_font
- { \@@_fullname:n {\l_fontspec_fontname_up_tl} } {\f at size pt}
- \@@_font_if_null:NT \l_fontspec_font { \@@_error:nx {font-not-found} {\l_fontspec_fontname_up_tl} }
+%<debug>\typeout{:: @@_load_font}
+%<debug>\typeout{Set~ base~ font~ for~ preliminary~ analysis: \@@_construct_font_call:nn { \l_@@_fontname_up_tl } {} }
+ \@@_primitive_font_set:Nnn \l_fontspec_font
+ { \@@_construct_font_call:nn { \l_@@_fontname_up_tl } {} } {\f at size pt}
+ \@@_primitive_font_if_null:NT \l_fontspec_font { \@@_error:nx {font-not-found} {\l_@@_fontname_up_tl} }
\@@_set_font_type:
- \@@_font_gset:Nnn \l_fontspec_font
- { \@@_fullname:n {\l_fontspec_fontname_up_tl} } {\f at size pt}
+%<debug>\typeout{Set~ base~ font~ properly: \@@_construct_font_call:nn { \l_@@_fontname_up_tl } {} }
+ \@@_primitive_font_gset:Nnn \l_fontspec_font
+ { \@@_construct_font_call:nn { \l_@@_fontname_up_tl } {} } {\f at size pt}
\l_fontspec_font % this is necessary for LuaLaTeX to check the scripts properly
}
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\@@_if_detect_external:nnT}
-% Check if either the fontname ends with a known font extension.
+% \begin{macro}{\@@_construct_font_call:nn}
+% Constructs the complete font invocation.
+% \darg{Base name}
+% \darg{Extension}
+% \darg{TTC Index}
+% \darg{Renderer}
+% \darg{Optical size}
+% \darg{Font features}
+% We check if \meta{Font features} are empty and if so don't add in the separator colon.
% \begin{macrocode}
-\prg_new_conditional:Nnn \@@_if_detect_external:n {T}
+\cs_set:Nn \@@_construct_font_call:nnnnnn
{
- \clist_map_inline:Nn \l_@@_extensions_clist
- {
- \bool_set_false:N \l_@@_tmpa_bool
- \tl_if_in:nnT {#1 <= end_of_string} {##1 <= end_of_string}
- { \bool_set_true:N \l_@@_tmpa_bool \clist_map_break: }
- }
- \bool_if:NTF \l_@@_tmpa_bool \prg_return_true: \prg_return_false:
+ " \@@_fontname_wrap:n { #1 #2 #3 } #4 #5
+ \str_if_eq_x:nnF {#6}{} {:#6} "
}
-\cs_generate_variant:Nn \@@_if_detect_external:nT {V}
% \end{macrocode}
-% \end{macro}
-%
-% \begin{macro}{\@@_fullname:n}
-% Constructs the complete font name based on a common piece of info.
+% In practice, we don't use the six-argument version, since most arguments are constructed on-the-fly:
% \begin{macrocode}
-\cs_set:Nn \@@_fullname:n
+\cs_set:Nn \@@_construct_font_call:nn
{
- \@@_namewrap:n { #1 \l_@@_extension_tl }
- \l_fontspec_renderer_tl
- \l_@@_optical_size_tl
+ \@@_construct_font_call:nnnnnn
+ {#1}
+ \l_@@_extension_tl
+ \l_@@_ttc_index_tl
+ \l_fontspec_renderer_tl
+ \l_@@_optical_size_tl
+ {#2}
}
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\@@_font_is_file:,\@@_font_is_name:}
+% The \cs{@@_fontname_wrap:n} command takes the font name and either passes it through unchanged or wraps it in the syntax for loading a font `by filename'.
+% \XeTeX's syntax is followed since \pkg{luaotfload} provides compatibility.
+% \begin{macrocode}
+\cs_new:Nn \@@_font_is_name:
+ {
+ \cs_set_eq:NN \@@_fontname_wrap:n \use:n
+ }
+\cs_new:Nn \@@_font_is_file:
+ {
+%<xetexx> \cs_set:Npn \@@_fontname_wrap:n ##1 { [ \l_@@_font_path_tl ##1 ] }
+%<luatex> \cs_set:Npn \@@_fontname_wrap:n ##1 { file:\l_@@_font_path_tl ##1 }
+ }
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\@@_set_scriptlang:}
% Only necessary for OpenType fonts.
% First check if the font supports scripts, then apply defaults if
@@ -217,7 +293,7 @@
{
\tl_if_empty:NTF \l_@@_script_name_tl
{
- \fontspec_check_script:nTF {latn}
+ \@@_check_script:nTF {latn}
{
\tl_set:Nn \l_@@_script_name_tl {Latin}
\tl_if_empty:NT \l_@@_lang_name_tl
@@ -224,8 +300,8 @@
{
\tl_set:Nn \l_@@_lang_name_tl {Default}
}
- \keys_set:nx {fontspec} {Script=\l_@@_script_name_tl}
- \keys_set:nx {fontspec} {Language=\l_@@_lang_name_tl}
+ \keys_set:nx {fontspec-opentype} {Script=\l_@@_script_name_tl}
+ \keys_set:nx {fontspec-opentype} {Language=\l_@@_lang_name_tl}
}
{
\@@_info:n {no-scripts}
@@ -236,8 +312,8 @@
{
\tl_set:Nn \l_@@_lang_name_tl {Default}
}
- \keys_set:nx {fontspec} {Script=\l_@@_script_name_tl}
- \keys_set:nx {fontspec} {Language=\l_@@_lang_name_tl}
+ \keys_set:nx {fontspec-opentype} {Script=\l_@@_script_name_tl}
+ \keys_set:nx {fontspec-opentype} {Language=\l_@@_lang_name_tl}
}
}
}
@@ -244,8 +320,50 @@
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\@@_get_features:Nn}
+% This macro is a wrapper for |\keys_set:nn| which expands and adds a
+% default specification to the original passed options. It begins by
+% initialising the commands used to hold font-feature specific
+% strings.
+% Its argument is any additional features to prepend to the default.
%
-% \begin{macro}{\@@_save_family:nTF}
+% Do not set the colour if not explicitly spec'd else \verb|\color| (using
+% specials) will not work.
+% \begin{macrocode}
+\cs_set:Nn \@@_get_features:Nn
+ {
+%<debug> \typeout{:: @@_get_features:Nn \exp_not:N #1 { \exp_not:n {#2} } }
+ \@@_init_fontface:
+ \@@_keys_set_known:nxN {fontspec-renderer} {\l_@@_fontfeat_clist,#2}
+ \l_@@_keys_leftover_clist
+ \@@_keys_set_known:nxN {fontspec} {\l_@@_keys_leftover_clist} \l_@@_keys_leftover_clist
+%<*xetexx>
+ \bool_if:NTF \l_@@_ot_bool
+ {
+%<debug> \typeout{::: Setting~ keys~ for~ OpenType~ font~ features:~"\l_@@_keys_leftover_clist"}
+ \keys_set:nx {fontspec-opentype} {\l_@@_keys_leftover_clist}
+ }
+ {
+%<debug> \typeout{::: Setting~ keys~ for~ AAT~ font~ features:~"\l_@@_keys_leftover_clist"}
+ \bool_if:NT \l_@@_atsui_bool
+ { \keys_set:nx {fontspec-aat} {\l_@@_keys_leftover_clist} }
+ }
+%</xetexx>
+%<*luatex>
+%<debug> \typeout{::: Setting~ keys~ for~ OpenType~ font~ features:~"\l_@@_keys_leftover_clist"}
+ \keys_set:nx {fontspec-opentype} {\l_@@_keys_leftover_clist}
+%</luatex>
+
+ \str_if_eq_x:nnF { \l_@@_hexcol_tl \l_@@_opacity_tl }
+ { \g_@@_hexcol_tl \g_@@_opacity_tl }
+ { \@@_update_featstr:n { color = \l_@@_hexcol_tl\l_@@_opacity_tl } }
+
+ \tl_set_eq:NN #1 \l_@@_rawfeatures_sclist
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_save_family_needed:nTF}
% Check if the family is unique and, if so, save its information.
% (\cs{addfontfeature} and other macros use this data.)
% Then the font family and its shapes are defined in the NFSS.
@@ -256,9 +374,12 @@
% selecting.
%
% \begin{macrocode}
-\prg_new_conditional:Nnn \@@_save_family:n {TF}
+\prg_new_conditional:Nnn \@@_save_family_needed:n {TF}
{
-%<debug>\typeout{save~ family:~ #1}
+
+%<debug> \typeout{save~ family:~ #1}
+%<debug> \typeout{== fontid_tl: "\l_@@_fontid_tl".}
+
\cs_if_exist:NT \l_@@_nfss_fam_tl
{
\cs_set_eq:cN {g_@@_UID_\l_@@_fontid_tl} \l_@@_nfss_fam_tl
@@ -285,30 +406,42 @@
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\@@_save_family:nn}
+% Saves the relevant font information for future processing.
+% \begin{macrocode}
+\cs_new:Nn \@@_save_family:nn
+ {
+ \@@_save_fontinfo:n {#2}
+ \@@_find_autofonts:
+ \DeclareFontFamily{\l_@@_nfss_enc_tl}{\l_fontspec_family_tl}{}
+ \@@_set_faces:
+ \@@_info:nxx {defining-font} {#1} {#2}
+ }
+% \end{macrocode}
+% \end{macro}
%
-% \begin{macro}{\@@_save_fontinfo:nn}
+% \begin{macro}{\@@_save_fontinfo:n}
% Saves the relevant font information for future processing.
% \begin{macrocode}
-\cs_new:Nn \@@_save_fontinfo:
+\cs_new:Nn \@@_save_fontinfo:n
{
\prop_new:c {g_@@_ \l_fontspec_family_tl _prop}
- \prop_gput:cnx {g_@@_ \l_fontspec_family_tl _prop} {fontname} { \l_@@_basename_tl }
+ \prop_gput:cnx {g_@@_ \l_fontspec_family_tl _prop} {fontname} { #1 }
\prop_gput:cnx {g_@@_ \l_fontspec_family_tl _prop} {options} { \l_@@_all_features_clist }
\prop_gput:cnx {g_@@_ \l_fontspec_family_tl _prop} {fontdef}
{
- \@@_fullname:n {\l_fontspec_fontname_tl} :
- \l_@@_pre_feat_sclist \l_@@_rawfeatures_sclist
+ \@@_construct_font_call:nn {\l_fontspec_fontname_tl}
+ { \l_@@_pre_feat_sclist \l_@@_rawfeatures_sclist }
}
- \prop_gput:cnV {g_@@_ \l_fontspec_family_tl _prop} {script-num} \l_fontspec_script_int
- \prop_gput:cnV {g_@@_ \l_fontspec_family_tl _prop} {lang-num} \l_fontspec_language_int
+ \prop_gput:cnV {g_@@_ \l_fontspec_family_tl _prop} {script-num} \l_@@_script_int
+ \prop_gput:cnV {g_@@_ \l_fontspec_family_tl _prop} {lang-num} \l_@@_language_int
\prop_gput:cnV {g_@@_ \l_fontspec_family_tl _prop} {script-tag} \l_fontspec_script_tl
\prop_gput:cnV {g_@@_ \l_fontspec_family_tl _prop} {lang-tag} \l_fontspec_lang_tl
-
}
% \end{macrocode}
% \end{macro}
%
-% \subsubsection{Setting font shapes in a family}
+% \subsection{Setting font shapes in a family}
%
% All NFSS specifications take their default values, so if any of them
% are redefined, the shapes will be selected to fit in with the
@@ -325,22 +458,22 @@
{
\bool_if:nF {\l_@@_noit_bool || \l_@@_nobf_bool}
{
- \@@_set_autofont:Nnn \l_fontspec_fontname_bfit_tl {\l_fontspec_fontname_it_tl} {/B}
- \@@_set_autofont:Nnn \l_fontspec_fontname_bfit_tl {\l_fontspec_fontname_bf_tl} {/I}
- \@@_set_autofont:Nnn \l_fontspec_fontname_bfit_tl {\l_fontspec_fontname_tl} {/BI}
+ \@@_set_autofont:Nnn \l_@@_fontname_bfit_tl {\l_@@_fontname_it_tl} {/B}
+ \@@_set_autofont:Nnn \l_@@_fontname_bfit_tl {\l_@@_fontname_bf_tl} {/I}
+ \@@_set_autofont:Nnn \l_@@_fontname_bfit_tl {\l_fontspec_fontname_tl} {/BI}
}
\bool_if:NF \l_@@_nobf_bool
{
- \@@_set_autofont:Nnn \l_fontspec_fontname_bf_tl {\l_fontspec_fontname_tl} {/B}
+ \@@_set_autofont:Nnn \l_@@_fontname_bf_tl {\l_fontspec_fontname_tl} {/B}
}
\bool_if:NF \l_@@_noit_bool
{
- \@@_set_autofont:Nnn \l_fontspec_fontname_it_tl {\l_fontspec_fontname_tl} {/I}
+ \@@_set_autofont:Nnn \l_@@_fontname_it_tl {\l_fontspec_fontname_tl} {/I}
}
- \@@_set_autofont:Nnn \l_fontspec_fontname_bfsl_tl {\l_fontspec_fontname_sl_tl} {/B}
+ \@@_set_autofont:Nnn \l_@@_fontname_bfsl_tl {\l_@@_fontname_sl_tl} {/B}
}
% \end{macrocode}
% \end{macro}
@@ -350,11 +483,11 @@
\cs_new:Nn \@@_set_faces:
{
\@@_add_nfssfont:nnnn \mddefault \updefault \l_fontspec_fontname_tl \l_@@_fontfeat_up_clist
- \@@_add_nfssfont:nnnn \bfdefault \updefault \l_fontspec_fontname_bf_tl \l_@@_fontfeat_bf_clist
- \@@_add_nfssfont:nnnn \mddefault \itdefault \l_fontspec_fontname_it_tl \l_@@_fontfeat_it_clist
- \@@_add_nfssfont:nnnn \mddefault \sldefault \l_fontspec_fontname_sl_tl \l_@@_fontfeat_sl_clist
- \@@_add_nfssfont:nnnn \bfdefault \itdefault \l_fontspec_fontname_bfit_tl \l_@@_fontfeat_bfit_clist
- \@@_add_nfssfont:nnnn \bfdefault \sldefault \l_fontspec_fontname_bfsl_tl \l_@@_fontfeat_bfsl_clist
+ \@@_add_nfssfont:nnnn \bfdefault \updefault \l_@@_fontname_bf_tl \l_@@_fontfeat_bf_clist
+ \@@_add_nfssfont:nnnn \mddefault \itdefault \l_@@_fontname_it_tl \l_@@_fontfeat_it_clist
+ \@@_add_nfssfont:nnnn \mddefault \sldefault \l_@@_fontname_sl_tl \l_@@_fontfeat_sl_clist
+ \@@_add_nfssfont:nnnn \bfdefault \itdefault \l_@@_fontname_bfit_tl \l_@@_fontfeat_bfit_clist
+ \@@_add_nfssfont:nnnn \bfdefault \sldefault \l_@@_fontname_bfsl_tl \l_@@_fontfeat_bfsl_clist
\prop_map_inline:Nn \l_@@_nfssfont_prop { \@@_set_faces_aux:nnnnn ##2 }
}
@@ -366,8 +499,44 @@
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\fontspec_complete_fontname:Nn}
+% This macro defines |#1| as the input with any |*| tokens of its input
+% replaced by the font name. This lets us define supplementary fonts in full
+% (``\texttt{Baskerville Semibold}'') or in abbreviation (``\texttt{* Semibold}'').
+% \begin{macrocode}
+\cs_set:Nn \fontspec_complete_fontname:Nn
+ {
+ \tl_set:Nx #1 {#2}
+ \tl_replace_all:Nnx #1 {*} {\l_@@_basename_tl}
+%<luatex> \tl_remove_all:Nn #1 {~}
+ }
+% \end{macrocode}
+% \end{macro}
%
+% \begin{macro}{\@@_add_nfssfont:nnnn}
+% \darg{series}
+% \darg{shape}
+% \darg{fontname}
+% \darg{fontspec features}
+% \begin{macrocode}
+\cs_new:Nn \@@_add_nfssfont:nnnn
+ {
+ \tl_set:Nx \l_@@_this_font_tl {#3}
+
+ \tl_if_empty:xTF {#4}
+ { \clist_set:Nn \l_@@_sizefeat_clist {Size={-}} }
+ { \@@_keys_set_known:nxN {fontspec-preparse-nested} {#4} \l_@@_tmp_tl }
+
+ \tl_if_empty:NF \l_@@_this_font_tl
+ {
+ \prop_put:Nxx \l_@@_nfssfont_prop {#1/#2}
+ { {#1}{#2}{\l_@@_this_font_tl}{#4}{\l_@@_sizefeat_clist} }
+ }
+ }
+% \end{macrocode}
+% \end{macro}
%
+%
% \subsubsection{Fonts}
%
% \begin{macro}{\@@_set_font_type:}
@@ -380,8 +549,9 @@
% Multiple Master), respectively.
% \begin{macrocode}
\cs_new:Nn \@@_set_font_type:
+ {
+%<debug> \typeout{:: @@_set_font_type:}
%<*xetexx>
- {
\bool_set_false:N \l_@@_tfm_bool
\bool_set_false:N \l_@@_atsui_bool
\bool_set_false:N \l_@@_ot_bool
@@ -412,17 +582,14 @@
{ \tl_set:Nn \l_fontspec_renderer_tl {/OT} }
}
}
- }
%</xetexx>
%<*luatex>
- {
\bool_set_true:N \l_@@_ot_bool
+%</luatex>
}
-%</luatex>
% \end{macrocode}
% \end{macro}
%
-%
% \begin{macro}{\@@_set_autofont:Nnn}
% \darg{Font name tl}
% \darg{Base font name}
@@ -438,7 +605,6 @@
% If not found, \meta{font name tl} remains empty.
% Otherwise, we have a match.
% \begin{macrocode}
-\cs_generate_variant:Nn \tl_if_empty:nF {x}
\cs_new:Nn \@@_set_autofont:Nnn
{
\bool_if:NF \l_@@_external_bool
@@ -457,8 +623,8 @@
\prg_new_conditional:Nnn \@@_if_autofont:nn {T,TF}
{
- \@@_font_set:Nnn \l_tmpa_font { \@@_fullname:n {#1} } {\f at size pt}
- \@@_font_set:Nnn \l_tmpb_font { \@@_fullname:n {#1#2} } {\f at size pt}
+ \@@_primitive_font_set:Nnn \l_tmpa_font { \@@_construct_font_call:nn {#1} {} } {\f at size pt}
+ \@@_primitive_font_set:Nnn \l_tmpb_font { \@@_construct_font_call:nn {#1#2} {} } {\f at size pt}
\str_if_eq_x:nnTF { \fontname \l_tmpa_font } { \fontname \l_tmpb_font }
{ \prg_return_false: }
{ \prg_return_true: }
@@ -478,7 +644,7 @@
\cs_new:Nn \@@_make_font_shapes:Nnnnn
{
\group_begin:
- \keys_set_known:nxN {fontspec-preparse-external} { #4 } \l_@@_leftover_clist
+ \@@_keys_set_known:nxN {fontspec-preparse-external} { #4 } \l_@@_leftover_clist
\@@_load_fontname:n {#1}
\@@_declare_shape:nnxx {#2} {#3} { \l_@@_fontopts_clist, \l_@@_leftover_clist } {#5}
\group_end:
@@ -486,11 +652,12 @@
\cs_new:Nn \@@_load_fontname:n
{
+%<debug> \typeout{:: @@_load_fontname:n {#1} }
\@@_load_external_fontoptions:Nn \l_fontspec_fontname_tl {#1}
\prop_get:NVNF \g_@@_fontopts_prop \l_fontspec_fontname_tl \l_@@_fontopts_clist
{ \clist_clear:N \l_@@_fontopts_clist }
- \@@_font_set:Nnn \l_fontspec_font {\@@_fullname:n {\l_fontspec_fontname_tl}} {\f at size pt}
- \@@_font_if_null:NT \l_fontspec_font { \@@_error:nx {font-not-found} {#1} }
+ \@@_primitive_font_set:Nnn \l_fontspec_font { \@@_construct_font_call:nn {\l_fontspec_fontname_tl} {} } {\f at size pt}
+ \@@_primitive_font_if_null:NT \l_fontspec_font { \@@_error:nx {font-not-found} {#1} }
}
% \end{macrocode}
% \end{macro}
@@ -510,22 +677,38 @@
% \begin{macrocode}
\cs_new:Nn \@@_declare_shape:nnnn
{
+%<debug>\typeout{=~ declare_shape:~{\l_fontspec_fontname_tl}~{#1}~{#2}}
\tl_clear:N \l_@@_nfss_tl
\tl_clear:N \l_@@_nfss_sc_tl
\tl_set_eq:NN \l_@@_saved_fontname_tl \l_fontspec_fontname_tl
- \exp_args:Nx \clist_map_inline:nn {#4}
- {
+ \exp_args:Nx \clist_map_inline:nn {#4} { \@@_setup_single_size:nn {#3} {##1} }
+
+ \@@_declare_shapes_normal:nn {#1} {#2}
+ \@@_declare_shapes_smcaps:nn {#1} {#2}
+ \@@_declare_shape_slanted:nn {#1} {#2}
+ \@@_declare_shape_loginfo:nn {#1} {#2}
+ }
+\cs_generate_variant:Nn \@@_declare_shape:nnnn {nnxx}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_setup_single_size:nn}
+% \begin{macrocode}
+\cs_new:Nn \@@_setup_single_size:nn
+ {
\tl_clear:N \l_@@_size_tl
\tl_set_eq:NN \l_@@_sizedfont_tl \l_@@_saved_fontname_tl % in case not spec'ed
- \keys_set_known:nxN {fontspec-sizing} { \exp_after:wN \use:n ##1 }
+ \keys_set_known:nxN {fontspec-sizing} { \exp_after:wN \use:n #2 }
\l_@@_sizing_leftover_clist
\tl_if_empty:NT \l_@@_size_tl { \@@_error:n {no-size-info} }
+%<debug>\typeout{==~ size:~\l_@@_size_tl}
% "normal"
\@@_load_fontname:n {\l_@@_sizedfont_tl}
- \@@_setup_nfss:Nnn \l_@@_nfss_tl {#3} {}
+ \@@_setup_nfss:Nnnn \l_@@_nfss_tl {#1} {\l_@@_sizing_leftover_clist} {}
+%<debug> \typeout{===~ sized~ font:~ \l_@@_sizedfont_tl}
% small caps
\clist_set_eq:NN \l_@@_fontfeat_curr_clist \l_@@_fontfeat_sc_clist
@@ -532,66 +715,70 @@
\bool_if:NF \l_@@_nosc_bool
{
- \tl_if_empty:NTF \l_fontspec_fontname_sc_tl
+ \tl_if_empty:NTF \l_@@_fontname_sc_tl
{
-%<debug> \typeout{Attempting~ small~ caps?}
\@@_make_smallcaps:TF
{
-%<debug> \typeout{Small~ caps~ found.}
+%<debug>\typeout{====~Small~ caps~ found.}
\clist_put_left:Nn \l_@@_fontfeat_curr_clist {Letters=SmallCaps}
}
{
-%<debug> \typeout{Small~ caps~ not~ found.}
+%<debug>\typeout{====~Small~ caps~ not~ found.}
\bool_set_true:N \l_@@_nosc_bool
}
}
- { \@@_load_fontname:n {\l_fontspec_fontname_sc_tl} }% local for each size
+ { \@@_load_fontname:n {\l_@@_fontname_sc_tl} }% local for each size
}
\bool_if:NF \l_@@_nosc_bool
{
- \@@_setup_nfss:Nnn \l_@@_nfss_sc_tl {#3} {\l_@@_fontfeat_curr_clist}
+ \@@_setup_nfss:Nnnn \l_@@_nfss_sc_tl
+ {#1} {\l_@@_sizing_leftover_clist} {\l_@@_fontfeat_curr_clist}
}
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_setup_nfss:Nnnn}
+% \begin{macrocode}
+\cs_new:Nn \@@_setup_nfss:Nnnn
+ {
+%<debug>\typeout{====~Setup~NFSS~shape:~<\l_@@_size_tl>~\l_fontspec_fontname_tl}
- }
+ \@@_get_features:Nn \l_@@_rawfeatures_sclist { #2 , #3 , #4 }
+%<debug>\typeout{====~Gathered~features:~\l_@@_rawfeatures_sclist}
- \@@_declare_shapes_normal:nn {#1} {#2}
- \@@_declare_shapes_smcaps:nn {#1} {#2}
- \@@_declare_shape_slanted:nn {#1} {#2}
- \@@_declare_shape_loginfo:nn {#1} {#2}
- }
-\cs_generate_variant:Nn \@@_declare_shape:nnnn {nnxx}
-
-\cs_new:Nn \@@_setup_nfss:Nnn
- {
- \@@_get_features:Nn \l_@@_rawfeatures_sclist
- { #2 , \l_@@_sizing_leftover_clist , #3 }
-
\tl_put_right:Nx #1
{
<\l_@@_size_tl> \l_@@_scale_tl
- \@@_fontwrap:n
- {
- \@@_fullname:n { \l_fontspec_fontname_tl }
- : \l_@@_pre_feat_sclist \l_@@_rawfeatures_sclist
- }
+ \@@_construct_font_call:nn { \l_fontspec_fontname_tl }
+ { \l_@@_pre_feat_sclist \l_@@_rawfeatures_sclist }
}
}
-
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_declare_shapes_normal:nn}
+% \begin{macrocode}
\cs_new:Nn \@@_declare_shapes_normal:nn
{
\@@_DeclareFontShape:xxxxxx {\l_@@_nfss_enc_tl} {\l_fontspec_family_tl}
{#1} {#2} {\l_@@_nfss_tl}{\l_@@_postadjust_tl}
}
-
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_declare_shapes_smcaps:nn}
+% \begin{macrocode}
\cs_new:Nn \@@_declare_shapes_smcaps:nn
{
- \bool_if:NF \l_@@_nosc_bool
+ \tl_if_empty:NF \l_@@_nfss_sc_tl
{
\@@_DeclareFontShape:xxxxxx {\l_@@_nfss_enc_tl} {\l_fontspec_family_tl} {#1}
{ \@@_combo_sc_shape:n {#2} } {\l_@@_nfss_sc_tl} {\l_@@_postadjust_tl}
}
}
+
\cs_new:Nn \@@_combo_sc_shape:n
{
\tl_if_exist:cTF { \@@_shape_merge:nn {#1} {\scdefault} }
@@ -598,9 +785,14 @@
{ \tl_use:c { \@@_shape_merge:nn {#1} {\scdefault} } }
{ \scdefault }
}
-
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_DeclareFontShape:nnnnnn}
+% \begin{macrocode}
\cs_new:Nn \@@_DeclareFontShape:nnnnnn
{
+%<debug>\typeout{DeclareFontShape:~{#1}{#2}{#3}{#4}...}
\group_begin:
\normalsize
\cs_undefine:c {#1/#2/#3/#4/\f at size}
@@ -609,6 +801,8 @@
}
\cs_generate_variant:Nn \@@_DeclareFontShape:nnnnnn {xxxxxx}
% \end{macrocode}
+%
+% \begin{macro}{\@@_declare_shape_slanted:nn}
% This extra stuff for the slanted shape substitution is a little bit awkward.
% We define the slanted shape to be a synonym for it when (a)~we're defining an italic font, but also (b)~when the default slanted shape isn't `it'.
% (Presumably this turned up once in a test and I realised it caused problems. I doubt this would happen much.)
@@ -628,6 +822,9 @@
}
}
% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_declare_shape_loginfo:nn}
% Lastly some informative messaging.
% \begin{macrocode}
\cs_new:Nn \@@_declare_shape_loginfo:nn
@@ -634,6 +831,7 @@
{
\tl_gput_right:Nx \l_fontspec_defined_shapes_tl
{
+ \exp_not:n { \\ }
-~ \exp_not:N \str_case:nn {#1/#2}
{
{\mddefault/\updefault} {'normal'~}
@@ -663,11 +861,13 @@
}
}
}
-\cs_generate_variant:Nn \tl_if_empty:nF {f}
% \end{macrocode}
% Maybe |\str_if_eq_x:nnF| would be better?
% \end{macro}
%
+%
+% \subsubsection{Features}
+%
% \begin{macro}{\l_@@_pre_feat_sclist}
% These are the features always applied to a font selection before other
% features.
@@ -699,157 +899,29 @@
% \end{macro}
%
%
-%
-%
-%
-% \subsubsection{Features}
-%
-% \begin{macro}{\@@_get_features:Nn}
-%
-% This macro is a wrapper for |\keys_set:nn| which expands and adds a
-% default specification to the original passed options. It begins by
-% initialising the commands used to hold font-feature specific
-% strings.
-% Its argument is any additional features to prepend to the default.
-% \begin{macrocode}
-\cs_set:Nn \@@_get_features:Nn
- {
- \sclist_clear:N \l_@@_rawfeatures_sclist
- \tl_clear:N \l_@@_scale_tl
- \tl_set_eq:NN \l_@@_opacity_tl \g_@@_opacity_tl
- \tl_set_eq:NN \l_@@_hexcol_tl \g_@@_hexcol_tl
- \tl_set_eq:NN \l_@@_postadjust_tl \g_@@_postadjust_tl
- \tl_clear:N \l_@@_wordspace_adjust_tl
- \tl_clear:N \l_@@_punctspace_adjust_tl
-
- \keys_set_known:nxN {fontspec-renderer} {\l_@@_fontfeat_clist,#2}
- \l_@@_keys_leftover_clist
- \keys_set:nx {fontspec} {\l_@@_keys_leftover_clist}
-% \end{macrocode}
-% Finish the colour specification.
-% Do not set the colour if not explicitly spec'd else \verb|\color| (using
-% specials) will not work.
-% \begin{macrocode}
- \str_if_eq_x:nnF { \l_@@_hexcol_tl \l_@@_opacity_tl }
- { \g_@@_hexcol_tl \g_@@_opacity_tl }
- {
- \@@_update_featstr:n { color = \l_@@_hexcol_tl\l_@@_opacity_tl }
- }
-
- \tl_set_eq:NN #1 \l_@@_rawfeatures_sclist
- }
-% \end{macrocode}
-% \end{macro}
-%
-% \begin{macro}{\@@_init:}
-% Initialisations that either need to occur globally:
-% (all setting of these variables is done locally inside a group)
-% \begin{macrocode}
-\tl_clear:N \l_@@_family_label_tl
-\tl_clear:N \l_fontspec_fontname_bf_tl
-\tl_clear:N \l_fontspec_fontname_it_tl
-\tl_clear:N \l_fontspec_fake_slant_tl
-\tl_clear:N \l_fontspec_fake_embolden_tl
-\tl_clear:N \l_fontspec_fontname_bfit_tl
-\tl_clear:N \l_fontspec_fontname_sl_tl
-\tl_clear:N \l_fontspec_fontname_bfsl_tl
-\tl_clear:N \l_fontspec_fontname_sc_tl
-\tl_clear:N \l_@@_fontfeat_up_clist
-\tl_clear:N \l_@@_fontfeat_bf_clist
-\tl_clear:N \l_@@_fontfeat_it_clist
-\tl_clear:N \l_@@_fontfeat_bfit_clist
-\tl_clear:N \l_@@_fontfeat_sl_clist
-\tl_clear:N \l_@@_fontfeat_bfsl_clist
-\tl_clear:N \l_@@_fontfeat_sc_clist
-\tl_clear:N \l_@@_script_name_tl
-\tl_clear:N \l_fontspec_script_tl
-\tl_clear:N \l_@@_lang_name_tl
-\tl_clear:N \l_fontspec_lang_tl
-\tl_set:Nn \g_@@_postadjust_tl { \l_@@_wordspace_adjust_tl \l_@@_punctspace_adjust_tl }
-
-\clist_set:Nn \l_@@_sizefeat_clist {Size={-}}
-\tl_new:N \g_@@_hexcol_tl
-\tl_new:N \g_@@_opacity_tl
-\tl_set:Nn \g_@@_hexcol_tl {000000}
-\tl_set:Nn \g_@@_opacity_tl {FF~}
-% \end{macrocode}
-% Or once per fontspec font invocation:
-% (Some of these may be redundant.
-% Check whether they're assigned to globally or not.)
-% \begin{macrocode}
-\cs_set:Npn \@@_init:
- {
- \bool_set_false:N \l_@@_ot_bool
- \bool_set_true:N \l_@@_firsttime_bool
- \cs_set:Npn \@@_namewrap:n ##1 { ##1 }
- \tl_clear:N \l_@@_optical_size_tl
- \tl_clear:N \l_fontspec_renderer_tl
- \tl_clear:N \l_fontspec_defined_shapes_tl
- \tl_clear:N \g_@@_curr_series_tl
- \tl_gset_eq:NN \l_@@_nfss_enc_tl \g_fontspec_encoding_tl
-
- % This is for detecting font families when assigning default features.
- % Replace defaults for the standard families because they're not set in the usual way:
- \exp_args:NV \str_case:nnF {\l_@@_family_label_tl}
- {
- {\rmdefault} { \tl_set:Nn \l_@@_family_label_tl {\g_@@_rmfamily_family} }
- {\sfdefault} { \tl_set:Nn \l_@@_family_label_tl {\g_@@_sffamily_family} }
- {\ttdefault} { \tl_set:Nn \l_@@_family_label_tl {\g_@@_ttfamily_family} }
- }{}
-
-%<*luatex>
- \tl_set:Nn \l_fontspec_mode_tl {node}
- \int_set:Nn \luatex_prehyphenchar:D { `\- } % fixme
- \int_zero:N \luatex_posthyphenchar:D % fixme
- \int_zero:N \luatex_preexhyphenchar:D % fixme
- \int_zero:N \luatex_postexhyphenchar:D % fixme
-%</luatex>
- }
-% \end{macrocode}
-% \end{macro}
-%
-% \begin{macro}{\@@_make_smallcaps:TF}
+% \begin{macro}{\@@_make_ot_smallcaps:TF}
% \label{mac:makesmallcaps}
% This macro checks if the font contains small caps.
% \begin{macrocode}
-\cs_set:Nn \fontspec_make_ot_smallcaps:TF
+%<luatex>\cs_set:Nn \@@_make_smallcaps:TF
+%<xetexx>\cs_set:Nn \@@_make_ot_smallcaps:TF
{
- \fontspec_check_ot_feat:nTF {+smcp} {#1} {#2}
+ \@@_check_ot_feat:nTF {smcp} {#1} {#2}
}
%<*xetexx>
\cs_set:Nn \@@_make_smallcaps:TF
{
\bool_if:NTF \l_@@_ot_bool
- { \fontspec_make_ot_smallcaps:TF {#1} {#2} }
+ { \@@_make_ot_smallcaps:TF {#1} {#2} }
{
\bool_if:NT \l_@@_atsui_bool
- { \fontspec_make_AAT_feature_string:nnTF {3}{3} {#1} {#2} }
+ { \@@_make_AAT_feature_string:nnTF {3}{3} {#1} {#2} }
}
}
%</xetexx>
-%<*luatex>
-\cs_set_eq:NN \@@_make_smallcaps:TF \fontspec_make_ot_smallcaps:TF
-%</luatex>
% \end{macrocode}
% \end{macro}
%
-%
-%
-% \begin{macro}{\sclist_put_right:Nn}
-% I'm hardly going to write an `sclist' module but a couple of functions are
-% useful. Here, items in semi-colon lists are always followed by a semi-colon
-% (as opposed to the s.-c's being placed between elements) so we can append
-% sclists without worrying about it.
-% \begin{macrocode}
-\cs_set_eq:NN \sclist_clear:N \tl_clear:N
-\cs_new:Nn \sclist_gput_right:Nn
- { \tl_gput_right:Nn #1 {#2;} }
-\cs_generate_variant:Nn \sclist_gput_right:Nn {Nx}
-% \end{macrocode}
-% \end{macro}
-%
-%
-%
% \begin{macro}{\@@_update_featstr:n}
% \cmd{\l_@@_rawfeatures_sclist} is the string used to define the list of specific
% font features. Each time another font feature is requested, this
@@ -857,161 +929,87 @@
% separated by semicolons.
% \begin{macrocode}
\cs_new:Nn \@@_update_featstr:n
- {
- \bool_if:NF \l_@@_firsttime_bool
- {
- \sclist_gput_right:Nx \l_@@_rawfeatures_sclist {#1}
- }
- }
+ {
+%<debug> \typeout{:::: @@_update_featstr:n {#1}}
+ \bool_if:NF \l_@@_firsttime_bool
+ {
+ \tl_gset:Nx \g_@@_single_feat_tl { #1 }
+%<debug> \typeout{::::~ Adding~ feature.}
+ \tl_gput_right:Nx \l_@@_rawfeatures_sclist {#1;}
+ }
+ }
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\@@_remove_clashing_featstr:n}
+% \begin{macrocode}
+\cs_new:Nn \@@_remove_clashing_featstr:n
+ {
+%<debug> \typeout{:::: @@_remove_clashing_featstr:n {#1}}
+ \clist_map_inline:nn {#1}
+ {
+%<debug> \typeout{::::~ Removing~ feature~ "##1;"}
+ \tl_gremove_all:Nn \l_@@_rawfeatures_sclist {##1;}
+ }
+ }
+% \end{macrocode}
+% \end{macro}
%
+% \subsection{Initialisation}
%
-% \begin{macro}{\fontspec_make_feature:nnn}
-% This macro is called by each feature key selected, and runs
-% according to which type of font is selected.
+% \begin{macro}{\@@_init:}
+% Initialisations that need to occur once per fontspec font invocation.
+% (Some of these may be redundant.
+% Check whether they're assigned to globally or not.)
% \begin{macrocode}
-\cs_new:Nn \fontspec_make_feature:nnn
-%<*xetexx>
+\cs_set:Npn \@@_init:
{
- \bool_if:NTF \l_@@_ot_bool
- { \fontspec_make_OT_feature:n {#3} }
- {
- \bool_if:NT \l_@@_atsui_bool
- { \fontspec_make_AAT_feature:nn {#1}{#2} }
- }
- }
-%</xetexx>
+%<debug> \typeout{:: @@_init:}
+ \bool_set_false:N \l_@@_ot_bool
+ \bool_set_true:N \l_@@_firsttime_bool
+ \@@_font_is_name:
+ \tl_clear:N \l_@@_font_path_tl
+ \tl_clear:N \l_@@_optical_size_tl
+ \tl_clear:N \l_@@_ttc_index_tl
+ \tl_clear:N \l_fontspec_renderer_tl
+ \tl_clear:N \l_fontspec_defined_shapes_tl
+ \tl_clear:N \g_@@_curr_series_tl
+ \tl_gset_eq:NN \l_@@_nfss_enc_tl \g_fontspec_encoding_tl
+
%<*luatex>
- { \fontspec_make_OT_feature:n {#3} }
+ \tl_set:Nn \l_fontspec_mode_tl {node}
+ \int_set:Nn \luatex_prehyphenchar:D { `\- } % fixme
+ \int_zero:N \luatex_posthyphenchar:D % fixme
+ \int_zero:N \luatex_preexhyphenchar:D % fixme
+ \int_zero:N \luatex_postexhyphenchar:D % fixme
%</luatex>
-\cs_generate_variant:Nn \fontspec_make_feature:nnn {nnx}
-% \end{macrocode}
-%
-% \begin{macrocode}
-\cs_new:Nn \fontspec_make_AAT_feature:nn
- {
- \tl_if_empty:nTF {#1}
- { \@@_warning:n {aat-feature-not-exist} }
- {
- \fontspec_make_AAT_feature_string:nnTF {#1}{#2}
- {
- \@@_update_featstr:n {\l_fontspec_feature_string_tl}
- }
- { \@@_warning:nx {aat-feature-not-exist-in-font} {#1,#2} }
- }
}
-\cs_new:Nn \fontspec_make_OT_feature:n
- {
- \tl_if_empty:nTF {#1}
- { \@@_warning:n {icu-feature-not-exist} }
- {
- \fontspec_check_ot_feat:nTF {#1}
- {
- \@@_update_featstr:n {#1}
- }
- { \@@_warning:nx {icu-feature-not-exist-in-font} {#1} }
- }
- }
-\cs_new_protected:Nn \fontspec_make_numbered_feature:nn
- {
- \fontspec_check_ot_feat:nTF {#1}
- {
- \@@_update_featstr:n { #1 = #2 }
- }
- { \@@_warning:nx {icu-feature-not-exist-in-font} {#1} }
- }
-\cs_generate_variant:Nn \fontspec_make_numbered_feature:nn {xn}
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\@@_define_font_feature:n}
-% \begin{macro}{\@@_define_feature_option:nnnnn}
-% \begin{macro}{\fontspec_define_numbered_feat:nnnn}
-% These macros are used in order to simplify font feature definition later on.
+% \begin{macro}{\@@_init_fontface:}
+% Executed in \cs{@@_get_features:Nn}.
% \begin{macrocode}
-\cs_new:Nn \@@_define_font_feature:n
- {
- \keys_define:nn {fontspec} { #1 .multichoice: }
- }
-\cs_new:Nn \@@_define_feature_option:nnnnn
- {
- \keys_define:nn {fontspec}
- {
- #1/#2 .code:n = { \fontspec_make_feature:nnn{#3}{#4}{#5} }
- }
- }
-\cs_new:Nn \fontspec_define_numbered_feat:nnnn
- {
- \keys_define:nn {fontspec}
- {
- #1/#2 .code:n =
- { \fontspec_make_numbered_feature:nn {#3}{#4} }
- }
- }
+\cs_new:Nn \@@_init_fontface:
+ {
+ \tl_clear:N \l_@@_rawfeatures_sclist
+ \tl_clear:N \l_@@_scale_tl
+ \tl_set_eq:NN \l_@@_opacity_tl \g_@@_opacity_tl
+ \tl_set_eq:NN \l_@@_hexcol_tl \g_@@_hexcol_tl
+ \tl_set_eq:NN \l_@@_postadjust_tl \g_@@_postadjust_tl
+ \tl_clear:N \l_@@_wordspace_adjust_tl
+ \tl_clear:N \l_@@_punctspace_adjust_tl
+ }
% \end{macrocode}
% \end{macro}
-% \end{macro}
-% \end{macro}
%
-% \begin{macro}{\fontspec_make_AAT_feature_string:nnTF}
-% This macro takes the numerical codes for a font feature and
-% creates a specified macro containing the string required in the
-% font definition to turn that feature on or off. Used primarily in
-% [...], but also used to check if small caps
-% exists in the requested font (see page~\pageref{mac:makesmallcaps}).
%
-% For exclusive selectors, it's easy; just grab the string:
-% For \emph{non}-exclusive selectors, it's a little more complex.
-% If the selector is even, it corresponds to switching the feature on.
-% If the selector is \emph{odd}, it corresponds to switching the feature off.
-% But \XeTeX\ doesn't return a selector string for this number, since the
-% feature is defined for the `switching on' value. So we need to check the
-% selector of the previous number, and then prefix the feature string with |!|
-% to denote the switch.
+% \subsection{Miscellaneous}
%
-% Finally, save out the complete feature string in \cmd\l_fontspec_feature_string_tl.
-% \begin{macrocode}
-\prg_new_conditional:Nnn \fontspec_make_AAT_feature_string:nn {TF,T,F}
- {
- \tl_set:Nx \l_tmpa_tl { \XeTeXfeaturename \l_fontspec_font #1 }
- \tl_if_empty:NTF \l_tmpa_tl
- { \prg_return_false: }
- {
- \int_compare:nTF { \XeTeXisexclusivefeature\l_fontspec_font #1 > 0 }
- {
- \tl_set:Nx \l_tmpb_tl {\XeTeXselectorname\l_fontspec_font #1\space #2}
- }
- {
- \int_if_even:nTF {#2}
- {
- \tl_set:Nx \l_tmpb_tl {\XeTeXselectorname\l_fontspec_font #1\space #2}
- }
- {
- \tl_set:Nx \l_tmpb_tl
- {
- \XeTeXselectorname\l_fontspec_font #1\space \numexpr#2-1\relax
- }
- \tl_if_empty:NF \l_tmpb_tl { \tl_put_left:Nn \l_tmpb_tl {!} }
- }
- }
- \tl_if_empty:NTF \l_tmpb_tl
- { \prg_return_false: }
- {
- \tl_set:Nx \l_fontspec_feature_string_tl { \l_tmpa_tl = \l_tmpb_tl }
- \prg_return_true:
- }
- }
- }
-% \end{macrocode}
-% \end{macro}
-%
-% \begin{macro}{\fontspec_iv_str_to_num:Nn}
-% \begin{macro}{\fontspec_v_str_to_num:Nn}
+% \begin{macro}{\@@_iv_str_to_num:Nn}
% This macro takes a four character string and converts it to the
% numerical representation required for \XeTeX\ OpenType script/language/feature
-% purposes. The output is stored in \cmd\l_fontspec_strnum_int.
+% purposes. The output is stored in |#1|.
%
% The reason it's ugly is because the input can be of the form of any of these:
% `|abcd|', `|abc|', `|abc |', `|ab|', `|ab |', \etc.
@@ -1019,16 +1017,12 @@
% reads in the string, delimited by a space; this input is padded with \cmd\@empty s
% and anything beyond four chars is snipped. The \cmd\@empty s then are used to reconstruct
% the spaces in the string to number calculation.
-%
-% The variant \cmd\fontspec_v_str_to_num:n\ is used when looking at features, which are passed around
-% with prepended plus and minus signs (\eg, \texttt{+liga}, \texttt{-dlig}); it
-% simply strips off the first char of the input before calling the normal \cmd\fontspec_iv_str_to_num:n.
% \begin{macrocode}
-\cs_set:Nn \fontspec_iv_str_to_num:Nn
+\cs_set:Nn \@@_iv_str_to_num:Nn
{
- \fontspec_iv_str_to_num:w #1 \q_nil #2 \c_empty_tl \c_empty_tl \q_nil
+ \@@_iv_str_to_num:w #1 \q_nil #2 \c_empty_tl \c_empty_tl \q_nil
}
-\cs_set:Npn \fontspec_iv_str_to_num:w #1 \q_nil #2#3#4#5#6 \q_nil
+\cs_set:Npn \@@_iv_str_to_num:w #1 \q_nil #2#3#4#5#6 \q_nil
{
\int_set:Nn #1
{
@@ -1038,144 +1032,11 @@
+ \ifx \c_empty_tl #5 32 \else `#5 \fi
}
}
-\cs_generate_variant:Nn \fontspec_iv_str_to_num:Nn {No}
-\cs_set:Nn \fontspec_v_str_to_num:Nn
- {
- \bool_if:nTF
- {
- \tl_if_head_eq_charcode_p:nN {#2} {+} ||
- \tl_if_head_eq_charcode_p:nN {#2} {-}
- }
- { \fontspec_iv_str_to_num:No #1 { \use_none:n #2 } }
- { \fontspec_iv_str_to_num:Nn #1 {#2} }
- }
+\cs_generate_variant:Nn \@@_iv_str_to_num:Nn {No}
% \end{macrocode}
% \end{macro}
-% \end{macro}
%
%
-% \begin{macro}{\fontspec_check_script:nTF}
-% This macro takes an OpenType script tag and checks if it exists in the current
-% font. The output boolean is \cmd\@tempswatrue. \cmd\l_fontspec_strnum_int\ is used to store
-% the number corresponding to the script tag string.
-% \begin{macrocode}
-\prg_new_conditional:Nnn \fontspec_check_script:n {TF}
-%<*xetexx>
- {
- \fontspec_iv_str_to_num:Nn \l_fontspec_strnum_int {#1}
- \int_set:Nn \l_tmpb_int { \XeTeXOTcountscripts \l_fontspec_font }
- \int_zero:N \l_tmpa_int
- \bool_set_false:N \l__fontspec_check_bool
- \bool_until_do:nn { \int_compare_p:nNn \l_tmpa_int = \l_tmpb_int }
- {
- \ifnum \XeTeXOTscripttag\l_fontspec_font \l_tmpa_int = \l_fontspec_strnum_int
- \bool_set_true:N \l__fontspec_check_bool
- \int_set:Nn \l_tmpa_int {\l_tmpb_int}
- \else
- \int_incr:N \l_tmpa_int
- \fi
- }
- \bool_if:NTF \l__fontspec_check_bool \prg_return_true: \prg_return_false:
- }
-%</xetexx>
-%<*luatex>
- {
- \directlua{fontspec.check_ot_script("l_fontspec_font", "#1")}
- \bool_if:NTF \l__fontspec_check_bool \prg_return_true: \prg_return_false:
- }
-%</luatex>
-% \end{macrocode}
-% \end{macro}
-%
-% \begin{macro}{\fontspec_check_lang:nTF}
-% This macro takes an OpenType language tag and checks if it exists in the current
-% font/script. The output boolean is \cmd\@tempswatrue. \cmd\l_fontspec_strnum_int\ is used to store
-% the number corresponding to the language tag string.
-% The script used is whatever's held in \cmd\l_fontspec_script_int. By default, that's the
-% number corresponding to `|latn|'.
-% \begin{macrocode}
-\prg_new_conditional:Nnn \fontspec_check_lang:n {TF}
-%<*xetexx>
- {
- \fontspec_iv_str_to_num:Nn \l_fontspec_strnum_int {#1}
- \int_set:Nn \l_tmpb_int
- { \XeTeXOTcountlanguages \l_fontspec_font \l_fontspec_script_int }
- \int_zero:N \l_tmpa_int
- \bool_set_false:N \l__fontspec_check_bool
- \bool_until_do:nn { \int_compare_p:nNn \l_tmpa_int = \l_tmpb_int }
- {
- \ifnum\XeTeXOTlanguagetag\l_fontspec_font\l_fontspec_script_int \l_tmpa_int =\l_fontspec_strnum_int
- \bool_set_true:N \l__fontspec_check_bool
- \int_set:Nn \l_tmpa_int {\l_tmpb_int}
- \else
- \int_incr:N \l_tmpa_int
- \fi
- }
- \bool_if:NTF \l__fontspec_check_bool \prg_return_true: \prg_return_false:
- }
-%</xetexx>
-%<*luatex>
- {
- \directlua
- {
- fontspec.check_ot_lang( "l_fontspec_font", "#1", "\l_fontspec_script_tl" )
- }
- \bool_if:NTF \l__fontspec_check_bool \prg_return_true: \prg_return_false:
- }
-%</luatex>
-% \end{macrocode}
-% \end{macro}
-%
-% \begin{macro}{\fontspec_check_ot_feat:nTF}
-% \begin{macro}{\fontspec_check_ot_feat:nT}
-% This macro takes an OpenType feature tag and checks if it exists in the current
-% font/script/language.
-% \cmd\l_fontspec_strnum_int\ is used to store the number corresponding to the feature tag string.
-% The script used is whatever's held in \cmd\l_fontspec_script_int. By default, that's the
-% number corresponding to `|latn|'. The language used is \cmd\l_fontspec_language_int,
-% by default |0|, the `default language'.
-% \begin{macrocode}
-\prg_new_conditional:Nnn \fontspec_check_ot_feat:n {TF,T}
-%<*xetexx>
- {
- \int_set:Nn \l_tmpb_int
- {
- \XeTeXOTcountfeatures \l_fontspec_font
- \l_fontspec_script_int
- \l_fontspec_language_int
- }
- \fontspec_v_str_to_num:Nn \l_fontspec_strnum_int {#1}
- \int_zero:N \l_tmpa_int
- \bool_set_false:N \l__fontspec_check_bool
- \bool_until_do:nn { \int_compare_p:nNn \l_tmpa_int = \l_tmpb_int }
- {
- \ifnum\XeTeXOTfeaturetag\l_fontspec_font\l_fontspec_script_int\l_fontspec_language_int
- \l_tmpa_int =\l_fontspec_strnum_int
- \bool_set_true:N \l__fontspec_check_bool
- \int_set:Nn \l_tmpa_int {\l_tmpb_int}
- \else
- \int_incr:N \l_tmpa_int
- \fi
- }
- \bool_if:NTF \l__fontspec_check_bool \prg_return_true: \prg_return_false:
- }
-%</xetexx>
-%<*luatex>
- {
- \directlua
- {
- fontspec.check_ot_feat(
- "l_fontspec_font", "#1",
- "\l_fontspec_lang_tl", "\l_fontspec_script_tl"
- )
- }
- \bool_if:NTF \l__fontspec_check_bool \prg_return_true: \prg_return_false:
- }
-%</luatex>
-% \end{macrocode}
-% \end{macro}
-% \end{macro}
-%
% \iffalse
% \begin{macrocode}
%</fontspec&(xetexx|luatex)>
Modified: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-keyval.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-keyval.dtx 2017-01-22 22:33:54 UTC (rev 43015)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-keyval.dtx 2017-01-22 22:34:22 UTC (rev 43016)
@@ -10,12 +10,23 @@
% \end{macrocode}
% \fi
%
+%
% \begin{macrocode}
+\clist_set:Nn \g_@@_all_keyval_modules_clist
+ {
+ fontspec, fontspec-opentype, fontspec-aat,
+ fontspec-preparse, fontspec-preparse-external, fontspec-preparse-nested,
+ fontspec-renderer
+ }
+% \end{macrocode}
+%
+% \begin{macrocode}
\cs_new:Nn \@@_keys_define_code:nnn
- {
- \keys_define:nn {#1} { #2 .code:n = {#3} }
- }
+ {
+ \keys_define:nn {#1} { #2 .code:n = {#3} }
+ }
% \end{macrocode}
+%
% For catching features that cannot be used in |\addfontfeatures|:
% \begin{macrocode}
\cs_new:Nn \@@_aff_error:n
@@ -29,24 +40,26 @@
%
% These features are extracted from the font feature list before all others.
%
-% \paragraph{\feat{ExternalLocation}}
+% \begin{macro}{Path}
% For fonts that aren't installed in the system. If no argument is given, the font is located
% with |kpsewhich|; it's either in the current directory or the \TeX\ tree. Otherwise, the
% argument given defines the file path of the font.
% \begin{macrocode}
-\bool_new:N \l_@@_external_bool
-\@@_keys_define_code:nnn {fontspec-preparse-external} {ExternalLocation}
+\@@_keys_define_code:nnn {fontspec-preparse-external} {Path}
{
\bool_set_true:N \l_@@_nobf_bool
\bool_set_true:N \l_@@_noit_bool
\bool_set_true:N \l_@@_external_bool
- \cs_set:Npn \@@_namewrap:n ##1 { [ #1 ##1 ] }
+ \tl_set:Nn \l_@@_font_path_tl {#1}
+ \@@_font_is_file:
%<*xetexx>
\keys_set:nn {fontspec-renderer} {Renderer=OpenType}
%</xetexx>
}
-\aliasfontfeature{ExternalLocation}{Path}
+\aliasfontfeature{Path}{ExternalLocation}
+\@@_keys_define_code:nnn {fontspec} {Path} {}
% \end{macrocode}
+% \end{macro}
%
% \paragraph{\feat{Extension}}
% For fonts that aren't installed in the system. Specifies the font extension
@@ -57,10 +70,11 @@
\tl_set:Nn \l_@@_extension_tl {#1}
\bool_if:NF \l_@@_external_bool
{
- \keys_set:nn {fontspec-preparse-external} {ExternalLocation}
+ \keys_set:nn {fontspec-preparse-external} {Path}
}
}
\tl_clear:N \l_@@_extension_tl
+\@@_keys_define_code:nnn {fontspec} {Extension} {}
% \end{macrocode}
%
% \subsubsection{Pre-parsed features}
@@ -81,6 +95,7 @@
%<*xetexx>
\tl_set:Nv \l_fontspec_renderer_tl
{ g_fontspec_renderer_tag_ \l_keys_choice_tl }
+ \tl_gset:Nx \g_@@_single_feat_tl { \l_fontspec_renderer_tl }
%</xetexx>
%<*luatex>
\@@_warning:nx {only-xetex-feature} {Renderer=AAT/OpenType/Graphite}
@@ -93,6 +108,7 @@
%<*luatex>
\tl_set:Nv \l_fontspec_mode_tl
{ g_fontspec_mode_tag_ \l_keys_choice_tl }
+ \tl_gset:Nx \g_@@_single_feat_tl { mode=\l_fontspec_mode_tl }
%</luatex>
}
}
@@ -123,6 +139,22 @@
}
% \end{macrocode}
%
+% \paragraph{TTC font index}
+% \begin{macrocode}
+\@@_keys_define_code:nnn {fontspec-preparse} {FontIndex}
+ {
+ \str_if_eq_x:nnF { \str_lower_case:f {\l_@@_extension_tl} } {.ttc}
+ { \@@_warning:n {font-index-needs-ttc} }
+%<xetexx> \tl_set:Nn \l_@@_ttc_index_tl {:#1}
+%<luatex> \tl_set:Nn \l_@@_ttc_index_tl {(#1)}
+ }
+\@@_keys_define_code:nnn {fontspec} {FontIndex}
+ {
+%<xetexx> \tl_set:Nn \l_@@_ttc_index_tl {:#1}
+%<luatex> \tl_set:Nn \l_@@_ttc_index_tl {(#1)}
+ }
+% \end{macrocode}
+%
% \subsubsection{Bold/italic choosing options}
%
% The \feat{Bold}, \feat{Italic}, and \feat{BoldItalic}
@@ -133,7 +165,6 @@
% By default, \pkg{fontspec} uses the default bold series, \cs{bfdefault}.
% We want to be able to make this extensible.
% \begin{macrocode}
-\seq_new:N \g_@@_bf_series_seq
\@@_keys_define_code:nnn {fontspec-preparse-external} {BoldSeries}
{
\tl_gset:Nx \g_@@_curr_series_tl { #1 }
@@ -146,17 +177,15 @@
% \begin{macrocode}
\@@_keys_define_code:nnn {fontspec-preparse-external} {UprightFont}
{
- \fontspec_complete_fontname:Nn \l_fontspec_fontname_up_tl {#1}
+ \fontspec_complete_fontname:Nn \l_@@_fontname_up_tl {#1}
}
\@@_keys_define_code:nnn {fontspec-preparse-external} {FontName}
{
- \fontspec_complete_fontname:Nn \l_fontspec_fontname_up_tl {#1}
+ \fontspec_complete_fontname:Nn \l_@@_fontname_up_tl {#1}
}
% \end{macrocode}
% Bold:
% \begin{macrocode}
-\cs_generate_variant:Nn \tl_if_eq:nnT {ox}
-\cs_generate_variant:Nn \prop_put:Nnn {NxV}
\@@_keys_define_code:nnn {fontspec-preparse-external} {BoldFont}
{
\tl_if_empty:nTF {#1}
@@ -173,7 +202,7 @@
\seq_put_right:Nx \g_@@_bf_series_seq {\bfdefault}
}
\tl_if_eq:oxT \g_@@_curr_series_tl {\bfdefault}
- { \tl_set_eq:NN \l_fontspec_fontname_bf_tl \l_@@_curr_bfname_tl }
+ { \tl_set_eq:NN \l_@@_fontname_bf_tl \l_@@_curr_bfname_tl }
%<debug>\typeout{Setting~bold~font~"\l_@@_curr_bfname_tl"~with~series~"\g_@@_curr_series_tl"}
@@ -182,7 +211,6 @@
}
}
-\prop_new:N \l_@@_nfss_prop
% \end{macrocode}
% Same for italic:
% \begin{macrocode}
@@ -194,7 +222,7 @@
}
{
\bool_set_false:N \l_@@_noit_bool
- \fontspec_complete_fontname:Nn \l_fontspec_fontname_it_tl {#1}
+ \fontspec_complete_fontname:Nn \l_@@_fontname_it_tl {#1}
}
}
% \end{macrocode}
@@ -202,15 +230,15 @@
% \begin{macrocode}
\@@_keys_define_code:nnn {fontspec-preparse-external} {BoldItalicFont}
{
- \fontspec_complete_fontname:Nn \l_fontspec_fontname_bfit_tl {#1}
+ \fontspec_complete_fontname:Nn \l_@@_fontname_bfit_tl {#1}
}
\@@_keys_define_code:nnn {fontspec-preparse-external} {SlantedFont}
{
- \fontspec_complete_fontname:Nn \l_fontspec_fontname_sl_tl {#1}
+ \fontspec_complete_fontname:Nn \l_@@_fontname_sl_tl {#1}
}
\@@_keys_define_code:nnn {fontspec-preparse-external} {BoldSlantedFont}
{
- \fontspec_complete_fontname:Nn \l_fontspec_fontname_bfsl_tl {#1}
+ \fontspec_complete_fontname:Nn \l_@@_fontname_bfsl_tl {#1}
}
% \end{macrocode}
% Small caps isn't pre-parsed because it can vary with others above:
@@ -223,25 +251,11 @@
}
{
\bool_set_false:N \l_@@_nosc_bool
- \fontspec_complete_fontname:Nn \l_fontspec_fontname_sc_tl {#1}
+ \fontspec_complete_fontname:Nn \l_@@_fontname_sc_tl {#1}
}
}
% \end{macrocode}
%
-% \begin{macro}{\fontspec_complete_fontname:Nn}
-% This macro defines |#1| as the input with any |*| tokens of its input
-% replaced by the font name. This lets us define supplementary fonts in full
-% (``\texttt{Baskerville Semibold}'') or in abbreviation (``\texttt{* Semibold}'').
-% \begin{macrocode}
-\cs_set:Nn \fontspec_complete_fontname:Nn
- {
- \tl_set:Nx #1 {#2}
- \tl_replace_all:Nnx #1 {*} {\l_@@_basename_tl}
-%<luatex> \tl_remove_all:Nn #1 {~}
- }
-\cs_generate_variant:Nn \tl_replace_all:Nnn {Nnx}
-% \end{macrocode}
-% \end{macro}
%
% \paragraph{Features}
%
@@ -352,7 +366,6 @@
% \paragraph{NFSS series/shape}
% This option looks similar in name but has a very different function.
% \begin{macrocode}
-\prop_new:N \l_@@_nfssfont_prop
\@@_keys_define_code:nnn {fontspec} {FontFace}
{
\tl_set:No \l_@@_arg_tl { \use_iii:nnn #1 }
@@ -379,28 +392,6 @@
% \end{macrocode}
%
%
-% \begin{macro}{\@@_add_nfssfont:nnnn}
-% \darg{series}
-% \darg{shape}
-% \darg{fontname}
-% \darg{fontspec features}
-% \begin{macrocode}
-\cs_new:Nn \@@_add_nfssfont:nnnn
- {
- \tl_set:Nx \l_@@_this_font_tl {#3}
-
- \tl_if_empty:xTF {#4}
- { \clist_set:Nn \l_@@_sizefeat_clist {Size={-}} }
- { \keys_set_known:noN {fontspec-preparse-nested} {#4} \l_@@_tmp_tl }
-
- \tl_if_empty:NF \l_@@_this_font_tl
- {
- \prop_put:Nxx \l_@@_nfssfont_prop {#1/#2}
- { {#1}{#2}{\l_@@_this_font_tl}{#4}{\l_@@_sizefeat_clist} }
- }
- }
-% \end{macrocode}
-% \end{macro}
%
% \paragraph{Scale}
% If the input isn't one of the pre-defined string options, then
@@ -463,7 +454,7 @@
\settoheight #1
{
\str_if_eq:nnTF {#3} {\font} \rmfamily #3
- \int_case:nnn #2
+ \int_case:nnF #2
{
{5} {x} % x-height
{8} {X} % cap-height
@@ -578,7 +569,7 @@
\tl_if_single:nTF {#1}
{ \tl_set:Nn \l_fontspec_hyphenchar_tl {`#1} }
{ \tl_set:Nn \l_fontspec_hyphenchar_tl { #1} }
- \font_glyph_if_exist:NnTF \l_fontspec_font {\l_fontspec_hyphenchar_tl}
+ \@@_primitive_font_glyph_if_exist:NnTF \l_fontspec_font {\l_fontspec_hyphenchar_tl}
{
\tl_put_right:Nn \l_@@_postadjust_tl
%<*xetexx>
@@ -619,6 +610,9 @@
}
}
}
+% \end{macrocode}
+%
+% \begin{macrocode}
\cs_set:Npn \fontspec_parse_colour:viii #1#2#3#4#5#6#7#8
{
\tl_set:Nn \l_@@_hexcol_tl {#1#2#3#4#5#6}
@@ -632,7 +626,6 @@
\aliasfontfeature{Color}{Colour}
% \end{macrocode}
% \begin{macrocode}
-\int_new:N \l_@@_tmp_int
\@@_keys_define_code:nnn {fontspec} {Opacity}
{
\int_set:Nn \l_@@_tmp_int {255}
@@ -665,7 +658,7 @@
{
\@@_warning:n {no-mapping-ligtex}
\msg_redirect_name:nnn {fontspec} {no-mapping-ligtex} {none}
- \keys_set:nn {fontspec} { Ligatures=TeX }
+ \keys_set:nn {fontspec-opentype} { Ligatures=TeX }
}
{ \@@_warning:n {no-mapping} }
}
@@ -672,15 +665,7 @@
%</luatex>
% \end{macrocode}
%
-% \paragraph{FeatureFile}
-% \begin{macrocode}
-\@@_keys_define_code:nnn {fontspec} {FeatureFile}
- {
- \@@_update_featstr:n { featurefile = #1 }
- }
-% \end{macrocode}
%
-%
% \subsubsection{Continuous font axes}
%
% \begin{macrocode}
@@ -772,17 +757,17 @@
{
\bool_if:NT \l_@@_firsttime_bool
{
- \tl_set:Nn \l_fontspec_fake_slant_tl {#1}
+ \tl_set:Nn \l_@@_fake_slant_tl {#1}
\clist_put_right:Nn \l_@@_fontfeat_it_clist {FakeSlant=#1}
- \tl_set_eq:NN \l_fontspec_fontname_it_tl \l_fontspec_fontname_tl
+ \tl_set_eq:NN \l_@@_fontname_it_tl \l_fontspec_fontname_tl
\bool_set_false:N \l_@@_noit_bool
- \tl_if_empty:NF \l_fontspec_fake_embolden_tl
+ \tl_if_empty:NF \l_@@_fake_embolden_tl
{
\clist_put_right:Nx \l_@@_fontfeat_bfit_clist
- {FakeBold=\l_fontspec_fake_embolden_tl}
+ {FakeBold=\l_@@_fake_embolden_tl}
\clist_put_right:Nx \l_@@_fontfeat_bfit_clist {FakeSlant=#1}
- \tl_set_eq:NN \l_fontspec_fontname_bfit_tl \l_fontspec_fontname_tl
+ \tl_set_eq:NN \l_@@_fontname_bfit_tl \l_fontspec_fontname_tl
}
}
},
@@ -797,17 +782,17 @@
{
\bool_if:NT \l_@@_firsttime_bool
{
- \tl_set:Nn \l_fontspec_fake_embolden_tl {#1}
+ \tl_set:Nn \l_@@_fake_embolden_tl {#1}
\clist_put_right:Nn \l_@@_fontfeat_bf_clist {FakeBold=#1}
- \tl_set_eq:NN \l_fontspec_fontname_bf_tl \l_fontspec_fontname_tl
+ \tl_set_eq:NN \l_@@_fontname_bf_tl \l_fontspec_fontname_tl
\bool_set_false:N \l_@@_nobf_bool
- \tl_if_empty:NF \l_fontspec_fake_slant_tl
+ \tl_if_empty:NF \l_@@_fake_slant_tl
{
\clist_put_right:Nx \l_@@_fontfeat_bfit_clist
- {FakeSlant=\l_fontspec_fake_slant_tl}
+ {FakeSlant=\l_@@_fake_slant_tl}
\clist_put_right:Nx \l_@@_fontfeat_bfit_clist {FakeBold=#1}
- \tl_set_eq:NN \l_fontspec_fontname_bfit_tl \l_fontspec_fontname_tl
+ \tl_set_eq:NN \l_@@_fontname_bfit_tl \l_fontspec_fontname_tl
}
}
},
@@ -816,660 +801,6 @@
% \end{macrocode}
%
%
-% \subsubsection{Ligatures}
-% The call to the nested keyval family must be wrapped in braces to
-% hide the parent list (this later requires the use of global
-% definitions (|\xdef|) in [...]). Both \AAT\ and OpenType
-% names are offered to chose |Rare|/|Discretionary| ligatures.
-% \begin{macrocode}
-\@@_define_font_feature:n{Ligatures}
-\@@_define_feature_option:nnnnn{Ligatures}{Required} {1}{0}{+rlig}
-\@@_define_feature_option:nnnnn{Ligatures}{NoRequired} {1}{1}{-rlig}
-\@@_define_feature_option:nnnnn{Ligatures}{Common} {1}{2}{+liga}
-\@@_define_feature_option:nnnnn{Ligatures}{NoCommon} {1}{3}{-liga}
-\@@_define_feature_option:nnnnn{Ligatures}{Rare} {1}{4}{+dlig}
-\@@_define_feature_option:nnnnn{Ligatures}{NoRare} {1}{5}{-dlig}
-\@@_define_feature_option:nnnnn{Ligatures}{Discretionary} {1}{4}{+dlig}
-\@@_define_feature_option:nnnnn{Ligatures}{NoDiscretionary}{1}{5}{-dlig}
-\@@_define_feature_option:nnnnn{Ligatures}{Contextual} {}{} {+clig}
-\@@_define_feature_option:nnnnn{Ligatures}{NoContextual} {}{} {-clig}
-\@@_define_feature_option:nnnnn{Ligatures}{Historic} {}{} {+hlig}
-\@@_define_feature_option:nnnnn{Ligatures}{NoHistoric} {}{} {-hlig}
-\@@_define_feature_option:nnnnn{Ligatures}{Logos} {1}{6} {}
-\@@_define_feature_option:nnnnn{Ligatures}{NoLogos} {1}{7} {}
-\@@_define_feature_option:nnnnn{Ligatures}{Rebus} {1}{8} {}
-\@@_define_feature_option:nnnnn{Ligatures}{NoRebus} {1}{9} {}
-\@@_define_feature_option:nnnnn{Ligatures}{Diphthong} {1}{10}{}
-\@@_define_feature_option:nnnnn{Ligatures}{NoDiphthong} {1}{11}{}
-\@@_define_feature_option:nnnnn{Ligatures}{Squared} {1}{12}{}
-\@@_define_feature_option:nnnnn{Ligatures}{NoSquared} {1}{13}{}
-\@@_define_feature_option:nnnnn{Ligatures}{AbbrevSquared} {1}{14}{}
-\@@_define_feature_option:nnnnn{Ligatures}{NoAbbrevSquared}{1}{15}{}
-\@@_define_feature_option:nnnnn{Ligatures}{Icelandic} {1}{32}{}
-\@@_define_feature_option:nnnnn{Ligatures}{NoIcelandic} {1}{33}{}
-% \end{macrocode}
-% Emulate CM extra ligatures.
-% \begin{macrocode}
-\keys_define:nn {fontspec}
- {
- Ligatures / TeX .code:n =
- {
-%<*xetexx>
- \@@_update_featstr:n { mapping = tex-text }
-%</xetexx>
-%<*luatex>
- \@@_update_featstr:n { +tlig }
-%</luatex>
- }
- }
-% \end{macrocode}
-%
-% \subsubsection{Letters}
-% \begin{macrocode}
-\@@_define_font_feature:n{Letters}
-\@@_define_feature_option:nnnnn{Letters}{Normal} {3}{0}{}
-\@@_define_feature_option:nnnnn{Letters}{Uppercase} {3}{1}{+case}
-\@@_define_feature_option:nnnnn{Letters}{Lowercase} {3}{2}{}
-\@@_define_feature_option:nnnnn{Letters}{SmallCaps} {3}{3}{+smcp}
-\@@_define_feature_option:nnnnn{Letters}{PetiteCaps} {} {} {+pcap}
-\@@_define_feature_option:nnnnn{Letters}{UppercaseSmallCaps} {} {} {+c2sc}
-\@@_define_feature_option:nnnnn{Letters}{UppercasePetiteCaps}{} {} {+c2pc}
-\@@_define_feature_option:nnnnn{Letters}{InitialCaps} {3}{4}{}
-\@@_define_feature_option:nnnnn{Letters}{Unicase} {} {} {+unic}
-\@@_define_feature_option:nnnnn{Letters}{Random} {} {} {+rand}
-% \end{macrocode}
-%
-% \subsubsection{Numbers}
-%
-% These were originally separated into \feat{NumberCase} and
-% \feat{NumberSpacing} following \AAT, but it makes more sense to
-% combine them.
-%
-% Both naming conventions are offered to select the number case.
-%
-% \begin{macrocode}
-\@@_define_font_feature:n{Numbers}
-\@@_define_feature_option:nnnnn{Numbers}{Monospaced} {6} {0}{+tnum}
-\@@_define_feature_option:nnnnn{Numbers}{Proportional} {6} {1}{+pnum}
-\@@_define_feature_option:nnnnn{Numbers}{Lowercase} {21}{0}{+onum}
-\@@_define_feature_option:nnnnn{Numbers}{OldStyle} {21}{0}{+onum}
-\@@_define_feature_option:nnnnn{Numbers}{Uppercase} {21}{1}{+lnum}
-\@@_define_feature_option:nnnnn{Numbers}{Lining} {21}{1}{+lnum}
-\@@_define_feature_option:nnnnn{Numbers}{SlashedZero} {14}{5}{+zero}
-\@@_define_feature_option:nnnnn{Numbers}{NoSlashedZero}{14}{4}{-zero}
-% \end{macrocode}
-%
-% |luaotload| provides a custom |anum| feature for replacing Latin
-% (AKA Arabic) numbers with Arabic (AKA Indic-Arabic). The same feature
-% maps to Farsi (Persian) numbers if font language is Farsi.
-%
-% \begin{macrocode}
-\luatex_if_engine:T
- {
- \@@_define_feature_option:nnnnn{Numbers}{Arabic}{}{}{+anum}
- }
-% \end{macrocode}
-%
-% \subsubsection{Contextuals}
-% \begin{macrocode}
-\@@_define_font_feature:n {Contextuals}
-\@@_define_feature_option:nnnnn{Contextuals}{Swash} {} {} {+cswh}
-\@@_define_feature_option:nnnnn{Contextuals}{NoSwash} {} {} {-cswh}
-\@@_define_feature_option:nnnnn{Contextuals}{Alternate} {} {} {+calt}
-\@@_define_feature_option:nnnnn{Contextuals}{NoAlternate} {} {} {-calt}
-\@@_define_feature_option:nnnnn{Contextuals}{WordInitial} {8}{0}{+init}
-\@@_define_feature_option:nnnnn{Contextuals}{NoWordInitial}{8}{1}{-init}
-\@@_define_feature_option:nnnnn{Contextuals}{WordFinal} {8}{2}{+fina}
-\@@_define_feature_option:nnnnn{Contextuals}{NoWordFinal} {8}{3}{-fina}
-\@@_define_feature_option:nnnnn{Contextuals}{LineInitial} {8}{4}{}
-\@@_define_feature_option:nnnnn{Contextuals}{NoLineInitial}{8}{5}{}
-\@@_define_feature_option:nnnnn{Contextuals}{LineFinal} {8}{6}{+falt}
-\@@_define_feature_option:nnnnn{Contextuals}{NoLineFinal} {8}{7}{-falt}
-\@@_define_feature_option:nnnnn{Contextuals}{Inner} {8}{8}{+medi}
-\@@_define_feature_option:nnnnn{Contextuals}{NoInner} {8}{9}{-medi}
-% \end{macrocode}
-%
-% \subsubsection{Diacritics}
-% \begin{macrocode}
-\@@_define_font_feature:n{Diacritics}
-\@@_define_feature_option:nnnnn{Diacritics}{Show} {9}{0}{}
-\@@_define_feature_option:nnnnn{Diacritics}{Hide} {9}{1}{}
-\@@_define_feature_option:nnnnn{Diacritics}{Decompose} {9}{2}{}
-\@@_define_feature_option:nnnnn{Diacritics}{MarkToBase} {}{}{+mark}
-\@@_define_feature_option:nnnnn{Diacritics}{NoMarkToBase}{}{}{-mark}
-\@@_define_feature_option:nnnnn{Diacritics}{MarkToMark} {}{}{+mkmk}
-\@@_define_feature_option:nnnnn{Diacritics}{NoMarkToMark}{}{}{-mkmk}
-\@@_define_feature_option:nnnnn{Diacritics}{AboveBase} {}{}{+abvm}
-\@@_define_feature_option:nnnnn{Diacritics}{NoAboveBase} {}{}{-abvm}
-\@@_define_feature_option:nnnnn{Diacritics}{BelowBase} {}{}{+blwm}
-\@@_define_feature_option:nnnnn{Diacritics}{NoBelowBase} {}{}{-blwm}
-% \end{macrocode}
-%
-% \subsubsection{Kerning}
-% \begin{macrocode}
-\@@_define_font_feature:n{Kerning}
-\@@_define_feature_option:nnnnn{Kerning}{Uppercase}{}{}{+cpsp}
-\@@_define_feature_option:nnnnn{Kerning}{On} {}{}{+kern}
-\@@_define_feature_option:nnnnn{Kerning}{Off} {}{}{-kern}
-%\@@_define_feature_option:nnnnn{Kerning}{Vertical}{}{}{+vkrn}
-%\@@_define_feature_option:nnnnn{Kerning}
-% {VerticalAlternateProportional}{}{}{+vpal}
-%\@@_define_feature_option:nnnnn{Kerning}{VerticalAlternateHalfWidth}{}{}{+vhal}
-% \end{macrocode}
-%
-% \subsubsection{Vertical position}
-% \begin{macrocode}
-\@@_define_font_feature:n{VerticalPosition}
-\@@_define_feature_option:nnnnn{VerticalPosition}{Normal} {10}{0}{}
-\@@_define_feature_option:nnnnn{VerticalPosition}{Superior} {10}{1}{+sups}
-\@@_define_feature_option:nnnnn{VerticalPosition}{Inferior} {10}{2}{+subs}
-\@@_define_feature_option:nnnnn{VerticalPosition}{Ordinal} {10}{3}{+ordn}
-\@@_define_feature_option:nnnnn{VerticalPosition}{Numerator} {} {} {+numr}
-\@@_define_feature_option:nnnnn{VerticalPosition}{Denominator}{} {} {+dnom}
-\@@_define_feature_option:nnnnn{VerticalPosition}{ScientificInferior}{}{}{+sinf}
-% \end{macrocode}
-%
-% \subsubsection{Fractions}
-% \begin{macrocode}
-\@@_define_font_feature:n{Fractions}
-\@@_define_feature_option:nnnnn{Fractions}{On} {11}{1}{+frac}
-\@@_define_feature_option:nnnnn{Fractions}{Off} {11}{0}{-frac}
-\@@_define_feature_option:nnnnn{Fractions}{Diagonal} {11}{2}{}
-\@@_define_feature_option:nnnnn{Fractions}{Alternate}{} {} {+afrc}
-% \end{macrocode}
-%
-% \subsubsection{Alternates and variants}
-% Selected numerically because they don't have standard names. Very
-% easy to process, very annoying for the user!
-%
-% \begin{macrocode}
-\@@_define_font_feature:n { Alternate }
-\keys_define:nn {fontspec}
- {
- Alternate .default:n = {0} ,
- Alternate / unknown .code:n =
- {
- \clist_map_inline:nn {#1}
- { \fontspec_make_feature:nnx {17}{##1} { \fontspec_salt:n {##1} } }
- }
- }
-% \end{macrocode}
-%
-% \begin{macrocode}
-\cs_set:Nn \fontspec_salt:n { +salt = #1 }
-% \end{macrocode}
-%
-% \begin{macrocode}
-\@@_define_font_feature:n {Variant}
-\keys_define:nn {fontspec}
- {
- Variant .default:n = {0} ,
- Variant / unknown .code:n =
- {
- \clist_map_inline:nn {#1}
- { \fontspec_make_feature:nnx {18}{##1} { +ss \two at digits {##1} } }
- }
- }
-\aliasfontfeature{Variant}{StylisticSet}
-% \end{macrocode}
-%
-% \begin{macrocode}
-\@@_define_font_feature:n { CharacterVariant }
-\use:x
- {
- \cs_new:Npn \exp_not:N \fontspec_parse_cv:w
- ##1 \c_colon_str ##2 \c_colon_str ##3 \exp_not:N \q_nil
- {
- \fontspec_make_numbered_feature:xn
- { +cv \exp_not:N \two at digits {##1} } {##2}
- }
- \keys_define:nn {fontspec}
- {
- CharacterVariant / unknown .code:n =
- {
- \clist_map_inline:nn {##1}
- {
- \exp_not:N \fontspec_parse_cv:w
- ####1 \c_colon_str 0 \c_colon_str \exp_not:N \q_nil
- }
- }
- }
- }
-% \end{macrocode}
-% Possibilities: \verb|a:0:\q_nil| or \verb|a:b:0:\q_nil|.
-%
-%
-%
-% \subsubsection{Style}
-% \begin{macrocode}
-\@@_define_font_feature:n{Style}
-\@@_define_feature_option:nnnnn{Style}{Alternate} {} {} {+salt}
-\@@_define_feature_option:nnnnn{Style}{Italic} {32}{2}{+ital}
-\@@_define_feature_option:nnnnn{Style}{Ruby} {28}{2}{+ruby}
-\@@_define_feature_option:nnnnn{Style}{Swash} {} {} {+swsh}
-\@@_define_feature_option:nnnnn{Style}{Historic} {} {} {+hist}
-\@@_define_feature_option:nnnnn{Style}{Display} {19}{1}{}
-\@@_define_feature_option:nnnnn{Style}{Engraved} {19}{2}{}
-\@@_define_feature_option:nnnnn{Style}{TitlingCaps} {19}{4}{+titl}
-\@@_define_feature_option:nnnnn{Style}{TallCaps} {19}{5}{}
-\@@_define_feature_option:nnnnn{Style}{HorizontalKana}{} {} {+hkna}
-\@@_define_feature_option:nnnnn{Style}{VerticalKana} {} {} {+vkna}
-\fontspec_define_numbered_feat:nnnn {Style} {MathScript} {+ssty} {0}
-\fontspec_define_numbered_feat:nnnn {Style} {MathScriptScript} {+ssty} {1}
-% \end{macrocode}
-%
-% \subsubsection{CJK shape}
-% \begin{macrocode}
-\@@_define_font_feature:n{CJKShape}
-\@@_define_feature_option:nnnnn{CJKShape}{Traditional}{20}{0} {+trad}
-\@@_define_feature_option:nnnnn{CJKShape}{Simplified} {20}{1} {+smpl}
-\@@_define_feature_option:nnnnn{CJKShape}{JIS1978} {20}{2} {+jp78}
-\@@_define_feature_option:nnnnn{CJKShape}{JIS1983} {20}{3} {+jp83}
-\@@_define_feature_option:nnnnn{CJKShape}{JIS1990} {20}{4} {+jp90}
-\@@_define_feature_option:nnnnn{CJKShape}{Expert} {20}{10}{+expt}
-\@@_define_feature_option:nnnnn{CJKShape}{NLC} {20}{13}{+nlck}
-% \end{macrocode}
-%
-% \subsubsection{Character width}
-% \begin{macrocode}
-\@@_define_font_feature:n{CharacterWidth}
-\@@_define_feature_option:nnnnn{CharacterWidth}{Proportional}{22}{0}{+pwid}
-\@@_define_feature_option:nnnnn{CharacterWidth}{Full}{22}{1}{+fwid}
-\@@_define_feature_option:nnnnn{CharacterWidth}{Half}{22}{2}{+hwid}
-\@@_define_feature_option:nnnnn{CharacterWidth}{Third}{22}{3}{+twid}
-\@@_define_feature_option:nnnnn{CharacterWidth}{Quarter}{22}{4}{+qwid}
-\@@_define_feature_option:nnnnn{CharacterWidth}{AlternateProportional}{22}{5}{+palt}
-\@@_define_feature_option:nnnnn{CharacterWidth}{AlternateHalf}{22}{6}{+halt}
-\@@_define_feature_option:nnnnn{CharacterWidth}{Default}{22}{7}{}
-% \end{macrocode}
-%
-% \subsubsection{Annotation}
-% \begin{macrocode}
-\@@_define_feature_option:nnnnn{Annotation}{Off}{24}{0}{}
-\@@_define_feature_option:nnnnn{Annotation}{Box}{24}{1}{}
-\@@_define_feature_option:nnnnn{Annotation}{RoundedBox}{24}{2}{}
-\@@_define_feature_option:nnnnn{Annotation}{Circle}{24}{3}{}
-\@@_define_feature_option:nnnnn{Annotation}{BlackCircle}{24}{4}{}
-\@@_define_feature_option:nnnnn{Annotation}{Parenthesis}{24}{5}{}
-\@@_define_feature_option:nnnnn{Annotation}{Period}{24}{6}{}
-\@@_define_feature_option:nnnnn{Annotation}{RomanNumerals}{24}{7}{}
-\@@_define_feature_option:nnnnn{Annotation}{Diamond}{24}{8}{}
-\@@_define_feature_option:nnnnn{Annotation}{BlackSquare}{24}{9}{}
-\@@_define_feature_option:nnnnn{Annotation}{BlackRoundSquare}{24}{10}{}
-\@@_define_feature_option:nnnnn{Annotation}{DoubleCircle}{24}{11}{}
-% \end{macrocode}
-%
-% \begin{macrocode}
-\@@_define_font_feature:n { Annotation }
-\keys_define:nn {fontspec}
- {
- Annotation .default:n = {0} ,
- Annotation / unknown .code:n =
- {
- \fontspec_make_feature:nnx {}{}{ +nalt=#1 }
- }
- }
-% \end{macrocode}
-%
-%
-% \subsubsection{Vertical}
-% \begin{macrocode}
-\keys_define:nn {fontspec}
- {
- Vertical .choice: ,
- Vertical / RotatedGlyphs .code:n =
- {
- \bool_if:NTF \l_@@_ot_bool
- {
- \fontspec_make_feature:nnn{}{}{+vrt2}
- \@@_update_featstr:n {vertical}
- }
- {
- \@@_update_featstr:n {vertical}
- }
- }
- }
-% \end{macrocode}
-%
-% \subsubsection{Script}
-%
-% \begin{macrocode}
-\keys_define:nn { fontspec } { Script .choice: }
-\cs_new:Nn \fontspec_new_script:nn
- {
- \keys_define:nn { fontspec } { Script / #1 .code:n =
- \clist_map_inline:nn {#2}
- {
- \fontspec_check_script:nTF {####1}
- {
- \tl_set:Nn \l_fontspec_script_tl {####1}
- \int_set:Nn \l_fontspec_script_int {\l_fontspec_strnum_int}
- \clist_map_break:
- }
- {
- \fontspec_check_script:nTF {latn}
- {
- \@@_warning:nx {script-not-exist-latn} {#1}
- \keys_set:nn {fontspec} {Script=Latin}
- }
- {
- \@@_warning:nx {script-not-exist} {#1}
- }
- }
- }
- }
- }
-% \end{macrocode}
-%
-% \begin{macrocode}
-\newfontscript{Arabic}{arab} \newfontscript{Armenian}{armn}
-\newfontscript{Balinese}{bali}
-\newfontscript{Bengali}{bng2,beng}
-\newfontscript{Bopomofo}{bopo} \newfontscript{Braille}{brai}
-\newfontscript{Buginese}{bugi} \newfontscript{Buhid}{buhd}
-\newfontscript{Byzantine~Music}{byzm}
-\newfontscript{Canadian~Syllabics}{cans}
-\newfontscript{Cherokee}{cher}
-\newfontscript{CJK~Ideographic}{hani} \newfontscript{Coptic}{copt}
-\newfontscript{Cypriot~Syllabary}{cprt} \newfontscript{Cyrillic}{cyrl}
-\newfontscript{Default}{DFLT} \newfontscript{Deseret}{dsrt}
-\newfontscript{Devanagari}{dev2,deva}
-\newfontscript{Ethiopic}{ethi}
-\newfontscript{Georgian}{geor} \newfontscript{Glagolitic}{glag}
-\newfontscript{Gothic}{goth} \newfontscript{Greek}{grek}
-\newfontscript{Gujarati}{gjr2,gujr}
-\newfontscript{Gurmukhi}{gur2,guru}
-\newfontscript{Hangul~Jamo}{jamo} \newfontscript{Hangul}{hang}
-\newfontscript{Hanunoo}{hano} \newfontscript{Hebrew}{hebr}
-\newfontscript{Hiragana~and~Katakana}{kana}
-\newfontscript{Javanese}{java}
-\newfontscript{Kannada}{knd2,knda}
-\newfontscript{Kharosthi}{khar} \newfontscript{Khmer}{khmr}
-\newfontscript{Lao}{lao~} \newfontscript{Latin}{latn}
-\newfontscript{Limbu}{limb} \newfontscript{Linear~B}{linb}
-\newfontscript{Malayalam}{mlm2,mlym}
-\newfontscript{Math}{math}
-\newfontscript{Mongolian}{mong}
-\newfontscript{Musical~Symbols}{musc} \newfontscript{Myanmar}{mymr}
-\newfontscript{N'ko}{nko~} \newfontscript{Ogham}{ogam}
-\newfontscript{Old~Italic}{ital}
-\newfontscript{Old~Persian~Cuneiform}{xpeo}
-\newfontscript{Oriya}{ory2,orya}
-\newfontscript{Osmanya}{osma}
-\newfontscript{Phags-pa}{phag} \newfontscript{Phoenician}{phnx}
-\newfontscript{Runic}{runr} \newfontscript{Shavian}{shaw}
-\newfontscript{Sinhala}{sinh}
-\newfontscript{Sumero-Akkadian~Cuneiform}{xsux}
-\newfontscript{Syloti~Nagri}{sylo} \newfontscript{Syriac}{syrc}
-\newfontscript{Tagalog}{tglg} \newfontscript{Tagbanwa}{tagb}
-\newfontscript{Tai~Le}{tale} \newfontscript{Tai~Lu}{talu}
-\newfontscript{Tamil}{tml2,taml}
-\newfontscript{Telugu}{tel2,telu}
-\newfontscript{Thaana}{thaa} \newfontscript{Thai}{thai}
-\newfontscript{Tibetan}{tibt} \newfontscript{Tifinagh}{tfng}
-\newfontscript{Ugaritic~Cuneiform}{ugar}\newfontscript{Yi}{yi~~}
-% \end{macrocode}
-% For convenience:
-% \begin{macrocode}
-\newfontscript{Kana}{kana}
-\newfontscript{Maths}{math}
-\newfontscript{CJK}{hani}
-% \end{macrocode}
-%
-% \subsubsection{Language}
-%
-% \begin{macrocode}
-\keys_define:nn { fontspec } { Language .choice: }
-\cs_new:Nn \fontspec_new_lang:nn
- {
- \keys_define:nn { fontspec } { Language / #1 .code:n =
- \fontspec_check_lang:nTF {#2}
- {
- \tl_set:Nn \l_fontspec_lang_tl {#2}
- \int_set:Nn \l_fontspec_language_int {\l_fontspec_strnum_int}
- }
- {
- \@@_warning:nx {language-not-exist} {#1}
- \keys_set:nn { fontspec } { Language = Default }
- }
- }
- }
-% \end{macrocode}
-%
-% \begin{macrocode}
-\newfontlanguage{Abaza}{ABA}\newfontlanguage{Abkhazian}{ABK}
-\newfontlanguage{Adyghe}{ADY}\newfontlanguage{Afrikaans}{AFK}
-\newfontlanguage{Afar}{AFR}\newfontlanguage{Agaw}{AGW}
-\newfontlanguage{Altai}{ALT}\newfontlanguage{Amharic}{AMH}
-\newfontlanguage{Arabic}{ARA}\newfontlanguage{Aari}{ARI}
-\newfontlanguage{Arakanese}{ARK}\newfontlanguage{Assamese}{ASM}
-\newfontlanguage{Athapaskan}{ATH}\newfontlanguage{Avar}{AVR}
-\newfontlanguage{Awadhi}{AWA}\newfontlanguage{Aymara}{AYM}
-\newfontlanguage{Azeri}{AZE}\newfontlanguage{Badaga}{BAD}
-\newfontlanguage{Baghelkhandi}{BAG}\newfontlanguage{Balkar}{BAL}
-\newfontlanguage{Baule}{BAU}\newfontlanguage{Berber}{BBR}
-\newfontlanguage{Bench}{BCH}\newfontlanguage{Bible~Cree}{BCR}
-\newfontlanguage{Belarussian}{BEL}\newfontlanguage{Bemba}{BEM}
-\newfontlanguage{Bengali}{BEN}\newfontlanguage{Bulgarian}{BGR}
-\newfontlanguage{Bhili}{BHI}\newfontlanguage{Bhojpuri}{BHO}
-\newfontlanguage{Bikol}{BIK}\newfontlanguage{Bilen}{BIL}
-\newfontlanguage{Blackfoot}{BKF}\newfontlanguage{Balochi}{BLI}
-\newfontlanguage{Balante}{BLN}\newfontlanguage{Balti}{BLT}
-\newfontlanguage{Bambara}{BMB}\newfontlanguage{Bamileke}{BML}
-\newfontlanguage{Breton}{BRE}\newfontlanguage{Brahui}{BRH}
-\newfontlanguage{Braj~Bhasha}{BRI}\newfontlanguage{Burmese}{BRM}
-\newfontlanguage{Bashkir}{BSH}\newfontlanguage{Beti}{BTI}
-\newfontlanguage{Catalan}{CAT}\newfontlanguage{Cebuano}{CEB}
-\newfontlanguage{Chechen}{CHE}\newfontlanguage{Chaha~Gurage}{CHG}
-\newfontlanguage{Chattisgarhi}{CHH}\newfontlanguage{Chichewa}{CHI}
-\newfontlanguage{Chukchi}{CHK}\newfontlanguage{Chipewyan}{CHP}
-\newfontlanguage{Cherokee}{CHR}\newfontlanguage{Chuvash}{CHU}
-\newfontlanguage{Comorian}{CMR}\newfontlanguage{Coptic}{COP}
-\newfontlanguage{Cree}{CRE}\newfontlanguage{Carrier}{CRR}
-\newfontlanguage{Crimean~Tatar}{CRT}\newfontlanguage{Church~Slavonic}{CSL}
-\newfontlanguage{Czech}{CSY}\newfontlanguage{Danish}{DAN}
-\newfontlanguage{Dargwa}{DAR}\newfontlanguage{Woods~Cree}{DCR}
-\newfontlanguage{German}{DEU}
-\newfontlanguage{Dogri}{DGR}\newfontlanguage{Divehi}{DIV}
-\newfontlanguage{Djerma}{DJR}\newfontlanguage{Dangme}{DNG}
-\newfontlanguage{Dinka}{DNK}\newfontlanguage{Dungan}{DUN}
-\newfontlanguage{Dzongkha}{DZN}\newfontlanguage{Ebira}{EBI}
-\newfontlanguage{Eastern~Cree}{ECR}\newfontlanguage{Edo}{EDO}
-\newfontlanguage{Efik}{EFI}\newfontlanguage{Greek}{ELL}
-\newfontlanguage{English}{ENG}\newfontlanguage{Erzya}{ERZ}
-\newfontlanguage{Spanish}{ESP}\newfontlanguage{Estonian}{ETI}
-\newfontlanguage{Basque}{EUQ}\newfontlanguage{Evenki}{EVK}
-\newfontlanguage{Even}{EVN}\newfontlanguage{Ewe}{EWE}
-\newfontlanguage{French~Antillean}{FAN}
-\newfontlanguage{Farsi}{FAR}
-\newfontlanguage{Parsi}{FAR}
-\newfontlanguage{Persian}{FAR}
-\newfontlanguage{Finnish}{FIN}\newfontlanguage{Fijian}{FJI}
-\newfontlanguage{Flemish}{FLE}\newfontlanguage{Forest~Nenets}{FNE}
-\newfontlanguage{Fon}{FON}\newfontlanguage{Faroese}{FOS}
-\newfontlanguage{French}{FRA}\newfontlanguage{Frisian}{FRI}
-\newfontlanguage{Friulian}{FRL}\newfontlanguage{Futa}{FTA}
-\newfontlanguage{Fulani}{FUL}\newfontlanguage{Ga}{GAD}
-\newfontlanguage{Gaelic}{GAE}\newfontlanguage{Gagauz}{GAG}
-\newfontlanguage{Galician}{GAL}\newfontlanguage{Garshuni}{GAR}
-\newfontlanguage{Garhwali}{GAW}\newfontlanguage{Ge'ez}{GEZ}
-\newfontlanguage{Gilyak}{GIL}\newfontlanguage{Gumuz}{GMZ}
-\newfontlanguage{Gondi}{GON}\newfontlanguage{Greenlandic}{GRN}
-\newfontlanguage{Garo}{GRO}\newfontlanguage{Guarani}{GUA}
-\newfontlanguage{Gujarati}{GUJ}\newfontlanguage{Haitian}{HAI}
-\newfontlanguage{Halam}{HAL}\newfontlanguage{Harauti}{HAR}
-\newfontlanguage{Hausa}{HAU}\newfontlanguage{Hawaiin}{HAW}
-\newfontlanguage{Hammer-Banna}{HBN}\newfontlanguage{Hiligaynon}{HIL}
-\newfontlanguage{Hindi}{HIN}\newfontlanguage{High~Mari}{HMA}
-\newfontlanguage{Hindko}{HND}\newfontlanguage{Ho}{HO}
-\newfontlanguage{Harari}{HRI}\newfontlanguage{Croatian}{HRV}
-\newfontlanguage{Hungarian}{HUN}\newfontlanguage{Armenian}{HYE}
-\newfontlanguage{Igbo}{IBO}\newfontlanguage{Ijo}{IJO}
-\newfontlanguage{Ilokano}{ILO}\newfontlanguage{Indonesian}{IND}
-\newfontlanguage{Ingush}{ING}\newfontlanguage{Inuktitut}{INU}
-\newfontlanguage{Irish}{IRI}\newfontlanguage{Irish~Traditional}{IRT}
-\newfontlanguage{Icelandic}{ISL}\newfontlanguage{Inari~Sami}{ISM}
-\newfontlanguage{Italian}{ITA}\newfontlanguage{Hebrew}{IWR}
-\newfontlanguage{Javanese}{JAV}\newfontlanguage{Yiddish}{JII}
-\newfontlanguage{Japanese}{JAN}\newfontlanguage{Judezmo}{JUD}
-\newfontlanguage{Jula}{JUL}\newfontlanguage{Kabardian}{KAB}
-\newfontlanguage{Kachchi}{KAC}\newfontlanguage{Kalenjin}{KAL}
-\newfontlanguage{Kannada}{KAN}\newfontlanguage{Karachay}{KAR}
-\newfontlanguage{Georgian}{KAT}\newfontlanguage{Kazakh}{KAZ}
-\newfontlanguage{Kebena}{KEB}\newfontlanguage{Khutsuri~Georgian}{KGE}
-\newfontlanguage{Khakass}{KHA}\newfontlanguage{Khanty-Kazim}{KHK}
-\newfontlanguage{Khmer}{KHM}\newfontlanguage{Khanty-Shurishkar}{KHS}
-\newfontlanguage{Khanty-Vakhi}{KHV}\newfontlanguage{Khowar}{KHW}
-\newfontlanguage{Kikuyu}{KIK}\newfontlanguage{Kirghiz}{KIR}
-\newfontlanguage{Kisii}{KIS}\newfontlanguage{Kokni}{KKN}
-\newfontlanguage{Kalmyk}{KLM}\newfontlanguage{Kamba}{KMB}
-\newfontlanguage{Kumaoni}{KMN}\newfontlanguage{Komo}{KMO}
-\newfontlanguage{Komso}{KMS}\newfontlanguage{Kanuri}{KNR}
-\newfontlanguage{Kodagu}{KOD}\newfontlanguage{Korean~Old~Hangul}{KOH}
-\newfontlanguage{Konkani}{KOK}\newfontlanguage{Kikongo}{KON}
-\newfontlanguage{Komi-Permyak}{KOP}\newfontlanguage{Korean}{KOR}
-\newfontlanguage{Komi-Zyrian}{KOZ}\newfontlanguage{Kpelle}{KPL}
-\newfontlanguage{Krio}{KRI}\newfontlanguage{Karakalpak}{KRK}
-\newfontlanguage{Karelian}{KRL}\newfontlanguage{Karaim}{KRM}
-\newfontlanguage{Karen}{KRN}\newfontlanguage{Koorete}{KRT}
-\newfontlanguage{Kashmiri}{KSH}\newfontlanguage{Khasi}{KSI}
-\newfontlanguage{Kildin~Sami}{KSM}\newfontlanguage{Kui}{KUI}
-\newfontlanguage{Kulvi}{KUL}\newfontlanguage{Kumyk}{KUM}
-\newfontlanguage{Kurdish}{KUR}\newfontlanguage{Kurukh}{KUU}
-\newfontlanguage{Kuy}{KUY}\newfontlanguage{Koryak}{KYK}
-\newfontlanguage{Ladin}{LAD}\newfontlanguage{Lahuli}{LAH}
-\newfontlanguage{Lak}{LAK}\newfontlanguage{Lambani}{LAM}
-\newfontlanguage{Lao}{LAO}\newfontlanguage{Latin}{LAT}
-\newfontlanguage{Laz}{LAZ}\newfontlanguage{L-Cree}{LCR}
-\newfontlanguage{Ladakhi}{LDK}\newfontlanguage{Lezgi}{LEZ}
-\newfontlanguage{Lingala}{LIN}\newfontlanguage{Low~Mari}{LMA}
-\newfontlanguage{Limbu}{LMB}\newfontlanguage{Lomwe}{LMW}
-\newfontlanguage{Lower~Sorbian}{LSB}\newfontlanguage{Lule~Sami}{LSM}
-\newfontlanguage{Lithuanian}{LTH}\newfontlanguage{Luba}{LUB}
-\newfontlanguage{Luganda}{LUG}\newfontlanguage{Luhya}{LUH}
-\newfontlanguage{Luo}{LUO}\newfontlanguage{Latvian}{LVI}
-\newfontlanguage{Majang}{MAJ}\newfontlanguage{Makua}{MAK}
-\newfontlanguage{Malayalam~Traditional}{MAL}\newfontlanguage{Mansi}{MAN}
-\newfontlanguage{Marathi}{MAR}\newfontlanguage{Marwari}{MAW}
-\newfontlanguage{Mbundu}{MBN}\newfontlanguage{Manchu}{MCH}
-\newfontlanguage{Moose~Cree}{MCR}\newfontlanguage{Mende}{MDE}
-\newfontlanguage{Me'en}{MEN}\newfontlanguage{Mizo}{MIZ}
-\newfontlanguage{Macedonian}{MKD}\newfontlanguage{Male}{MLE}
-\newfontlanguage{Malagasy}{MLG}\newfontlanguage{Malinke}{MLN}
-\newfontlanguage{Malayalam~Reformed}{MLR}\newfontlanguage{Malay}{MLY}
-\newfontlanguage{Mandinka}{MND}\newfontlanguage{Mongolian}{MNG}
-\newfontlanguage{Manipuri}{MNI}\newfontlanguage{Maninka}{MNK}
-\newfontlanguage{Manx~Gaelic}{MNX}\newfontlanguage{Moksha}{MOK}
-\newfontlanguage{Moldavian}{MOL}\newfontlanguage{Mon}{MON}
-\newfontlanguage{Moroccan}{MOR}\newfontlanguage{Maori}{MRI}
-\newfontlanguage{Maithili}{MTH}\newfontlanguage{Maltese}{MTS}
-\newfontlanguage{Mundari}{MUN}\newfontlanguage{Naga-Assamese}{NAG}
-\newfontlanguage{Nanai}{NAN}\newfontlanguage{Naskapi}{NAS}
-\newfontlanguage{N-Cree}{NCR}\newfontlanguage{Ndebele}{NDB}
-\newfontlanguage{Ndonga}{NDG}\newfontlanguage{Nepali}{NEP}
-\newfontlanguage{Newari}{NEW}\newfontlanguage{Nagari}{NGR}
-\newfontlanguage{Norway~House~Cree}{NHC}\newfontlanguage{Nisi}{NIS}
-\newfontlanguage{Niuean}{NIU}\newfontlanguage{Nkole}{NKL}
-\newfontlanguage{N'ko}{NKO}\newfontlanguage{Dutch}{NLD}
-\newfontlanguage{Nogai}{NOG}\newfontlanguage{Norwegian}{NOR}
-\newfontlanguage{Northern~Sami}{NSM}\newfontlanguage{Northern~Tai}{NTA}
-\newfontlanguage{Esperanto}{NTO}\newfontlanguage{Nynorsk}{NYN}
-\newfontlanguage{Oji-Cree}{OCR}\newfontlanguage{Ojibway}{OJB}
-\newfontlanguage{Oriya}{ORI}\newfontlanguage{Oromo}{ORO}
-\newfontlanguage{Ossetian}{OSS}\newfontlanguage{Palestinian~Aramaic}{PAA}
-\newfontlanguage{Pali}{PAL}\newfontlanguage{Punjabi}{PAN}
-\newfontlanguage{Palpa}{PAP}\newfontlanguage{Pashto}{PAS}
-\newfontlanguage{Polytonic~Greek}{PGR}\newfontlanguage{Pilipino}{PIL}
-\newfontlanguage{Palaung}{PLG}\newfontlanguage{Polish}{PLK}
-\newfontlanguage{Provencal}{PRO}\newfontlanguage{Portuguese}{PTG}
-\newfontlanguage{Chin}{QIN}\newfontlanguage{Rajasthani}{RAJ}
-\newfontlanguage{R-Cree}{RCR}\newfontlanguage{Russian~Buriat}{RBU}
-\newfontlanguage{Riang}{RIA}\newfontlanguage{Rhaeto-Romanic}{RMS}
-\newfontlanguage{Romanian}{ROM}\newfontlanguage{Romany}{ROY}
-\newfontlanguage{Rusyn}{RSY}\newfontlanguage{Ruanda}{RUA}
-\newfontlanguage{Russian}{RUS}\newfontlanguage{Sadri}{SAD}
-\newfontlanguage{Sanskrit}{SAN}\newfontlanguage{Santali}{SAT}
-\newfontlanguage{Sayisi}{SAY}\newfontlanguage{Sekota}{SEK}
-\newfontlanguage{Selkup}{SEL}\newfontlanguage{Sango}{SGO}
-\newfontlanguage{Shan}{SHN}\newfontlanguage{Sibe}{SIB}
-\newfontlanguage{Sidamo}{SID}\newfontlanguage{Silte~Gurage}{SIG}
-\newfontlanguage{Skolt~Sami}{SKS}\newfontlanguage{Slovak}{SKY}
-\newfontlanguage{Slavey}{SLA}\newfontlanguage{Slovenian}{SLV}
-\newfontlanguage{Somali}{SML}\newfontlanguage{Samoan}{SMO}
-\newfontlanguage{Sena}{SNA}\newfontlanguage{Sindhi}{SND}
-\newfontlanguage{Sinhalese}{SNH}\newfontlanguage{Soninke}{SNK}
-\newfontlanguage{Sodo~Gurage}{SOG}\newfontlanguage{Sotho}{SOT}
-\newfontlanguage{Albanian}{SQI}\newfontlanguage{Serbian}{SRB}
-\newfontlanguage{Saraiki}{SRK}\newfontlanguage{Serer}{SRR}
-\newfontlanguage{South~Slavey}{SSL}\newfontlanguage{Southern~Sami}{SSM}
-\newfontlanguage{Suri}{SUR}\newfontlanguage{Svan}{SVA}
-\newfontlanguage{Swedish}{SVE}\newfontlanguage{Swadaya~Aramaic}{SWA}
-\newfontlanguage{Swahili}{SWK}\newfontlanguage{Swazi}{SWZ}
-\newfontlanguage{Sutu}{SXT}\newfontlanguage{Syriac}{SYR}
-\newfontlanguage{Tabasaran}{TAB}\newfontlanguage{Tajiki}{TAJ}
-\newfontlanguage{Tamil}{TAM}\newfontlanguage{Tatar}{TAT}
-\newfontlanguage{TH-Cree}{TCR}\newfontlanguage{Telugu}{TEL}
-\newfontlanguage{Tongan}{TGN}\newfontlanguage{Tigre}{TGR}
-\newfontlanguage{Tigrinya}{TGY}\newfontlanguage{Thai}{THA}
-\newfontlanguage{Tahitian}{THT}\newfontlanguage{Tibetan}{TIB}
-\newfontlanguage{Turkmen}{TKM}\newfontlanguage{Temne}{TMN}
-\newfontlanguage{Tswana}{TNA}\newfontlanguage{Tundra~Nenets}{TNE}
-\newfontlanguage{Tonga}{TNG}\newfontlanguage{Todo}{TOD}
-\newfontlanguage{Tsonga}{TSG}\newfontlanguage{Turoyo~Aramaic}{TUA}
-\newfontlanguage{Tulu}{TUL}\newfontlanguage{Tuvin}{TUV}
-\newfontlanguage{Twi}{TWI}\newfontlanguage{Udmurt}{UDM}
-\newfontlanguage{Ukrainian}{UKR}\newfontlanguage{Urdu}{URD}
-\newfontlanguage{Upper~Sorbian}{USB}\newfontlanguage{Uyghur}{UYG}
-\newfontlanguage{Uzbek}{UZB}\newfontlanguage{Venda}{VEN}
-\newfontlanguage{Vietnamese}{VIT}\newfontlanguage{Wa}{WA}
-\newfontlanguage{Wagdi}{WAG}\newfontlanguage{West-Cree}{WCR}
-\newfontlanguage{Welsh}{WEL}\newfontlanguage{Wolof}{WLF}
-\newfontlanguage{Tai~Lue}{XBD}\newfontlanguage{Xhosa}{XHS}
-\newfontlanguage{Yakut}{YAK}\newfontlanguage{Yoruba}{YBA}
-\newfontlanguage{Y-Cree}{YCR}\newfontlanguage{Yi~Classic}{YIC}
-\newfontlanguage{Yi~Modern}{YIM}\newfontlanguage{Chinese~Hong~Kong}{ZHH}
-\newfontlanguage{Chinese~Phonetic}{ZHP}
-\newfontlanguage{Chinese~Simplified}{ZHS}
-\newfontlanguage{Chinese~Traditional}{ZHT}\newfontlanguage{Zande}{ZND}
-\newfontlanguage{Zulu}{ZUL}
-% \end{macrocode}
-%
-% \paragraph{Turkish} Turns out that many fonts use `TUR' as their Turkish language tag rather than the specified `TRK'. So we check for both:
-% \begin{macrocode}
-\keys_define:nn {fontspec}
- {
- Language / Turkish .code:n =
- {
- \fontspec_check_lang:nTF {TRK}
- {
- \int_set:Nn \l_fontspec_language_int {\l_fontspec_strnum_int}
- \tl_set:Nn \l_fontspec_lang_tl {TRK}
- }
- {
- \fontspec_check_lang:nTF {TUR}
- {
- \int_set:Nn \l_fontspec_language_int {\l_fontspec_strnum_int}
- \tl_set:Nn \l_fontspec_lang_tl {TUR}
- }
- {
- \@@_warning:nx {language-not-exist} {Turkish}
- \keys_set:nn {fontspec} {Language=Default}
- }
- }
- }
- }
-% \end{macrocode}
-%
-% \paragraph{Default}
-%
-% \begin{macrocode}
-\@@_keys_define_code:nnn {fontspec}{ Language / Default }
- {
- \tl_set:Nn \l_fontspec_lang_tl {DFLT}
- \int_zero:N \l_fontspec_language_int
- }
-% \end{macrocode}
-%
% \subsubsection{Raw feature string}
% This allows savvy \XeTeX-ers to input font features manually if they have
% already memorised the OpenType abbreviations and don't mind not having error checking.
@@ -1480,6 +811,9 @@
}
% \end{macrocode}
%
+%
+%
+%
% \iffalse
% \begin{macrocode}
%</fontspec&(xetexx|luatex)>
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-lang.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-lang.dtx (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-lang.dtx 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,399 @@
+
+% \subsection{Font language definitions}
+%
+% \iffalse
+% \begin{macrocode}
+%<*fontspec&(xetexx|luatex)>
+% \end{macrocode}
+% \fi
+%
+% \begin{macrocode}
+\newfontlanguage{Abaza}{ABA}
+\newfontlanguage{Abkhazian}{ABK}
+\newfontlanguage{Adyghe}{ADY}
+\newfontlanguage{Afrikaans}{AFK}
+\newfontlanguage{Afar}{AFR}
+\newfontlanguage{Agaw}{AGW}
+\newfontlanguage{Altai}{ALT}
+\newfontlanguage{Amharic}{AMH}
+\newfontlanguage{Arabic}{ARA}
+\newfontlanguage{Aari}{ARI}
+\newfontlanguage{Arakanese}{ARK}
+\newfontlanguage{Assamese}{ASM}
+\newfontlanguage{Athapaskan}{ATH}
+\newfontlanguage{Avar}{AVR}
+\newfontlanguage{Awadhi}{AWA}
+\newfontlanguage{Aymara}{AYM}
+\newfontlanguage{Azeri}{AZE}
+\newfontlanguage{Badaga}{BAD}
+\newfontlanguage{Baghelkhandi}{BAG}
+\newfontlanguage{Balkar}{BAL}
+\newfontlanguage{Baule}{BAU}
+\newfontlanguage{Berber}{BBR}
+\newfontlanguage{Bench}{BCH}
+\newfontlanguage{Bible~Cree}{BCR}
+\newfontlanguage{Belarussian}{BEL}
+\newfontlanguage{Bemba}{BEM}
+\newfontlanguage{Bengali}{BEN}
+\newfontlanguage{Bulgarian}{BGR}
+\newfontlanguage{Bhili}{BHI}
+\newfontlanguage{Bhojpuri}{BHO}
+\newfontlanguage{Bikol}{BIK}
+\newfontlanguage{Bilen}{BIL}
+\newfontlanguage{Blackfoot}{BKF}
+\newfontlanguage{Balochi}{BLI}
+\newfontlanguage{Balante}{BLN}
+\newfontlanguage{Balti}{BLT}
+\newfontlanguage{Bambara}{BMB}
+\newfontlanguage{Bamileke}{BML}
+\newfontlanguage{Breton}{BRE}
+\newfontlanguage{Brahui}{BRH}
+\newfontlanguage{Braj~Bhasha}{BRI}
+\newfontlanguage{Burmese}{BRM}
+\newfontlanguage{Bashkir}{BSH}
+\newfontlanguage{Beti}{BTI}
+\newfontlanguage{Catalan}{CAT}
+\newfontlanguage{Cebuano}{CEB}
+\newfontlanguage{Chechen}{CHE}
+\newfontlanguage{Chaha~Gurage}{CHG}
+\newfontlanguage{Chattisgarhi}{CHH}
+\newfontlanguage{Chichewa}{CHI}
+\newfontlanguage{Chukchi}{CHK}
+\newfontlanguage{Chipewyan}{CHP}
+\newfontlanguage{Cherokee}{CHR}
+\newfontlanguage{Chuvash}{CHU}
+\newfontlanguage{Comorian}{CMR}
+\newfontlanguage{Coptic}{COP}
+\newfontlanguage{Cree}{CRE}
+\newfontlanguage{Carrier}{CRR}
+\newfontlanguage{Crimean~Tatar}{CRT}
+\newfontlanguage{Church~Slavonic}{CSL}
+\newfontlanguage{Czech}{CSY}
+\newfontlanguage{Danish}{DAN}
+\newfontlanguage{Dargwa}{DAR}
+\newfontlanguage{Woods~Cree}{DCR}
+\newfontlanguage{German}{DEU}
+\newfontlanguage{Dogri}{DGR}
+\newfontlanguage{Divehi}{DIV}
+\newfontlanguage{Djerma}{DJR}
+\newfontlanguage{Dangme}{DNG}
+\newfontlanguage{Dinka}{DNK}
+\newfontlanguage{Dungan}{DUN}
+\newfontlanguage{Dzongkha}{DZN}
+\newfontlanguage{Ebira}{EBI}
+\newfontlanguage{Eastern~Cree}{ECR}
+\newfontlanguage{Edo}{EDO}
+\newfontlanguage{Efik}{EFI}
+\newfontlanguage{Greek}{ELL}
+\newfontlanguage{English}{ENG}
+\newfontlanguage{Erzya}{ERZ}
+\newfontlanguage{Spanish}{ESP}
+\newfontlanguage{Estonian}{ETI}
+\newfontlanguage{Basque}{EUQ}
+\newfontlanguage{Evenki}{EVK}
+\newfontlanguage{Even}{EVN}
+\newfontlanguage{Ewe}{EWE}
+\newfontlanguage{French~Antillean}{FAN}
+\newfontlanguage{Farsi}{FAR}
+\newfontlanguage{Parsi}{FAR}
+\newfontlanguage{Persian}{FAR}
+\newfontlanguage{Finnish}{FIN}
+\newfontlanguage{Fijian}{FJI}
+\newfontlanguage{Flemish}{FLE}
+\newfontlanguage{Forest~Nenets}{FNE}
+\newfontlanguage{Fon}{FON}
+\newfontlanguage{Faroese}{FOS}
+\newfontlanguage{French}{FRA}
+\newfontlanguage{Frisian}{FRI}
+\newfontlanguage{Friulian}{FRL}
+\newfontlanguage{Futa}{FTA}
+\newfontlanguage{Fulani}{FUL}
+\newfontlanguage{Ga}{GAD}
+\newfontlanguage{Gaelic}{GAE}
+\newfontlanguage{Gagauz}{GAG}
+\newfontlanguage{Galician}{GAL}
+\newfontlanguage{Garshuni}{GAR}
+\newfontlanguage{Garhwali}{GAW}
+\newfontlanguage{Ge'ez}{GEZ}
+\newfontlanguage{Gilyak}{GIL}
+\newfontlanguage{Gumuz}{GMZ}
+\newfontlanguage{Gondi}{GON}
+\newfontlanguage{Greenlandic}{GRN}
+\newfontlanguage{Garo}{GRO}
+\newfontlanguage{Guarani}{GUA}
+\newfontlanguage{Gujarati}{GUJ}
+\newfontlanguage{Haitian}{HAI}
+\newfontlanguage{Halam}{HAL}
+\newfontlanguage{Harauti}{HAR}
+\newfontlanguage{Hausa}{HAU}
+\newfontlanguage{Hawaiin}{HAW}
+\newfontlanguage{Hammer-Banna}{HBN}
+\newfontlanguage{Hiligaynon}{HIL}
+\newfontlanguage{Hindi}{HIN}
+\newfontlanguage{High~Mari}{HMA}
+\newfontlanguage{Hindko}{HND}
+\newfontlanguage{Ho}{HO}
+\newfontlanguage{Harari}{HRI}
+\newfontlanguage{Croatian}{HRV}
+\newfontlanguage{Hungarian}{HUN}
+\newfontlanguage{Armenian}{HYE}
+\newfontlanguage{Igbo}{IBO}
+\newfontlanguage{Ijo}{IJO}
+\newfontlanguage{Ilokano}{ILO}
+\newfontlanguage{Indonesian}{IND}
+\newfontlanguage{Ingush}{ING}
+\newfontlanguage{Inuktitut}{INU}
+\newfontlanguage{Irish}{IRI}
+\newfontlanguage{Irish~Traditional}{IRT}
+\newfontlanguage{Icelandic}{ISL}
+\newfontlanguage{Inari~Sami}{ISM}
+\newfontlanguage{Italian}{ITA}
+\newfontlanguage{Hebrew}{IWR}
+\newfontlanguage{Javanese}{JAV}
+\newfontlanguage{Yiddish}{JII}
+\newfontlanguage{Japanese}{JAN}
+\newfontlanguage{Judezmo}{JUD}
+\newfontlanguage{Jula}{JUL}
+\newfontlanguage{Kabardian}{KAB}
+\newfontlanguage{Kachchi}{KAC}
+\newfontlanguage{Kalenjin}{KAL}
+\newfontlanguage{Kannada}{KAN}
+\newfontlanguage{Karachay}{KAR}
+\newfontlanguage{Georgian}{KAT}
+\newfontlanguage{Kazakh}{KAZ}
+\newfontlanguage{Kebena}{KEB}
+\newfontlanguage{Khutsuri~Georgian}{KGE}
+\newfontlanguage{Khakass}{KHA}
+\newfontlanguage{Khanty-Kazim}{KHK}
+\newfontlanguage{Khmer}{KHM}
+\newfontlanguage{Khanty-Shurishkar}{KHS}
+\newfontlanguage{Khanty-Vakhi}{KHV}
+\newfontlanguage{Khowar}{KHW}
+\newfontlanguage{Kikuyu}{KIK}
+\newfontlanguage{Kirghiz}{KIR}
+\newfontlanguage{Kisii}{KIS}
+\newfontlanguage{Kokni}{KKN}
+\newfontlanguage{Kalmyk}{KLM}
+\newfontlanguage{Kamba}{KMB}
+\newfontlanguage{Kumaoni}{KMN}
+\newfontlanguage{Komo}{KMO}
+\newfontlanguage{Komso}{KMS}
+\newfontlanguage{Kanuri}{KNR}
+\newfontlanguage{Kodagu}{KOD}
+\newfontlanguage{Korean~Old~Hangul}{KOH}
+\newfontlanguage{Konkani}{KOK}
+\newfontlanguage{Kikongo}{KON}
+\newfontlanguage{Komi-Permyak}{KOP}
+\newfontlanguage{Korean}{KOR}
+\newfontlanguage{Komi-Zyrian}{KOZ}
+\newfontlanguage{Kpelle}{KPL}
+\newfontlanguage{Krio}{KRI}
+\newfontlanguage{Karakalpak}{KRK}
+\newfontlanguage{Karelian}{KRL}
+\newfontlanguage{Karaim}{KRM}
+\newfontlanguage{Karen}{KRN}
+\newfontlanguage{Koorete}{KRT}
+\newfontlanguage{Kashmiri}{KSH}
+\newfontlanguage{Khasi}{KSI}
+\newfontlanguage{Kildin~Sami}{KSM}
+\newfontlanguage{Kui}{KUI}
+\newfontlanguage{Kulvi}{KUL}
+\newfontlanguage{Kumyk}{KUM}
+\newfontlanguage{Kurdish}{KUR}
+\newfontlanguage{Kurukh}{KUU}
+\newfontlanguage{Kuy}{KUY}
+\newfontlanguage{Koryak}{KYK}
+\newfontlanguage{Ladin}{LAD}
+\newfontlanguage{Lahuli}{LAH}
+\newfontlanguage{Lak}{LAK}
+\newfontlanguage{Lambani}{LAM}
+\newfontlanguage{Lao}{LAO}
+\newfontlanguage{Latin}{LAT}
+\newfontlanguage{Laz}{LAZ}
+\newfontlanguage{L-Cree}{LCR}
+\newfontlanguage{Ladakhi}{LDK}
+\newfontlanguage{Lezgi}{LEZ}
+\newfontlanguage{Lingala}{LIN}
+\newfontlanguage{Low~Mari}{LMA}
+\newfontlanguage{Limbu}{LMB}
+\newfontlanguage{Lomwe}{LMW}
+\newfontlanguage{Lower~Sorbian}{LSB}
+\newfontlanguage{Lule~Sami}{LSM}
+\newfontlanguage{Lithuanian}{LTH}
+\newfontlanguage{Luba}{LUB}
+\newfontlanguage{Luganda}{LUG}
+\newfontlanguage{Luhya}{LUH}
+\newfontlanguage{Luo}{LUO}
+\newfontlanguage{Latvian}{LVI}
+\newfontlanguage{Majang}{MAJ}
+\newfontlanguage{Makua}{MAK}
+\newfontlanguage{Malayalam~Traditional}{MAL}
+\newfontlanguage{Mansi}{MAN}
+\newfontlanguage{Marathi}{MAR}
+\newfontlanguage{Marwari}{MAW}
+\newfontlanguage{Mbundu}{MBN}
+\newfontlanguage{Manchu}{MCH}
+\newfontlanguage{Moose~Cree}{MCR}
+\newfontlanguage{Mende}{MDE}
+\newfontlanguage{Me'en}{MEN}
+\newfontlanguage{Mizo}{MIZ}
+\newfontlanguage{Macedonian}{MKD}
+\newfontlanguage{Male}{MLE}
+\newfontlanguage{Malagasy}{MLG}
+\newfontlanguage{Malinke}{MLN}
+\newfontlanguage{Malayalam~Reformed}{MLR}
+\newfontlanguage{Malay}{MLY}
+\newfontlanguage{Mandinka}{MND}
+\newfontlanguage{Mongolian}{MNG}
+\newfontlanguage{Manipuri}{MNI}
+\newfontlanguage{Maninka}{MNK}
+\newfontlanguage{Manx~Gaelic}{MNX}
+\newfontlanguage{Moksha}{MOK}
+\newfontlanguage{Moldavian}{MOL}
+\newfontlanguage{Mon}{MON}
+\newfontlanguage{Moroccan}{MOR}
+\newfontlanguage{Maori}{MRI}
+\newfontlanguage{Maithili}{MTH}
+\newfontlanguage{Maltese}{MTS}
+\newfontlanguage{Mundari}{MUN}
+\newfontlanguage{Naga-Assamese}{NAG}
+\newfontlanguage{Nanai}{NAN}
+\newfontlanguage{Naskapi}{NAS}
+\newfontlanguage{N-Cree}{NCR}
+\newfontlanguage{Ndebele}{NDB}
+\newfontlanguage{Ndonga}{NDG}
+\newfontlanguage{Nepali}{NEP}
+\newfontlanguage{Newari}{NEW}
+\newfontlanguage{Nagari}{NGR}
+\newfontlanguage{Norway~House~Cree}{NHC}
+\newfontlanguage{Nisi}{NIS}
+\newfontlanguage{Niuean}{NIU}
+\newfontlanguage{Nkole}{NKL}
+\newfontlanguage{N'ko}{NKO}
+\newfontlanguage{Dutch}{NLD}
+\newfontlanguage{Nogai}{NOG}
+\newfontlanguage{Norwegian}{NOR}
+\newfontlanguage{Northern~Sami}{NSM}
+\newfontlanguage{Northern~Tai}{NTA}
+\newfontlanguage{Esperanto}{NTO}
+\newfontlanguage{Nynorsk}{NYN}
+\newfontlanguage{Oji-Cree}{OCR}
+\newfontlanguage{Ojibway}{OJB}
+\newfontlanguage{Oriya}{ORI}
+\newfontlanguage{Oromo}{ORO}
+\newfontlanguage{Ossetian}{OSS}
+\newfontlanguage{Palestinian~Aramaic}{PAA}
+\newfontlanguage{Pali}{PAL}
+\newfontlanguage{Punjabi}{PAN}
+\newfontlanguage{Palpa}{PAP}
+\newfontlanguage{Pashto}{PAS}
+\newfontlanguage{Polytonic~Greek}{PGR}
+\newfontlanguage{Pilipino}{PIL}
+\newfontlanguage{Palaung}{PLG}
+\newfontlanguage{Polish}{PLK}
+\newfontlanguage{Provencal}{PRO}
+\newfontlanguage{Portuguese}{PTG}
+\newfontlanguage{Chin}{QIN}
+\newfontlanguage{Rajasthani}{RAJ}
+\newfontlanguage{R-Cree}{RCR}
+\newfontlanguage{Russian~Buriat}{RBU}
+\newfontlanguage{Riang}{RIA}
+\newfontlanguage{Rhaeto-Romanic}{RMS}
+\newfontlanguage{Romanian}{ROM}
+\newfontlanguage{Romany}{ROY}
+\newfontlanguage{Rusyn}{RSY}
+\newfontlanguage{Ruanda}{RUA}
+\newfontlanguage{Russian}{RUS}
+\newfontlanguage{Sadri}{SAD}
+\newfontlanguage{Sanskrit}{SAN}
+\newfontlanguage{Santali}{SAT}
+\newfontlanguage{Sayisi}{SAY}
+\newfontlanguage{Sekota}{SEK}
+\newfontlanguage{Selkup}{SEL}
+\newfontlanguage{Sango}{SGO}
+\newfontlanguage{Shan}{SHN}
+\newfontlanguage{Sibe}{SIB}
+\newfontlanguage{Sidamo}{SID}
+\newfontlanguage{Silte~Gurage}{SIG}
+\newfontlanguage{Skolt~Sami}{SKS}
+\newfontlanguage{Slovak}{SKY}
+\newfontlanguage{Slavey}{SLA}
+\newfontlanguage{Slovenian}{SLV}
+\newfontlanguage{Somali}{SML}
+\newfontlanguage{Samoan}{SMO}
+\newfontlanguage{Sena}{SNA}
+\newfontlanguage{Sindhi}{SND}
+\newfontlanguage{Sinhalese}{SNH}
+\newfontlanguage{Soninke}{SNK}
+\newfontlanguage{Sodo~Gurage}{SOG}
+\newfontlanguage{Sotho}{SOT}
+\newfontlanguage{Albanian}{SQI}
+\newfontlanguage{Serbian}{SRB}
+\newfontlanguage{Saraiki}{SRK}
+\newfontlanguage{Serer}{SRR}
+\newfontlanguage{South~Slavey}{SSL}
+\newfontlanguage{Southern~Sami}{SSM}
+\newfontlanguage{Suri}{SUR}
+\newfontlanguage{Svan}{SVA}
+\newfontlanguage{Swedish}{SVE}
+\newfontlanguage{Swadaya~Aramaic}{SWA}
+\newfontlanguage{Swahili}{SWK}
+\newfontlanguage{Swazi}{SWZ}
+\newfontlanguage{Sutu}{SXT}
+\newfontlanguage{Syriac}{SYR}
+\newfontlanguage{Tabasaran}{TAB}
+\newfontlanguage{Tajiki}{TAJ}
+\newfontlanguage{Tamil}{TAM}
+\newfontlanguage{Tatar}{TAT}
+\newfontlanguage{TH-Cree}{TCR}
+\newfontlanguage{Telugu}{TEL}
+\newfontlanguage{Tongan}{TGN}
+\newfontlanguage{Tigre}{TGR}
+\newfontlanguage{Tigrinya}{TGY}
+\newfontlanguage{Thai}{THA}
+\newfontlanguage{Tahitian}{THT}
+\newfontlanguage{Tibetan}{TIB}
+\newfontlanguage{Turkmen}{TKM}
+\newfontlanguage{Temne}{TMN}
+\newfontlanguage{Tswana}{TNA}
+\newfontlanguage{Tundra~Nenets}{TNE}
+\newfontlanguage{Tonga}{TNG}
+\newfontlanguage{Todo}{TOD}
+\newfontlanguage{Tsonga}{TSG}
+\newfontlanguage{Turoyo~Aramaic}{TUA}
+\newfontlanguage{Tulu}{TUL}
+\newfontlanguage{Tuvin}{TUV}
+\newfontlanguage{Twi}{TWI}
+\newfontlanguage{Udmurt}{UDM}
+\newfontlanguage{Ukrainian}{UKR}
+\newfontlanguage{Urdu}{URD}
+\newfontlanguage{Upper~Sorbian}{USB}
+\newfontlanguage{Uyghur}{UYG}
+\newfontlanguage{Uzbek}{UZB}
+\newfontlanguage{Venda}{VEN}
+\newfontlanguage{Vietnamese}{VIT}
+\newfontlanguage{Wa}{WA}
+\newfontlanguage{Wagdi}{WAG}
+\newfontlanguage{West-Cree}{WCR}
+\newfontlanguage{Welsh}{WEL}
+\newfontlanguage{Wolof}{WLF}
+\newfontlanguage{Tai~Lue}{XBD}
+\newfontlanguage{Xhosa}{XHS}
+\newfontlanguage{Yakut}{YAK}
+\newfontlanguage{Yoruba}{YBA}
+\newfontlanguage{Y-Cree}{YCR}
+\newfontlanguage{Yi~Classic}{YIC}
+\newfontlanguage{Yi~Modern}{YIM}
+\newfontlanguage{Chinese~Hong~Kong}{ZHH}
+\newfontlanguage{Chinese~Phonetic}{ZHP}
+\newfontlanguage{Chinese~Simplified}{ZHS}
+\newfontlanguage{Chinese~Traditional}{ZHT}
+\newfontlanguage{Zande}{ZND}
+\newfontlanguage{Zulu}{ZUL}
+% \end{macrocode}
+%
+% \iffalse
+% \begin{macrocode}
+%</fontspec&(xetexx|luatex)>
+% \end{macrocode}
+% \fi
Modified: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-lua.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-lua.dtx 2017-01-22 22:33:54 UTC (rev 43015)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-lua.dtx 2017-01-22 22:34:22 UTC (rev 43016)
@@ -26,10 +26,20 @@
fontspec.error = err or (function (s) luatexbase.module_error("fontspec", s) end)
% \end{macrocode}
%
+% We need a catcode table for tex.sprint(). See issue \#230.
+% \begin{macrocode}
+local latex
+if luatexbase.registernumber then
+ latex = luatexbase.registernumber("catcodetable at latex")
+else
+ latex = luatexbase.catcodetables.CatcodeTableLaTeX
+end
+% \end{macrocode}
+%
% The following are the function that get called from \TeX\ end.
% \begin{macrocode}
-local function tempswatrue() tex.sprint([[\FontspecSetCheckBoolTrue ]]) end
-local function tempswafalse() tex.sprint([[\FontspecSetCheckBoolFalse]]) end
+local function tempswatrue() tex.sprint(latex,[[\FontspecSetCheckBoolTrue ]]) end
+local function tempswafalse() tex.sprint(latex,[[\FontspecSetCheckBoolFalse]]) end
% \end{macrocode}
%
% \begin{macrocode}
Modified: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-msg.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-msg.dtx 2017-01-22 22:33:54 UTC (rev 43015)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-msg.dtx 2017-01-22 22:34:22 UTC (rev 43016)
@@ -2,12 +2,13 @@
% \section{Error/warning/info messages}
%
% \begin{macrocode}
-%<*msg>
+%<*fontspec>
% \end{macrocode}
%
% Shorthands for messages:
% \begin{macrocode}
\cs_new:Npn \@@_error:n { \msg_error:nn {fontspec} }
+\cs_new:Npn \@@_error:nn { \msg_error:nnn {fontspec} }
\cs_new:Npn \@@_error:nx { \msg_error:nnx {fontspec} }
\cs_new:Npn \@@_warning:n { \msg_warning:nn {fontspec} }
\cs_new:Npn \@@_warning:nx { \msg_warning:nnx {fontspec} }
@@ -18,203 +19,249 @@
\cs_new:Npn \@@_trace:n { \msg_trace:nn {fontspec} }
% \end{macrocode}
%
+% Allow messages to be written with spaces acting as normal:
+% \begin{macrocode}
+\cs_generate_variant:Nn \msg_new:nnn {nnx}
+\cs_generate_variant:Nn \msg_new:nnnn {nnxx}
+\cs_new:Nn \@@_msg_new:nnn
+ { \msg_new:nnx {#1} {#2} { \tl_trim_spaces:n {#3} } }
+\cs_new:Nn \@@_msg_new:nnnn
+ { \msg_new:nnxx {#1} {#2} { \tl_trim_spaces:n {#3} } { \tl_trim_spaces:n {#4} } }
+\char_set_catcode_space:n {32}
+% \end{macrocode}
+%
% \subsection{Errors}
%
% \begin{macrocode}
-\msg_new:nnn {fontspec} {no-size-info}
+\@@_msg_new:nnn {fontspec} {only-inside-encdef}
{
- Size~ information~ must~ be~ supplied.\\
- For~ example,~ SizeFeatures={Size={8-12},...}.
+ \exp_not:N#1can only be used in the second argument
+ to \string\DeclareUnicodeEncoding.
}
-\msg_new:nnnn {fontspec} {font-not-found}
+\@@_msg_new:nnn {fontspec} {only-import-tu}
{
- The~ font~ "#1"~ cannot~ be~ found.
+ The "\string\ImportEncoding" command can only take "TU" as an argument at this stage.
}
+\@@_msg_new:nnn {fontspec} {no-size-info}
{
- A~font~might~not~be~found~for~many~reasons.\\
- Check~the~spelling,~where~the~font~is~installed~etc.~etc.\\\\
- When~in~doubt,~ask~someone~for~help!
+ Size information must be supplied.\\
+ For example, SizeFeatures={Size={8-12},...}.
}
-\msg_new:nnnn {fontspec} {rename-feature-not-exist}
+\@@_msg_new:nnnn {fontspec} {font-not-found}
{
- The~ feature~ #1~ doesn't~ appear~ to~ be~ defined.
+ The font "#1" cannot be found.
}
{
- It~ looks~ like~ you're~ trying~ to~ rename~ a~ feature~ that~ doesn't~ exist.
+ A font might not be found for many reasons.\\
+ Check the spelling, where the font is installed etc. etc.\\\\
+ When in doubt, ask someone for help!
}
-\msg_new:nnn {fontspec} {no-glyph}
+\@@_msg_new:nnnn {fontspec} {rename-feature-not-exist}
{
- '\l_fontspec_fontname_tl'~ does~ not~ contain~ glyph~ #1.
+ The feature #1 doesn't appear to be defined.
}
-\msg_new:nnnn {fontspec} {euler-too-late}
{
- The~ euler~ package~ must~ be~ loaded~ BEFORE~ fontspec.
+ It looks like you're trying to rename a feature that doesn't exist.
}
+\@@_msg_new:nnn {fontspec} {no-glyph}
{
- fontspec~ only~ overwrites~ euler's~ attempt~ to~
- define~ the~ maths~ text~ fonts~ if~ fontspec~ is~
- loaded~ after~ euler.~ Type~ <return>~ to~ proceed~
- with~ incorrect~ \string\mathit,~ \string\mathbf,~ etc.
+ '\l_fontspec_fontname_tl' does not contain glyph #1.
}
-\msg_new:nnnn {fontspec} {no-xcolor}
+\@@_msg_new:nnnn {fontspec} {euler-too-late}
{
- Cannot~ load~ named~ colours~ without~ the~ xcolor~ package.
+ The euler package must be loaded BEFORE fontspec.
}
{
- Sorry,~ I~ can't~ do~ anything~ to~ help.~ Instead~ of~ loading~
- the~ color~ package,~ use~ xcolor~ instead.~ It's~ better.
+ fontspec only overwrites euler's attempt to
+ define the maths text fonts if fontspec is
+ loaded after euler. Type <return> to proceed
+ with incorrect \string\mathit, \string\mathbf, etc.
}
-\msg_new:nnnn {fontspec} {unknown-color-model}
+\@@_msg_new:nnnn {fontspec} {no-xcolor}
{
- Error~ loading~ colour~ `#1';~ unknown~ colour~ model.
+ Cannot load named colours without the xcolor package.
}
{
- Sorry,~ I~ can't~ do~ anything~ to~ help.~ Please~ report~ this~ error~
- to~ my~ developer~ with~ a~ minimal~ example~ that~ causes~ the~ problem.
+ Sorry, I can't do anything to help. Instead of loading
+ the color package, use xcolor instead.
}
-\msg_new:nnnn {fontspec} {not-in-addfontfeatures}
+\@@_msg_new:nnnn {fontspec} {unknown-color-model}
{
- The~ "#1"~ font~ feature~ cannot~ be~ used~ in~ \string\addfontfeatures.
+ Error loading colour `#1'; unknown colour model.
}
{
- This~ is~ due~ to~ how~ TeX~ loads~ fonts;~ such~ settings~
- are~ global~ so~ adding~ them~ mid-document~ within~ a~ group~ causes~
- confusion.~ You'll~ need~ to~ define~ multiple~ font~ families~ to~ achieve~
- what~ you~ want.
+ Sorry, I can't do anything to help. Please report this error
+ to my developer with a minimal example that causes the problem.
}
+\@@_msg_new:nnnn {fontspec} {not-in-addfontfeatures}
+ {
+ The "#1" font feature cannot be used in \string\addfontfeatures.
+ }
+ {
+ This is due to how TeX loads fonts; such settings
+ are global so adding them mid-document within a group causes
+ confusion. You'll need to define multiple font families to achieve
+ what you want.
+ }
% \end{macrocode}
%
% \subsection{Warnings}
%
% \begin{macrocode}
-\msg_new:nnn {fontspec} {addfontfeatures-ignored}
+\@@_msg_new:nnn {fontspec} {tu-clash}
{
- \string\addfontfeature (s)~ ignored~ \msg_line_context:;~
- it~ cannot~ be~ used~ with~ a~ font~ that~ wasn't~ selected~ by~ a~ fontspec~ command.\\
+ I have found the tuenc.def encoding definition file but the TU encoding is not
+ defined by the LaTeX2e kernel; attempting to correct but you really should update
+ to the latest version of LaTeX2e.
+ }
+\@@_msg_new:nnn {fontspec} {tu-missing}
+ {
+ The TU encoding seems to be missing; please update to the latest version of LaTeX2e.
+ }
+\@@_msg_new:nnn {fontspec} {addfontfeatures-ignored}
+ {
+ \string\addfontfeature (s) ignored \msg_line_context:;
+ it cannot be used with a font that wasn't selected by a fontspec command.\\
\\
- The~ current~ font~ is~ "\use:c{font at name}".\\
+ The current font is "\use:c{font at name}".\\
\int_compare:nTF { \clist_count:n {#1} = 1 }
- { The~ requested~ feature~ is~ "#1". }
- { The~ requested~ features~ are~ "#1". }
+ { The requested feature is "#1". }
+ { The requested features are "#1". }
}
-\msg_new:nnn {fontspec} {feature-option-overwrite}
+\@@_msg_new:nnn {fontspec} {feature-option-overwrite}
{
- Option~ '#2'~ of~ font~ feature~ '#1'~ overwritten.
+ Option '#2' of font feature '#1' overwritten.
}
-\msg_new:nnn {fontspec} {script-not-exist-latn}
+\@@_msg_new:nnn {fontspec} {script-not-exist-latn}
{
- Font~ '\l_fontspec_fontname_tl'~ does~ not~ contain~ script~ '#1'.\\
- 'Latin'~ script~ used~ instead.
+ Font '\l_fontspec_fontname_tl' does not contain script '#1'.\\
+ 'Latin' script used instead.
}
-\msg_new:nnn {fontspec} {script-not-exist}
+\@@_msg_new:nnn {fontspec} {script-not-exist}
{
- Font~ '\l_fontspec_fontname_tl'~ does~ not~ contain~ script~ '#1'.
+ Font '\l_fontspec_fontname_tl' does not contain script '#1'.
}
-\msg_new:nnn {fontspec} {aat-feature-not-exist}
+\@@_msg_new:nnn {fontspec} {aat-feature-not-exist}
{
- '\l_keys_key_tl=\l_keys_value_tl'~ feature~ not~ supported~
- for~ AAT~ font~ '\l_fontspec_fontname_tl'.
+ '\l_keys_key_tl=\l_keys_value_tl' feature not supported
+ for AAT font '\l_fontspec_fontname_tl'.
}
-\msg_new:nnn {fontspec} {aat-feature-not-exist-in-font}
+\@@_msg_new:nnn {fontspec} {aat-feature-not-exist-in-font}
{
- AAT~ feature~ '\l_keys_key_tl=\l_keys_value_tl'~ (#1)~ not~ available~
- in~ font~ '\l_fontspec_fontname_tl'.
+ AAT feature '\l_keys_key_tl=\l_keys_value_tl' (#1) not available
+ in font '\l_fontspec_fontname_tl'.
}
-\msg_new:nnn {fontspec} {icu-feature-not-exist}
+\@@_msg_new:nnn {fontspec} {icu-feature-not-exist}
{
- '\l_keys_key_tl=\l_keys_value_tl'~ feature~ not~ supported~
- for~ OpenType~ font~ '\l_fontspec_fontname_tl'
+ '\l_keys_key_tl=\l_keys_value_tl' feature not supported
+ for OpenType font '\l_fontspec_fontname_tl'
}
-\msg_new:nnn {fontspec} {icu-feature-not-exist-in-font}
+\@@_msg_new:nnn {fontspec} {icu-feature-not-exist-in-font}
{
- OpenType~ feature~ '\l_keys_key_tl=\l_keys_value_tl'~ (#1)~ not~ available~
- for~ font~ '\l_fontspec_fontname_tl'~
- with~ script~ '\l_@@_script_name_tl'~ and~ language~ '\l_@@_lang_name_tl'.
+ OpenType feature '\l_keys_key_tl=\l_keys_value_tl' (#1) not available
+ for font '\l_fontspec_fontname_tl'
+ with script '\l_@@_script_name_tl' and language '\l_@@_lang_name_tl'.
}
-\msg_new:nnn {fontspec} {no-opticals}
+\@@_msg_new:nnn {fontspec} {no-opticals}
{
- '\l_fontspec_fontname_tl'~ doesn't~ appear~ to~ have~ an~ Optical~ Size~ axis.
+ '\l_fontspec_fontname_tl' doesn't appear to have an Optical Size axis.
}
-\msg_new:nnn {fontspec} {language-not-exist}
+\@@_msg_new:nnn {fontspec} {language-not-exist}
{
- Language~ '#1'~ not~ available~
- for~ font~ '\l_fontspec_fontname_tl'~
- with~ script~ '\l_@@_script_name_tl'.\\
- 'Default'~ language~ used~ instead.
+ Language '#1' not available
+ for font '\l_fontspec_fontname_tl'
+ with script '\l_@@_script_name_tl'.\\
+ 'Default' language used instead.
}
-\msg_new:nnn {fontspec} {only-xetex-feature}
+\@@_msg_new:nnn {fontspec} {only-xetex-feature}
{
- Ignored~ XeTeX~ only~ feature:~ '#1'.
+ Ignored XeTeX only feature: '#1'.
}
-\msg_new:nnn {fontspec} {only-luatex-feature}
+\@@_msg_new:nnn {fontspec} {only-luatex-feature}
{
- Ignored~ LuaTeX~ only~ feature:~ '#1'.
+ Ignored LuaTeX only feature: '#1'.
}
-\msg_new:nnn {fontspec} {no-mapping}
+\@@_msg_new:nnn {fontspec} {no-mapping}
{
- Input~ mapping~ not~ (yet?)~ supported~ in~ LuaTeX.
+ Input mapping not (yet?) supported in LuaTeX.
}
-\msg_new:nnn {fontspec} {no-mapping-ligtex}
+\@@_msg_new:nnn {fontspec} {no-mapping-ligtex}
{
- Input~ mapping~ not~ (yet?)~ supported~ in~ LuaTeX.\\
- Use~ "Ligatures=TeX"~ instead~ of~ "Mapping=tex-text".
+ Input mapping not (yet?) supported in LuaTeX.\\
+ Use "Ligatures=TeX" instead of "Mapping=tex-text".
}
-\msg_new:nnn {fontspec} {cm-default-obsolete}
+\@@_msg_new:nnn {fontspec} {cm-default-obsolete}
{
- The~ "cm-default"~ package~ option~ is~ obsolete.
+ The "cm-default" package option is obsolete.
}
-\msg_new:nnn {fontspec} {fakebold-only-xetex}
+\@@_msg_new:nnn {fontspec} {fakebold-only-xetex}
{
- The~ "FakeBold"~ and~ "AutoFakeBold"~ options~ are~ only~ available~ with~ XeLaTeX.\\
- Option~ ignored.
+ The "FakeBold" and "AutoFakeBold" options are only available with XeLaTeX.\\
+ Option ignored.
}
+\@@_msg_new:nnn {fontspec} {font-index-needs-ttc}
+ {
+ The "FontIndex" feature is only supported by TTC (TrueType Collection) fonts.\\
+ Feature ignored.
+ }
+\@@_msg_new:nnn {fontspec} {feat-cannot-remove}
+ {
+ The "#1" feature cannot be deactivated. Request ignored.
+ }
% \end{macrocode}
-% Info messages:
+%
+% \subsection{Info messages}
+%
% \begin{macrocode}
-\msg_new:nnn {fontspec} {defining-font}
+\@@_msg_new:nnn {fontspec} {defining-font}
{
- Font~ family~'\l_fontspec_family_tl'~ created~ for~ font~ '#2'~
- with~ options~ [\l_@@_all_features_clist].\\
+ Font family '\l_fontspec_family_tl' created for font '#2'
+ with options [\l_@@_all_features_clist].\\
\\
- This~ font~ family~ consists~ of~ the~ following~ NFSS~ series/shapes:\\
+ This font family consists of the following NFSS series/shapes:\\
\l_fontspec_defined_shapes_tl
}
-\msg_new:nnn {fontspec} {no-font-shape}
+\@@_msg_new:nnn {fontspec} {no-font-shape}
{
- Could~ not~ resolve~ font~ #1~ (it~ probably~ doesn't~ exist).
+ Could not resolve font "#1" (it probably doesn't exist).
}
-\msg_new:nnn {fontspec} {set-scale}
+\@@_msg_new:nnn {fontspec} {set-scale}
{
- \l_fontspec_fontname_tl\space scale ~=~ \l_@@_scale_tl.
+ \l_fontspec_fontname_tl\space scale = \l_@@_scale_tl.
}
-\msg_new:nnn {fontspec} {setup-math}
+\@@_msg_new:nnn {fontspec} {setup-math}
{
- Adjusting~ the~ maths~ setup~ (use~ [no-math]~ to~ avoid~ this).
+ Adjusting the maths setup (use [no-math] to avoid this).
}
-\msg_new:nnn {fontspec} {no-scripts}
+\@@_msg_new:nnn {fontspec} {no-scripts}
{
- Font~ \l_fontspec_fontname_tl\space does~ not~ contain~ any~ OpenType~ `Script'~ information.
+ Font "\l_fontspec_fontname_tl" does not contain any OpenType `Script' information.
}
-\msg_new:nnn {fontspec} {opa-twice}
+\@@_msg_new:nnn {fontspec} {opa-twice}
{
- Opacity~ set~ twice,~ in~ both~ Colour~ and~ Opacity.\\
- Using~ specification~ "Opacity=#1".
+ Opacity set twice, in both Colour and Opacity.\\
+ Using specification "Opacity=#1".
}
-\msg_new:nnn {fontspec} {opa-twice-col}
+\@@_msg_new:nnn {fontspec} {opa-twice-col}
{
- Opacity~ set~ twice,~ in~ both~ Opacity~ and~ Colour.\\
- Using~ an~ opacity~ specification~ in~ hex~ of~ "#1/FF".
+ Opacity set twice, in both Opacity and Colour.\\
+ Using an opacity specification in hex of "#1/FF".
}
-\msg_new:nnn {fontspec} {bad-colour}
+\@@_msg_new:nnn {fontspec} {bad-colour}
{
- Bad~ colour~ declaration~ "#1".~
- Colour~ must~ be~ one~ of:\\
- *~ a~ named~ xcolor~ colour\\
- *~ a~ six-digit~ hex~ colour~ RRGGBB\\
- *~ an~ eight-digit~ hex~ colour~ RRGGBBTT~ with~ opacity
+ Bad colour declaration "#1".
+ Colour must be one of:\\
+ * a named xcolor colour\\
+ * a six-digit hex colour RRGGBB\\
+ * an eight-digit hex colour RRGGBBTT with opacity
}
% \end{macrocode}
%
+% Reset `space' behaviour:
% \begin{macrocode}
-%</msg>
+\char_set_catcode_ignore:n {32}
% \end{macrocode}
+%
+% \begin{macrocode}
+%</fontspec>
+% \end{macrocode}
Modified: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-opening.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-opening.dtx 2017-01-22 22:33:54 UTC (rev 43015)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-opening.dtx 2017-01-22 22:34:22 UTC (rev 43016)
@@ -28,7 +28,7 @@
\msg_redirect_module:nnn { fontspec } { warning } { none }
\msg_redirect_module:nnn { fontspec } { info } { none }
}
-\ExecuteOptions{config,math,euenc}
+\ExecuteOptions{config,math,tuenc}
\ProcessOptions*
% \end{macrocode}
%
@@ -39,13 +39,28 @@
%
% Soon to be the default, with a just-in-case check:
% \begin{macrocode}
-\tl_set:Nn \g_fontspec_encoding_tl {TU}
-\file_if_exist:nF {tuenc.def} { \bool_set_true:N \g_@@_euenc_bool }
-\bool_if:NT \g_@@_euenc_bool
+\bool_if:NF \g_@@_euenc_bool
{
+ \file_if_exist:nTF {tuenc.def}
+ {
+ \cs_if_exist:cF {T at TU}
+ {
+ \@@_warning:n {tu-clash}
+ \DeclareFontEncoding{TU}{}{}
+ \DeclareFontSubstitution{TU}{lmr}{m}{n}
+ }
+ }
+ {
+ \@@_warning:n {tu-missing}
+ \bool_set_true:N \g_@@_euenc_bool
+ }
+ }
+\bool_if:NTF \g_@@_euenc_bool
+ {
%<xetexx> \tl_set:Nn \g_fontspec_encoding_tl {EU1}
%<luatex> \tl_set:Nn \g_fontspec_encoding_tl {EU2}
}
+ { \tl_set:Nn \g_fontspec_encoding_tl { TU } }
% \end{macrocode}
%
% \begin{macrocode}
@@ -54,8 +69,11 @@
\tl_set:Nn \ttdefault {lmtt}
\RequirePackage[\g_fontspec_encoding_tl]{fontenc}
\tl_set_eq:NN \UTFencname \g_fontspec_encoding_tl % for xunicode if needed
-\normalsize % to overcome the encoding changing the current font size
% \end{macrocode}
+% To overcome the encoding changing the current font size, but only if a class has been loaded first:
+% \begin{macrocode}
+\tl_if_in:NnT \@filelist {.cls} { \normalsize }
+% \end{macrocode}
% Dealing with a couple of the problems introduced by \pkg{babel}:
% \begin{macrocode}
\tl_set_eq:NN \cyrillicencoding \g_fontspec_encoding_tl
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-opentype.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-opentype.dtx (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-opentype.dtx 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,395 @@
+% \section{OpenType definitions code}
+%
+% \iffalse
+% \begin{macrocode}
+%<*fontspec&(xetexx|luatex)>
+% \end{macrocode}
+% \fi
+%
+%
+%
+% \begin{macro}{\@@_define_opentype_feature_group:n}
+% \begin{macrocode}
+\cs_new:Nn \@@_define_opentype_feature_group:n
+ {
+ \keys_define:nn {fontspec-opentype} { #1 .multichoice: }
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_define_opentype_feature:nnnnn}
+% \darg{Feature key}
+% \darg{Feature option val}
+% \darg{Check feature --- leave empty for no check}
+% \darg{Exact tag string to activate --- leave empty for disable only}
+% \darg{Tags to remove (clist)}
+% \begin{macrocode}
+\cs_new:Nn \@@_feat_prop_add:nn
+ {
+ \tl_if_empty:nF {#1}
+ {
+ \prop_if_in:NnF \g_@@_OT_features_prop {#1}
+ {
+ \prop_gput:Nnn \g_@@_OT_features_prop {#1} {#2}
+ }
+ }
+ }
+\cs_new:Nn \@@_define_opentype_feature:nnnnn
+ {
+ \@@_feat_prop_add:nn {#3} {#1\,=\,#2}
+ \keys_define:nn {fontspec-opentype}
+ {
+ #1/#2 .code:n = { \@@_make_OT_feature:nnn {#3} {#4} {#5} }
+ }
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_define_opentype_onoffreset:nnnnn}
+% \darg{Feature key}
+% \darg{Feature option val}
+% \darg{Check feature}
+% \darg{Tag prefix to activate: \texttt{+\#4} = on, \texttt{-\#4} = off.}
+% \darg{Tags to remove in the on case (clist)}
+% \begin{macrocode}
+\cs_new:Nn \@@_feat_off:n {#1Off}
+\cs_new:Nn \@@_feat_reset:n {#1Reset}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\cs_new:Nn \@@_define_opentype_onoffreset:nnnnn
+ {
+ \exp_args:Nnx \@@_define_opentype_feature:nnnnn {#1} {#2} {#3} {+#4} {#5}
+ \exp_args:Nnx \@@_define_opentype_feature:nnnnn {#1} { \@@_feat_off:n {#2} } {#3} {-#4} {}
+ \exp_args:Nnx \@@_define_opentype_feature:nnnnn {#1} { \@@_feat_reset:n {#2} } {} {} {+#4,-#4}
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_define_opentype_onreset:nnnnn}
+% \darg{Feature key}
+% \darg{Feature option val}
+% \darg{Check feature}
+% \darg{Exact tag string to activate}
+% \darg{Tags to remove (clist)}
+% \begin{macrocode}
+\cs_new:Nn \@@_define_opentype_onreset:nnnnn
+ {
+ \exp_args:Nnx \@@_define_opentype_feature:nnnnn {#1} {#2} {#3} {#4} {#5}
+ \exp_args:Nnx \@@_define_opentype_feature:nnnnn {#1} { \@@_feat_reset:n {#2} } {} {} {#4}
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Adding features when loading fonts}
+%
+% When remove clashing features,
+% \begin{enumerate}
+% \item remove the feature being added (to avoid duplicates);
+% \item remove the inverse of the feature (to avoid cancellation);
+% \item finally remove all clashing features.
+% \end{enumerate}
+% \begin{macrocode}
+\cs_new:Nn \@@_make_OT_feature:nnn
+ {
+%<debug> \typeout{:: @@_make_OT_feature:nnn \exp_not:n { {#1}{#2}{#3} } }
+
+ \bool_set_true:N \l_@@_proceed_bool
+ \bool_set_true:N \l_@@_check_feat_bool
+
+ \tl_if_empty:nT {#1} { \bool_set_false:N \l_@@_check_feat_bool }
+ \bool_if:NT \l_@@_check_feat_bool
+ {
+ \@@_check_ot_feat:nF {#1}
+ {
+ \@@_warning:nx {icu-feature-not-exist-in-font} {#1}
+ \bool_set_false:N \l_@@_proceed_bool
+ }
+ }
+
+ \bool_if:NT \l_@@_proceed_bool
+ {
+ \exp_args:Nx \@@_remove_clashing_featstr:n
+ { #2 , \@@_swap_plus_minus:n {#2} , #3 }
+
+ \@@_update_featstr:n {#2}
+ }
+ }
+\cs_generate_variant:Nn \@@_make_OT_feature:nnn {xxx}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\cs_new:Nn \@@_swap_plus_minus:n { \@@_swap_plus_minus_aux:NNNNN #1 }
+\cs_new:Nn \@@_swap_plus_minus_aux:NNNNN
+ { \str_case:nn {#1} { {+} {-#2#3#4#5} {-} {+#2#3#4#5} } }
+% \end{macrocode}
+% \end{macro}
+%
+%
+% \begin{macro}{\@@_check_script:nTF}
+% This macro takes an OpenType script tag and checks if it exists in the current
+% font. The output boolean is \cmd\@tempswatrue. \cmd\l_@@_script_int\ is used to store
+% the number corresponding to the script tag string.
+% \begin{macrocode}
+\prg_new_conditional:Nnn \@@_check_script:n {TF}
+ {
+ \bool_if:NTF \l_@@_never_check_bool
+ { \prg_return_true: }
+%<*xetexx>
+ {
+ \@@_iv_str_to_num:Nn \l_@@_strnum_int {#1}
+ \int_set:Nn \l_tmpb_int { \XeTeXOTcountscripts \l_fontspec_font }
+ \int_zero:N \l_tmpa_int
+ \bool_set_false:N \l__fontspec_check_bool
+ \bool_until_do:nn { \int_compare_p:nNn \l_tmpa_int = \l_tmpb_int }
+ {
+ \ifnum \XeTeXOTscripttag\l_fontspec_font \l_tmpa_int = \l_@@_strnum_int
+ \bool_set_true:N \l__fontspec_check_bool
+ \int_set:Nn \l_tmpa_int {\l_tmpb_int}
+ \else
+ \int_incr:N \l_tmpa_int
+ \fi
+ }
+ \bool_if:NTF \l__fontspec_check_bool \prg_return_true: \prg_return_false:
+ }
+%</xetexx>
+%<*luatex>
+ {
+ \directlua{fontspec.check_ot_script("l_fontspec_font", "#1")}
+ \bool_if:NTF \l__fontspec_check_bool \prg_return_true: \prg_return_false:
+ }
+%</luatex>
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_check_lang:nTF}
+% This macro takes an OpenType language tag and checks if it exists in the current
+% font/script. The output boolean is \cmd\@tempswatrue. \cmd\l_@@_language_int\ is used to store
+% the number corresponding to the language tag string.
+% The script used is whatever's held in \cmd\l_@@_script_int. By default, that's the
+% number corresponding to `|latn|'.
+% \begin{macrocode}
+\prg_new_conditional:Nnn \@@_check_lang:n {TF}
+ {
+ \bool_if:NTF \l_@@_never_check_bool
+ { \prg_return_true: }
+%<*xetexx>
+ {
+ \@@_iv_str_to_num:Nn \l_@@_strnum_int {#1}
+ \int_set:Nn \l_tmpb_int
+ { \XeTeXOTcountlanguages \l_fontspec_font \l_@@_script_int }
+ \int_zero:N \l_tmpa_int
+ \bool_set_false:N \l__fontspec_check_bool
+ \bool_until_do:nn { \int_compare_p:nNn \l_tmpa_int = \l_tmpb_int }
+ {
+ \ifnum\XeTeXOTlanguagetag\l_fontspec_font\l_@@_script_int \l_tmpa_int =\l_@@_strnum_int
+ \bool_set_true:N \l__fontspec_check_bool
+ \int_set:Nn \l_tmpa_int {\l_tmpb_int}
+ \else
+ \int_incr:N \l_tmpa_int
+ \fi
+ }
+ \bool_if:NTF \l__fontspec_check_bool \prg_return_true: \prg_return_false:
+ }
+%</xetexx>
+%<*luatex>
+ {
+ \directlua
+ {
+ fontspec.check_ot_lang( "l_fontspec_font", "#1", "\l_fontspec_script_tl" )
+ }
+ \bool_if:NTF \l__fontspec_check_bool \prg_return_true: \prg_return_false:
+ }
+%</luatex>
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_check_ot_feat:nTF}
+% This macro takes an OpenType feature tag and checks if it exists in the current
+% font/script/language.
+% \cmd\l_@@_strnum_int\ is used to store the number corresponding to the feature tag string.
+% The script used is whatever's held in \cmd\l_@@_script_int. By default, that's the
+% number corresponding to `|latn|'. The language used is \cmd\l_@@_language_int,
+% by default |0|, the `default language'.
+% \begin{macrocode}
+\prg_new_conditional:Nnn \@@_check_ot_feat:n {TF,F}
+ {
+ \bool_if:NTF \l_@@_never_check_bool
+ { \prg_return_true: }
+%<*xetexx>
+ {
+%<debug>\typeout{::~ fontspec_check_ot_feat:n~ {#1}}
+ \int_set:Nn \l_tmpb_int
+ {
+ \XeTeXOTcountfeatures \l_fontspec_font
+ \l_@@_script_int
+ \l_@@_language_int
+ }
+ \@@_iv_str_to_num:Nn \l_@@_strnum_int {#1}
+ \int_zero:N \l_tmpa_int
+ \bool_set_false:N \l_@@_check_bool
+ \bool_until_do:nn { \int_compare_p:nNn \l_tmpa_int = \l_tmpb_int }
+ {
+ \ifnum\XeTeXOTfeaturetag\l_fontspec_font\l_@@_script_int\l_@@_language_int
+ \l_tmpa_int =\l_@@_strnum_int
+ \bool_set_true:N \l_@@_check_bool
+ \int_set:Nn \l_tmpa_int {\l_tmpb_int}
+ \else
+ \int_incr:N \l_tmpa_int
+ \fi
+ }
+ \bool_if:NTF \l_@@_check_bool \prg_return_true: \prg_return_false:
+ }
+%</xetexx>
+%<*luatex>
+ {
+%<debug>\typeout{::~ fontspec_check_ot_feat:n~ {#1}}
+ \directlua
+ {
+ fontspec.check_ot_feat(
+ "l_fontspec_font", "#1",
+ "\l_fontspec_lang_tl", "\l_fontspec_script_tl"
+ )
+ }
+ \bool_if:NTF \l_@@_check_bool \prg_return_true: \prg_return_false:
+ }
+%</luatex>
+ }
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{OpenType feature information}
+%
+% \begin{macrocode}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {aalt}{Access~All~Alternates}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {abvf}{Above-base~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {abvm}{Above-base~Mark~Positioning}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {abvs}{Above-base~Substitutions}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {afrc}{Alternative~Fractions}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {akhn}{Akhands}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {blwf}{Below-base~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {blwm}{Below-base~Mark~Positioning}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {blws}{Below-base~Substitutions}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {calt}{Contextual~Alternates}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {case}{Case-Sensitive~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {ccmp}{Glyph~Composition~/~Decomposition}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {cfar}{Conjunct~Form~After~Ro}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {cjct}{Conjunct~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {clig}{Contextual~Ligatures}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {cpct}{Centered~CJK~Punctuation}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {cpsp}{Capital~Spacing}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {cswh}{Contextual~Swash}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {curs}{Cursive~Positioning}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {cvNN}{Character~Variant~$N$}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {c2pc}{Petite~Capitals~From~Capitals}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {c2sc}{Small~Capitals~From~Capitals}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {dist}{Distances}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {dlig}{Discretionary~Ligatures}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {dnom}{Denominators}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {dtls}{Dotless~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {expt}{Expert~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {falt}{Final~Glyph~on~Line~Alternates}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {fin2}{Terminal~Forms~\#2}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {fin3}{Terminal~Forms~\#3}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {fina}{Terminal~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {flac}{Flattened~accent~forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {frac}{Fractions}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {fwid}{Full~Widths}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {half}{Half~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {haln}{Halant~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {halt}{Alternate~Half~Widths}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {hist}{Historical~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {hkna}{Horizontal~Kana~Alternates}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {hlig}{Historical~Ligatures}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {hngl}{Hangul}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {hojo}{Hojo~Kanji~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {hwid}{Half~Widths}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {init}{Initial~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {isol}{Isolated~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {ital}{Italics}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {jalt}{Justification~Alternates}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {jp78}{JIS78~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {jp83}{JIS83~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {jp90}{JIS90~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {jp04}{JIS2004~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {kern}{Kerning}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {lfbd}{Left~Bounds}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {liga}{Standard~Ligatures}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {ljmo}{Leading~Jamo~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {lnum}{Lining~Figures}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {locl}{Localized~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {ltra}{Left-to-right~alternates}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {ltrm}{Left-to-right~mirrored~forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {mark}{Mark~Positioning}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {med2}{Medial~Forms~\#2}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {medi}{Medial~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {mgrk}{Mathematical~Greek}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {mkmk}{Mark~to~Mark~Positioning}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {mset}{Mark~Positioning~via~Substitution}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {nalt}{Alternate~Annotation~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {nlck}{NLC~Kanji~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {nukt}{Nukta~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {numr}{Numerators}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {onum}{Oldstyle~Figures}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {opbd}{Optical~Bounds}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {ordn}{Ordinals}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {ornm}{Ornaments}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {palt}{Proportional~Alternate~Widths}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {pcap}{Petite~Capitals}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {pkna}{Proportional~Kana}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {pnum}{Proportional~Figures}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {pref}{Pre-Base~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {pres}{Pre-base~Substitutions}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {pstf}{Post-base~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {psts}{Post-base~Substitutions}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {pwid}{Proportional~Widths}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {qwid}{Quarter~Widths}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {rand}{Randomize}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {rclt}{Required~Contextual~Alternates}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {rkrf}{Rakar~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {rlig}{Required~Ligatures}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {rphf}{Reph~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {rtbd}{Right~Bounds}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {rtla}{Right-to-left~alternates}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {rtlm}{Right-to-left~mirrored~forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {ruby}{Ruby~Notation~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {rvrn}{Required~Variation~Alternates}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {salt}{Stylistic~Alternates}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {sinf}{Scientific~Inferiors}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {size}{Optical~size}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {smcp}{Small~Capitals}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {smpl}{Simplified~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {ssNN}{Stylistic~Set~$N$}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {ssty}{Math~script~style~alternates}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {stch}{Stretching~Glyph~Decomposition}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {subs}{Subscript}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {sups}{Superscript}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {swsh}{Swash}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {titl}{Titling}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {tjmo}{Trailing~Jamo~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {tnam}{Traditional~Name~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {tnum}{Tabular~Figures}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {trad}{Traditional~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {twid}{Third~Widths}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {unic}{Unicase}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {valt}{Alternate~Vertical~Metrics}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {vatu}{Vattu~Variants}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {vert}{Vertical~Writing}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {vhal}{Alternate~Vertical~Half~Metrics}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {vjmo}{Vowel~Jamo~Forms}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {vkna}{Vertical~Kana~Alternates}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {vkrn}{Vertical~Kerning}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {vpal}{Proportional~Alternate~Vertical~Metrics}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {vrt2}{Vertical~Alternates~and~Rotation}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {vrtr}{Vertical~Alternates~for~Rotation}
+\prop_gput:Nnn \g_@@_all_opentype_feature_names_prop {zero}{Slashed~Zero}
+% \end{macrocode}
+%
+% \iffalse
+% \begin{macrocode}
+%</fontspec&(xetexx|luatex)>
+% \end{macrocode}
+% \fi
+
Modified: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-patches.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-patches.dtx 2017-01-22 22:33:54 UTC (rev 43015)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-patches.dtx 2017-01-22 22:34:22 UTC (rev 43016)
@@ -1,7 +1,7 @@
% \section{Patching code}
%
% \begin{macrocode}
-%<*patches>
+%<*fontspec>
% \end{macrocode}
%
%
@@ -97,29 +97,60 @@
% \begin{macro}{\eminnershape}
% \begin{macro}{\emfontdeclare}
% Redefinition of |{\em ...}| and |\emph{...}| to allow nesting of emphases.
+%
% \begin{macrocode}
-\int_new:N \l_@@_em_int
-\int_new:N \l_@@_emdef_int
\cs_new_protected:Npn \emfontdeclare #1
{
- \int_zero:N \l_@@_emdef_int
- \clist_map_inline:nn {#1}
- {
- \int_incr:N \l_@@_emdef_int
- \cs_set:cpn {@@_em_font_ \int_use:N \l_@@_emdef_int _switch:} {##1}
- }
+ \prop_clear:N \g_@@_em_prop
+ \int_zero:N \l_@@_emdef_int
+ \group_begin:
+ \normalfont
+ \clist_map_inline:nn {\emreset,#1}
+ {
+ ##1
+ \prop_gput:NxV \g_@@_em_prop { \f at series/\f at shape } { \l_@@_emdef_int }
+ \prop_gput:Nxn \g_@@_em_prop { switch-\int_use:N \l_@@_emdef_int } { ##1 }
+ \int_incr:N \l_@@_emdef_int
+ }
+ \group_end:
}
+% \end{macrocode}
+%
+% \begin{macrocode}
\DeclareRobustCommand \em
{
\@nomath\em
+
+ \prop_get:NxNT \g_@@_em_prop { \f at series/\f at shape } \l_@@_em_tmp_tl
+ { \int_set:Nn \l_@@_em_int { \l_@@_em_tmp_tl } }
+
\int_incr:N \l_@@_em_int
- \use:c {@@_em_font_ \int_use:N \l_@@_em_int _switch:}
+
+ \prop_get:NxNTF \g_@@_em_prop { switch-\int_use:N \l_@@_em_int } \l_@@_em_switch_tl
+ { \l_@@_em_switch_tl }
+ {
+ \int_zero:N \l_@@_em_int
+ \emreset
+ }
+
}
+% \end{macrocode}
+% Document commands:
+% \begin{macrocode}
\DeclareTextFontCommand{\emph}{\em}
+\cs_set:Npn \emreset { \upshape }
\cs_set:Npn \emshape { \itshape }
\cs_set:Npn \eminnershape { \upshape }
\emfontdeclare{ \emshape, \eminnershape }
% \end{macrocode}
+% Ensure nesting resets when necessary:
+% \begin{macrocode}
+\cs_set:Npn \reset at font { \normalfont \int_zero:N \l__fontspec_em_int }
+% \end{macrocode}
+% Programmer's interface for setting nesting level:
+% \begin{macrocode}
+\cs_new:Nn \fontspec_set_em_level:n { \int_set:Nn \l_@@_em_int {#1} }
+% \end{macrocode}
% \end{macro} \end{macro} \end{macro} \end{macro} \end{macro}
%
% \subsection{\cmd\-}
@@ -148,11 +179,11 @@
% Many thanks to Apostolos Syropoulos for discovering this problem and writing the redefinion of \LaTeX's |verbatim| environment and \cs{verb*} command.
%
% \begin{macro}{\fontspec_visible_space:}
-% Print \unichar{2434}{Open box}, which is used to visibly display a space character.
+% Print \unichar{2423}{Open box}, which is used to visibly display a space character.
% \begin{macrocode}
\cs_new:Nn \fontspec_visible_space:
{
- \font_glyph_if_exist:NnTF \font {"2423}
+ \@@_primitive_font_glyph_if_exist:NnTF \font {"2423}
{ \char"2423\scan_stop: }
{ \fontspec_visible_space_fallback: }
}
@@ -159,8 +190,8 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\fontspec_visible_space:@fallback}
-% If the current font doesn't have \unichar{2434}{Open box}, use Latin Modern Mono instead.
+% \begin{macro}{\fontspec_visible_space_fallback:}
+% If the current font doesn't have \unichar{2423}{Open box}, use Latin Modern Mono instead.
% \begin{macrocode}
\cs_new:Nn \fontspec_visible_space_fallback:
{
@@ -302,5 +333,5 @@
%
%
% \begin{macrocode}
-%</patches>
+%</fontspec>
% \end{macrocode}
Added: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-scripts.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-scripts.dtx (rev 0)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-scripts.dtx 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,92 @@
+
+% \subsection{Font script definitions}
+%
+% \iffalse
+% \begin{macrocode}
+%<*fontspec&(xetexx|luatex)>
+% \end{macrocode}
+% \fi
+%
+% \begin{macrocode}
+\newfontscript{Arabic}{arab}
+\newfontscript{Armenian}{armn}
+\newfontscript{Balinese}{bali}
+\newfontscript{Bengali}{bng2,beng}
+\newfontscript{Bopomofo}{bopo}
+\newfontscript{Braille}{brai}
+\newfontscript{Buginese}{bugi}
+\newfontscript{Buhid}{buhd}
+\newfontscript{Byzantine~Music}{byzm}
+\newfontscript{Canadian~Syllabics}{cans}
+\newfontscript{Cherokee}{cher}
+\newfontscript{CJK~Ideographic}{hani}
+\newfontscript{Coptic}{copt}
+\newfontscript{Cypriot~Syllabary}{cprt}
+\newfontscript{Cyrillic}{cyrl}
+\newfontscript{Default}{DFLT}
+\newfontscript{Deseret}{dsrt}
+\newfontscript{Devanagari}{dev2,deva}
+\newfontscript{Ethiopic}{ethi}
+\newfontscript{Georgian}{geor}
+\newfontscript{Glagolitic}{glag}
+\newfontscript{Gothic}{goth}
+\newfontscript{Greek}{grek}
+\newfontscript{Gujarati}{gjr2,gujr}
+\newfontscript{Gurmukhi}{gur2,guru}
+\newfontscript{Hangul~Jamo}{jamo}
+\newfontscript{Hangul}{hang}
+\newfontscript{Hanunoo}{hano}
+\newfontscript{Hebrew}{hebr}
+\newfontscript{Hiragana~and~Katakana}{kana}
+\newfontscript{Javanese}{java}
+\newfontscript{Kannada}{knd2,knda}
+\newfontscript{Kharosthi}{khar}
+\newfontscript{Khmer}{khmr}
+\newfontscript{Lao}{lao~}
+\newfontscript{Latin}{latn}
+\newfontscript{Limbu}{limb}
+\newfontscript{Linear~B}{linb}
+\newfontscript{Malayalam}{mlm2,mlym}
+\newfontscript{Math}{math}
+\newfontscript{Mongolian}{mong}
+\newfontscript{Musical~Symbols}{musc}
+\newfontscript{Myanmar}{mymr}
+\newfontscript{N'ko}{nko~}
+\newfontscript{Ogham}{ogam}
+\newfontscript{Old~Italic}{ital}
+\newfontscript{Old~Persian~Cuneiform}{xpeo}
+\newfontscript{Oriya}{ory2,orya}
+\newfontscript{Osmanya}{osma}
+\newfontscript{Phags-pa}{phag}
+\newfontscript{Phoenician}{phnx}
+\newfontscript{Runic}{runr}
+\newfontscript{Shavian}{shaw}
+\newfontscript{Sinhala}{sinh}
+\newfontscript{Sumero-Akkadian~Cuneiform}{xsux}
+\newfontscript{Syloti~Nagri}{sylo}
+\newfontscript{Syriac}{syrc}
+\newfontscript{Tagalog}{tglg}
+\newfontscript{Tagbanwa}{tagb}
+\newfontscript{Tai~Le}{tale}
+\newfontscript{Tai~Lu}{talu}
+\newfontscript{Tamil}{tml2,taml}
+\newfontscript{Telugu}{tel2,telu}
+\newfontscript{Thaana}{thaa}
+\newfontscript{Thai}{thai}
+\newfontscript{Tibetan}{tibt}
+\newfontscript{Tifinagh}{tfng}
+\newfontscript{Ugaritic~Cuneiform}{ugar}
+\newfontscript{Yi}{yi~~}
+% \end{macrocode}
+% For convenience:
+% \begin{macrocode}
+\newfontscript{Kana}{kana}
+\newfontscript{Maths}{math}
+\newfontscript{CJK}{hani}
+% \end{macrocode}
+%
+% \iffalse
+% \begin{macrocode}
+%</fontspec&(xetexx|luatex)>
+% \end{macrocode}
+% \fi
Modified: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-user.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-user.dtx 2017-01-22 22:33:54 UTC (rev 43015)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-user.dtx 2017-01-22 22:34:22 UTC (rev 43016)
@@ -11,18 +11,6 @@
% \end{macrocode}
% \fi
%
-% \subsubsection{Helper macros for argument mangling}
-% \begin{macrocode}
-\cs_new:Nn \@@_pass_args:nnn
- {
- \IfNoValueTF {#2}
- { \@@_post_arg:w {#1} {#3} }
- { #1 {#2} {#3} }
- }
-\NewDocumentCommand \@@_post_arg:w { m m O{} }
- { #1 {#3} {#2} }
-% \end{macrocode}
-%
% \subsubsection{Font selection}
% \begin{macro}{\fontspec}
% This is the main command of the package that
@@ -30,12 +18,9 @@
% font name and the optional requested features of that
% font. Then this new font family is selected.
% \begin{macrocode}
-\NewDocumentCommand \fontspec { o m }
- { \@@_pass_args:nnn \@@_fontspec:nn {#1} {#2} }
-
-\cs_new:Nn \@@_fontspec:nn
+\NewDocumentCommand \fontspec { O{} m O{} }
{
- \fontspec_set_family:Nnn \f at family {#1} {#2}
+ \fontspec_set_family:Nnn \f at family {#1,#3} {#2}
\fontencoding { \l_@@_nfss_enc_tl }
\selectfont
\ignorespaces
@@ -44,8 +29,6 @@
% \end{macro}
%
% \begin{macro}{\setmainfont}
-% \begin{macro}{\setsansfont}
-% \begin{macro}{\setmonofont}
% The following three macros perform equivalent operations setting
% the default font for a
% particular family: `roman', sans serif, or typewriter
@@ -52,42 +35,71 @@
% (monospaced). I end them with |\normalfont| so that if they're
% used in the document, the change registers immediately.
% \begin{macrocode}
-\DeclareDocumentCommand \setmainfont { o m }
- { \@@_pass_args:nnn \@@_setmainfont:nn {#1} {#2} }
-
-\cs_new:Nn \@@_setmainfont:nn
+\DeclareDocumentCommand \setmainfont { O{} m O{} }
{
- \fontspec_set_family:Nnn \rmdefault {#1}{#2}
+ \fontspec_set_family:Nnn \g_@@_rmfamily_family {#1,#3} {#2}
+ \tl_set_eq:NN \rmdefault \g_@@_rmfamily_family
+ \use:x { \exp_not:n { \DeclareRobustCommand \rmfamily }
+ {
+ \exp_not:N \fontencoding { \l_@@_nfss_enc_tl }
+ \exp_not:N \fontfamily { \g_@@_rmfamily_family }
+ \exp_not:N \selectfont
+ }
+ }
+ \str_if_eq_x:nnT {\familydefault} {\rmdefault}
+ { \tl_set_eq:NN \encodingdefault \l_@@_nfss_enc_tl }
\normalfont
\ignorespaces
}
-
-\DeclareDocumentCommand \setsansfont { o m }
- { \@@_pass_args:nnn \@@_setsansfont:nn {#1} {#2} }
-
-\cs_new:Nn \@@_setsansfont:nn
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\setsansfont}
+% \begin{macrocode}
+\DeclareDocumentCommand \setsansfont { O{} m O{} }
{
- \fontspec_set_family:Nnn \sfdefault {#1}{#2}
+ \fontspec_set_family:Nnn \g_@@_sffamily_family {#1,#3} {#2}
+ \tl_set_eq:NN \sfdefault \g_@@_sffamily_family
+ \use:x { \exp_not:n { \DeclareRobustCommand \sffamily }
+ {
+ \exp_not:N \fontencoding { \l_@@_nfss_enc_tl }
+ \exp_not:N \fontfamily { \g_@@_sffamily_family }
+ \exp_not:N \selectfont
+ }
+ }
+ \str_if_eq_x:nnT {\familydefault} {\sfdefault}
+ { \tl_set_eq:NN \encodingdefault \l_@@_nfss_enc_tl }
\normalfont
\ignorespaces
}
-
-\DeclareDocumentCommand \setmonofont { o m }
- { \@@_pass_args:nnn \@@_setmonofont:nn {#1} {#2} }
-
-\cs_new:Nn \@@_setmonofont:nn
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\setmonofont}
+% \begin{macrocode}
+\DeclareDocumentCommand \setmonofont { O{} m O{} }
{
- \fontspec_set_family:Nnn \ttdefault {#1}{#2}
+ \fontspec_set_family:Nnn \g_@@_ttfamily_family {#1,#3} {#2}
+ \tl_set_eq:NN \ttdefault \g_@@_ttfamily_family
+ \use:x { \exp_not:n { \DeclareRobustCommand \ttfamily }
+ {
+ \exp_not:N \fontencoding { \l_@@_nfss_enc_tl }
+ \exp_not:N \fontfamily { \g_@@_ttfamily_family }
+ \exp_not:N \selectfont
+ }
+ }
+ \str_if_eq_x:nnT {\familydefault} {\ttdefault}
+ { \tl_set_eq:NN \encodingdefault \l_@@_nfss_enc_tl }
\normalfont
\ignorespaces
}
% \end{macrocode}
-% \end{macro} \end{macro} \end{macro}
+% \end{macro}
%
%
% \begin{macro}{\setromanfont}
-% This is the old name for \cs{setmainfont}, retained
-% for backwards compatibility.
+% This is the old name for \cs{setmainfont}, retained \emph{ad infinitum}
+% for backwards compatibility. It was deprecated in 2010.
% \begin{macrocode}
\cs_set_eq:NN \setromanfont \setmainfont
% \end{macrocode}
@@ -104,38 +116,22 @@
% document. \cmd\setboldmathrm\ is used for specifying which
% fonts should be used in \cmd\boldmath.
% \begin{macrocode}
-\tl_new:N \g_@@_mathrm_tl
-\tl_new:N \g_@@_bfmathrm_tl
-\tl_new:N \g_@@_mathsf_tl
-\tl_new:N \g_@@_mathtt_tl
-\DeclareDocumentCommand \setmathrm { o m }
- { \@@_pass_args:nnn \@@_setmathrm:nn {#1} {#2} }
-
-\cs_new:Nn \@@_setmathrm:nn
+\DeclareDocumentCommand \setmathrm { O{} m O{} }
{
\fontspec_set_family:Nnn \g_@@_mathrm_tl {#1} {#2}
}
-\DeclareDocumentCommand \setboldmathrm { o m }
- { \@@_pass_args:nnn \@@_setboldmathrm:nn {#1} {#2} }
-
-\cs_new:Nn \@@_setboldmathrm:nn
+\DeclareDocumentCommand \setboldmathrm { O{} m O{} }
{
\fontspec_set_family:Nnn \g_@@_bfmathrm_tl {#1} {#2}
}
-\DeclareDocumentCommand \setmathsf { o m }
- { \@@_pass_args:nnn \@@_setmathsf:nn {#1} {#2} }
-
-\cs_new:Nn \@@_setmathsf:nn
+\DeclareDocumentCommand \setmathsf { O{} m O{} }
{
\fontspec_set_family:Nnn \g_@@_mathsf_tl {#1} {#2}
}
-\DeclareDocumentCommand \setmathtt { o m }
- { \@@_pass_args:nnn \@@_setmathtt:nn {#1} {#2} }
-
-\cs_new:Nn \@@_setmathtt:nn
+\DeclareDocumentCommand \setmathtt { O{} m O{} }
{
\fontspec_set_family:Nnn \g_@@_mathtt_tl {#1} {#2}
}
@@ -155,7 +151,6 @@
% \end{macro}
%
% \begin{macro}{\newfontfamily}
-% \begin{macro}{\newfontface}
% This macro takes the arguments of \cs{fontspec} with a prepended
% \meta{instance cmd}. This command is used
% when a specific font instance needs to be referred to repetitively
@@ -167,12 +162,9 @@
% \cs{l_fontspec_family_tl}. This family is then used in a typical NFSS \cmd\fontfamily\
% declaration, saved in the macro name specified.
% \begin{macrocode}
-\DeclareDocumentCommand \newfontfamily { m o m }
- { \@@_pass_args:nnn { \@@_newfontfamily:Nnn #1 } {#2} {#3} }
-
-\cs_new:Nn \@@_newfontfamily:Nnn
+\DeclareDocumentCommand \newfontfamily { m O{} m O{} }
{
- \fontspec_set_family:cnn { g_@@_ \cs_to_str:N #1 _family } {#2} {#3}
+ \fontspec_set_family:cnn { g_@@_ \cs_to_str:N #1 _family } {#2,#4} {#3}
\use:x
{
\exp_not:N \DeclareRobustCommand \exp_not:N #1
@@ -184,17 +176,17 @@
}
}
% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\newfontface}
% \cmd\newfontface\ uses the fact that if the argument to \feat{BoldFont}, etc., is empty (\ie, |BoldFont={}|), then no bold font is searched for.
% \begin{macrocode}
-\DeclareDocumentCommand \newfontface { m o m }
- { \@@_pass_args:nnn { \@@_newfontface:Nnn #1 } {#2} {#3} }
-
-\cs_new:Nn \@@_newfontface:Nnn
+\DeclareDocumentCommand \newfontface { m O{} m O{} }
{
- \newfontfamily #1 [ BoldFont={},ItalicFont={},SmallCapsFont={},#2 ] {#3}
+ \newfontfamily #1 [ BoldFont={},ItalicFont={},SmallCapsFont={},#2,#4 ] {#3}
}
% \end{macrocode}
-% \end{macro} \end{macro}
+% \end{macro}
%
% \subsubsection{Font feature selection}
%
@@ -205,10 +197,6 @@
% \cs{g_fontspec_default_fontopts_tl} (initialised empty), which is
% concatenated with the individual macro choices in the
% [...] macro.
-% \begin{macrocode}
-\clist_new:N \g_@@_default_fontopts_clist
-\prop_new:N \g_@@_fontopts_prop
-% \end{macrocode}
%
% \begin{macrocode}
\DeclareDocumentCommand \defaultfontfeatures { t+ o m }
@@ -251,29 +239,7 @@
}
}
% \end{macrocode}
-%
-% \begin{macro}{\@@_sanitise_fontname:Nn}
-% Assigns font name |#2| to token list variable |#1| and strips extension(s) from it in the case of an external font.
-% We strip spaces for luatex for consistency with luaotfload, although I'm not sure this is necessary any more.
-% At one stage this also lowercased the name, but this step has been removed unless someone can remind me why it was necessary.
-% \begin{macrocode}
-\cs_new:Nn \@@_sanitise_fontname:Nn
- {
- \tl_set:Nx #1 {#2}
-%<luatex> \tl_remove_all:Nn #1 {~}
- \clist_map_inline:Nn \l_@@_extensions_clist
- {
- \tl_if_in:NnT #1 {##1}
- {
- \tl_remove_once:Nn #1 {##1}
-% \keys_set:nn {fontspec-preparse-external} { Extension = ##1 }
- \clist_map_break:
- }
- }
- }
-% \end{macrocode}
% \end{macro}
-% \end{macro}
%
%
%
@@ -290,7 +256,7 @@
%
% The default options are \emph{not} applied (which is why
% \cs{g_fontspec_default_fontopts_tl} is emptied inside the group; this is allowed
-% as \cmd\l_fontspec_family_tl\ is globally defined in \cmd\fontspec_select:nn), so this
+% as \cmd\l_fontspec_family_tl\ is globally defined in \cmd\@@_select_font_family:nn), so this
% means that the only added features to the font are strictly those
% specified by this command.
%
@@ -297,9 +263,9 @@
% \cs{addfontfeature} is defined as an alias, as I found that I
% often typed this instead when adding only a single font feature.
% \begin{macrocode}
-\bool_new:N \l_@@_disable_defaults_bool
\DeclareDocumentCommand \addfontfeatures {m}
{
+%<debug> \typeout{^^J::::::::::::::::::::::::::::::::::^^J: addfontfeatures}
\fontspec_if_fontspec_font:TF
{
\group_begin:
@@ -307,9 +273,10 @@
\prop_get:cnN {g_@@_ \f at family _prop} {options} \l_@@_options_tl
\prop_get:cnN {g_@@_ \f at family _prop} {fontname} \l_@@_fontname_tl
\bool_set_true:N \l_@@_disable_defaults_bool
+%<debug> \typeout{ \@@_select_font_family:nn { \l_@@_options_tl , #1 } {\l_@@_fontname_tl} }
\use:x
{
- \exp_not:N \fontspec_select:nn
+ \@@_select_font_family:nn
{ \l_@@_options_tl , #1 } {\l_@@_fontname_tl}
}
\group_end:
@@ -324,8 +291,6 @@
% \end{macrocode}
% \end{macro}
%
-%
-%
% \subsubsection{Defining new font features}
%
% \begin{macro}{\newfontfeature}
@@ -355,16 +320,15 @@
\DeclareDocumentCommand \newAATfeature {mmmm}
{
\keys_if_exist:nnF { fontspec } {#1}
- { \@@_define_font_feature:n {#1} }
+ { \@@_define_aat_feature_group:n {#1} }
\keys_if_choice_exist:nnnT {fontspec} {#1} {#2}
{ \@@_warning:nxx {feature-option-overwrite} {#1} {#2} }
- \@@_define_feature_option:nnnnn {#1}{#2}{#3}{#4}{}
+ \@@_define_aat_feature:nnnn {#1}{#2}{#3}{#4}
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\newopentypefeature}
-% \begin{macro}{\newICUfeature}
% This command assigns a new OpenType feature by its abbreviation (|#2|) to a new name (|#1|).
% Better than \cmd\newfontfeature\ because it checks if the feature exists in the
% font it's being used for.
@@ -372,28 +336,30 @@
\DeclareDocumentCommand \newopentypefeature {mmm}
{
\keys_if_exist:nnF { fontspec / options } {#1}
- { \@@_define_font_feature:n {#1} }
+ { \@@_define_opentype_feature_group:n {#1} }
\keys_if_choice_exist:nnnT {fontspec} {#1} {#2}
{ \@@_warning:nxx {feature-option-overwrite} {#1} {#2} }
- \@@_define_feature_option:nnnnn {#1}{#2}{}{}{#3}
+ \@@_define_opentype_feature:nnn {#1}{#2}{#3}
}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\newICUfeature}
+% \begin{macrocode}
\cs_set_eq:NN \newICUfeature \newopentypefeature % deprecated
% \end{macrocode}
% \end{macro}
-% \end{macro}
%
%
% \begin{macro}{\aliasfontfeature}
-% \begin{macro}{\aliasfontfeatureoption}
% User commands for renaming font features and font feature options.
% \begin{macrocode}
-\bool_new:N \l_@@_alias_bool
\DeclareDocumentCommand \aliasfontfeature {mm}
{
\bool_set_false:N \l_@@_alias_bool
\clist_map_inline:nn
- { fontspec, fontspec-preparse, fontspec-preparse-external,
+ { fontspec, fontspec-opentype, fontspec-aat, fontspec-preparse, fontspec-preparse-external,
fontspec-preparse-nested, fontspec-renderer }
{
@@ -400,7 +366,8 @@
\keys_if_exist:nnT {##1} {#1}
{
\bool_set_true:N \l_@@_alias_bool
- \@@_alias_font_feature:nnn {##1} {#1} {#2}
+ \keys_define:nn {##1}
+ { #2 .code:n = { \keys_set:nn {##1} { #1 = {####1} } } }
}
}
@@ -407,17 +374,30 @@
\bool_if:NF \l_@@_alias_bool
{ \@@_warning:nx {rename-feature-not-exist} {#1} }
}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\aliasfontfeatureoption}
+% \begin{macrocode}
+\DeclareDocumentCommand \aliasfontfeatureoption {mmm}
+ {
+ \bool_set_false:N \l_@@_alias_bool
-\cs_set:Nn \@@_alias_font_feature:nnn
- {
- \keys_define:nn {#1}
- { #3 .code:n = { \keys_set:nn {#1} { #2 = {##1} } } }
- }
+ \clist_map_inline:Nn \g_@@_all_keyval_modules_clist
+ {
-\DeclareDocumentCommand \aliasfontfeatureoption {mmm}
- { \keys_define:nn { fontspec / #1 } { #3 .meta:n = {#2} } }
+ \keys_if_exist:nnT {##1} {#1}
+ {
+ \bool_set_true:N \l_@@_alias_bool
+ \keys_define:nn { ##1 / #1 } { #3 .meta:n = {#2} }
+ }
+ }
+
+ \bool_if:NF \l_@@_alias_bool
+ { \@@_warning:nx {rename-feature-not-exist} {#1} }
+ }
% \end{macrocode}
-% \end{macro} \end{macro}
+% \end{macro}
%
% \begin{macro}{\newfontscript}
% Mostly used internally, but also possibly useful for users, to define new OpenType
@@ -453,7 +433,44 @@
\DeclareFontsExtensions{.otf,.ttf,.OTF,.TTF,.ttc,.TTC,.dfont}
% \end{macrocode}
% \end{macro}
+
+
+% \begin{macro}{\IfFontFeaturesTF}
+% \begin{macrocode}
+\DeclareDocumentCommand \IfFontFeatureActiveTF {mmm}
+ {
+%<debug> \typeout{^^J:::::::::::::::::::::::::::::::::::::::::::::::}
+%<debug> \typeout{:IfFontFeatureActiveTF \exp_not:n{{#1}{#2}{#3}}}
+ \@@_if_font_feature:nTF {#1} {#2} {#3}
+ }
+% \end{macrocode}
%
+% \begin{macrocode}
+\prg_new_conditional:Nnn \@@_if_font_feature:n {TF}
+ {
+ \tl_gclear:N \g_@@_single_feat_tl
+ \group_begin:
+ \@@_font_suppress_not_found_error:
+ \@@_init:
+ \bool_set_true:N \l_@@_ot_bool
+ \bool_set_true:N \l_@@_never_check_bool
+ \bool_set_false:N \l_@@_firsttime_bool
+ \clist_clear:N \l_@@_fontfeat_clist
+ \@@_get_features:Nn \l_@@_rawfeatures_sclist {#1}
+ \group_end:
+
+%<debug> \typeout{:::> \exp_not:N\l_@@_rawfeatures_sclist->~{\l_@@_rawfeatures_sclist}}
+%<debug> \typeout{:::> \exp_not:N\g_@@_single_feat_tl->~{\g_@@_single_feat_tl}}
+
+ \tl_if_empty:NTF \g_@@_single_feat_tl { \prg_return_false: }
+ {
+ \exp_args:NV \fontspec_if_current_feature:nTF \g_@@_single_feat_tl
+ { \prg_return_true: } { \prg_return_false: }
+ }
+ }
+% \end{macrocode}
+% \end{macro}
+%
% \iffalse
% \begin{macrocode}
%</fontspec&(xetexx|luatex)>
Modified: trunk/Master/texmf-dist/source/latex/fontspec/fontspec-vars.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec-vars.dtx 2017-01-22 22:33:54 UTC (rev 43015)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec-vars.dtx 2017-01-22 22:34:22 UTC (rev 43016)
@@ -1,16 +1,16 @@
%
-% \section{Declaration of variables}
+% \section{Declaration of variables and functions}
%
% \begin{macrocode}
-%<*vars>
+%<*fontspec>
% \end{macrocode}
%
-% \paragraph{Conditionals}
+% \paragraph{Booleans}
% \subparagraph{firsttime} As \cs{keys_set:nn} is run multiple times, some of its
% information storing only occurs once while we decide if the font family
% has been defined or not. When the later processing is occuring per-shape
% this no longer needs to happen; this is indicated by the `firsttime'
-% conditional (initialised true).
+% conditional.
% \begin{macrocode}
\bool_new:N \l_@@_firsttime_bool
% \end{macrocode}
@@ -19,10 +19,11 @@
\bool_new:N \l_@@_noit_bool
\bool_new:N \l_@@_nosc_bool
% \end{macrocode}
+% These strange set functions are to simplify returning code from LuaTeX:
% \begin{macrocode}
-\bool_new:N \l__fontspec_check_bool
-\cs_new:Npn \FontspecSetCheckBoolTrue { \bool_set_true:N \l__fontspec_check_bool }
-\cs_new:Npn \FontspecSetCheckBoolFalse { \bool_set_false:N \l__fontspec_check_bool }
+\bool_new:N \l_@@_check_bool
+\cs_new:Npn \FontspecSetCheckBoolTrue { \bool_set_true:N \l_@@_check_bool }
+\cs_new:Npn \FontspecSetCheckBoolFalse { \bool_set_false:N \l_@@_check_bool }
% \end{macrocode}
%
% \begin{macrocode}
@@ -32,7 +33,7 @@
\bool_new:N \l_@@_mm_bool
\bool_new:N \l_@@_graphite_bool
% \end{macrocode}
-% For dealing with legacy maths
+% For dealing with legacy maths:
% \begin{macrocode}
\bool_new:N \g_@@_math_euler_bool
\bool_new:N \g_@@_math_lucida_bool
@@ -44,38 +45,132 @@
\bool_new:N \g_@@_math_bool
\bool_new:N \g_@@_euenc_bool
% \end{macrocode}
+%
+% \begin{macrocode}
+\bool_new:N \l_@@_disable_defaults_bool
+\bool_new:N \l_@@_alias_bool
+\bool_new:N \l_@@_external_bool
+\bool_new:N \l_@@_never_check_bool
+\bool_new:N \l_@@_defining_encoding_bool
+\bool_new:N \l_@@_script_exist_bool
+% \end{macrocode}
+%
% \paragraph{Counters}
% \begin{macrocode}
-\int_new:N \l_fontspec_script_int
-\int_new:N \l_fontspec_language_int
-\int_new:N \l_fontspec_strnum_int
+\int_new:N \l_@@_script_int
+\int_new:N \l_@@_language_int
+\int_new:N \l_@@_strnum_int
+\int_new:N \l_@@_tmp_int
+\int_new:N \l_@@_em_int
+\int_new:N \l_@@_emdef_int
% \end{macrocode}
-% \paragraph{Other variables}
+%
+% \paragraph{Floating point}
% \begin{macrocode}
\fp_new:N \l_@@_tmpa_fp
\fp_new:N \l_@@_tmpb_fp
+% \end{macrocode}
+%
+% \paragraph{Dimensions}
+% \begin{macrocode}
\dim_new:N \l_@@_tmpa_dim
\dim_new:N \l_@@_tmpb_dim
\dim_new:N \l_@@_tmpc_dim
+\seq_new:N \g_@@_bf_series_seq
% \end{macrocode}
%
+% \paragraph{Comma lists}
% \begin{macrocode}
-\tl_set:Nx \c_colon_str { \tl_to_str:N : }
-\cs_set:Npn \use_v:nnnnn #1#2#3#4#5 {#5}
-\cs_set:Npn \use_iv:nnnnn #1#2#3#4#5 {#4}
+\clist_new:N \g_@@_default_fontopts_clist
+\clist_new:N \g_@@_all_keyval_modules_clist
+\clist_set:Nn \l_@@_sizefeat_clist {Size={-}}
% \end{macrocode}
%
-% Need these:
+% \paragraph{Property lists}
% \begin{macrocode}
-\cs_generate_variant:Nn \str_if_eq:nnTF {nv}
-\cs_generate_variant:Nn \int_set:Nn {Nv}
-\cs_generate_variant:Nn \keys_set:nn {nx}
-\cs_generate_variant:Nn \keys_set_known:nnN {nx}
-\cs_generate_variant:Nn \tl_if_empty:nTF {x}
-\cs_generate_variant:Nn \tl_if_empty:nTF {x}
-\cs_generate_variant:Nn \prop_put:Nnn {Nxx}
+\prop_new:N \g_@@_fontopts_prop
+\prop_new:N \l_@@_nfss_prop
+\prop_new:N \l_@@_nfssfont_prop
+\prop_new:N \g_@@_OT_features_prop
+\prop_new:N \g_@@_all_opentype_feature_names_prop
+\prop_new:N \g_@@_em_prop
% \end{macrocode}
%
+% \paragraph{Token lists}
+%
+% \begin{macrocode}
+\tl_new:N \g_@@_mathrm_tl
+\tl_new:N \g_@@_bfmathrm_tl
+\tl_new:N \g_@@_mathsf_tl
+\tl_new:N \g_@@_mathtt_tl
+% \end{macrocode}
+%
+% \begin{macrocode}
+\tl_new:N \l_@@_family_label_tl
+\tl_new:N \l_@@_fake_slant_tl
+\tl_new:N \l_@@_fake_embolden_tl
+% \end{macrocode}
+%
+% \begin{macrocode}
+\tl_new:N \l_@@_fontname_up_tl
+\tl_new:N \l_@@_fontname_bf_tl
+\tl_new:N \l_@@_fontname_it_tl
+\tl_new:N \l_@@_fontname_bfit_tl
+\tl_new:N \l_@@_fontname_sl_tl
+\tl_new:N \l_@@_fontname_bfsl_tl
+\tl_new:N \l_@@_fontname_sc_tl
+% \end{macrocode}
+%
+% \begin{macrocode}
+\tl_new:N \l_@@_fontfeat_up_clist
+\tl_new:N \l_@@_fontfeat_bf_clist
+\tl_new:N \l_@@_fontfeat_it_clist
+\tl_new:N \l_@@_fontfeat_bfit_clist
+\tl_new:N \l_@@_fontfeat_sl_clist
+\tl_new:N \l_@@_fontfeat_bfsl_clist
+\tl_new:N \l_@@_fontfeat_sc_clist
+% \end{macrocode}
+%
+% \begin{macrocode}
+\tl_new:N \l_@@_script_name_tl
+\tl_new:N \l_fontspec_script_tl
+\tl_new:N \l_@@_lang_name_tl
+\tl_new:N \l_fontspec_lang_tl
+% \end{macrocode}
+%
+% \begin{macrocode}
+\tl_new:N \g_@@_hexcol_tl
+\tl_new:N \g_@@_opacity_tl
+\tl_set:Nn \g_@@_hexcol_tl {000000}
+\tl_set:Nn \g_@@_opacity_tl {FF~}
+\tl_set:Nn \g_@@_postadjust_tl { \l_@@_wordspace_adjust_tl \l_@@_punctspace_adjust_tl }
+% \end{macrocode}
+%
+%
+%
+% \subsection{Generic functions}
+%
+% \begin{macro}{\@@_keys_set_known:nnN}
+% \begin{macrocode}
+\cs_new:Nn \@@_keys_set_known:nnN
+ {
+%<debug> \typeout{:::: Keys~set:~{#1}~{#2} }
+ \keys_set_known:nnN {#1} {#2} #3
+%<debug> \typeout{:::: Leftover:~{#3} }
+ }
+\cs_generate_variant:Nn \@@_keys_set_known:nnN {nx}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_head_ii:n}
+% Expands to the first two \meta{items} of |#1|.
+% \begin{macrocode}
+\cs_set:Npn \@@_head_ii:n #1 { \@@_head_ii:w #1 *** \q_stop}
+\cs_set:Npn \@@_head_ii:w #1#2#3 \q_stop { #1#2 }
+\cs_generate_variant:Nn \@@_head_ii:n {o}
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\@@_int_mult_truncate:Nn}
% Missing in expl3, IMO.
% \begin{macrocode}
@@ -86,7 +181,28 @@
% \end{macrocode}
% \end{macro}
%
+%
+% \subsection{expl3 variants}
+%
% \begin{macrocode}
-%</vars>
+\cs_generate_variant:Nn \int_set:Nn {Nv}
+\cs_generate_variant:Nn \keys_set:nn {nx}
+\cs_generate_variant:Nn \keys_set_known:nnN {nx}
+\cs_generate_variant:Nn \prop_put:Nnn {Nxx}
+\cs_generate_variant:Nn \prop_put:Nnn {NxV}
+\cs_generate_variant:Nn \prop_gput:Nnn {NxV}
+\cs_generate_variant:Nn \prop_gput:Nnn {Nxn}
+\cs_generate_variant:Nn \prop_get:NnNT {NxN}
+\cs_generate_variant:Nn \prop_get:NnNTF {NxN}
+\cs_generate_variant:Nn \str_if_eq:nnTF {nv}
+\cs_generate_variant:Nn \tl_if_empty:nTF {x}
+\cs_generate_variant:Nn \tl_if_empty:nF {x}
+\cs_generate_variant:Nn \tl_if_empty:nF {f}
+\cs_generate_variant:Nn \tl_if_eq:nnT {ox}
+\cs_generate_variant:Nn \tl_replace_all:Nnn {Nnx}
% \end{macrocode}
+%
+% \begin{macrocode}
+%</fontspec>
+% \end{macrocode}
Modified: trunk/Master/texmf-dist/source/latex/fontspec/fontspec.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fontspec/fontspec.dtx 2017-01-22 22:33:54 UTC (rev 43015)
+++ trunk/Master/texmf-dist/source/latex/fontspec/fontspec.dtx 2017-01-22 22:34:22 UTC (rev 43016)
@@ -8,13 +8,13 @@
\preamble
------------------------------------------------
The FONTSPEC package for XeLaTeX/LuaLaTeX
-(C) 2004--2016 Will Robertson and Khaled Hosny
+(C) 2004--2017 Will Robertson and Khaled Hosny
License information appended.
------------------------------------------------
\endpreamble
\postamble
------------------------------------------------
-Copyright 2004--2016 Will Robertson <wspr81 at gmail.com>
+Copyright 2004--2017 Will Robertson <wspr81 at gmail.com>
Copyright 2009--2013 Khaled Hosny <khaledhosny at eglug.org>
Distributable under the LaTeX Project Public License, version 1.3c or higher.
@@ -21,8 +21,8 @@
The latest version of this license is at: http://www.latex-project.org/lppl.txt
This work is "maintained" by Will Robertson.
-It consists of the files: fontspec*.dtx, fontspec.cfg, fontspec-example.tex.
-And the derived files: fontspec*.sty,fontspec.lua, and fontspec.pdf.
+It consists of the files: fontspec*.dtx, fontspec.cfg, fontspec*.tex.
+And the derived files: fontspec*.sty,fontspec.lua, fontspec.pdf.
------------------------------------------------
\endpostamble
\askforoverwritefalse
@@ -34,35 +34,35 @@
\generate{\file{fontspec.sty}{
\from{fontspec.dtx}{fontspec,load\FSDEBUG}
}}
-\generate{\file{fontspec-xetex.sty}{
- \from{fontspec.dtx}{fontspec,xetexx\FSDEBUG}
- \from{fontspec-vars.dtx}{vars\FSDEBUG}
- \from{fontspec-msg.dtx}{msg\FSDEBUG}
- \from{fontspec-opening.dtx}{fontspec,xetexx\FSDEBUG}
- \from{fontspec-fontload.dtx}{fontspec,xetexx\FSDEBUG}
- \from{fontspec-user.dtx}{fontspec,xetexx\FSDEBUG}
- \from{fontspec-api.dtx}{fontspec,xetexx\FSDEBUG}
- \from{fontspec-internal.dtx}{fontspec,xetexx\FSDEBUG}
- \from{fontspec-keyval.dtx}{fontspec,xetexx\FSDEBUG}
- \from{fontspec-math.dtx}{fontspec,xetexx\FSDEBUG}
- \from{fontspec-closing.dtx}{fontspec,xetexx\FSDEBUG}
- \from{fontspec-patches.dtx}{patches\FSDEBUG}
-}}
-\generate{\file{fontspec-luatex.sty}{
- \from{fontspec.dtx}{fontspec,luatex\FSDEBUG}
- \from{fontspec-vars.dtx}{vars\FSDEBUG}
- \from{fontspec-msg.dtx}{msg\FSDEBUG}
- \from{fontspec-opening.dtx}{fontspec,luatex\FSDEBUG}
- \from{fontspec-fontload.dtx}{fontspec,luatex\FSDEBUG}
- \from{fontspec-user.dtx}{fontspec,luatex\FSDEBUG}
- \from{fontspec-api.dtx}{fontspec,luatex\FSDEBUG}
- \from{fontspec-internal.dtx}{fontspec,luatex\FSDEBUG}
- \from{fontspec-keyval.dtx}{fontspec,luatex\FSDEBUG}
- \from{fontspec-math.dtx}{fontspec,luatex\FSDEBUG}
- \from{fontspec-closing.dtx}{fontspec,luatex\FSDEBUG}
- \from{fontspec-patches.dtx}{patches\FSDEBUG}
-}}
+\gdef\FONTSPECDTX{
+ \DTX{fontspec.dtx}
+ \DTX{fontspec-vars.dtx}
+ \DTX{fontspec-msg.dtx}
+ \DTX{fontspec-opening.dtx}
+ \DTX{fontspec-fontload.dtx}
+ \DTX{fontspec-user.dtx}
+ \DTX{fontspec-api.dtx}
+ \DTX{fontspec-internal.dtx}
+ \DTX{fontspec-opentype.dtx}
+ \DTX{fontspec-graphite.dtx}
+ \DTX{fontspec-keyval.dtx}
+ \DTX{fontspec-feat-opentype.dtx}
+ \DTX{fontspec-scripts.dtx}
+ \DTX{fontspec-lang.dtx}
+ \DTX{fontspec-feat-aat.dtx}
+ \DTX{fontspec-enc.dtx}
+ \DTX{fontspec-math.dtx}
+ \DTX{fontspec-closing.dtx}
+ \DTX{fontspec-patches.dtx}
+}
+
+\def\DTX#1{\from{#1}{fontspec,xetexx\FSDEBUG}}
+\generate{\file{fontspec-xetex.sty}{\FONTSPECDTX}}
+
+\def\DTX#1{\from{#1}{fontspec,luatex\FSDEBUG}}
+\generate{\file{fontspec-luatex.sty}{\FONTSPECDTX}}
+
\def\tmpa{plain}
\ifx\tmpa\fmtname\endgroup\expandafter\bye\fi
\endgroup
@@ -78,7 +78,7 @@
%<fontspec&xetexx>\ProvidesExplPackage{fontspec-xetex}%
%<fontspec&luatex>\ProvidesExplPackage{fontspec-luatex}%
%<*fontspec>
- {2016/02/01}{2.5a}{Font selection for XeLaTeX and LuaLaTeX}
+ {2017/01/02}{2.5c}{Font selection for XeLaTeX and LuaLaTeX}
%</fontspec>
%
%<*driver>
@@ -87,19 +87,14 @@
\input{fontspec-doc.tex}
\StopEventually{}
\part{Implementation}
-\DocInput{fontspec.dtx}
-\DocInput{fontspec-vars.dtx}
-\DocInput{fontspec-opening.dtx}
-\DocInput{fontspec-fontload.dtx}
-\DocInput{fontspec-user.dtx}
-\DocInput{fontspec-api.dtx}
-\DocInput{fontspec-internal.dtx}
-\DocInput{fontspec-keyval.dtx}
-\DocInput{fontspec-math.dtx}
-\DocInput{fontspec-closing.dtx}
-\DocInput{fontspec-lua.dtx}
-\DocInput{fontspec-patches.dtx}
-\DocInput{fontspec-msg.dtx}
+\def\DTX#1{\DocInput{#1}}
+\FONTSPECDTX
+\clearpage
+\PrintChanges
+\clearpage
+\setcounter{IndexColumns}{2}
+\PrintIndex
+\Finale
\end{document}
%</driver>
% \fi
@@ -133,10 +128,4 @@
\endinput
%</load>
% \end{macrocode}
-% \clearpage
-% \PrintChanges
-% \clearpage
-% \setcounter{IndexColumns}{2}
-% \PrintIndex
-% \Finale
\endinput
Added: trunk/Master/texmf-dist/tex/latex/fontspec/fontrange-OT2.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fontspec/fontrange-OT2.def (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/fontspec/fontrange-OT2.def 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,7 @@
+
+\DeclareTextSymbol{\CYRIE}{\LastDeclaredEncoding}{"0404}
+\DeclareTextSymbol{\CYRDJE}{\LastDeclaredEncoding}{"0402}
+\DeclareTextSymbol{\CYRTSHE}{\LastDeclaredEncoding}{"040B}
+\DeclareTextSymbol{\cyrnje}{\LastDeclaredEncoding}{"045A}
+\DeclareTextSymbol{\cyrlje}{\LastDeclaredEncoding}{"0459}
+\DeclareTextSymbol{\cyrdzhe}{\LastDeclaredEncoding}{"045F}
Added: trunk/Master/texmf-dist/tex/latex/fontspec/fontrange-T1.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fontspec/fontrange-T1.def (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/fontspec/fontrange-T1.def 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,198 @@
+\ProvidesFile{fontrange-T1.def}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% T1 SYMBOLS
+
+\EncodingAccent{\`}{"0300}
+\EncodingAccent{\'}{"0301}
+\EncodingAccent{\^}{"0302}
+\EncodingAccent{\~}{"0303}
+\EncodingAccent{\"}{"0308}
+\EncodingAccent{\H}{"030B}
+\EncodingAccent{\r}{"030A}
+\EncodingAccent{\v}{"030C}
+\EncodingAccent{\u}{"0306}
+\EncodingAccent{\=}{"0304}
+\EncodingAccent{\.}{"0307}
+\EncodingAccent{\b}{"0332}
+\EncodingAccent{\c}{"0327}
+\EncodingAccent{\d}{"0323}
+\EncodingAccent{\k}{"0328}
+%% \textogonekcentered %% not in unicode?
+\EncodingSymbol{\textperthousand}{"2030}
+\EncodingSymbol{\textpertenthousand}{"2031}
+\EncodingSymbol{\AE}{"00C6}
+\EncodingSymbol{\DH}{"00D0}
+\EncodingSymbol{\DJ}{"0110}
+\EncodingSymbol{\L} {"0141}
+\EncodingSymbol{\NG}{"014A}
+\EncodingSymbol{\OE}{"0152}
+\EncodingSymbol{\O} {"00D8}
+\EncodingSymbol{\SS}{"1E9E}
+\EncodingSymbol{\TH}{"00DE}
+\EncodingSymbol{\ae}{"00E6}
+\EncodingSymbol{\dh}{"00F0}
+\EncodingSymbol{\dj}{"0111}
+\EncodingSymbol{\guillemotleft}{"00AB}
+\EncodingSymbol{\guillemotright}{"00BB}
+\EncodingSymbol{\guilsinglleft}{"2039}
+\EncodingSymbol{\guilsinglright}{"203A}
+\EncodingSymbol{\i} {"0131}
+\EncodingSymbol{\j} {"0237}
+\EncodingSymbol{\ij}{"0133}
+\EncodingSymbol{\IJ}{"0132}
+\EncodingSymbol{\l} {"0142}
+\EncodingSymbol{\ng}{"014B}
+\EncodingSymbol{\oe}{"0153}
+\EncodingSymbol{\o} {"00F8}
+\EncodingSymbol{\quotedblbase}{"201E}
+\EncodingSymbol{\quotesinglbase}{"201A}
+\EncodingSymbol{\ss}{"00DF}
+\EncodingSymbol{\textasciicircum}{`\^}
+\EncodingSymbol{\textasciitilde}{`\~}
+\EncodingSymbol{\textbackslash}{`\\}
+\EncodingSymbol{\textbar}{`\|}
+\EncodingSymbol{\textbraceleft}{`\{}
+\EncodingSymbol{\textbraceright}{`\}}
+\EncodingSymbol{\textcompwordmark}{"200C}
+\EncodingSymbol{\textdollar}{`\$}
+\EncodingSymbol{\textemdash}{"2014}
+\EncodingSymbol{\textendash}{"2013}
+\EncodingSymbol{\textexclamdown}{"00A1}
+\EncodingSymbol{\textgreater}{`\>}
+\EncodingSymbol{\textless}{`\<}
+\EncodingSymbol{\textquestiondown}{"00BF}
+\EncodingSymbol{\textquotedblleft}{"201C}
+\EncodingSymbol{\textquotedblright}{"201D}
+\EncodingSymbol{\textquotedbl}{`\"}
+\EncodingSymbol{\textquoteleft}{"2018}
+\EncodingSymbol{\textquoteright}{"2019}
+\EncodingSymbol{\textsection}{"00A7}
+\EncodingSymbol{\textsterling}{"00A3}
+\EncodingSymbol{\textunderscore}{`\_}
+\EncodingSymbol{\textvisiblespace}{"2423}
+\EncodingSymbol{\th}{"00FE}
+\EncodingComposite{\.}{i}{`\i}
+\EncodingComposite{\.}{\i}{`\i}
+\EncodingComposite{\u}{A}{"0102}
+\EncodingComposite{\k}{A}{"0104}
+\EncodingComposite{\'}{C}{"0106}
+\EncodingComposite{\v}{C}{"010C}
+\EncodingComposite{\v}{D}{"010E}
+\EncodingComposite{\v}{E}{"011A}
+\EncodingComposite{\k}{E}{"0118}
+\EncodingComposite{\u}{G}{"011E}
+\EncodingComposite{\'}{L}{"0139}
+\EncodingComposite{\v}{L}{"013D}
+\EncodingComposite{\'}{N}{"0143}
+\EncodingComposite{\v}{N}{"0147}
+\EncodingComposite{\H}{O}{"0150}
+\EncodingComposite{\'}{R}{"0154}
+\EncodingComposite{\v}{R}{"0158}
+\EncodingComposite{\'}{S}{"015A}
+\EncodingComposite{\v}{S}{"0160}
+\EncodingComposite{\c}{S}{"015F}
+\EncodingComposite{\v}{T}{"0164}
+\EncodingComposite{\c}{T}{"0162}
+\EncodingComposite{\H}{U}{"0170}
+\EncodingComposite{\r}{U}{"016E}
+\EncodingComposite{\"}{Y}{"0178}
+\EncodingComposite{\'}{Z}{"017A}
+\EncodingComposite{\v}{Z}{"017D}
+\EncodingComposite{\.}{Z}{"017B}
+\EncodingComposite{\.}{I}{"0130}
+\EncodingComposite{\u}{a}{"0103}
+\EncodingComposite{\k}{a}{"0105}
+\EncodingComposite{\'}{c}{"0107}
+\EncodingComposite{\v}{c}{"010D}
+\EncodingComposite{\v}{d}{"010F}
+\EncodingComposite{\v}{e}{"011B}
+\EncodingComposite{\k}{e}{"0119}
+\EncodingComposite{\u}{g}{"011F}
+\EncodingComposite{\'}{l}{"0139}
+\EncodingComposite{\v}{l}{"013E}
+\EncodingComposite{\'}{n}{"0144}
+\EncodingComposite{\v}{n}{"0148}
+\EncodingComposite{\H}{o}{"0151}
+\EncodingComposite{\'}{r}{"0155}
+\EncodingComposite{\v}{r}{"0159}
+\EncodingComposite{\'}{s}{"015B}
+\EncodingComposite{\v}{s}{"0161}
+\EncodingComposite{\c}{s}{"015F}
+\EncodingComposite{\v}{t}{"0165}
+\EncodingComposite{\c}{t}{"0163}
+\EncodingComposite{\H}{u}{"0171}
+\EncodingComposite{\r}{u}{"016F}
+\EncodingComposite{\"}{y}{"00FF}
+\EncodingComposite{\'}{z}{"00FD}
+\EncodingComposite{\v}{z}{"017E}
+\EncodingComposite{\.}{z}{"017C}
+\EncodingComposite{\`}{A}{"00C0}
+\EncodingComposite{\'}{A}{"00C1}
+\EncodingComposite{\^}{A}{"00C2}
+\EncodingComposite{\~}{A}{"00C3}
+\EncodingComposite{\"}{A}{"00C4}
+\EncodingComposite{\r}{A}{"00C5}
+\EncodingComposite{\c}{C}{"00C7}
+\EncodingComposite{\`}{E}{"00C8}
+\EncodingComposite{\'}{E}{"00C9}
+\EncodingComposite{\^}{E}{"00CA}
+\EncodingComposite{\"}{E}{"00CB}
+\EncodingComposite{\`}{I}{"00CC}
+\EncodingComposite{\'}{I}{"00CD}
+\EncodingComposite{\^}{I}{"00CE}
+\EncodingComposite{\"}{I}{"00CF}
+\EncodingComposite{\~}{N}{"00D1}
+\EncodingComposite{\`}{O}{"00D2}
+\EncodingComposite{\'}{O}{"00D3}
+\EncodingComposite{\^}{O}{"00D4}
+\EncodingComposite{\~}{O}{"00D5}
+\EncodingComposite{\"}{O}{"00D6}
+\EncodingComposite{\`}{U}{"00D9}
+\EncodingComposite{\'}{U}{"00DA}
+\EncodingComposite{\^}{U}{"00DB}
+\EncodingComposite{\"}{U}{"00DC}
+\EncodingComposite{\'}{Y}{"00DD}
+\EncodingComposite{\`}{a}{"00E0}
+\EncodingComposite{\'}{a}{"00E1}
+\EncodingComposite{\^}{a}{"00E2}
+\EncodingComposite{\~}{a}{"00E3}
+\EncodingComposite{\"}{a}{"00E4}
+\EncodingComposite{\r}{a}{"00E5}
+\EncodingComposite{\c}{c}{"00E7}
+\EncodingComposite{\`}{e}{"00E8}
+\EncodingComposite{\'}{e}{"00E9}
+\EncodingComposite{\^}{e}{"00EA}
+\EncodingComposite{\"}{e}{"00EB}
+\EncodingComposite{\`}{i} {"00EC}
+\EncodingComposite{\`}{\i}{"00EC}
+\EncodingComposite{\'}{i} {"00ED}
+\EncodingComposite{\'}{\i}{"00ED}
+\EncodingComposite{\^}{i} {"00EE}
+\EncodingComposite{\^}{\i}{"00EE}
+\EncodingComposite{\"}{i} {"00EF}
+\EncodingComposite{\"}{\i}{"00EF}
+\EncodingComposite{\~}{n}{"00F1}
+\EncodingComposite{\`}{o}{"00F2}
+\EncodingComposite{\'}{o}{"00F3}
+\EncodingComposite{\^}{o}{"00F4}
+\EncodingComposite{\~}{o}{"00F5}
+\EncodingComposite{\"}{o}{"00F6}
+\EncodingComposite{\`}{u}{"00F9}
+\EncodingComposite{\'}{u}{"00FA}
+\EncodingComposite{\^}{u}{"00FB}
+\EncodingComposite{\"}{u}{"00FC}
+\EncodingComposite{\'}{y}{"00FD}
+\EncodingComposite{\k}{o}{"01EB}
+\EncodingComposite{\k}{O}{"01EA}
+
+\EncodingComposite{\c}{G}{"0122}
+\EncodingComposite{\c}{g}{"0123} % note this cedilla is above not below :)
+\EncodingComposite{\c}{K}{"0136}
+\EncodingComposite{\c}{k}{"0137}
+\EncodingComposite{\c}{L}{"013B}
+\EncodingComposite{\c}{l}{"013C}
+\EncodingComposite{\c}{N}{"0145}
+\EncodingComposite{\c}{n}{"0146}
+\EncodingComposite{\c}{R}{"0156}
+\EncodingComposite{\c}{r}{"0157}
Added: trunk/Master/texmf-dist/tex/latex/fontspec/fontrange-TS1.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fontspec/fontrange-TS1.def (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/fontspec/fontrange-TS1.def 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,134 @@
+\ProvidesFile{fontrange-TS1.def}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% TS1 symbols
+
+\EncodingAccent{\capitalcedilla}{"0327}
+\EncodingAccent{\capitalogonek}{"0328}
+\EncodingAccent{\capitalgrave}{"0300}
+\EncodingAccent{\capitalacute}{"0301}
+\EncodingAccent{\capitalcircumflex}{"0302}
+\EncodingAccent{\capitaltilde}{"0303}
+\EncodingAccent{\capitaldieresis}{"0308}
+\EncodingAccent{\capitalhungarumlaut}{"030B}
+\EncodingAccent{\capitalring}{"030A}
+\EncodingAccent{\capitalcaron}{"030C}
+\EncodingAccent{\capitalbreve}{"0306}
+\EncodingAccent{\capitalmacron}{"0304}
+\EncodingAccent{\capitaldotaccent}{"0307}
+\EncodingAccent{\t}{"0361}
+\EncodingAccent{\capitaltie}{"0361}
+\EncodingAccent{\newtie}{"0311}
+\EncodingAccent{\capitalnewtie}{"0311}
+%%\EncodingSymbol{\textcapitalcompwordmark}{23}
+%%\EncodingSymbol{\textascendercompwordmark}{31}
+\EncodingSymbol{\textquotestraightbase}{"201A}
+\EncodingSymbol{\textquotestraightdblbase}{"201E}
+\EncodingSymbol{\texttwelveudash}{"2015}
+\EncodingSymbol{\textthreequartersemdash}{"2012}
+\EncodingSymbol{\textleftarrow}{"2190}
+\EncodingSymbol{\textrightarrow}{"2192}
+\EncodingSymbol{\textblank}{"2422}
+\EncodingSymbol{\textdollar}{`\$}
+\EncodingSymbol{\textquotesingle}{`\'}
+\EncodingSymbol{\textasteriskcentered}{"204E}
+%% \EncodingSymbol{\textdblhyphen}{45}
+\EncodingSymbol{\textfractionsolidus}{"2044}
+%%\EncodingSymbol{\textzerooldstyle}{48}
+%%\EncodingSymbol{\textoneoldstyle}{49}
+%%\EncodingSymbol{\texttwooldstyle}{50}
+%%\EncodingSymbol{\textthreeoldstyle}{51}
+%%\EncodingSymbol{\textfouroldstyle}{52}
+%%\EncodingSymbol{\textfiveoldstyle}{53}
+%%\EncodingSymbol{\textsixoldstyle}{54}
+%%\EncodingSymbol{\textsevenoldstyle}{55}
+%%\EncodingSymbol{\texteightoldstyle}{56}
+%%\EncodingSymbol{\textnineoldstyle}{57}
+\EncodingSymbol{\textlangle}{"27E8}
+\EncodingSymbol{\textminus}{"2212}
+\EncodingSymbol{\textrangle}{"27E9}
+\EncodingSymbol{\textmho}{"2127}
+\EncodingSymbol{\textbigcircle}{"25EF}
+\EncodingAccent{\textcircled}{"20DD}
+\EncodingSymbol{\textohm}{"2126}
+\EncodingSymbol{\textlbrackdbl}{"301A}
+\EncodingSymbol{\textrbrackdbl}{"301B}
+\EncodingSymbol{\textuparrow}{"2191}
+\EncodingSymbol{\textdownarrow}{"2193}
+\EncodingSymbol{\textasciigrave}{`\`}
+\EncodingSymbol{\textborn}{"2605} %% actually "black star" but close enough
+\EncodingSymbol{\textdivorced}{"26AE}
+\EncodingSymbol{\textdied}{"2020} %% different from "dagger"??
+%% \EncodingSymbol{\textleaf}{108}
+\EncodingSymbol{\textmarried}{"26AD}
+\EncodingSymbol{\textmusicalnote}{"266A}
+\EncodingSymbol{\texttildelow}{"02F7}
+%% \EncodingSymbol{\textdblhyphenchar}{127} %% can't obtain this without deactivating font mapping :(
+\EncodingSymbol{\textasciibreve}{"02D8}
+\EncodingSymbol{\textasciicaron}{"02C7}
+\EncodingSymbol{\textacutedbl}{"02DD}
+\EncodingSymbol{\textgravedbl}{"02F5}
+\EncodingSymbol{\textdagger}{"2020}
+\EncodingSymbol{\textdaggerdbl}{"2021}
+\EncodingSymbol{\textbardbl}{"2016}
+\EncodingSymbol{\textperthousand}{"2030}
+\EncodingSymbol{\textbullet}{"2022}
+\EncodingSymbol{\textcelsius}{"2103}
+%% \EncodingSymbol{\textdollaroldstyle}{138}
+%% \EncodingSymbol{\textcentoldstyle}{139}
+\EncodingSymbol{\textflorin}{"0192}
+\EncodingSymbol{\textcolonmonetary}{"20A1}
+\EncodingSymbol{\textwon}{"20A9}
+\EncodingSymbol{\textnaira}{"20A6}
+%% \EncodingSymbol{\textguarani}{144}
+\EncodingSymbol{\textpeso}{"20B1}
+\EncodingSymbol{\textlira}{"20A4}
+\EncodingSymbol{\textrecipe}{"211E}
+\EncodingSymbol{\textinterrobang}{"203D}
+\EncodingSymbol{\textinterrobangdown}{"2E18}
+\EncodingSymbol{\textdong}{"20AB}
+\EncodingSymbol{\texttrademark}{"2122}
+\EncodingSymbol{\textpertenthousand}{"2031}
+\EncodingSymbol{\textpilcrow}{"00B6}
+\EncodingSymbol{\textbaht}{"0E3F}
+\EncodingSymbol{\textnumero}{"2116}
+\EncodingSymbol{\textdiscount}{"2052}
+\EncodingSymbol{\textestimated}{"212E}
+\EncodingSymbol{\textopenbullet}{"25E6}
+\EncodingSymbol{\textservicemark}{"2120}
+\EncodingSymbol{\textlquill}{"2045}
+\EncodingSymbol{\textrquill}{"2046}
+\EncodingSymbol{\textcent}{"00A2}
+\EncodingSymbol{\textsterling}{"00A3}
+\EncodingSymbol{\textcurrency}{"00A4}
+\EncodingSymbol{\textyen}{"00A5}
+\EncodingSymbol{\textbrokenbar}{"00A6}
+\EncodingSymbol{\textsection}{"00A7}
+\EncodingSymbol{\textasciidieresis}{"00A8}
+\EncodingSymbol{\textcopyright}{"00A9}
+\EncodingSymbol{\textordfeminine}{"00AA}
+%% \EncodingSymbol{\textcopyleft}{171}
+\EncodingSymbol{\textlnot}{"00AC}
+\EncodingSymbol{\textcircledP}{"2117}
+\EncodingSymbol{\textregistered}{"00AE}
+\EncodingSymbol{\textasciimacron}{"00AF}
+\EncodingSymbol{\textdegree}{"00B0}
+\EncodingSymbol{\textpm}{"00B1}
+\EncodingSymbol{\texttwosuperior}{"00B2}
+\EncodingSymbol{\textthreesuperior}{"00B3}
+\EncodingSymbol{\textasciiacute}{"00B4}
+\EncodingSymbol{\textmu}{"00B5}
+\EncodingSymbol{\textparagraph}{"00B6}
+\EncodingSymbol{\textperiodcentered}{"00B7}
+\EncodingSymbol{\textreferencemark}{"203B}
+\EncodingSymbol{\textonesuperior}{"00B9}
+\EncodingSymbol{\textordmasculine}{"00BA}
+\EncodingSymbol{\textsurd}{"221A}
+\EncodingSymbol{\textonequarter}{"00BC}
+\EncodingSymbol{\textonehalf}{"00BD}
+\EncodingSymbol{\textthreequarters}{"00BE}
+\EncodingSymbol{\texteuro}{"20AC}
+\EncodingSymbol{\texttimes}{"00D7}
+\EncodingSymbol{\textdiv}{"00F7}
+
Added: trunk/Master/texmf-dist/tex/latex/fontspec/fontspec-doc-style.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fontspec/fontspec-doc-style.sty (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/fontspec/fontspec-doc-style.sty 2017-01-22 22:34:22 UTC (rev 43016)
@@ -0,0 +1,283 @@
+\ProvidesPackage{fontspec-doc-style}
+
+\usepackage{fontspec,booktabs,calc,caption,color,enumitem,flafter,fancyvrb,hologo,graphicx,
+ ifthen,url,varioref,varwidth,microtype,tocloft,framed,xparse,docmute}
+
+%% Various labelling commands:
+\newcommand*\name[1]{{#1}}
+\newcommand*\pkg[1]{\textsf{#1}}
+\newcommand*\opt[1]{\texttt{#1}}
+\newcommand*\feat[1]{\texttt{#1}}
+
+\let\latin\textit
+\def\eg{\latin{e.g.}}
+\def\ie{\latin{i.e.}}
+\def\Eg{\latin{E.g.}}
+\def\Ie{\latin{I.e.}}
+\def\etc{\@ifnextchar.{\latin{etc}}{\latin{etc.}\@}}
+
+\newcommand\note[1]{\unskip\footnote{#1}}
+
+\def\MacOSX{Mac~OS~X}
+\def\AAT{\textsc{aat}}
+\def\ATSUI{\textsc{atsui}}
+
+\newcommand\NFSS{\textsc{nfss}}
+\newcommand\XeTeX{\hologo{XeTeX}}
+\newcommand\XeLaTeX{\hologo{XeLaTeX}}
+\newcommand\LuaTeX{\hologo{LuaTeX}}
+\newcommand\LuaLaTeX{\hologo{LuaLaTeX}}
+
+% ToC formatting:
+\setlength\cftsubsecnumwidth{1.4\cftsubsecnumwidth}
+%\def\@cfttocstart{\small\begin{multicols}{2}}
+%\def\@cfttocfinish{\end{multicols}}
+
+\fvset{gobble=0}
+
+\captionsetup[table]{position=above}
+\captionsetup[figure]{position=above}
+
+
+%% Fonts
+
+\defaultfontfeatures{Numbers=OldStyle}
+\IfFontExistsTF{AldusNovaPro-Book.otf}
+ {
+ \setmainfont{aldus-nova}
+ \setsansfont{palatino-sans-light}
+ }
+ {
+\setmainfont{texgyrepagella}[
+ Extension = .otf,
+ UprightFont = *-regular ,
+ ItalicFont = *-italic ,
+ BoldFont = *-bold ,
+ BoldItalicFont = *-bolditalic ,
+]
+\setsansfont{texgyreheros}[
+ Extension = .otf,
+ UprightFont = *-regular ,
+ ItalicFont = *-italic ,
+ BoldFont = *-bold ,
+ BoldItalicFont = *-bolditalic ,
+]
+ }
+\setmonofont{lmmonolt10-regular.otf}[BoldFont=lmmonolt10-bold.otf]
+\newfontfamily\ttcondensed{lmmonoltcond10-regular.otf}
+
+%% (La)TeX font-related declarations:
+\linespread{1.05} % Pagella needs more space between lines
+\frenchspacing % Remove ugly extra space after punctuation
+
+\usepackage[
+ bookmarks=true,
+ colorlinks=true,
+ linkcolor=niceblue,
+ urlcolor=niceblue,
+ citecolor=niceblue,
+ pdftitle={The fontspec package},
+ pdfsubject={Advanced font selection for XeLaTeX/LuaLaTeX},
+ pdfauthor={Will Robertson},
+ pdfkeywords={xetex, xelatex, luatex, lualatex, unicode, opentype, aat}
+ ]{hyperref}
+
+
+
+%% ToC
+\def\@dotsep{1000}
+\setcounter{tocdepth}{2}
+\setlength\columnseprule{0.4pt}
+\renewcommand\tableofcontents{\relax
+ \begin{multicols}{2}[\section*{\contentsname}]\relax
+ \@starttoc{toc}\relax
+ \end{multicols}}
+
+
+%% Index
+\setcounter{IndexColumns}{2}
+\renewenvironment{theglossary}
+ {\small\list{}{}
+ \item\relax
+ \glossary at prologue\GlossaryParms
+ \let\item\@idxitem \ignorespaces
+ \def\pfill{\hspace*{\fill}}}
+ {\endlist}
+
+
+
+%% varioref definitions:
+\labelformat{table}{Table~#1}
+\labelformat{section}{Section~#1}
+\labelformat{subsection}{Section~#1}
+
+\definecolor{niceblue}{rgb}{0.1,0.2,0.8}
+
+
+
+
+%% EXAMPLES
+
+\newsavebox\X
+\newsavebox\Y
+
+\newcounter{example}
+
+\newcommand\exref[1]{Example~\ref{ex:#1}}
+\newcommand\Exref[1]{Example~\ref{ex:#1}}
+
+\newenvironment{Xexample}[3][]
+ {\VerbatimEnvironment\begin{Fexample}[#1]{#2}{#3}{X}}
+ {\end{Fexample}}
+
+\newenvironment{Lexample}[3][]
+ {\VerbatimEnvironment\begin{Fexample}[#1]{#2}{#3}{L}}
+ {\end{Fexample}}
+
+\newenvironment{Fexample}[4][]
+ {%
+ \def\options{#1}%
+ \def\filename{#2}%
+ \def\captiontext{#3}%
+ \def\prefix{#4}
+ \refstepcounter{example}%
+ \label{ex:\filename}%
+ \IfFileExists{zzz-\theexample-\prefix-\filename.tex}{}{%
+ \immediate\write18{rm -f zzz-\theexample-* ;}%
+ }%
+ \VerbatimEnvironment
+ \begin{VerbatimOut}{zzz-\theexample-\prefix-\filename.tex}}
+% text in the environment
+ {\end{VerbatimOut}
+ \begin{figure}
+ \setlength\parindent{0pt}%
+ \edef\@tempa{[gobble=0,fontsize=\noexpand\small,\options]}%
+ \savebox\X{%
+ \expandafter\BVerbatimInput
+ \@tempa{zzz-\theexample-\prefix-\filename.tex}%
+ }%
+ \IfFileExists{zzz-\theexample-\prefix-\filename.pdf}{}
+ {%
+ \edef\XXcmd{%
+ \unexpanded{%
+ \RequirePackage{luatex85}
+ \documentclass[margin=0.2mm]{standalone}
+ \usepackage{booktabs,ifthen,graphicx,xcolor,varwidth}
+ \usepackage{fontspec}
+ \defaultfontfeatures{Ligatures=TeX}
+ \begin{document}
+ \begin{varwidth}{0.7\linewidth}
+ \input} zzz-\theexample-\prefix-\filename.tex
+ \unexpanded{
+ \end{varwidth}
+ \end{document}
+ }%
+ }%
+ \edef\1{%
+ \csname prog@\prefix\endcsname "\unexpanded\expandafter{\XXcmd}";
+ printf '\@percentchar s' '\unexpanded\expandafter{\XXcmd}' > zzz-\theexample-\prefix-\filename-test.tex;
+ }%
+ \immediate\write18{\unexpanded\expandafter{\1}}%
+ }%
+ \savebox\Y{%
+ \IfFileExists{zzz-\theexample-\prefix-\filename.pdf}
+ {\includegraphics{zzz-\theexample-\prefix-\filename.pdf}}
+ {\color{red}\itshape ---Graphic not generated---}%
+ }
+ % TYPESETTING
+ \rule[0.5\baselineskip]{\columnwidth}{1pt}%
+ \vspace{-1.2ex}%
+ \def\@tempa{\small\textsf{Example~\theexample:~}}%
+ \settowidth\@tempdima{\@tempa\captiontext}%
+ \par
+ \ifdim\@tempdima>\linewidth
+ \settowidth\@tempdima{\@tempa}%
+ \@tempa\parbox[t]{\linewidth-\@tempdima}{\small\captiontext}%
+ \vspace{0.4\baselineskip}%
+ \else
+ \parbox{\linewidth}{\centering\@tempa~\captiontext}%
+ \fi
+ \par\rule[0.4\baselineskip]{\columnwidth}{0.4pt}\par
+ \ifdim\dimexpr\wd\X+\wd\Y>\linewidth\relax
+ \null\hfill\makebox[0pt][r]{\usebox\Y}\usebox\X
+ \else
+ \hfill\usebox\Y\hfill\usebox\X
+ \fi
+ \par\rule[0.5\baselineskip]{\columnwidth}{1pt}
+ \end{figure}
+}
+
+\def\prog at X{xelatex
+ -jobname=zzz-\theexample-X-\filename\space}
+
+\def\prog at L{lualatex
+ -jobname=zzz-\theexample-L-\filename\space}
+
+%%%%%%%%%%%%%%%%%%%%%%
+
+\newcommand*\setexsize[1]{\let\examplesize#1}
+\newcommand*\setverbwidth[1]{\def\auxwidth{#1}}
+
+
+
+\newcounter{argument}
+\g at addto@macro\endmacro{\setcounter{argument}{0}}
+\newcommand*\darg[1]{%
+ \stepcounter{argument}%
+ \noindent{\ttfamily\char`\#\theargument~:~}#1\par}
+\newcommand*\doarg[1]{%
+ \stepcounter{argument}%
+ \noindent{\ttfamily\makebox[0pt][r]{[}\char`\#\theargument]:~}#1\par}
+
+\newcommand\unichar[2]{\textsc{\MakeLowercase{u+#1: #2}}}
+
+\newcommand\cmdbox[1]{%
+ \smallskip\par\noindent
+ \fbox{\begin{varwidth}{\linewidth}
+ #1%
+ \end{varwidth}}%
+ \smallskip
+}
+\def\CMD#1{\texttt{\null#1\unskip}}
+
+
+\NewDocumentCommand \otf {somm} {%
+ \featname & #3 & \texttt{#4}
+ \IfBooleanT #1 { & \textdagger }
+ \\
+}
+\newenvironment{features}[1]{%
+ \def\NOTE{}
+ \def\thisfeatname{#1}%
+ \def\featname{\thisfeatname~~\texttt=~~\null\gdef\featname{}}%
+ \begin{table}
+ \caption{Options for the OpenType font feature `\thisfeatname'.}
+ \edef\@tempa{\noexpand\label{feat:\thisfeatname}}\@tempa
+ \centering
+ \begin{tabular}{@{}l@{}l@{\hspace{0.5\tabcolsep}}l@{\hspace{0.5\tabcolsep}}l@{}}
+ \toprule
+ Feature & Option & Tag & \\
+ \midrule
+}{
+ \bottomrule
+ \end{tabular}
+ \par\smallskip
+ \footnotesize
+ \textdagger\ These feature options can be disabled with \texttt{..Off} variants, and reset \\ to default state (neither explicitly on nor off) with \texttt{..Reset}.
+ \NOTE
+ \end{table}
+}
+
+
+%%%%%%%%%%%
+
+\def \MakePrivateLetters {%
+ \catcode `\@ = 11
+ \catcode `\_ = 11
+ \catcode `\: = 11
+}
+
+%% for LaTeX3 csnames
+\catcode `\_= 11
+
+\renewcommand\partname{Part}
Modified: trunk/Master/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty 2017-01-22 22:33:54 UTC (rev 43015)
+++ trunk/Master/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty 2017-01-22 22:34:22 UTC (rev 43016)
@@ -5,26 +5,33 @@
%% The original source files were:
%%
%% fontspec.dtx (with options: `fontspec,luatex')
-%% fontspec-vars.dtx (with options: `vars')
-%% fontspec-msg.dtx (with options: `msg')
+%% fontspec-vars.dtx (with options: `fontspec,luatex')
+%% fontspec-msg.dtx (with options: `fontspec,luatex')
%% fontspec-opening.dtx (with options: `fontspec,luatex')
%% fontspec-fontload.dtx (with options: `fontspec,luatex')
%% fontspec-user.dtx (with options: `fontspec,luatex')
%% fontspec-api.dtx (with options: `fontspec,luatex')
%% fontspec-internal.dtx (with options: `fontspec,luatex')
+%% fontspec-opentype.dtx (with options: `fontspec,luatex')
+%% fontspec-graphite.dtx (with options: `fontspec,luatex')
%% fontspec-keyval.dtx (with options: `fontspec,luatex')
+%% fontspec-feat-opentype.dtx (with options: `fontspec,luatex')
+%% fontspec-scripts.dtx (with options: `fontspec,luatex')
+%% fontspec-lang.dtx (with options: `fontspec,luatex')
+%% fontspec-feat-aat.dtx (with options: `fontspec,luatex')
+%% fontspec-enc.dtx (with options: `fontspec,luatex')
%% fontspec-math.dtx (with options: `fontspec,luatex')
%% fontspec-closing.dtx (with options: `fontspec,luatex')
-%% fontspec-patches.dtx (with options: `patches')
+%% fontspec-patches.dtx (with options: `fontspec,luatex')
%% ------------------------------------------------
%% The FONTSPEC package for XeLaTeX/LuaLaTeX
-%% (C) 2004--2016 Will Robertson and Khaled Hosny
+%% (C) 2004--2017 Will Robertson and Khaled Hosny
%% License information appended.
%% ------------------------------------------------
\RequirePackage{expl3}
\RequirePackage{xparse}
\ProvidesExplPackage{fontspec-luatex}%
- {2016/02/01}{2.5a}{Font selection for XeLaTeX and LuaLaTeX}
+ {2017/01/02}{2.5c}{Font selection for XeLaTeX and LuaLaTeX}
\bool_new:N \l__fontspec_firsttime_bool
\bool_new:N \l__fontspec_nobf_bool
\bool_new:N \l__fontspec_noit_bool
@@ -43,30 +50,93 @@
\bool_new:N \g__fontspec_cfg_bool
\bool_new:N \g__fontspec_math_bool
\bool_new:N \g__fontspec_euenc_bool
-\int_new:N \l_fontspec_script_int
-\int_new:N \l_fontspec_language_int
-\int_new:N \l_fontspec_strnum_int
+\bool_new:N \l__fontspec_disable_defaults_bool
+\bool_new:N \l__fontspec_alias_bool
+\bool_new:N \l__fontspec_external_bool
+\bool_new:N \l__fontspec_never_check_bool
+\bool_new:N \l__fontspec_defining_encoding_bool
+\bool_new:N \l__fontspec_script_exist_bool
+\int_new:N \l__fontspec_script_int
+\int_new:N \l__fontspec_language_int
+\int_new:N \l__fontspec_strnum_int
+\int_new:N \l__fontspec_tmp_int
+\int_new:N \l__fontspec_em_int
+\int_new:N \l__fontspec_emdef_int
\fp_new:N \l__fontspec_tmpa_fp
\fp_new:N \l__fontspec_tmpb_fp
\dim_new:N \l__fontspec_tmpa_dim
\dim_new:N \l__fontspec_tmpb_dim
\dim_new:N \l__fontspec_tmpc_dim
-\tl_set:Nx \c_colon_str { \tl_to_str:N : }
-\cs_set:Npn \use_v:nnnnn #1#2#3#4#5 {#5}
-\cs_set:Npn \use_iv:nnnnn #1#2#3#4#5 {#4}
-\cs_generate_variant:Nn \str_if_eq:nnTF {nv}
+\seq_new:N \g__fontspec_bf_series_seq
+\clist_new:N \g__fontspec_default_fontopts_clist
+\clist_new:N \g__fontspec_all_keyval_modules_clist
+\clist_set:Nn \l__fontspec_sizefeat_clist {Size={-}}
+\prop_new:N \g__fontspec_fontopts_prop
+\prop_new:N \l__fontspec_nfss_prop
+\prop_new:N \l__fontspec_nfssfont_prop
+\prop_new:N \g__fontspec_OT_features_prop
+\prop_new:N \g__fontspec_all_opentype_feature_names_prop
+\prop_new:N \g__fontspec_em_prop
+\tl_new:N \g__fontspec_mathrm_tl
+\tl_new:N \g__fontspec_bfmathrm_tl
+\tl_new:N \g__fontspec_mathsf_tl
+\tl_new:N \g__fontspec_mathtt_tl
+\tl_new:N \l__fontspec_family_label_tl
+\tl_new:N \l__fontspec_fake_slant_tl
+\tl_new:N \l__fontspec_fake_embolden_tl
+\tl_new:N \l__fontspec_fontname_up_tl
+\tl_new:N \l__fontspec_fontname_bf_tl
+\tl_new:N \l__fontspec_fontname_it_tl
+\tl_new:N \l__fontspec_fontname_bfit_tl
+\tl_new:N \l__fontspec_fontname_sl_tl
+\tl_new:N \l__fontspec_fontname_bfsl_tl
+\tl_new:N \l__fontspec_fontname_sc_tl
+\tl_new:N \l__fontspec_fontfeat_up_clist
+\tl_new:N \l__fontspec_fontfeat_bf_clist
+\tl_new:N \l__fontspec_fontfeat_it_clist
+\tl_new:N \l__fontspec_fontfeat_bfit_clist
+\tl_new:N \l__fontspec_fontfeat_sl_clist
+\tl_new:N \l__fontspec_fontfeat_bfsl_clist
+\tl_new:N \l__fontspec_fontfeat_sc_clist
+\tl_new:N \l__fontspec_script_name_tl
+\tl_new:N \l_fontspec_script_tl
+\tl_new:N \l__fontspec_lang_name_tl
+\tl_new:N \l_fontspec_lang_tl
+\tl_new:N \g__fontspec_hexcol_tl
+\tl_new:N \g__fontspec_opacity_tl
+\tl_set:Nn \g__fontspec_hexcol_tl {000000}
+\tl_set:Nn \g__fontspec_opacity_tl {FF~}
+\tl_set:Nn \g__fontspec_postadjust_tl { \l__fontspec_wordspace_adjust_tl \l__fontspec_punctspace_adjust_tl }
+\cs_new:Nn \__fontspec_keys_set_known:nnN
+ {
+ \keys_set_known:nnN {#1} {#2} #3
+ }
+\cs_generate_variant:Nn \__fontspec_keys_set_known:nnN {nx}
+\cs_set:Npn \__fontspec_head_ii:n #1 { \__fontspec_head_ii:w #1 *** \q_stop}
+\cs_set:Npn \__fontspec_head_ii:w #1#2#3 \q_stop { #1#2 }
+\cs_generate_variant:Nn \__fontspec_head_ii:n {o}
+\cs_new:Nn \__fontspec_int_mult_truncate:Nn
+ {
+ \int_set:Nn #1 { \__dim_eval:w #2 #1 \__dim_eval_end: }
+ }
\cs_generate_variant:Nn \int_set:Nn {Nv}
\cs_generate_variant:Nn \keys_set:nn {nx}
\cs_generate_variant:Nn \keys_set_known:nnN {nx}
+\cs_generate_variant:Nn \prop_put:Nnn {Nxx}
+\cs_generate_variant:Nn \prop_put:Nnn {NxV}
+\cs_generate_variant:Nn \prop_gput:Nnn {NxV}
+\cs_generate_variant:Nn \prop_gput:Nnn {Nxn}
+\cs_generate_variant:Nn \prop_get:NnNT {NxN}
+\cs_generate_variant:Nn \prop_get:NnNTF {NxN}
+\cs_generate_variant:Nn \str_if_eq:nnTF {nv}
\cs_generate_variant:Nn \tl_if_empty:nTF {x}
-\cs_generate_variant:Nn \tl_if_empty:nTF {x}
-\cs_generate_variant:Nn \prop_put:Nnn {Nxx}
-\cs_new:Nn \__fontspec_int_mult_truncate:Nn
- {
- \int_set:Nn #1 { \__dim_eval:w #2 #1 \__dim_eval_end: }
- }
+\cs_generate_variant:Nn \tl_if_empty:nF {x}
+\cs_generate_variant:Nn \tl_if_empty:nF {f}
+\cs_generate_variant:Nn \tl_if_eq:nnT {ox}
+\cs_generate_variant:Nn \tl_replace_all:Nnn {Nnx}
\cs_new:Npn \__fontspec_error:n { \msg_error:nn {fontspec} }
+\cs_new:Npn \__fontspec_error:nn { \msg_error:nnn {fontspec} }
\cs_new:Npn \__fontspec_error:nx { \msg_error:nnx {fontspec} }
\cs_new:Npn \__fontspec_warning:n { \msg_warning:nn {fontspec} }
\cs_new:Npn \__fontspec_warning:nx { \msg_warning:nnx {fontspec} }
@@ -75,190 +145,226 @@
\cs_new:Npn \__fontspec_info:nx { \msg_info:nnx {fontspec} }
\cs_new:Npn \__fontspec_info:nxx { \msg_info:nnxx {fontspec} }
\cs_new:Npn \__fontspec_trace:n { \msg_trace:nn {fontspec} }
-\msg_new:nnn {fontspec} {no-size-info}
+\cs_generate_variant:Nn \msg_new:nnn {nnx}
+\cs_generate_variant:Nn \msg_new:nnnn {nnxx}
+\cs_new:Nn \__fontspec_msg_new:nnn
+ { \msg_new:nnx {#1} {#2} { \tl_trim_spaces:n {#3} } }
+\cs_new:Nn \__fontspec_msg_new:nnnn
+ { \msg_new:nnxx {#1} {#2} { \tl_trim_spaces:n {#3} } { \tl_trim_spaces:n {#4} } }
+\char_set_catcode_space:n {32}
+\__fontspec_msg_new:nnn {fontspec} {only-inside-encdef}
{
- Size~ information~ must~ be~ supplied.\\
- For~ example,~ SizeFeatures={Size={8-12},...}.
+ \exp_not:N#1can only be used in the second argument
+ to \string\DeclareUnicodeEncoding.
}
-\msg_new:nnnn {fontspec} {font-not-found}
+\__fontspec_msg_new:nnn {fontspec} {only-import-tu}
{
- The~ font~ "#1"~ cannot~ be~ found.
+ The "\string\ImportEncoding" command can only take "TU" as an argument at this stage.
}
+\__fontspec_msg_new:nnn {fontspec} {no-size-info}
{
- A~font~might~not~be~found~for~many~reasons.\\
- Check~the~spelling,~where~the~font~is~installed~etc.~etc.\\\\
- When~in~doubt,~ask~someone~for~help!
+ Size information must be supplied.\\
+ For example, SizeFeatures={Size={8-12},...}.
}
-\msg_new:nnnn {fontspec} {rename-feature-not-exist}
+\__fontspec_msg_new:nnnn {fontspec} {font-not-found}
{
- The~ feature~ #1~ doesn't~ appear~ to~ be~ defined.
+ The font "#1" cannot be found.
}
{
- It~ looks~ like~ you're~ trying~ to~ rename~ a~ feature~ that~ doesn't~ exist.
+ A font might not be found for many reasons.\\
+ Check the spelling, where the font is installed etc. etc.\\\\
+ When in doubt, ask someone for help!
}
-\msg_new:nnn {fontspec} {no-glyph}
+\__fontspec_msg_new:nnnn {fontspec} {rename-feature-not-exist}
{
- '\l_fontspec_fontname_tl'~ does~ not~ contain~ glyph~ #1.
+ The feature #1 doesn't appear to be defined.
}
-\msg_new:nnnn {fontspec} {euler-too-late}
{
- The~ euler~ package~ must~ be~ loaded~ BEFORE~ fontspec.
+ It looks like you're trying to rename a feature that doesn't exist.
}
+\__fontspec_msg_new:nnn {fontspec} {no-glyph}
{
- fontspec~ only~ overwrites~ euler's~ attempt~ to~
- define~ the~ maths~ text~ fonts~ if~ fontspec~ is~
- loaded~ after~ euler.~ Type~ <return>~ to~ proceed~
- with~ incorrect~ \string\mathit,~ \string\mathbf,~ etc.
+ '\l_fontspec_fontname_tl' does not contain glyph #1.
}
-\msg_new:nnnn {fontspec} {no-xcolor}
+\__fontspec_msg_new:nnnn {fontspec} {euler-too-late}
{
- Cannot~ load~ named~ colours~ without~ the~ xcolor~ package.
+ The euler package must be loaded BEFORE fontspec.
}
{
- Sorry,~ I~ can't~ do~ anything~ to~ help.~ Instead~ of~ loading~
- the~ color~ package,~ use~ xcolor~ instead.~ It's~ better.
+ fontspec only overwrites euler's attempt to
+ define the maths text fonts if fontspec is
+ loaded after euler. Type <return> to proceed
+ with incorrect \string\mathit, \string\mathbf, etc.
}
-\msg_new:nnnn {fontspec} {unknown-color-model}
+\__fontspec_msg_new:nnnn {fontspec} {no-xcolor}
{
- Error~ loading~ colour~ `#1';~ unknown~ colour~ model.
+ Cannot load named colours without the xcolor package.
}
{
- Sorry,~ I~ can't~ do~ anything~ to~ help.~ Please~ report~ this~ error~
- to~ my~ developer~ with~ a~ minimal~ example~ that~ causes~ the~ problem.
+ Sorry, I can't do anything to help. Instead of loading
+ the color package, use xcolor instead.
}
-\msg_new:nnnn {fontspec} {not-in-addfontfeatures}
+\__fontspec_msg_new:nnnn {fontspec} {unknown-color-model}
{
- The~ "#1"~ font~ feature~ cannot~ be~ used~ in~ \string\addfontfeatures.
+ Error loading colour `#1'; unknown colour model.
}
{
- This~ is~ due~ to~ how~ TeX~ loads~ fonts;~ such~ settings~
- are~ global~ so~ adding~ them~ mid-document~ within~ a~ group~ causes~
- confusion.~ You'll~ need~ to~ define~ multiple~ font~ families~ to~ achieve~
- what~ you~ want.
+ Sorry, I can't do anything to help. Please report this error
+ to my developer with a minimal example that causes the problem.
}
-\msg_new:nnn {fontspec} {addfontfeatures-ignored}
+\__fontspec_msg_new:nnnn {fontspec} {not-in-addfontfeatures}
{
- \string\addfontfeature (s)~ ignored~ \msg_line_context:;~
- it~ cannot~ be~ used~ with~ a~ font~ that~ wasn't~ selected~ by~ a~ fontspec~ command.\\
+ The "#1" font feature cannot be used in \string\addfontfeatures.
+ }
+ {
+ This is due to how TeX loads fonts; such settings
+ are global so adding them mid-document within a group causes
+ confusion. You'll need to define multiple font families to achieve
+ what you want.
+ }
+\__fontspec_msg_new:nnn {fontspec} {tu-clash}
+ {
+ I have found the tuenc.def encoding definition file but the TU encoding is not
+ defined by the LaTeX2e kernel; attempting to correct but you really should update
+ to the latest version of LaTeX2e.
+ }
+\__fontspec_msg_new:nnn {fontspec} {tu-missing}
+ {
+ The TU encoding seems to be missing; please update to the latest version of LaTeX2e.
+ }
+\__fontspec_msg_new:nnn {fontspec} {addfontfeatures-ignored}
+ {
+ \string\addfontfeature (s) ignored \msg_line_context:;
+ it cannot be used with a font that wasn't selected by a fontspec command.\\
\\
- The~ current~ font~ is~ "\use:c{font at name}".\\
+ The current font is "\use:c{font at name}".\\
\int_compare:nTF { \clist_count:n {#1} = 1 }
- { The~ requested~ feature~ is~ "#1". }
- { The~ requested~ features~ are~ "#1". }
+ { The requested feature is "#1". }
+ { The requested features are "#1". }
}
-\msg_new:nnn {fontspec} {feature-option-overwrite}
+\__fontspec_msg_new:nnn {fontspec} {feature-option-overwrite}
{
- Option~ '#2'~ of~ font~ feature~ '#1'~ overwritten.
+ Option '#2' of font feature '#1' overwritten.
}
-\msg_new:nnn {fontspec} {script-not-exist-latn}
+\__fontspec_msg_new:nnn {fontspec} {script-not-exist-latn}
{
- Font~ '\l_fontspec_fontname_tl'~ does~ not~ contain~ script~ '#1'.\\
- 'Latin'~ script~ used~ instead.
+ Font '\l_fontspec_fontname_tl' does not contain script '#1'.\\
+ 'Latin' script used instead.
}
-\msg_new:nnn {fontspec} {script-not-exist}
+\__fontspec_msg_new:nnn {fontspec} {script-not-exist}
{
- Font~ '\l_fontspec_fontname_tl'~ does~ not~ contain~ script~ '#1'.
+ Font '\l_fontspec_fontname_tl' does not contain script '#1'.
}
-\msg_new:nnn {fontspec} {aat-feature-not-exist}
+\__fontspec_msg_new:nnn {fontspec} {aat-feature-not-exist}
{
- '\l_keys_key_tl=\l_keys_value_tl'~ feature~ not~ supported~
- for~ AAT~ font~ '\l_fontspec_fontname_tl'.
+ '\l_keys_key_tl=\l_keys_value_tl' feature not supported
+ for AAT font '\l_fontspec_fontname_tl'.
}
-\msg_new:nnn {fontspec} {aat-feature-not-exist-in-font}
+\__fontspec_msg_new:nnn {fontspec} {aat-feature-not-exist-in-font}
{
- AAT~ feature~ '\l_keys_key_tl=\l_keys_value_tl'~ (#1)~ not~ available~
- in~ font~ '\l_fontspec_fontname_tl'.
+ AAT feature '\l_keys_key_tl=\l_keys_value_tl' (#1) not available
+ in font '\l_fontspec_fontname_tl'.
}
-\msg_new:nnn {fontspec} {icu-feature-not-exist}
+\__fontspec_msg_new:nnn {fontspec} {icu-feature-not-exist}
{
- '\l_keys_key_tl=\l_keys_value_tl'~ feature~ not~ supported~
- for~ OpenType~ font~ '\l_fontspec_fontname_tl'
+ '\l_keys_key_tl=\l_keys_value_tl' feature not supported
+ for OpenType font '\l_fontspec_fontname_tl'
}
-\msg_new:nnn {fontspec} {icu-feature-not-exist-in-font}
+\__fontspec_msg_new:nnn {fontspec} {icu-feature-not-exist-in-font}
{
- OpenType~ feature~ '\l_keys_key_tl=\l_keys_value_tl'~ (#1)~ not~ available~
- for~ font~ '\l_fontspec_fontname_tl'~
- with~ script~ '\l__fontspec_script_name_tl'~ and~ language~ '\l__fontspec_lang_name_tl'.
+ OpenType feature '\l_keys_key_tl=\l_keys_value_tl' (#1) not available
+ for font '\l_fontspec_fontname_tl'
+ with script '\l__fontspec_script_name_tl' and language '\l__fontspec_lang_name_tl'.
}
-\msg_new:nnn {fontspec} {no-opticals}
+\__fontspec_msg_new:nnn {fontspec} {no-opticals}
{
- '\l_fontspec_fontname_tl'~ doesn't~ appear~ to~ have~ an~ Optical~ Size~ axis.
+ '\l_fontspec_fontname_tl' doesn't appear to have an Optical Size axis.
}
-\msg_new:nnn {fontspec} {language-not-exist}
+\__fontspec_msg_new:nnn {fontspec} {language-not-exist}
{
- Language~ '#1'~ not~ available~
- for~ font~ '\l_fontspec_fontname_tl'~
- with~ script~ '\l__fontspec_script_name_tl'.\\
- 'Default'~ language~ used~ instead.
+ Language '#1' not available
+ for font '\l_fontspec_fontname_tl'
+ with script '\l__fontspec_script_name_tl'.\\
+ 'Default' language used instead.
}
-\msg_new:nnn {fontspec} {only-xetex-feature}
+\__fontspec_msg_new:nnn {fontspec} {only-xetex-feature}
{
- Ignored~ XeTeX~ only~ feature:~ '#1'.
+ Ignored XeTeX only feature: '#1'.
}
-\msg_new:nnn {fontspec} {only-luatex-feature}
+\__fontspec_msg_new:nnn {fontspec} {only-luatex-feature}
{
- Ignored~ LuaTeX~ only~ feature:~ '#1'.
+ Ignored LuaTeX only feature: '#1'.
}
-\msg_new:nnn {fontspec} {no-mapping}
+\__fontspec_msg_new:nnn {fontspec} {no-mapping}
{
- Input~ mapping~ not~ (yet?)~ supported~ in~ LuaTeX.
+ Input mapping not (yet?) supported in LuaTeX.
}
-\msg_new:nnn {fontspec} {no-mapping-ligtex}
+\__fontspec_msg_new:nnn {fontspec} {no-mapping-ligtex}
{
- Input~ mapping~ not~ (yet?)~ supported~ in~ LuaTeX.\\
- Use~ "Ligatures=TeX"~ instead~ of~ "Mapping=tex-text".
+ Input mapping not (yet?) supported in LuaTeX.\\
+ Use "Ligatures=TeX" instead of "Mapping=tex-text".
}
-\msg_new:nnn {fontspec} {cm-default-obsolete}
+\__fontspec_msg_new:nnn {fontspec} {cm-default-obsolete}
{
- The~ "cm-default"~ package~ option~ is~ obsolete.
+ The "cm-default" package option is obsolete.
}
-\msg_new:nnn {fontspec} {fakebold-only-xetex}
+\__fontspec_msg_new:nnn {fontspec} {fakebold-only-xetex}
{
- The~ "FakeBold"~ and~ "AutoFakeBold"~ options~ are~ only~ available~ with~ XeLaTeX.\\
- Option~ ignored.
+ The "FakeBold" and "AutoFakeBold" options are only available with XeLaTeX.\\
+ Option ignored.
}
-\msg_new:nnn {fontspec} {defining-font}
+\__fontspec_msg_new:nnn {fontspec} {font-index-needs-ttc}
{
- Font~ family~'\l_fontspec_family_tl'~ created~ for~ font~ '#2'~
- with~ options~ [\l__fontspec_all_features_clist].\\
+ The "FontIndex" feature is only supported by TTC (TrueType Collection) fonts.\\
+ Feature ignored.
+ }
+\__fontspec_msg_new:nnn {fontspec} {feat-cannot-remove}
+ {
+ The "#1" feature cannot be deactivated. Request ignored.
+ }
+\__fontspec_msg_new:nnn {fontspec} {defining-font}
+ {
+ Font family '\l_fontspec_family_tl' created for font '#2'
+ with options [\l__fontspec_all_features_clist].\\
\\
- This~ font~ family~ consists~ of~ the~ following~ NFSS~ series/shapes:\\
+ This font family consists of the following NFSS series/shapes:\\
\l_fontspec_defined_shapes_tl
}
-\msg_new:nnn {fontspec} {no-font-shape}
+\__fontspec_msg_new:nnn {fontspec} {no-font-shape}
{
- Could~ not~ resolve~ font~ #1~ (it~ probably~ doesn't~ exist).
+ Could not resolve font "#1" (it probably doesn't exist).
}
-\msg_new:nnn {fontspec} {set-scale}
+\__fontspec_msg_new:nnn {fontspec} {set-scale}
{
- \l_fontspec_fontname_tl\space scale ~=~ \l__fontspec_scale_tl.
+ \l_fontspec_fontname_tl\space scale = \l__fontspec_scale_tl.
}
-\msg_new:nnn {fontspec} {setup-math}
+\__fontspec_msg_new:nnn {fontspec} {setup-math}
{
- Adjusting~ the~ maths~ setup~ (use~ [no-math]~ to~ avoid~ this).
+ Adjusting the maths setup (use [no-math] to avoid this).
}
-\msg_new:nnn {fontspec} {no-scripts}
+\__fontspec_msg_new:nnn {fontspec} {no-scripts}
{
- Font~ \l_fontspec_fontname_tl\space does~ not~ contain~ any~ OpenType~ `Script'~ information.
+ Font "\l_fontspec_fontname_tl" does not contain any OpenType `Script' information.
}
-\msg_new:nnn {fontspec} {opa-twice}
+\__fontspec_msg_new:nnn {fontspec} {opa-twice}
{
- Opacity~ set~ twice,~ in~ both~ Colour~ and~ Opacity.\\
- Using~ specification~ "Opacity=#1".
+ Opacity set twice, in both Colour and Opacity.\\
+ Using specification "Opacity=#1".
}
-\msg_new:nnn {fontspec} {opa-twice-col}
+\__fontspec_msg_new:nnn {fontspec} {opa-twice-col}
{
- Opacity~ set~ twice,~ in~ both~ Opacity~ and~ Colour.\\
- Using~ an~ opacity~ specification~ in~ hex~ of~ "#1/FF".
+ Opacity set twice, in both Opacity and Colour.\\
+ Using an opacity specification in hex of "#1/FF".
}
-\msg_new:nnn {fontspec} {bad-colour}
+\__fontspec_msg_new:nnn {fontspec} {bad-colour}
{
- Bad~ colour~ declaration~ "#1".~
- Colour~ must~ be~ one~ of:\\
- *~ a~ named~ xcolor~ colour\\
- *~ a~ six-digit~ hex~ colour~ RRGGBB\\
- *~ an~ eight-digit~ hex~ colour~ RRGGBBTT~ with~ opacity
+ Bad colour declaration "#1".
+ Colour must be one of:\\
+ * a named xcolor colour\\
+ * a six-digit hex colour RRGGBB\\
+ * an eight-digit hex colour RRGGBBTT with opacity
}
+\char_set_catcode_ignore:n {32}
\DeclareOption{cm-default}
{ \__fontspec_warning:n {cm-default-obsolete} }
\DeclareOption{math}{\bool_set_true:N \g__fontspec_math_bool}
@@ -277,20 +383,35 @@
\msg_redirect_module:nnn { fontspec } { warning } { none }
\msg_redirect_module:nnn { fontspec } { info } { none }
}
-\ExecuteOptions{config,math,euenc}
+\ExecuteOptions{config,math,tuenc}
\ProcessOptions*
-\tl_set:Nn \g_fontspec_encoding_tl {TU}
-\file_if_exist:nF {tuenc.def} { \bool_set_true:N \g__fontspec_euenc_bool }
-\bool_if:NT \g__fontspec_euenc_bool
+\bool_if:NF \g__fontspec_euenc_bool
{
+ \file_if_exist:nTF {tuenc.def}
+ {
+ \cs_if_exist:cF {T at TU}
+ {
+ \__fontspec_warning:n {tu-clash}
+ \DeclareFontEncoding{TU}{}{}
+ \DeclareFontSubstitution{TU}{lmr}{m}{n}
+ }
+ }
+ {
+ \__fontspec_warning:n {tu-missing}
+ \bool_set_true:N \g__fontspec_euenc_bool
+ }
+ }
+\bool_if:NTF \g__fontspec_euenc_bool
+ {
\tl_set:Nn \g_fontspec_encoding_tl {EU2}
}
+ { \tl_set:Nn \g_fontspec_encoding_tl { TU } }
\tl_set:Nn \rmdefault {lmr}
\tl_set:Nn \sfdefault {lmss}
\tl_set:Nn \ttdefault {lmtt}
\RequirePackage[\g_fontspec_encoding_tl]{fontenc}
\tl_set_eq:NN \UTFencname \g_fontspec_encoding_tl % for xunicode if needed
-\normalsize % to overcome the encoding changing the current font size
+\tl_if_in:NnT \@filelist {.cls} { \normalsize }
\tl_set_eq:NN \cyrillicencoding \g_fontspec_encoding_tl
\tl_set_eq:NN \latinencoding \g_fontspec_encoding_tl
\AtBeginDocument
@@ -306,23 +427,19 @@
\cs_set_eq:NN \XeTeXpicfile \fontspec_tmp:
}
-\cs_set:Nn \__fontspec_fontwrap:n { "#1" }
\cs_set:Npn \__fontspec_primitive_font_set:Nnn #1#2#3
{
\font #1 = #2 ~at~ #3 \scan_stop:
}
-
\cs_set:Npn \__fontspec_primitive_font_gset:Nnn #1#2#3
{
\global \font #1 = #2 ~at~ #3 \scan_stop:
}
-
\cs_set:Npn \__fontspec_font_suppress_not_found_error:
{
\int_set_eq:NN \xetex_suppressfontnotfounderror:D \c_one
}
-
-\prg_set_conditional:Nnn \__fontspec_font_if_null:N {p,TF,T,F}
+\prg_set_conditional:Nnn \__fontspec_primitive_font_if_null:N {p,TF,T,F}
{
\ifx #1 \nullfont
\prg_return_true:
@@ -330,102 +447,95 @@
\prg_return_false:
\fi
}
-\cs_new:Nn \__fontspec_font_set:Nnn
+\prg_set_conditional:Nnn \__fontspec_primitive_font_if_exist:n {TF,T,F}
+ {
+ \group_begin:
+ \__fontspec_font_suppress_not_found_error:
+ \__fontspec_primitive_font_set:Nnn \l__fontspec_primitive_font {#1} {10pt}
+ \__fontspec_primitive_font_if_null:NTF \l__fontspec_primitive_font
+ { \group_end: \prg_return_false: }
+ { \group_end: \prg_return_true: }
+ }
+\prg_new_conditional:Nnn \__fontspec_primitive_font_glyph_if_exist:Nn {p,TF,T,F}
+ {
+ \etex_iffontchar:D #1 #2 \scan_stop:
+ \prg_return_true:
+ \else:
+ \prg_return_false:
+ \fi:
+ }
+\NewDocumentCommand \fontspec { O{} m O{} }
{
- \__fontspec_primitive_font_set:Nnn #1 { \__fontspec_fontwrap:n {#2} } {#3}
- }
-\cs_new:Nn \__fontspec_font_gset:Nnn
- {
- \__fontspec_primitive_font_gset:Nnn #1 { \__fontspec_fontwrap:n {#2} } {#3}
- }
-\prg_new_conditional:Nnn \font_glyph_if_exist:Nn {p,TF,T,F}
- {
- \etex_iffontchar:D #1 #2 \scan_stop:
- \prg_return_true:
- \else:
- \prg_return_false:
- \fi:
- }
-\cs_new:Nn \__fontspec_pass_args:nnn
- {
- \IfNoValueTF {#2}
- { \__fontspec_post_arg:w {#1} {#3} }
- { #1 {#2} {#3} }
- }
-\NewDocumentCommand \__fontspec_post_arg:w { m m O{} }
- { #1 {#3} {#2} }
-\NewDocumentCommand \fontspec { o m }
- { \__fontspec_pass_args:nnn \__fontspec_fontspec:nn {#1} {#2} }
-
-\cs_new:Nn \__fontspec_fontspec:nn
- {
- \fontspec_set_family:Nnn \f at family {#1} {#2}
+ \fontspec_set_family:Nnn \f at family {#1,#3} {#2}
\fontencoding { \l__fontspec_nfss_enc_tl }
\selectfont
\ignorespaces
}
-\DeclareDocumentCommand \setmainfont { o m }
- { \__fontspec_pass_args:nnn \__fontspec_setmainfont:nn {#1} {#2} }
-
-\cs_new:Nn \__fontspec_setmainfont:nn
+\DeclareDocumentCommand \setmainfont { O{} m O{} }
{
- \fontspec_set_family:Nnn \rmdefault {#1}{#2}
+ \fontspec_set_family:Nnn \g__fontspec_rmfamily_family {#1,#3} {#2}
+ \tl_set_eq:NN \rmdefault \g__fontspec_rmfamily_family
+ \use:x { \exp_not:n { \DeclareRobustCommand \rmfamily }
+ {
+ \exp_not:N \fontencoding { \l__fontspec_nfss_enc_tl }
+ \exp_not:N \fontfamily { \g__fontspec_rmfamily_family }
+ \exp_not:N \selectfont
+ }
+ }
+ \str_if_eq_x:nnT {\familydefault} {\rmdefault}
+ { \tl_set_eq:NN \encodingdefault \l__fontspec_nfss_enc_tl }
\normalfont
\ignorespaces
}
-
-\DeclareDocumentCommand \setsansfont { o m }
- { \__fontspec_pass_args:nnn \__fontspec_setsansfont:nn {#1} {#2} }
-
-\cs_new:Nn \__fontspec_setsansfont:nn
+\DeclareDocumentCommand \setsansfont { O{} m O{} }
{
- \fontspec_set_family:Nnn \sfdefault {#1}{#2}
+ \fontspec_set_family:Nnn \g__fontspec_sffamily_family {#1,#3} {#2}
+ \tl_set_eq:NN \sfdefault \g__fontspec_sffamily_family
+ \use:x { \exp_not:n { \DeclareRobustCommand \sffamily }
+ {
+ \exp_not:N \fontencoding { \l__fontspec_nfss_enc_tl }
+ \exp_not:N \fontfamily { \g__fontspec_sffamily_family }
+ \exp_not:N \selectfont
+ }
+ }
+ \str_if_eq_x:nnT {\familydefault} {\sfdefault}
+ { \tl_set_eq:NN \encodingdefault \l__fontspec_nfss_enc_tl }
\normalfont
\ignorespaces
}
-
-\DeclareDocumentCommand \setmonofont { o m }
- { \__fontspec_pass_args:nnn \__fontspec_setmonofont:nn {#1} {#2} }
-
-\cs_new:Nn \__fontspec_setmonofont:nn
+\DeclareDocumentCommand \setmonofont { O{} m O{} }
{
- \fontspec_set_family:Nnn \ttdefault {#1}{#2}
+ \fontspec_set_family:Nnn \g__fontspec_ttfamily_family {#1,#3} {#2}
+ \tl_set_eq:NN \ttdefault \g__fontspec_ttfamily_family
+ \use:x { \exp_not:n { \DeclareRobustCommand \ttfamily }
+ {
+ \exp_not:N \fontencoding { \l__fontspec_nfss_enc_tl }
+ \exp_not:N \fontfamily { \g__fontspec_ttfamily_family }
+ \exp_not:N \selectfont
+ }
+ }
+ \str_if_eq_x:nnT {\familydefault} {\ttdefault}
+ { \tl_set_eq:NN \encodingdefault \l__fontspec_nfss_enc_tl }
\normalfont
\ignorespaces
}
\cs_set_eq:NN \setromanfont \setmainfont
-\tl_new:N \g__fontspec_mathrm_tl
-\tl_new:N \g__fontspec_bfmathrm_tl
-\tl_new:N \g__fontspec_mathsf_tl
-\tl_new:N \g__fontspec_mathtt_tl
-\DeclareDocumentCommand \setmathrm { o m }
- { \__fontspec_pass_args:nnn \__fontspec_setmathrm:nn {#1} {#2} }
-
-\cs_new:Nn \__fontspec_setmathrm:nn
+\DeclareDocumentCommand \setmathrm { O{} m O{} }
{
\fontspec_set_family:Nnn \g__fontspec_mathrm_tl {#1} {#2}
}
-\DeclareDocumentCommand \setboldmathrm { o m }
- { \__fontspec_pass_args:nnn \__fontspec_setboldmathrm:nn {#1} {#2} }
-
-\cs_new:Nn \__fontspec_setboldmathrm:nn
+\DeclareDocumentCommand \setboldmathrm { O{} m O{} }
{
\fontspec_set_family:Nnn \g__fontspec_bfmathrm_tl {#1} {#2}
}
-\DeclareDocumentCommand \setmathsf { o m }
- { \__fontspec_pass_args:nnn \__fontspec_setmathsf:nn {#1} {#2} }
-
-\cs_new:Nn \__fontspec_setmathsf:nn
+\DeclareDocumentCommand \setmathsf { O{} m O{} }
{
\fontspec_set_family:Nnn \g__fontspec_mathsf_tl {#1} {#2}
}
-\DeclareDocumentCommand \setmathtt { o m }
- { \__fontspec_pass_args:nnn \__fontspec_setmathtt:nn {#1} {#2} }
-
-\cs_new:Nn \__fontspec_setmathtt:nn
+\DeclareDocumentCommand \setmathtt { O{} m O{} }
{
\fontspec_set_family:Nnn \g__fontspec_mathtt_tl {#1} {#2}
}
@@ -436,12 +546,9 @@
\tl_set:Nn \g__fontspec_mathrm_tl {\rmdefault}
\tl_set:Nn \g__fontspec_mathsf_tl {\sfdefault}
\tl_set:Nn \g__fontspec_mathtt_tl {\ttdefault}
-\DeclareDocumentCommand \newfontfamily { m o m }
- { \__fontspec_pass_args:nnn { \__fontspec_newfontfamily:Nnn #1 } {#2} {#3} }
-
-\cs_new:Nn \__fontspec_newfontfamily:Nnn
+\DeclareDocumentCommand \newfontfamily { m O{} m O{} }
{
- \fontspec_set_family:cnn { g__fontspec_ \cs_to_str:N #1 _family } {#2} {#3}
+ \fontspec_set_family:cnn { g__fontspec_ \cs_to_str:N #1 _family } {#2,#4} {#3}
\use:x
{
\exp_not:N \DeclareRobustCommand \exp_not:N #1
@@ -452,15 +559,10 @@
}
}
}
-\DeclareDocumentCommand \newfontface { m o m }
- { \__fontspec_pass_args:nnn { \__fontspec_newfontface:Nnn #1 } {#2} {#3} }
-
-\cs_new:Nn \__fontspec_newfontface:Nnn
+\DeclareDocumentCommand \newfontface { m O{} m O{} }
{
- \newfontfamily #1 [ BoldFont={},ItalicFont={},SmallCapsFont={},#2 ] {#3}
+ \newfontfamily #1 [ BoldFont={},ItalicFont={},SmallCapsFont={},#2,#4 ] {#3}
}
-\clist_new:N \g__fontspec_default_fontopts_clist
-\prop_new:N \g__fontspec_fontopts_prop
\DeclareDocumentCommand \defaultfontfeatures { t+ o m }
{
\IfNoValueTF {#2}
@@ -495,20 +597,6 @@
}
}
}
-\cs_new:Nn \__fontspec_sanitise_fontname:Nn
- {
- \tl_set:Nx #1 {#2}
- \tl_remove_all:Nn #1 {~}
- \clist_map_inline:Nn \l__fontspec_extensions_clist
- {
- \tl_if_in:NnT #1 {##1}
- {
- \tl_remove_once:Nn #1 {##1}
- \clist_map_break:
- }
- }
- }
-\bool_new:N \l__fontspec_disable_defaults_bool
\DeclareDocumentCommand \addfontfeatures {m}
{
\fontspec_if_fontspec_font:TF
@@ -520,7 +608,7 @@
\bool_set_true:N \l__fontspec_disable_defaults_bool
\use:x
{
- \exp_not:N \fontspec_select:nn
+ \__fontspec_select_font_family:nn
{ \l__fontspec_options_tl , #1 } {\l__fontspec_fontname_tl}
}
\group_end:
@@ -545,27 +633,26 @@
\DeclareDocumentCommand \newAATfeature {mmmm}
{
\keys_if_exist:nnF { fontspec } {#1}
- { \__fontspec_define_font_feature:n {#1} }
+ { \__fontspec_define_aat_feature_group:n {#1} }
\keys_if_choice_exist:nnnT {fontspec} {#1} {#2}
{ \__fontspec_warning:nxx {feature-option-overwrite} {#1} {#2} }
- \__fontspec_define_feature_option:nnnnn {#1}{#2}{#3}{#4}{}
+ \__fontspec_define_aat_feature:nnnn {#1}{#2}{#3}{#4}
}
\DeclareDocumentCommand \newopentypefeature {mmm}
{
\keys_if_exist:nnF { fontspec / options } {#1}
- { \__fontspec_define_font_feature:n {#1} }
+ { \__fontspec_define_opentype_feature_group:n {#1} }
\keys_if_choice_exist:nnnT {fontspec} {#1} {#2}
{ \__fontspec_warning:nxx {feature-option-overwrite} {#1} {#2} }
- \__fontspec_define_feature_option:nnnnn {#1}{#2}{}{}{#3}
+ \__fontspec_define_opentype_feature:nnn {#1}{#2}{#3}
}
\cs_set_eq:NN \newICUfeature \newopentypefeature % deprecated
-\bool_new:N \l__fontspec_alias_bool
\DeclareDocumentCommand \aliasfontfeature {mm}
{
\bool_set_false:N \l__fontspec_alias_bool
\clist_map_inline:nn
- { fontspec, fontspec-preparse, fontspec-preparse-external,
+ { fontspec, fontspec-opentype, fontspec-aat, fontspec-preparse, fontspec-preparse-external,
fontspec-preparse-nested, fontspec-renderer }
{
@@ -572,7 +659,8 @@
\keys_if_exist:nnT {##1} {#1}
{
\bool_set_true:N \l__fontspec_alias_bool
- \__fontspec_alias_font_feature:nnn {##1} {#1} {#2}
+ \keys_define:nn {##1}
+ { #2 .code:n = { \keys_set:nn {##1} { #1 = {####1} } } }
}
}
@@ -579,15 +667,23 @@
\bool_if:NF \l__fontspec_alias_bool
{ \__fontspec_warning:nx {rename-feature-not-exist} {#1} }
}
+\DeclareDocumentCommand \aliasfontfeatureoption {mmm}
+ {
+ \bool_set_false:N \l__fontspec_alias_bool
-\cs_set:Nn \__fontspec_alias_font_feature:nnn
- {
- \keys_define:nn {#1}
- { #3 .code:n = { \keys_set:nn {#1} { #2 = {##1} } } }
- }
+ \clist_map_inline:Nn \g__fontspec_all_keyval_modules_clist
+ {
-\DeclareDocumentCommand \aliasfontfeatureoption {mmm}
- { \keys_define:nn { fontspec / #1 } { #3 .meta:n = {#2} } }
+ \keys_if_exist:nnT {##1} {#1}
+ {
+ \bool_set_true:N \l__fontspec_alias_bool
+ \keys_define:nn { ##1 / #1 } { #3 .meta:n = {#2} }
+ }
+ }
+
+ \bool_if:NF \l__fontspec_alias_bool
+ { \__fontspec_warning:nx {rename-feature-not-exist} {#1} }
+ }
\DeclareDocumentCommand \newfontscript {mm}
{
\fontspec_new_script:nn {#1} {#2}
@@ -603,6 +699,31 @@
}
\DeclareFontsExtensions{.otf,.ttf,.OTF,.TTF,.ttc,.TTC,.dfont}
+\DeclareDocumentCommand \IfFontFeatureActiveTF {mmm}
+ {
+ \__fontspec_if_font_feature:nTF {#1} {#2} {#3}
+ }
+\prg_new_conditional:Nnn \__fontspec_if_font_feature:n {TF}
+ {
+ \tl_gclear:N \g__fontspec_single_feat_tl
+ \group_begin:
+ \__fontspec_font_suppress_not_found_error:
+ \__fontspec_init:
+ \bool_set_true:N \l__fontspec_ot_bool
+ \bool_set_true:N \l__fontspec_never_check_bool
+ \bool_set_false:N \l__fontspec_firsttime_bool
+ \clist_clear:N \l__fontspec_fontfeat_clist
+ \__fontspec_get_features:Nn \l__fontspec_rawfeatures_sclist {#1}
+ \group_end:
+
+
+ \tl_if_empty:NTF \g__fontspec_single_feat_tl { \prg_return_false: }
+ {
+ \exp_args:NV \fontspec_if_current_feature:nTF \g__fontspec_single_feat_tl
+ { \prg_return_true: } { \prg_return_false: }
+ }
+ }
+
\prg_new_conditional:Nnn \fontspec_if_fontspec_font: {TF,T,F}
{
\cs_if_exist:cTF {g__fontspec_ \f at family _prop} \prg_return_true: \prg_return_false:
@@ -612,10 +733,10 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g__fontspec_ \f at family _prop} {fontdef} \l__fontspec_fontdef_tl
- \__fontspec_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
+ \__fontspec_primitive_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
\bool_if:NTF \l__fontspec_atsui_bool
{
- \fontspec_make_AAT_feature_string:nnTF {#1}{#2}
+ \__fontspec_make_AAT_feature_string:nnTF {#1}{#2}
\prg_return_true: \prg_return_false:
}
{
@@ -631,7 +752,7 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g__fontspec_ \f at family _prop} {fontdef} \l__fontspec_fontdef_tl
- \__fontspec_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
+ \__fontspec_primitive_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
\__fontspec_set_font_type:
\bool_if:NTF \l__fontspec_ot_bool \prg_return_true: \prg_return_false:
}
@@ -644,20 +765,20 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g__fontspec_ \f at family _prop} {fontdef} \l__fontspec_fontdef_tl
- \__fontspec_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
+ \__fontspec_primitive_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
\__fontspec_set_font_type:
\bool_if:NTF \l__fontspec_ot_bool
{
\prop_get:cnN {g__fontspec_ \f at family _prop} {script-num} \l__fontspec_tmp_tl
- \int_set:Nn \l_fontspec_script_int {\l__fontspec_tmp_tl}
+ \int_set:Nn \l__fontspec_script_int {\l__fontspec_tmp_tl}
\prop_get:cnN {g__fontspec_ \f at family _prop} {lang-num} \l__fontspec_tmp_tl
- \int_set:Nn \l_fontspec_language_int {\l__fontspec_tmp_tl}
+ \int_set:Nn \l__fontspec_language_int {\l__fontspec_tmp_tl}
\prop_get:cnN {g__fontspec_ \f at family _prop} {script-tag} \l_fontspec_script_tl
\prop_get:cnN {g__fontspec_ \f at family _prop} {lang-tag} \l_fontspec_lang_tl
- \fontspec_check_ot_feat:nTF {#1} {\prg_return_true:} {\prg_return_false:}
+ \__fontspec_check_ot_feat:nTF {#1} {\prg_return_true:} {\prg_return_false:}
}
{
\prg_return_false:
@@ -672,13 +793,13 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g__fontspec_ \f at family _prop} {fontdef} \l__fontspec_fontdef_tl
- \__fontspec_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
+ \__fontspec_primitive_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
\__fontspec_set_font_type:
\bool_if:NTF \l__fontspec_ot_bool
{
- \fontspec_iv_str_to_num:Nn \l_fontspec_script_int {#1}
- \fontspec_iv_str_to_num:Nn \l_fontspec_language_int {#2}
- \fontspec_check_ot_feat:nTF {#3} \prg_return_true: \prg_return_false:
+ \__fontspec_iv_str_to_num:Nn \l__fontspec_script_int {#1}
+ \__fontspec_iv_str_to_num:Nn \l__fontspec_language_int {#2}
+ \__fontspec_check_ot_feat:nTF {#3} \prg_return_true: \prg_return_false:
}
{ \prg_return_false: }
}
@@ -689,11 +810,11 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g__fontspec_ \f at family _prop} {fontdef} \l__fontspec_fontdef_tl
- \__fontspec_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
+ \__fontspec_primitive_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
\__fontspec_set_font_type:
\bool_if:NTF \l__fontspec_ot_bool
{
- \fontspec_check_script:nTF {#1} \prg_return_true: \prg_return_false:
+ \__fontspec_check_script:nTF {#1} \prg_return_true: \prg_return_false:
}
{ \prg_return_false: }
}
@@ -704,15 +825,15 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g__fontspec_ \f at family _prop} {fontdef} \l__fontspec_fontdef_tl
- \__fontspec_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
+ \__fontspec_primitive_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
\__fontspec_set_font_type:
\bool_if:NTF \l__fontspec_ot_bool
{
\prop_get:cnN {g__fontspec_ \f at family _prop} {script-num} \l__fontspec_tmp_tl
- \int_set:Nn \l_fontspec_script_int {\l__fontspec_tmp_tl}
+ \int_set:Nn \l__fontspec_script_int {\l__fontspec_tmp_tl}
\prop_get:cnN {g__fontspec_ \f at family _prop} {script-tag} \l_fontspec_script_tl
- \fontspec_check_lang:nTF {#1} \prg_return_true: \prg_return_false:
+ \__fontspec_check_lang:nTF {#1} \prg_return_true: \prg_return_false:
}
{ \prg_return_false: }
}
@@ -723,13 +844,13 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g__fontspec_ \f at family _prop} {fontdef} \l__fontspec_fontdef_tl
- \__fontspec_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
+ \__fontspec_primitive_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
\__fontspec_set_font_type:
\bool_if:NTF \l__fontspec_ot_bool
{
\tl_set:Nn \l_fontspec_script_tl {#1}
- \fontspec_iv_str_to_num:Nn \l_fontspec_script_int {#1}
- \fontspec_check_lang:nTF {#2} \prg_return_true: \prg_return_false:
+ \__fontspec_iv_str_to_num:Nn \l__fontspec_script_int {#1}
+ \__fontspec_check_lang:nTF {#2} \prg_return_true: \prg_return_false:
}
{ \prg_return_false: }
}
@@ -740,7 +861,7 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g__fontspec_ \f at family _prop} {fontdef} \l__fontspec_fontdef_tl
- \__fontspec_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
+ \__fontspec_primitive_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
\__fontspec_set_font_type:
\bool_if:NTF \l__fontspec_ot_bool
{
@@ -757,7 +878,7 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g__fontspec_ \f at family _prop} {fontdef} \l__fontspec_fontdef_tl
- \__fontspec_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
+ \__fontspec_primitive_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
\__fontspec_set_font_type:
\bool_if:NTF \l__fontspec_ot_bool
{
@@ -772,7 +893,7 @@
\cs_new:Nn \fontspec_set_family:Nnn
{
\tl_set:Nn \l__fontspec_family_label_tl { #1 }
- \fontspec_select:nn {#2}{#3}
+ \__fontspec_select_font_family:nn {#2}{#3}
\tl_set_eq:NN #1 \l_fontspec_family_tl
}
\cs_generate_variant:Nn \fontspec_set_family:Nnn {c}
@@ -779,41 +900,97 @@
\cs_new:Nn \fontspec_set_fontface:NNnn
{
\tl_set:Nn \l__fontspec_family_label_tl { #1 }
- \fontspec_select:nn {#3}{#4}
+ \__fontspec_select_font_family:nn {#3}{#4}
\tl_set_eq:NN #1 \l_fontspec_font
\tl_set_eq:NN #2 \l_fontspec_family_tl
}
-\cs_set:Nn \fontspec_select:nn
+\prg_new_conditional:Nnn \fontspec_font_if_exist:n {TF,T,F}
+ {
+ \group_begin:
+ \__fontspec_init:
+ \__fontspec_if_detect_external:nT {#1} { \__fontspec_font_is_file: }
+ \__fontspec_primitive_font_if_exist:nTF { \__fontspec_construct_font_call:nn {#1} {} }
+ { \group_end: \prg_return_true: }
+ { \group_end: \prg_return_false: }
+ }
+\cs_set_eq:NN \IfFontExistsTF \fontspec_font_if_exist:nTF
+
+\prg_new_conditional:Nnn \fontspec_if_current_feature:n {TF,T,F}
+ {
+ \exp_args:Nxx \tl_if_in:nnTF
+ { \fontname\font } { \tl_to_str:n {#1} }
+ { \prg_return_true: } { \prg_return_false: }%
+ }
+
+\cs_new_protected:Nn \__fontspec_select_font_family:nn
{
\group_begin:
\__fontspec_font_suppress_not_found_error:
\__fontspec_init:
- \tl_set:Nx \l_fontspec_fontname_tl {#2}
- \tl_set:Nx \l_fontspec_fontname_up_tl {#2}
- \tl_set:Nx \l__fontspec_basename_tl {#2}
+ \__fontspec_sanitise_fontname:Nn \l_fontspec_fontname_tl {#2}
+ \__fontspec_sanitise_fontname:Nn \l__fontspec_fontname_up_tl {#2}
+ \__fontspec_sanitise_fontname:Nn \l__fontspec_basename_tl {#2}
+ \__fontspec_if_detect_external:nT {#2}
+ { \keys_set:nn {fontspec-preparse-external} {Path} }
+
+ \__fontspec_init_ttc:n {#2}
\__fontspec_load_external_fontoptions:Nn \l_fontspec_fontname_tl {#2}
+
\__fontspec_extract_all_features:n {#1}
+ \tl_set:Nx \l__fontspec_fontid_tl { \tl_to_str:N \l_fontspec_fontname_tl-:-\tl_to_str:N \l__fontspec_all_features_clist }
+
+
\__fontspec_preparse_features:
-
\__fontspec_load_font:
\__fontspec_set_scriptlang:
\__fontspec_get_features:Nn \l__fontspec_rawfeatures_sclist {}
\bool_set_false:N \l__fontspec_firsttime_bool
- \__fontspec_save_family:nTF {#2}
+ \__fontspec_save_family_needed:nTF {#2}
{
- \__fontspec_save_fontinfo:
- \__fontspec_find_autofonts:
- \DeclareFontFamily{\l__fontspec_nfss_enc_tl}{\l_fontspec_family_tl}{}
- \__fontspec_set_faces:
- \__fontspec_info:nxx {defining-font} {#1} {#2}
+ \__fontspec_save_family:nn {#1} {#2}
}
{
}
\group_end:
}
+\cs_set_eq:NN \fontspec_select:nn \__fontspec_select_font_family:nn
+\cs_new:Nn \__fontspec_sanitise_fontname:Nn
+ {
+ \tl_set:Nx #1 {#2}
+ \tl_remove_all:Nn #1 {~}
+ \clist_map_inline:Nn \l__fontspec_extensions_clist
+ {
+ \tl_if_in:NnT #1 {##1}
+ {
+ \tl_remove_once:Nn #1 {##1}
+ \tl_set:Nn \l__fontspec_extension_tl {##1}
+ \clist_map_break:
+ }
+ }
+ }
+\prg_new_conditional:Nnn \__fontspec_if_detect_external:n {T}
+ {
+ \clist_map_inline:Nn \l__fontspec_extensions_clist
+ {
+ \bool_set_false:N \l__fontspec_tmpa_bool
+ \exp_args:Nx % <- this should be handled earlier
+ \tl_if_in:nnT {#1 <= end_of_string} {##1 <= end_of_string}
+ { \bool_set_true:N \l__fontspec_tmpa_bool \clist_map_break: }
+ }
+ \bool_if:NTF \l__fontspec_tmpa_bool \prg_return_true: \prg_return_false:
+ }
+\cs_new:Nn \__fontspec_init_ttc:n
+ {
+ \str_if_eq_x:nnT { \str_lower_case:f {\l__fontspec_extension_tl} } {.ttc}
+ {
+ \__fontspec_sanitise_fontname:Nn \l__fontspec_fontname_it_tl {#1}
+ \__fontspec_sanitise_fontname:Nn \l__fontspec_fontname_bf_tl {#1}
+ \__fontspec_sanitise_fontname:Nn \l__fontspec_fontname_bfit_tl {#1}
+ }
+ }
\cs_new:Nn \__fontspec_load_external_fontoptions:Nn
{
\__fontspec_sanitise_fontname:Nn #1 {#2}
@@ -847,49 +1024,53 @@
#1
}
}
- \tl_set:Nx \l__fontspec_fontid_tl { \tl_to_str:N \l_fontspec_fontname_tl-:-\tl_to_str:N \l__fontspec_all_features_clist }
}
\cs_new:Nn \__fontspec_preparse_features:
{
- \__fontspec_if_detect_external:VT \l__fontspec_basename_tl
- { \keys_set:nn {fontspec-preparse-external} {ExternalLocation} }
- \keys_set_known:nxN {fontspec-preparse-external}
+ \__fontspec_keys_set_known:nxN {fontspec-preparse-external}
{ \l__fontspec_all_features_clist }
\l__fontspec_keys_leftover_clist
- \tl_set_eq:NN \l_fontspec_fontname_tl \l_fontspec_fontname_up_tl
- \keys_set_known:nxN {fontspec-renderer} {\l__fontspec_keys_leftover_clist}
+
+ \tl_set_eq:NN \l_fontspec_fontname_tl \l__fontspec_fontname_up_tl
+ \__fontspec_keys_set_known:nxN {fontspec-renderer} {\l__fontspec_keys_leftover_clist}
\l__fontspec_keys_leftover_clist
- \keys_set_known:nxN {fontspec-preparse} {\l__fontspec_keys_leftover_clist}
+ \__fontspec_keys_set_known:nxN {fontspec-preparse} {\l__fontspec_keys_leftover_clist}
\l__fontspec_fontfeat_clist
}
\cs_new:Nn \__fontspec_load_font:
{
- \__fontspec_font_set:Nnn \l_fontspec_font
- { \__fontspec_fullname:n {\l_fontspec_fontname_up_tl} } {\f at size pt}
- \__fontspec_font_if_null:NT \l_fontspec_font { \__fontspec_error:nx {font-not-found} {\l_fontspec_fontname_up_tl} }
+ \__fontspec_primitive_font_set:Nnn \l_fontspec_font
+ { \__fontspec_construct_font_call:nn { \l__fontspec_fontname_up_tl } {} } {\f at size pt}
+ \__fontspec_primitive_font_if_null:NT \l_fontspec_font { \__fontspec_error:nx {font-not-found} {\l__fontspec_fontname_up_tl} }
\__fontspec_set_font_type:
- \__fontspec_font_gset:Nnn \l_fontspec_font
- { \__fontspec_fullname:n {\l_fontspec_fontname_up_tl} } {\f at size pt}
+ \__fontspec_primitive_font_gset:Nnn \l_fontspec_font
+ { \__fontspec_construct_font_call:nn { \l__fontspec_fontname_up_tl } {} } {\f at size pt}
\l_fontspec_font % this is necessary for LuaLaTeX to check the scripts properly
}
-\prg_new_conditional:Nnn \__fontspec_if_detect_external:n {T}
+\cs_set:Nn \__fontspec_construct_font_call:nnnnnn
{
- \clist_map_inline:Nn \l__fontspec_extensions_clist
- {
- \bool_set_false:N \l__fontspec_tmpa_bool
- \tl_if_in:nnT {#1 <= end_of_string} {##1 <= end_of_string}
- { \bool_set_true:N \l__fontspec_tmpa_bool \clist_map_break: }
- }
- \bool_if:NTF \l__fontspec_tmpa_bool \prg_return_true: \prg_return_false:
+ " \__fontspec_fontname_wrap:n { #1 #2 #3 } #4 #5
+ \str_if_eq_x:nnF {#6}{} {:#6} "
}
-\cs_generate_variant:Nn \__fontspec_if_detect_external:nT {V}
-\cs_set:Nn \__fontspec_fullname:n
+\cs_set:Nn \__fontspec_construct_font_call:nn
{
- \__fontspec_namewrap:n { #1 \l__fontspec_extension_tl }
- \l_fontspec_renderer_tl
- \l__fontspec_optical_size_tl
+ \__fontspec_construct_font_call:nnnnnn
+ {#1}
+ \l__fontspec_extension_tl
+ \l__fontspec_ttc_index_tl
+ \l_fontspec_renderer_tl
+ \l__fontspec_optical_size_tl
+ {#2}
}
+\cs_new:Nn \__fontspec_font_is_name:
+ {
+ \cs_set_eq:NN \__fontspec_fontname_wrap:n \use:n
+ }
+\cs_new:Nn \__fontspec_font_is_file:
+ {
+ \cs_set:Npn \__fontspec_fontname_wrap:n ##1 { file:\l__fontspec_font_path_tl ##1 }
+ }
\cs_new:Nn \__fontspec_set_scriptlang:
{
\bool_if:NT \l__fontspec_firsttime_bool
@@ -896,7 +1077,7 @@
{
\tl_if_empty:NTF \l__fontspec_script_name_tl
{
- \fontspec_check_script:nTF {latn}
+ \__fontspec_check_script:nTF {latn}
{
\tl_set:Nn \l__fontspec_script_name_tl {Latin}
\tl_if_empty:NT \l__fontspec_lang_name_tl
@@ -903,8 +1084,8 @@
{
\tl_set:Nn \l__fontspec_lang_name_tl {Default}
}
- \keys_set:nx {fontspec} {Script=\l__fontspec_script_name_tl}
- \keys_set:nx {fontspec} {Language=\l__fontspec_lang_name_tl}
+ \keys_set:nx {fontspec-opentype} {Script=\l__fontspec_script_name_tl}
+ \keys_set:nx {fontspec-opentype} {Language=\l__fontspec_lang_name_tl}
}
{
\__fontspec_info:n {no-scripts}
@@ -915,13 +1096,29 @@
{
\tl_set:Nn \l__fontspec_lang_name_tl {Default}
}
- \keys_set:nx {fontspec} {Script=\l__fontspec_script_name_tl}
- \keys_set:nx {fontspec} {Language=\l__fontspec_lang_name_tl}
+ \keys_set:nx {fontspec-opentype} {Script=\l__fontspec_script_name_tl}
+ \keys_set:nx {fontspec-opentype} {Language=\l__fontspec_lang_name_tl}
}
}
}
-\prg_new_conditional:Nnn \__fontspec_save_family:n {TF}
+\cs_set:Nn \__fontspec_get_features:Nn
{
+ \__fontspec_init_fontface:
+ \__fontspec_keys_set_known:nxN {fontspec-renderer} {\l__fontspec_fontfeat_clist,#2}
+ \l__fontspec_keys_leftover_clist
+ \__fontspec_keys_set_known:nxN {fontspec} {\l__fontspec_keys_leftover_clist} \l__fontspec_keys_leftover_clist
+ \keys_set:nx {fontspec-opentype} {\l__fontspec_keys_leftover_clist}
+
+ \str_if_eq_x:nnF { \l__fontspec_hexcol_tl \l__fontspec_opacity_tl }
+ { \g__fontspec_hexcol_tl \g__fontspec_opacity_tl }
+ { \__fontspec_update_featstr:n { color = \l__fontspec_hexcol_tl\l__fontspec_opacity_tl } }
+
+ \tl_set_eq:NN #1 \l__fontspec_rawfeatures_sclist
+ }
+\prg_new_conditional:Nnn \__fontspec_save_family_needed:n {TF}
+ {
+
+
\cs_if_exist:NT \l__fontspec_nfss_fam_tl
{
\cs_set_eq:cN {g__fontspec_UID_\l__fontspec_fontid_tl} \l__fontspec_nfss_fam_tl
@@ -945,51 +1142,58 @@
\cs_if_exist:cTF {g__fontspec_ \l_fontspec_family_tl _prop}
\prg_return_false: \prg_return_true:
}
-\cs_new:Nn \__fontspec_save_fontinfo:
+\cs_new:Nn \__fontspec_save_family:nn
+ {
+ \__fontspec_save_fontinfo:n {#2}
+ \__fontspec_find_autofonts:
+ \DeclareFontFamily{\l__fontspec_nfss_enc_tl}{\l_fontspec_family_tl}{}
+ \__fontspec_set_faces:
+ \__fontspec_info:nxx {defining-font} {#1} {#2}
+ }
+\cs_new:Nn \__fontspec_save_fontinfo:n
{
\prop_new:c {g__fontspec_ \l_fontspec_family_tl _prop}
- \prop_gput:cnx {g__fontspec_ \l_fontspec_family_tl _prop} {fontname} { \l__fontspec_basename_tl }
+ \prop_gput:cnx {g__fontspec_ \l_fontspec_family_tl _prop} {fontname} { #1 }
\prop_gput:cnx {g__fontspec_ \l_fontspec_family_tl _prop} {options} { \l__fontspec_all_features_clist }
\prop_gput:cnx {g__fontspec_ \l_fontspec_family_tl _prop} {fontdef}
{
- \__fontspec_fullname:n {\l_fontspec_fontname_tl} :
- \l__fontspec_pre_feat_sclist \l__fontspec_rawfeatures_sclist
+ \__fontspec_construct_font_call:nn {\l_fontspec_fontname_tl}
+ { \l__fontspec_pre_feat_sclist \l__fontspec_rawfeatures_sclist }
}
- \prop_gput:cnV {g__fontspec_ \l_fontspec_family_tl _prop} {script-num} \l_fontspec_script_int
- \prop_gput:cnV {g__fontspec_ \l_fontspec_family_tl _prop} {lang-num} \l_fontspec_language_int
+ \prop_gput:cnV {g__fontspec_ \l_fontspec_family_tl _prop} {script-num} \l__fontspec_script_int
+ \prop_gput:cnV {g__fontspec_ \l_fontspec_family_tl _prop} {lang-num} \l__fontspec_language_int
\prop_gput:cnV {g__fontspec_ \l_fontspec_family_tl _prop} {script-tag} \l_fontspec_script_tl
\prop_gput:cnV {g__fontspec_ \l_fontspec_family_tl _prop} {lang-tag} \l_fontspec_lang_tl
-
}
\cs_new:Nn \__fontspec_find_autofonts:
{
\bool_if:nF {\l__fontspec_noit_bool || \l__fontspec_nobf_bool}
{
- \__fontspec_set_autofont:Nnn \l_fontspec_fontname_bfit_tl {\l_fontspec_fontname_it_tl} {/B}
- \__fontspec_set_autofont:Nnn \l_fontspec_fontname_bfit_tl {\l_fontspec_fontname_bf_tl} {/I}
- \__fontspec_set_autofont:Nnn \l_fontspec_fontname_bfit_tl {\l_fontspec_fontname_tl} {/BI}
+ \__fontspec_set_autofont:Nnn \l__fontspec_fontname_bfit_tl {\l__fontspec_fontname_it_tl} {/B}
+ \__fontspec_set_autofont:Nnn \l__fontspec_fontname_bfit_tl {\l__fontspec_fontname_bf_tl} {/I}
+ \__fontspec_set_autofont:Nnn \l__fontspec_fontname_bfit_tl {\l_fontspec_fontname_tl} {/BI}
}
\bool_if:NF \l__fontspec_nobf_bool
{
- \__fontspec_set_autofont:Nnn \l_fontspec_fontname_bf_tl {\l_fontspec_fontname_tl} {/B}
+ \__fontspec_set_autofont:Nnn \l__fontspec_fontname_bf_tl {\l_fontspec_fontname_tl} {/B}
}
\bool_if:NF \l__fontspec_noit_bool
{
- \__fontspec_set_autofont:Nnn \l_fontspec_fontname_it_tl {\l_fontspec_fontname_tl} {/I}
+ \__fontspec_set_autofont:Nnn \l__fontspec_fontname_it_tl {\l_fontspec_fontname_tl} {/I}
}
- \__fontspec_set_autofont:Nnn \l_fontspec_fontname_bfsl_tl {\l_fontspec_fontname_sl_tl} {/B}
+ \__fontspec_set_autofont:Nnn \l__fontspec_fontname_bfsl_tl {\l__fontspec_fontname_sl_tl} {/B}
}
\cs_new:Nn \__fontspec_set_faces:
{
\__fontspec_add_nfssfont:nnnn \mddefault \updefault \l_fontspec_fontname_tl \l__fontspec_fontfeat_up_clist
- \__fontspec_add_nfssfont:nnnn \bfdefault \updefault \l_fontspec_fontname_bf_tl \l__fontspec_fontfeat_bf_clist
- \__fontspec_add_nfssfont:nnnn \mddefault \itdefault \l_fontspec_fontname_it_tl \l__fontspec_fontfeat_it_clist
- \__fontspec_add_nfssfont:nnnn \mddefault \sldefault \l_fontspec_fontname_sl_tl \l__fontspec_fontfeat_sl_clist
- \__fontspec_add_nfssfont:nnnn \bfdefault \itdefault \l_fontspec_fontname_bfit_tl \l__fontspec_fontfeat_bfit_clist
- \__fontspec_add_nfssfont:nnnn \bfdefault \sldefault \l_fontspec_fontname_bfsl_tl \l__fontspec_fontfeat_bfsl_clist
+ \__fontspec_add_nfssfont:nnnn \bfdefault \updefault \l__fontspec_fontname_bf_tl \l__fontspec_fontfeat_bf_clist
+ \__fontspec_add_nfssfont:nnnn \mddefault \itdefault \l__fontspec_fontname_it_tl \l__fontspec_fontfeat_it_clist
+ \__fontspec_add_nfssfont:nnnn \mddefault \sldefault \l__fontspec_fontname_sl_tl \l__fontspec_fontfeat_sl_clist
+ \__fontspec_add_nfssfont:nnnn \bfdefault \itdefault \l__fontspec_fontname_bfit_tl \l__fontspec_fontfeat_bfit_clist
+ \__fontspec_add_nfssfont:nnnn \bfdefault \sldefault \l__fontspec_fontname_bfsl_tl \l__fontspec_fontfeat_bfsl_clist
\prop_map_inline:Nn \l__fontspec_nfssfont_prop { \__fontspec_set_faces_aux:nnnnn ##2 }
}
@@ -998,11 +1202,30 @@
\fontspec_complete_fontname:Nn \l__fontspec_curr_fontname_tl {#3}
\__fontspec_make_font_shapes:Nnnnn \l__fontspec_curr_fontname_tl {#1} {#2} {#4} {#5}
}
+\cs_set:Nn \fontspec_complete_fontname:Nn
+ {
+ \tl_set:Nx #1 {#2}
+ \tl_replace_all:Nnx #1 {*} {\l__fontspec_basename_tl}
+ \tl_remove_all:Nn #1 {~}
+ }
+\cs_new:Nn \__fontspec_add_nfssfont:nnnn
+ {
+ \tl_set:Nx \l__fontspec_this_font_tl {#3}
+
+ \tl_if_empty:xTF {#4}
+ { \clist_set:Nn \l__fontspec_sizefeat_clist {Size={-}} }
+ { \__fontspec_keys_set_known:nxN {fontspec-preparse-nested} {#4} \l__fontspec_tmp_tl }
+
+ \tl_if_empty:NF \l__fontspec_this_font_tl
+ {
+ \prop_put:Nxx \l__fontspec_nfssfont_prop {#1/#2}
+ { {#1}{#2}{\l__fontspec_this_font_tl}{#4}{\l__fontspec_sizefeat_clist} }
+ }
+ }
\cs_new:Nn \__fontspec_set_font_type:
{
\bool_set_true:N \l__fontspec_ot_bool
}
-\cs_generate_variant:Nn \tl_if_empty:nF {x}
\cs_new:Nn \__fontspec_set_autofont:Nnn
{
\bool_if:NF \l__fontspec_external_bool
@@ -1021,8 +1244,8 @@
\prg_new_conditional:Nnn \__fontspec_if_autofont:nn {T,TF}
{
- \__fontspec_font_set:Nnn \l_tmpa_font { \__fontspec_fullname:n {#1} } {\f at size pt}
- \__fontspec_font_set:Nnn \l_tmpb_font { \__fontspec_fullname:n {#1#2} } {\f at size pt}
+ \__fontspec_primitive_font_set:Nnn \l_tmpa_font { \__fontspec_construct_font_call:nn {#1} {} } {\f at size pt}
+ \__fontspec_primitive_font_set:Nnn \l_tmpb_font { \__fontspec_construct_font_call:nn {#1#2} {} } {\f at size pt}
\str_if_eq_x:nnTF { \fontname \l_tmpa_font } { \fontname \l_tmpb_font }
{ \prg_return_false: }
{ \prg_return_true: }
@@ -1030,7 +1253,7 @@
\cs_new:Nn \__fontspec_make_font_shapes:Nnnnn
{
\group_begin:
- \keys_set_known:nxN {fontspec-preparse-external} { #4 } \l__fontspec_leftover_clist
+ \__fontspec_keys_set_known:nxN {fontspec-preparse-external} { #4 } \l__fontspec_leftover_clist
\__fontspec_load_fontname:n {#1}
\__fontspec_declare_shape:nnxx {#2} {#3} { \l__fontspec_fontopts_clist, \l__fontspec_leftover_clist } {#5}
\group_end:
@@ -1041,8 +1264,8 @@
\__fontspec_load_external_fontoptions:Nn \l_fontspec_fontname_tl {#1}
\prop_get:NVNF \g__fontspec_fontopts_prop \l_fontspec_fontname_tl \l__fontspec_fontopts_clist
{ \clist_clear:N \l__fontspec_fontopts_clist }
- \__fontspec_font_set:Nnn \l_fontspec_font {\__fontspec_fullname:n {\l_fontspec_fontname_tl}} {\f at size pt}
- \__fontspec_font_if_null:NT \l_fontspec_font { \__fontspec_error:nx {font-not-found} {#1} }
+ \__fontspec_primitive_font_set:Nnn \l_fontspec_font { \__fontspec_construct_font_call:nn {\l_fontspec_fontname_tl} {} } {\f at size pt}
+ \__fontspec_primitive_font_if_null:NT \l_fontspec_font { \__fontspec_error:nx {font-not-found} {#1} }
}
\cs_new:Nn \__fontspec_declare_shape:nnnn
{
@@ -1050,18 +1273,26 @@
\tl_clear:N \l__fontspec_nfss_sc_tl
\tl_set_eq:NN \l__fontspec_saved_fontname_tl \l_fontspec_fontname_tl
- \exp_args:Nx \clist_map_inline:nn {#4}
- {
+ \exp_args:Nx \clist_map_inline:nn {#4} { \__fontspec_setup_single_size:nn {#3} {##1} }
+
+ \__fontspec_declare_shapes_normal:nn {#1} {#2}
+ \__fontspec_declare_shapes_smcaps:nn {#1} {#2}
+ \__fontspec_declare_shape_slanted:nn {#1} {#2}
+ \__fontspec_declare_shape_loginfo:nn {#1} {#2}
+ }
+\cs_generate_variant:Nn \__fontspec_declare_shape:nnnn {nnxx}
+\cs_new:Nn \__fontspec_setup_single_size:nn
+ {
\tl_clear:N \l__fontspec_size_tl
\tl_set_eq:NN \l__fontspec_sizedfont_tl \l__fontspec_saved_fontname_tl % in case not spec'ed
- \keys_set_known:nxN {fontspec-sizing} { \exp_after:wN \use:n ##1 }
+ \keys_set_known:nxN {fontspec-sizing} { \exp_after:wN \use:n #2 }
\l__fontspec_sizing_leftover_clist
\tl_if_empty:NT \l__fontspec_size_tl { \__fontspec_error:n {no-size-info} }
% "normal"
\__fontspec_load_fontname:n {\l__fontspec_sizedfont_tl}
- \__fontspec_setup_nfss:Nnn \l__fontspec_nfss_tl {#3} {}
+ \__fontspec_setup_nfss:Nnnn \l__fontspec_nfss_tl {#1} {\l__fontspec_sizing_leftover_clist} {}
% small caps
\clist_set_eq:NN \l__fontspec_fontfeat_curr_clist \l__fontspec_fontfeat_sc_clist
@@ -1068,7 +1299,7 @@
\bool_if:NF \l__fontspec_nosc_bool
{
- \tl_if_empty:NTF \l_fontspec_fontname_sc_tl
+ \tl_if_empty:NTF \l__fontspec_fontname_sc_tl
{
\__fontspec_make_smallcaps:TF
{
@@ -1078,53 +1309,41 @@
\bool_set_true:N \l__fontspec_nosc_bool
}
}
- { \__fontspec_load_fontname:n {\l_fontspec_fontname_sc_tl} }% local for each size
+ { \__fontspec_load_fontname:n {\l__fontspec_fontname_sc_tl} }% local for each size
}
\bool_if:NF \l__fontspec_nosc_bool
{
- \__fontspec_setup_nfss:Nnn \l__fontspec_nfss_sc_tl {#3} {\l__fontspec_fontfeat_curr_clist}
+ \__fontspec_setup_nfss:Nnnn \l__fontspec_nfss_sc_tl
+ {#1} {\l__fontspec_sizing_leftover_clist} {\l__fontspec_fontfeat_curr_clist}
}
+ }
+\cs_new:Nn \__fontspec_setup_nfss:Nnnn
+ {
- }
+ \__fontspec_get_features:Nn \l__fontspec_rawfeatures_sclist { #2 , #3 , #4 }
- \__fontspec_declare_shapes_normal:nn {#1} {#2}
- \__fontspec_declare_shapes_smcaps:nn {#1} {#2}
- \__fontspec_declare_shape_slanted:nn {#1} {#2}
- \__fontspec_declare_shape_loginfo:nn {#1} {#2}
- }
-\cs_generate_variant:Nn \__fontspec_declare_shape:nnnn {nnxx}
-
-\cs_new:Nn \__fontspec_setup_nfss:Nnn
- {
- \__fontspec_get_features:Nn \l__fontspec_rawfeatures_sclist
- { #2 , \l__fontspec_sizing_leftover_clist , #3 }
-
\tl_put_right:Nx #1
{
<\l__fontspec_size_tl> \l__fontspec_scale_tl
- \__fontspec_fontwrap:n
- {
- \__fontspec_fullname:n { \l_fontspec_fontname_tl }
- : \l__fontspec_pre_feat_sclist \l__fontspec_rawfeatures_sclist
- }
+ \__fontspec_construct_font_call:nn { \l_fontspec_fontname_tl }
+ { \l__fontspec_pre_feat_sclist \l__fontspec_rawfeatures_sclist }
}
}
-
\cs_new:Nn \__fontspec_declare_shapes_normal:nn
{
\__fontspec_DeclareFontShape:xxxxxx {\l__fontspec_nfss_enc_tl} {\l_fontspec_family_tl}
{#1} {#2} {\l__fontspec_nfss_tl}{\l__fontspec_postadjust_tl}
}
-
\cs_new:Nn \__fontspec_declare_shapes_smcaps:nn
{
- \bool_if:NF \l__fontspec_nosc_bool
+ \tl_if_empty:NF \l__fontspec_nfss_sc_tl
{
\__fontspec_DeclareFontShape:xxxxxx {\l__fontspec_nfss_enc_tl} {\l_fontspec_family_tl} {#1}
{ \__fontspec_combo_sc_shape:n {#2} } {\l__fontspec_nfss_sc_tl} {\l__fontspec_postadjust_tl}
}
}
+
\cs_new:Nn \__fontspec_combo_sc_shape:n
{
\tl_if_exist:cTF { \__fontspec_shape_merge:nn {#1} {\scdefault} }
@@ -1131,7 +1350,6 @@
{ \tl_use:c { \__fontspec_shape_merge:nn {#1} {\scdefault} } }
{ \scdefault }
}
-
\cs_new:Nn \__fontspec_DeclareFontShape:nnnnnn
{
\group_begin:
@@ -1157,6 +1375,7 @@
{
\tl_gput_right:Nx \l_fontspec_defined_shapes_tl
{
+ \exp_not:n { \\ }
-~ \exp_not:N \str_case:nn {#1/#2}
{
{\mddefault/\updefault} {'normal'~}
@@ -1186,7 +1405,6 @@
}
}
}
-\cs_generate_variant:Nn \tl_if_empty:nF {f}
\clist_set:Nn \l__fontspec_pre_feat_sclist
{
mode = \l_fontspec_mode_tl ;
@@ -1196,74 +1414,38 @@
language = \l_fontspec_lang_tl ;
}
}
-\cs_set:Nn \__fontspec_get_features:Nn
+\cs_set:Nn \__fontspec_make_smallcaps:TF
{
- \sclist_clear:N \l__fontspec_rawfeatures_sclist
- \tl_clear:N \l__fontspec_scale_tl
- \tl_set_eq:NN \l__fontspec_opacity_tl \g__fontspec_opacity_tl
- \tl_set_eq:NN \l__fontspec_hexcol_tl \g__fontspec_hexcol_tl
- \tl_set_eq:NN \l__fontspec_postadjust_tl \g__fontspec_postadjust_tl
- \tl_clear:N \l__fontspec_wordspace_adjust_tl
- \tl_clear:N \l__fontspec_punctspace_adjust_tl
-
- \keys_set_known:nxN {fontspec-renderer} {\l__fontspec_fontfeat_clist,#2}
- \l__fontspec_keys_leftover_clist
- \keys_set:nx {fontspec} {\l__fontspec_keys_leftover_clist}
- \str_if_eq_x:nnF { \l__fontspec_hexcol_tl \l__fontspec_opacity_tl }
- { \g__fontspec_hexcol_tl \g__fontspec_opacity_tl }
- {
- \__fontspec_update_featstr:n { color = \l__fontspec_hexcol_tl\l__fontspec_opacity_tl }
- }
-
- \tl_set_eq:NN #1 \l__fontspec_rawfeatures_sclist
+ \__fontspec_check_ot_feat:nTF {smcp} {#1} {#2}
}
-\tl_clear:N \l__fontspec_family_label_tl
-\tl_clear:N \l_fontspec_fontname_bf_tl
-\tl_clear:N \l_fontspec_fontname_it_tl
-\tl_clear:N \l_fontspec_fake_slant_tl
-\tl_clear:N \l_fontspec_fake_embolden_tl
-\tl_clear:N \l_fontspec_fontname_bfit_tl
-\tl_clear:N \l_fontspec_fontname_sl_tl
-\tl_clear:N \l_fontspec_fontname_bfsl_tl
-\tl_clear:N \l_fontspec_fontname_sc_tl
-\tl_clear:N \l__fontspec_fontfeat_up_clist
-\tl_clear:N \l__fontspec_fontfeat_bf_clist
-\tl_clear:N \l__fontspec_fontfeat_it_clist
-\tl_clear:N \l__fontspec_fontfeat_bfit_clist
-\tl_clear:N \l__fontspec_fontfeat_sl_clist
-\tl_clear:N \l__fontspec_fontfeat_bfsl_clist
-\tl_clear:N \l__fontspec_fontfeat_sc_clist
-\tl_clear:N \l__fontspec_script_name_tl
-\tl_clear:N \l_fontspec_script_tl
-\tl_clear:N \l__fontspec_lang_name_tl
-\tl_clear:N \l_fontspec_lang_tl
-\tl_set:Nn \g__fontspec_postadjust_tl { \l__fontspec_wordspace_adjust_tl \l__fontspec_punctspace_adjust_tl }
-
-\clist_set:Nn \l__fontspec_sizefeat_clist {Size={-}}
-\tl_new:N \g__fontspec_hexcol_tl
-\tl_new:N \g__fontspec_opacity_tl
-\tl_set:Nn \g__fontspec_hexcol_tl {000000}
-\tl_set:Nn \g__fontspec_opacity_tl {FF~}
+\cs_new:Nn \__fontspec_update_featstr:n
+ {
+ \bool_if:NF \l__fontspec_firsttime_bool
+ {
+ \tl_gset:Nx \g__fontspec_single_feat_tl { #1 }
+ \tl_gput_right:Nx \l__fontspec_rawfeatures_sclist {#1;}
+ }
+ }
+\cs_new:Nn \__fontspec_remove_clashing_featstr:n
+ {
+ \clist_map_inline:nn {#1}
+ {
+ \tl_gremove_all:Nn \l__fontspec_rawfeatures_sclist {##1;}
+ }
+ }
\cs_set:Npn \__fontspec_init:
{
\bool_set_false:N \l__fontspec_ot_bool
\bool_set_true:N \l__fontspec_firsttime_bool
- \cs_set:Npn \__fontspec_namewrap:n ##1 { ##1 }
+ \__fontspec_font_is_name:
+ \tl_clear:N \l__fontspec_font_path_tl
\tl_clear:N \l__fontspec_optical_size_tl
+ \tl_clear:N \l__fontspec_ttc_index_tl
\tl_clear:N \l_fontspec_renderer_tl
\tl_clear:N \l_fontspec_defined_shapes_tl
\tl_clear:N \g__fontspec_curr_series_tl
\tl_gset_eq:NN \l__fontspec_nfss_enc_tl \g_fontspec_encoding_tl
- % This is for detecting font families when assigning default features.
- % Replace defaults for the standard families because they're not set in the usual way:
- \exp_args:NV \str_case:nnF {\l__fontspec_family_label_tl}
- {
- {\rmdefault} { \tl_set:Nn \l__fontspec_family_label_tl {\g__fontspec_rmfamily_family} }
- {\sfdefault} { \tl_set:Nn \l__fontspec_family_label_tl {\g__fontspec_sffamily_family} }
- {\ttdefault} { \tl_set:Nn \l__fontspec_family_label_tl {\g__fontspec_ttfamily_family} }
- }{}
-
\tl_set:Nn \l_fontspec_mode_tl {node}
\int_set:Nn \luatex_prehyphenchar:D { `\- } % fixme
\int_zero:N \luatex_posthyphenchar:D % fixme
@@ -1270,139 +1452,107 @@
\int_zero:N \luatex_preexhyphenchar:D % fixme
\int_zero:N \luatex_postexhyphenchar:D % fixme
}
-\cs_set:Nn \fontspec_make_ot_smallcaps:TF
+\cs_new:Nn \__fontspec_init_fontface:
+ {
+ \tl_clear:N \l__fontspec_rawfeatures_sclist
+ \tl_clear:N \l__fontspec_scale_tl
+ \tl_set_eq:NN \l__fontspec_opacity_tl \g__fontspec_opacity_tl
+ \tl_set_eq:NN \l__fontspec_hexcol_tl \g__fontspec_hexcol_tl
+ \tl_set_eq:NN \l__fontspec_postadjust_tl \g__fontspec_postadjust_tl
+ \tl_clear:N \l__fontspec_wordspace_adjust_tl
+ \tl_clear:N \l__fontspec_punctspace_adjust_tl
+ }
+\cs_set:Nn \__fontspec_iv_str_to_num:Nn
{
- \fontspec_check_ot_feat:nTF {+smcp} {#1} {#2}
+ \__fontspec_iv_str_to_num:w #1 \q_nil #2 \c_empty_tl \c_empty_tl \q_nil
}
-\cs_set_eq:NN \__fontspec_make_smallcaps:TF \fontspec_make_ot_smallcaps:TF
-\cs_set_eq:NN \sclist_clear:N \tl_clear:N
-\cs_new:Nn \sclist_gput_right:Nn
- { \tl_gput_right:Nn #1 {#2;} }
-\cs_generate_variant:Nn \sclist_gput_right:Nn {Nx}
-\cs_new:Nn \__fontspec_update_featstr:n
+\cs_set:Npn \__fontspec_iv_str_to_num:w #1 \q_nil #2#3#4#5#6 \q_nil
{
- \bool_if:NF \l__fontspec_firsttime_bool
+ \int_set:Nn #1
{
- \sclist_gput_right:Nx \l__fontspec_rawfeatures_sclist {#1}
+ `#2 * "1000000
+ + `#3 * "10000
+ + \ifx \c_empty_tl #4 32 \else `#4 \fi * "100
+ + \ifx \c_empty_tl #5 32 \else `#5 \fi
}
}
-\cs_new:Nn \fontspec_make_feature:nnn
- { \fontspec_make_OT_feature:n {#3} }
-\cs_generate_variant:Nn \fontspec_make_feature:nnn {nnx}
-\cs_new:Nn \fontspec_make_AAT_feature:nn
- {
- \tl_if_empty:nTF {#1}
- { \__fontspec_warning:n {aat-feature-not-exist} }
- {
- \fontspec_make_AAT_feature_string:nnTF {#1}{#2}
- {
- \__fontspec_update_featstr:n {\l_fontspec_feature_string_tl}
+\cs_generate_variant:Nn \__fontspec_iv_str_to_num:Nn {No}
+\cs_new:Nn \__fontspec_define_opentype_feature_group:n
+ {
+ \keys_define:nn {fontspec-opentype} { #1 .multichoice: }
+ }
+\cs_new:Nn \__fontspec_feat_prop_add:nn
+ {
+ \tl_if_empty:nF {#1}
+ {
+ \prop_if_in:NnF \g__fontspec_OT_features_prop {#1}
+ {
+ \prop_gput:Nnn \g__fontspec_OT_features_prop {#1} {#2}
+ }
}
- { \__fontspec_warning:nx {aat-feature-not-exist-in-font} {#1,#2} }
- }
- }
-\cs_new:Nn \fontspec_make_OT_feature:n
+ }
+\cs_new:Nn \__fontspec_define_opentype_feature:nnnnn
{
- \tl_if_empty:nTF {#1}
- { \__fontspec_warning:n {icu-feature-not-exist} }
+ \__fontspec_feat_prop_add:nn {#3} {#1\,=\,#2}
+ \keys_define:nn {fontspec-opentype}
{
- \fontspec_check_ot_feat:nTF {#1}
- {
- \__fontspec_update_featstr:n {#1}
- }
- { \__fontspec_warning:nx {icu-feature-not-exist-in-font} {#1} }
+ #1/#2 .code:n = { \__fontspec_make_OT_feature:nnn {#3} {#4} {#5} }
}
}
-\cs_new_protected:Nn \fontspec_make_numbered_feature:nn
+\cs_new:Nn \__fontspec_feat_off:n {#1Off}
+\cs_new:Nn \__fontspec_feat_reset:n {#1Reset}
+\cs_new:Nn \__fontspec_define_opentype_onoffreset:nnnnn
{
- \fontspec_check_ot_feat:nTF {#1}
- {
- \__fontspec_update_featstr:n { #1 = #2 }
- }
- { \__fontspec_warning:nx {icu-feature-not-exist-in-font} {#1} }
+ \exp_args:Nnx \__fontspec_define_opentype_feature:nnnnn {#1} {#2} {#3} {+#4} {#5}
+ \exp_args:Nnx \__fontspec_define_opentype_feature:nnnnn {#1} { \__fontspec_feat_off:n {#2} } {#3} {-#4} {}
+ \exp_args:Nnx \__fontspec_define_opentype_feature:nnnnn {#1} { \__fontspec_feat_reset:n {#2} } {} {} {+#4,-#4}
}
-\cs_generate_variant:Nn \fontspec_make_numbered_feature:nn {xn}
-\cs_new:Nn \__fontspec_define_font_feature:n
+\cs_new:Nn \__fontspec_define_opentype_onreset:nnnnn
{
- \keys_define:nn {fontspec} { #1 .multichoice: }
+ \exp_args:Nnx \__fontspec_define_opentype_feature:nnnnn {#1} {#2} {#3} {#4} {#5}
+ \exp_args:Nnx \__fontspec_define_opentype_feature:nnnnn {#1} { \__fontspec_feat_reset:n {#2} } {} {} {#4}
}
-\cs_new:Nn \__fontspec_define_feature_option:nnnnn
+\cs_new:Nn \__fontspec_make_OT_feature:nnn
+ {
+
+ \bool_set_true:N \l__fontspec_proceed_bool
+ \bool_set_true:N \l__fontspec_check_feat_bool
+
+ \tl_if_empty:nT {#1} { \bool_set_false:N \l__fontspec_check_feat_bool }
+ \bool_if:NT \l__fontspec_check_feat_bool
+ {
+ \__fontspec_check_ot_feat:nF {#1}
+ {
+ \__fontspec_warning:nx {icu-feature-not-exist-in-font} {#1}
+ \bool_set_false:N \l__fontspec_proceed_bool
+ }
+ }
+
+ \bool_if:NT \l__fontspec_proceed_bool
+ {
+ \exp_args:Nx \__fontspec_remove_clashing_featstr:n
+ { #2 , \__fontspec_swap_plus_minus:n {#2} , #3 }
+
+ \__fontspec_update_featstr:n {#2}
+ }
+ }
+\cs_generate_variant:Nn \__fontspec_make_OT_feature:nnn {xxx}
+\cs_new:Nn \__fontspec_swap_plus_minus:n { \__fontspec_swap_plus_minus_aux:NNNNN #1 }
+\cs_new:Nn \__fontspec_swap_plus_minus_aux:NNNNN
+ { \str_case:nn {#1} { {+} {-#2#3#4#5} {-} {+#2#3#4#5} } }
+\prg_new_conditional:Nnn \__fontspec_check_script:n {TF}
+ {
+ \bool_if:NTF \l__fontspec_never_check_bool
+ { \prg_return_true: }
{
- \keys_define:nn {fontspec}
- {
- #1/#2 .code:n = { \fontspec_make_feature:nnn{#3}{#4}{#5} }
- }
- }
-\cs_new:Nn \fontspec_define_numbered_feat:nnnn
- {
- \keys_define:nn {fontspec}
- {
- #1/#2 .code:n =
- { \fontspec_make_numbered_feature:nn {#3}{#4} }
- }
- }
-\prg_new_conditional:Nnn \fontspec_make_AAT_feature_string:nn {TF,T,F}
- {
- \tl_set:Nx \l_tmpa_tl { \XeTeXfeaturename \l_fontspec_font #1 }
- \tl_if_empty:NTF \l_tmpa_tl
- { \prg_return_false: }
- {
- \int_compare:nTF { \XeTeXisexclusivefeature\l_fontspec_font #1 > 0 }
- {
- \tl_set:Nx \l_tmpb_tl {\XeTeXselectorname\l_fontspec_font #1\space #2}
- }
- {
- \int_if_even:nTF {#2}
- {
- \tl_set:Nx \l_tmpb_tl {\XeTeXselectorname\l_fontspec_font #1\space #2}
- }
- {
- \tl_set:Nx \l_tmpb_tl
- {
- \XeTeXselectorname\l_fontspec_font #1\space \numexpr#2-1\relax
- }
- \tl_if_empty:NF \l_tmpb_tl { \tl_put_left:Nn \l_tmpb_tl {!} }
- }
- }
- \tl_if_empty:NTF \l_tmpb_tl
- { \prg_return_false: }
- {
- \tl_set:Nx \l_fontspec_feature_string_tl { \l_tmpa_tl = \l_tmpb_tl }
- \prg_return_true:
- }
- }
- }
-\cs_set:Nn \fontspec_iv_str_to_num:Nn
- {
- \fontspec_iv_str_to_num:w #1 \q_nil #2 \c_empty_tl \c_empty_tl \q_nil
- }
-\cs_set:Npn \fontspec_iv_str_to_num:w #1 \q_nil #2#3#4#5#6 \q_nil
- {
- \int_set:Nn #1
- {
- `#2 * "1000000
- + `#3 * "10000
- + \ifx \c_empty_tl #4 32 \else `#4 \fi * "100
- + \ifx \c_empty_tl #5 32 \else `#5 \fi
- }
- }
-\cs_generate_variant:Nn \fontspec_iv_str_to_num:Nn {No}
-\cs_set:Nn \fontspec_v_str_to_num:Nn
- {
- \bool_if:nTF
- {
- \tl_if_head_eq_charcode_p:nN {#2} {+} ||
- \tl_if_head_eq_charcode_p:nN {#2} {-}
- }
- { \fontspec_iv_str_to_num:No #1 { \use_none:n #2 } }
- { \fontspec_iv_str_to_num:Nn #1 {#2} }
- }
-\prg_new_conditional:Nnn \fontspec_check_script:n {TF}
- {
\directlua{fontspec.check_ot_script("l_fontspec_font", "#1")}
\bool_if:NTF \l__fontspec_check_bool \prg_return_true: \prg_return_false:
}
-\prg_new_conditional:Nnn \fontspec_check_lang:n {TF}
+ }
+\prg_new_conditional:Nnn \__fontspec_check_lang:n {TF}
+ {
+ \bool_if:NTF \l__fontspec_never_check_bool
+ { \prg_return_true: }
{
\directlua
{
@@ -1410,7 +1560,11 @@
}
\bool_if:NTF \l__fontspec_check_bool \prg_return_true: \prg_return_false:
}
-\prg_new_conditional:Nnn \fontspec_check_ot_feat:n {TF,T}
+ }
+\prg_new_conditional:Nnn \__fontspec_check_ot_feat:n {TF,F}
+ {
+ \bool_if:NTF \l__fontspec_never_check_bool
+ { \prg_return_true: }
{
\directlua
{
@@ -1421,34 +1575,166 @@
}
\bool_if:NTF \l__fontspec_check_bool \prg_return_true: \prg_return_false:
}
+ }
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {aalt}{Access~All~Alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {abvf}{Above-base~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {abvm}{Above-base~Mark~Positioning}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {abvs}{Above-base~Substitutions}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {afrc}{Alternative~Fractions}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {akhn}{Akhands}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {blwf}{Below-base~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {blwm}{Below-base~Mark~Positioning}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {blws}{Below-base~Substitutions}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {calt}{Contextual~Alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {case}{Case-Sensitive~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {ccmp}{Glyph~Composition~/~Decomposition}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {cfar}{Conjunct~Form~After~Ro}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {cjct}{Conjunct~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {clig}{Contextual~Ligatures}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {cpct}{Centered~CJK~Punctuation}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {cpsp}{Capital~Spacing}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {cswh}{Contextual~Swash}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {curs}{Cursive~Positioning}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {cvNN}{Character~Variant~$N$}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {c2pc}{Petite~Capitals~From~Capitals}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {c2sc}{Small~Capitals~From~Capitals}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {dist}{Distances}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {dlig}{Discretionary~Ligatures}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {dnom}{Denominators}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {dtls}{Dotless~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {expt}{Expert~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {falt}{Final~Glyph~on~Line~Alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {fin2}{Terminal~Forms~\#2}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {fin3}{Terminal~Forms~\#3}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {fina}{Terminal~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {flac}{Flattened~accent~forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {frac}{Fractions}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {fwid}{Full~Widths}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {half}{Half~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {haln}{Halant~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {halt}{Alternate~Half~Widths}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {hist}{Historical~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {hkna}{Horizontal~Kana~Alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {hlig}{Historical~Ligatures}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {hngl}{Hangul}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {hojo}{Hojo~Kanji~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {hwid}{Half~Widths}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {init}{Initial~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {isol}{Isolated~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {ital}{Italics}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {jalt}{Justification~Alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {jp78}{JIS78~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {jp83}{JIS83~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {jp90}{JIS90~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {jp04}{JIS2004~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {kern}{Kerning}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {lfbd}{Left~Bounds}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {liga}{Standard~Ligatures}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {ljmo}{Leading~Jamo~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {lnum}{Lining~Figures}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {locl}{Localized~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {ltra}{Left-to-right~alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {ltrm}{Left-to-right~mirrored~forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {mark}{Mark~Positioning}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {med2}{Medial~Forms~\#2}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {medi}{Medial~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {mgrk}{Mathematical~Greek}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {mkmk}{Mark~to~Mark~Positioning}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {mset}{Mark~Positioning~via~Substitution}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {nalt}{Alternate~Annotation~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {nlck}{NLC~Kanji~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {nukt}{Nukta~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {numr}{Numerators}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {onum}{Oldstyle~Figures}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {opbd}{Optical~Bounds}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {ordn}{Ordinals}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {ornm}{Ornaments}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {palt}{Proportional~Alternate~Widths}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {pcap}{Petite~Capitals}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {pkna}{Proportional~Kana}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {pnum}{Proportional~Figures}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {pref}{Pre-Base~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {pres}{Pre-base~Substitutions}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {pstf}{Post-base~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {psts}{Post-base~Substitutions}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {pwid}{Proportional~Widths}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {qwid}{Quarter~Widths}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {rand}{Randomize}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {rclt}{Required~Contextual~Alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {rkrf}{Rakar~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {rlig}{Required~Ligatures}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {rphf}{Reph~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {rtbd}{Right~Bounds}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {rtla}{Right-to-left~alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {rtlm}{Right-to-left~mirrored~forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {ruby}{Ruby~Notation~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {rvrn}{Required~Variation~Alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {salt}{Stylistic~Alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {sinf}{Scientific~Inferiors}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {size}{Optical~size}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {smcp}{Small~Capitals}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {smpl}{Simplified~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {ssNN}{Stylistic~Set~$N$}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {ssty}{Math~script~style~alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {stch}{Stretching~Glyph~Decomposition}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {subs}{Subscript}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {sups}{Superscript}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {swsh}{Swash}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {titl}{Titling}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {tjmo}{Trailing~Jamo~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {tnam}{Traditional~Name~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {tnum}{Tabular~Figures}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {trad}{Traditional~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {twid}{Third~Widths}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {unic}{Unicase}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {valt}{Alternate~Vertical~Metrics}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {vatu}{Vattu~Variants}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {vert}{Vertical~Writing}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {vhal}{Alternate~Vertical~Half~Metrics}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {vjmo}{Vowel~Jamo~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {vkna}{Vertical~Kana~Alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {vkrn}{Vertical~Kerning}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {vpal}{Proportional~Alternate~Vertical~Metrics}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {vrt2}{Vertical~Alternates~and~Rotation}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {vrtr}{Vertical~Alternates~for~Rotation}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {zero}{Slashed~Zero}
+
+\clist_set:Nn \g__fontspec_all_keyval_modules_clist
+ {
+ fontspec, fontspec-opentype, fontspec-aat,
+ fontspec-preparse, fontspec-preparse-external, fontspec-preparse-nested,
+ fontspec-renderer
+ }
\cs_new:Nn \__fontspec_keys_define_code:nnn
- {
- \keys_define:nn {#1} { #2 .code:n = {#3} }
- }
+ {
+ \keys_define:nn {#1} { #2 .code:n = {#3} }
+ }
\cs_new:Nn \__fontspec_aff_error:n
{
\__fontspec_keys_define_code:nnn {fontspec-addfeatures} {#1}
{ \__fontspec_error:nx {not-in-addfontfeatures} {#1} }
}
-\bool_new:N \l__fontspec_external_bool
-\__fontspec_keys_define_code:nnn {fontspec-preparse-external} {ExternalLocation}
+\__fontspec_keys_define_code:nnn {fontspec-preparse-external} {Path}
{
\bool_set_true:N \l__fontspec_nobf_bool
\bool_set_true:N \l__fontspec_noit_bool
\bool_set_true:N \l__fontspec_external_bool
- \cs_set:Npn \__fontspec_namewrap:n ##1 { [ #1 ##1 ] }
+ \tl_set:Nn \l__fontspec_font_path_tl {#1}
+ \__fontspec_font_is_file:
}
-\aliasfontfeature{ExternalLocation}{Path}
+\aliasfontfeature{Path}{ExternalLocation}
+\__fontspec_keys_define_code:nnn {fontspec} {Path} {}
\__fontspec_keys_define_code:nnn {fontspec-preparse-external} {Extension}
{
\tl_set:Nn \l__fontspec_extension_tl {#1}
\bool_if:NF \l__fontspec_external_bool
{
- \keys_set:nn {fontspec-preparse-external} {ExternalLocation}
+ \keys_set:nn {fontspec-preparse-external} {Path}
}
}
\tl_clear:N \l__fontspec_extension_tl
+\__fontspec_keys_define_code:nnn {fontspec} {Extension} {}
\keys_define:nn {fontspec-renderer}
{
Renderer .choices:nn =
@@ -1460,6 +1746,7 @@
{
\tl_set:Nv \l_fontspec_mode_tl
{ g_fontspec_mode_tag_ \l_keys_choice_tl }
+ \tl_gset:Nx \g__fontspec_single_feat_tl { mode=\l_fontspec_mode_tl }
}
}
}
@@ -1477,7 +1764,16 @@
{
\tl_set:Nn \l__fontspec_lang_name_tl {#1}
}
-\seq_new:N \g__fontspec_bf_series_seq
+\__fontspec_keys_define_code:nnn {fontspec-preparse} {FontIndex}
+ {
+ \str_if_eq_x:nnF { \str_lower_case:f {\l__fontspec_extension_tl} } {.ttc}
+ { \__fontspec_warning:n {font-index-needs-ttc} }
+ \tl_set:Nn \l__fontspec_ttc_index_tl {(#1)}
+ }
+\__fontspec_keys_define_code:nnn {fontspec} {FontIndex}
+ {
+ \tl_set:Nn \l__fontspec_ttc_index_tl {(#1)}
+ }
\__fontspec_keys_define_code:nnn {fontspec-preparse-external} {BoldSeries}
{
\tl_gset:Nx \g__fontspec_curr_series_tl { #1 }
@@ -1485,14 +1781,12 @@
}
\__fontspec_keys_define_code:nnn {fontspec-preparse-external} {UprightFont}
{
- \fontspec_complete_fontname:Nn \l_fontspec_fontname_up_tl {#1}
+ \fontspec_complete_fontname:Nn \l__fontspec_fontname_up_tl {#1}
}
\__fontspec_keys_define_code:nnn {fontspec-preparse-external} {FontName}
{
- \fontspec_complete_fontname:Nn \l_fontspec_fontname_up_tl {#1}
+ \fontspec_complete_fontname:Nn \l__fontspec_fontname_up_tl {#1}
}
-\cs_generate_variant:Nn \tl_if_eq:nnT {ox}
-\cs_generate_variant:Nn \prop_put:Nnn {NxV}
\__fontspec_keys_define_code:nnn {fontspec-preparse-external} {BoldFont}
{
\tl_if_empty:nTF {#1}
@@ -1509,7 +1803,7 @@
\seq_put_right:Nx \g__fontspec_bf_series_seq {\bfdefault}
}
\tl_if_eq:oxT \g__fontspec_curr_series_tl {\bfdefault}
- { \tl_set_eq:NN \l_fontspec_fontname_bf_tl \l__fontspec_curr_bfname_tl }
+ { \tl_set_eq:NN \l__fontspec_fontname_bf_tl \l__fontspec_curr_bfname_tl }
\prop_put:NxV \l__fontspec_nfss_prop
@@ -1517,7 +1811,6 @@
}
}
-\prop_new:N \l__fontspec_nfss_prop
\__fontspec_keys_define_code:nnn {fontspec-preparse-external} {ItalicFont}
{
\tl_if_empty:nTF {#1}
@@ -1526,20 +1819,20 @@
}
{
\bool_set_false:N \l__fontspec_noit_bool
- \fontspec_complete_fontname:Nn \l_fontspec_fontname_it_tl {#1}
+ \fontspec_complete_fontname:Nn \l__fontspec_fontname_it_tl {#1}
}
}
\__fontspec_keys_define_code:nnn {fontspec-preparse-external} {BoldItalicFont}
{
- \fontspec_complete_fontname:Nn \l_fontspec_fontname_bfit_tl {#1}
+ \fontspec_complete_fontname:Nn \l__fontspec_fontname_bfit_tl {#1}
}
\__fontspec_keys_define_code:nnn {fontspec-preparse-external} {SlantedFont}
{
- \fontspec_complete_fontname:Nn \l_fontspec_fontname_sl_tl {#1}
+ \fontspec_complete_fontname:Nn \l__fontspec_fontname_sl_tl {#1}
}
\__fontspec_keys_define_code:nnn {fontspec-preparse-external} {BoldSlantedFont}
{
- \fontspec_complete_fontname:Nn \l_fontspec_fontname_bfsl_tl {#1}
+ \fontspec_complete_fontname:Nn \l__fontspec_fontname_bfsl_tl {#1}
}
\__fontspec_keys_define_code:nnn {fontspec} {SmallCapsFont}
{
@@ -1549,16 +1842,9 @@
}
{
\bool_set_false:N \l__fontspec_nosc_bool
- \fontspec_complete_fontname:Nn \l_fontspec_fontname_sc_tl {#1}
+ \fontspec_complete_fontname:Nn \l__fontspec_fontname_sc_tl {#1}
}
}
-\cs_set:Nn \fontspec_complete_fontname:Nn
- {
- \tl_set:Nx #1 {#2}
- \tl_replace_all:Nnx #1 {*} {\l__fontspec_basename_tl}
- \tl_remove_all:Nn #1 {~}
- }
-\cs_generate_variant:Nn \tl_replace_all:Nnn {Nnx}
\__fontspec_keys_define_code:nnn {fontspec-preparse} {UprightFeatures}
{
\clist_set:Nn \l__fontspec_fontfeat_up_clist {#1}
@@ -1633,7 +1919,6 @@
\tl_if_exist:NT \l_fontspec_family_tl
{ \cs_undefine:c {g__fontspec_ \l_fontspec_family_tl _prop} }
}
-\prop_new:N \l__fontspec_nfssfont_prop
\__fontspec_keys_define_code:nnn {fontspec} {FontFace}
{
\tl_set:No \l__fontspec_arg_tl { \use_iii:nnn #1 }
@@ -1651,20 +1936,6 @@
\__fontspec_add_nfssfont:nnnn
{\use_i:nnn #1}{\use_ii:nnn #1}{\l__fontspec_this_font_tl}{\l__fontspec_this_feat_tl}
}
-\cs_new:Nn \__fontspec_add_nfssfont:nnnn
- {
- \tl_set:Nx \l__fontspec_this_font_tl {#3}
-
- \tl_if_empty:xTF {#4}
- { \clist_set:Nn \l__fontspec_sizefeat_clist {Size={-}} }
- { \keys_set_known:noN {fontspec-preparse-nested} {#4} \l__fontspec_tmp_tl }
-
- \tl_if_empty:NF \l__fontspec_this_font_tl
- {
- \prop_put:Nxx \l__fontspec_nfssfont_prop {#1/#2}
- { {#1}{#2}{\l__fontspec_this_font_tl}{#4}{\l__fontspec_sizefeat_clist} }
- }
- }
\__fontspec_keys_define_code:nnn {fontspec} {Scale}
{
\str_case:nnF {#1}
@@ -1697,7 +1968,7 @@
\settoheight #1
{
\str_if_eq:nnTF {#3} {\font} \rmfamily #3
- \int_case:nnn #2
+ \int_case:nnF #2
{
{5} {x} % x-height
{8} {X} % cap-height
@@ -1774,7 +2045,7 @@
\tl_if_single:nTF {#1}
{ \tl_set:Nn \l_fontspec_hyphenchar_tl {`#1} }
{ \tl_set:Nn \l_fontspec_hyphenchar_tl { #1} }
- \font_glyph_if_exist:NnTF \l_fontspec_font {\l_fontspec_hyphenchar_tl}
+ \__fontspec_primitive_font_glyph_if_exist:NnTF \l_fontspec_font {\l_fontspec_hyphenchar_tl}
{
\tl_put_right:Nn \l__fontspec_postadjust_tl
{
@@ -1816,7 +2087,6 @@
\tl_set:Nn \l__fontspec_opacity_tl {#7#8}
}
\aliasfontfeature{Color}{Colour}
-\int_new:N \l__fontspec_tmp_int
\__fontspec_keys_define_code:nnn {fontspec} {Opacity}
{
\int_set:Nn \l__fontspec_tmp_int {255}
@@ -1838,14 +2108,10 @@
{
\__fontspec_warning:n {no-mapping-ligtex}
\msg_redirect_name:nnn {fontspec} {no-mapping-ligtex} {none}
- \keys_set:nn {fontspec} { Ligatures=TeX }
+ \keys_set:nn {fontspec-opentype} { Ligatures=TeX }
}
{ \__fontspec_warning:n {no-mapping} }
}
-\__fontspec_keys_define_code:nnn {fontspec} {FeatureFile}
- {
- \__fontspec_update_featstr:n { featurefile = #1 }
- }
\__fontspec_keys_define_code:nnn {fontspec} {Weight}
{
\__fontspec_update_featstr:n{weight=#1}
@@ -1884,17 +2150,17 @@
{
\bool_if:NT \l__fontspec_firsttime_bool
{
- \tl_set:Nn \l_fontspec_fake_slant_tl {#1}
+ \tl_set:Nn \l__fontspec_fake_slant_tl {#1}
\clist_put_right:Nn \l__fontspec_fontfeat_it_clist {FakeSlant=#1}
- \tl_set_eq:NN \l_fontspec_fontname_it_tl \l_fontspec_fontname_tl
+ \tl_set_eq:NN \l__fontspec_fontname_it_tl \l_fontspec_fontname_tl
\bool_set_false:N \l__fontspec_noit_bool
- \tl_if_empty:NF \l_fontspec_fake_embolden_tl
+ \tl_if_empty:NF \l__fontspec_fake_embolden_tl
{
\clist_put_right:Nx \l__fontspec_fontfeat_bfit_clist
- {FakeBold=\l_fontspec_fake_embolden_tl}
+ {FakeBold=\l__fontspec_fake_embolden_tl}
\clist_put_right:Nx \l__fontspec_fontfeat_bfit_clist {FakeSlant=#1}
- \tl_set_eq:NN \l_fontspec_fontname_bfit_tl \l_fontspec_fontname_tl
+ \tl_set_eq:NN \l__fontspec_fontname_bfit_tl \l_fontspec_fontname_tl
}
}
},
@@ -1906,154 +2172,250 @@
{
\bool_if:NT \l__fontspec_firsttime_bool
{
- \tl_set:Nn \l_fontspec_fake_embolden_tl {#1}
+ \tl_set:Nn \l__fontspec_fake_embolden_tl {#1}
\clist_put_right:Nn \l__fontspec_fontfeat_bf_clist {FakeBold=#1}
- \tl_set_eq:NN \l_fontspec_fontname_bf_tl \l_fontspec_fontname_tl
+ \tl_set_eq:NN \l__fontspec_fontname_bf_tl \l_fontspec_fontname_tl
\bool_set_false:N \l__fontspec_nobf_bool
- \tl_if_empty:NF \l_fontspec_fake_slant_tl
+ \tl_if_empty:NF \l__fontspec_fake_slant_tl
{
\clist_put_right:Nx \l__fontspec_fontfeat_bfit_clist
- {FakeSlant=\l_fontspec_fake_slant_tl}
+ {FakeSlant=\l__fontspec_fake_slant_tl}
\clist_put_right:Nx \l__fontspec_fontfeat_bfit_clist {FakeBold=#1}
- \tl_set_eq:NN \l_fontspec_fontname_bfit_tl \l_fontspec_fontname_tl
+ \tl_set_eq:NN \l__fontspec_fontname_bfit_tl \l_fontspec_fontname_tl
}
}
},
AutoFakeBold .default:n = {1.5}
}
-\__fontspec_define_font_feature:n{Ligatures}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{Required} {1}{0}{+rlig}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoRequired} {1}{1}{-rlig}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{Common} {1}{2}{+liga}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoCommon} {1}{3}{-liga}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{Rare} {1}{4}{+dlig}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoRare} {1}{5}{-dlig}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{Discretionary} {1}{4}{+dlig}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoDiscretionary}{1}{5}{-dlig}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{Contextual} {}{} {+clig}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoContextual} {}{} {-clig}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{Historic} {}{} {+hlig}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoHistoric} {}{} {-hlig}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{Logos} {1}{6} {}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoLogos} {1}{7} {}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{Rebus} {1}{8} {}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoRebus} {1}{9} {}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{Diphthong} {1}{10}{}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoDiphthong} {1}{11}{}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{Squared} {1}{12}{}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoSquared} {1}{13}{}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{AbbrevSquared} {1}{14}{}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoAbbrevSquared}{1}{15}{}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{Icelandic} {1}{32}{}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoIcelandic} {1}{33}{}
-\keys_define:nn {fontspec}
+\__fontspec_keys_define_code:nnn {fontspec} {RawFeature}
{
- Ligatures / TeX .code:n =
- {
- \__fontspec_update_featstr:n { +tlig }
- }
+ \__fontspec_update_featstr:n {#1}
}
-\__fontspec_define_font_feature:n{Letters}
-\__fontspec_define_feature_option:nnnnn{Letters}{Normal} {3}{0}{}
-\__fontspec_define_feature_option:nnnnn{Letters}{Uppercase} {3}{1}{+case}
-\__fontspec_define_feature_option:nnnnn{Letters}{Lowercase} {3}{2}{}
-\__fontspec_define_feature_option:nnnnn{Letters}{SmallCaps} {3}{3}{+smcp}
-\__fontspec_define_feature_option:nnnnn{Letters}{PetiteCaps} {} {} {+pcap}
-\__fontspec_define_feature_option:nnnnn{Letters}{UppercaseSmallCaps} {} {} {+c2sc}
-\__fontspec_define_feature_option:nnnnn{Letters}{UppercasePetiteCaps}{} {} {+c2pc}
-\__fontspec_define_feature_option:nnnnn{Letters}{InitialCaps} {3}{4}{}
-\__fontspec_define_feature_option:nnnnn{Letters}{Unicase} {} {} {+unic}
-\__fontspec_define_feature_option:nnnnn{Letters}{Random} {} {} {+rand}
-\__fontspec_define_font_feature:n{Numbers}
-\__fontspec_define_feature_option:nnnnn{Numbers}{Monospaced} {6} {0}{+tnum}
-\__fontspec_define_feature_option:nnnnn{Numbers}{Proportional} {6} {1}{+pnum}
-\__fontspec_define_feature_option:nnnnn{Numbers}{Lowercase} {21}{0}{+onum}
-\__fontspec_define_feature_option:nnnnn{Numbers}{OldStyle} {21}{0}{+onum}
-\__fontspec_define_feature_option:nnnnn{Numbers}{Uppercase} {21}{1}{+lnum}
-\__fontspec_define_feature_option:nnnnn{Numbers}{Lining} {21}{1}{+lnum}
-\__fontspec_define_feature_option:nnnnn{Numbers}{SlashedZero} {14}{5}{+zero}
-\__fontspec_define_feature_option:nnnnn{Numbers}{NoSlashedZero}{14}{4}{-zero}
-\luatex_if_engine:T
+
+\__fontspec_feat_prop_add:nn {salt} { Alternate\,=\,$N$ }
+\__fontspec_feat_prop_add:nn {nalt} { Annotation\,=\,$N$ }
+\__fontspec_feat_prop_add:nn {ornm} { Ornament\,=\,$N$ }
+\__fontspec_feat_prop_add:nn {cvNN} { CharacterVariant\,=\,$N$:$M$ }
+\__fontspec_feat_prop_add:nn {ssNN} { StylisticSet\,=\,$N$ }
+\__fontspec_define_opentype_feature_group:n {Ligatures}
+\__fontspec_define_opentype_feature:nnnnn {Ligatures} {ResetAll} {} {}
+ {
+ +dlig,-dlig,+rlig,-rlig,+liga,-liga,+dlig,-dlig,+clig,-clig,+hlig,-hlig,
+ +tlig,-tlig
+ }
+\__fontspec_define_opentype_onoffreset:nnnnn {Ligatures} {Required} {rlig} {rlig} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Ligatures} {Common} {liga} {liga} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Ligatures} {Rare} {dlig} {dlig} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Ligatures} {Discretionary} {dlig} {dlig} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Ligatures} {Contextual} {clig} {clig} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Ligatures} {Historic} {hlig} {hlig} {}
+\__fontspec_define_opentype_onreset:nnnnn {Ligatures} {TeX} {} { +tlig } {}
+\__fontspec_define_opentype_feature_group:n {Letters}
+\__fontspec_define_opentype_feature:nnnnn {Letters} {ResetAll} {} {}
+ {
+ +case,+smcp,+pcap,+c2sc,+c2pc,+unic,+rand,
+ -case,-smcp,-pcap,-c2sc,-c2pc,-unic,-rand
+ }
+\__fontspec_define_opentype_onoffreset:nnnnn {Letters} {Uppercase} {case} {case} {+smcp,+pcap,+c2sc,+c2pc,+unic,+rand}
+\__fontspec_define_opentype_onoffreset:nnnnn {Letters} {SmallCaps} {smcp} {smcp} {+pcap,+unic,+rand}
+\__fontspec_define_opentype_onoffreset:nnnnn {Letters} {PetiteCaps} {pcap} {pcap} {+smcp,+unic,+rand}
+\__fontspec_define_opentype_onoffreset:nnnnn {Letters} {UppercaseSmallCaps} {c2sc} {c2sc} {+c2pc,+unic,+rand}
+\__fontspec_define_opentype_onoffreset:nnnnn {Letters} {UppercasePetiteCaps} {c2pc} {c2pc} {+c2sc,+unic,+rand}
+\__fontspec_define_opentype_onoffreset:nnnnn {Letters} {Unicase} {unic} {unic} {+rand}
+\__fontspec_define_opentype_onoffreset:nnnnn {Letters} {Random} {rand} {rand} {+unic}
+\__fontspec_define_opentype_feature_group:n {Numbers}
+\__fontspec_define_opentype_feature:nnnnn {Numbers} {ResetAll} {} {}
+ {
+ +tnum,-tnum,
+ +pnum,-pnum,
+ +onum,-onum,
+ +lnum,-lnum,
+ +zero,-zero,
+ +anum,-anum,
+ }
+\__fontspec_define_opentype_onoffreset:nnnnn {Numbers} {Monospaced} {tnum} {tnum} {+pnum,-pnum}
+\__fontspec_define_opentype_onoffreset:nnnnn {Numbers} {Proportional} {pnum} {pnum} {+tnum,-tnum}
+\__fontspec_define_opentype_onoffreset:nnnnn {Numbers} {Lowercase} {onum} {onum} {+lnum,-lnum}
+\__fontspec_define_opentype_onoffreset:nnnnn {Numbers} {Uppercase} {lnum} {lnum} {+onum,-onum}
+\__fontspec_define_opentype_onoffreset:nnnnn {Numbers} {SlashedZero} {zero} {zero} {}
+\aliasfontfeatureoption {Numbers} {Lowercase} {OldStyle}
+\aliasfontfeatureoption {Numbers} {Uppercase} {Lining}
+ \__fontspec_define_opentype_onoffreset:nnnnn {Numbers} {Arabic} {anum} {anum} {}
+\__fontspec_define_opentype_feature_group:n {VerticalPosition}
+\__fontspec_define_opentype_feature:nnnnn {VerticalPosition} {ResetAll} {} {}
+ {
+ +sups,-sups,
+ +subs,-subs,
+ +ordn,-ordn,
+ +numr,-numr,
+ +dnom,-dnom,
+ +sinf,-sinf,
+ }
+\__fontspec_define_opentype_onoffreset:nnnnn {VerticalPosition} {Superior} {sups} {sups} {+subs,+ordn,+numr,+dnom,+sinf}
+\__fontspec_define_opentype_onoffreset:nnnnn {VerticalPosition} {Inferior} {subs} {subs} {+sups,+ordn,+numr,+dnom,+sinf}
+\__fontspec_define_opentype_onoffreset:nnnnn {VerticalPosition} {Ordinal} {ordn} {ordn} {+sups,+subs,+numr,+dnom,+sinf}
+\__fontspec_define_opentype_onoffreset:nnnnn {VerticalPosition} {Numerator} {numr} {numr} {+sups,+subs,+ordn,+dnom,+sinf}
+\__fontspec_define_opentype_onoffreset:nnnnn {VerticalPosition} {Denominator} {dnom} {dnom} {+sups,+subs,+ordn,+numr,+sinf}
+\__fontspec_define_opentype_onoffreset:nnnnn {VerticalPosition} {ScientificInferior} {sinf} {sinf} {+sups,+subs,+ordn,+numr,+dnom}
+\__fontspec_define_opentype_feature_group:n {Contextuals}
+\__fontspec_define_opentype_feature:nnnnn {Contextuals} {ResetAll} {} {}
+ {
+ +cswh,-cswh,
+ +calt,-calt,
+ +init,-init,
+ +fina,-fina,
+ +falt,-falt,
+ +medi,-medi,
+ }
+\__fontspec_define_opentype_onoffreset:nnnnn {Contextuals} {Swash} {cswh} {cswh} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Contextuals} {Alternate} {calt} {calt} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Contextuals} {WordInitial} {init} {init} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Contextuals} {WordFinal} {fina} {fina} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Contextuals} {LineFinal} {falt} {falt} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Contextuals} {Inner} {medi} {medi} {}
+\__fontspec_define_opentype_feature_group:n {Diacritics}
+\__fontspec_define_opentype_feature:nnnnn {Diacritics} {ResetAll} {} {}
+ {
+ +mark,-mark,
+ +mkmk,-mkmk,
+ +abvm,-abvm,
+ +blwm,-blwm,
+ }
+\__fontspec_define_opentype_onoffreset:nnnnn {Diacritics} {MarkToBase} {mark} {mark} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Diacritics} {MarkToMark} {mkmk} {mkmk} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Diacritics} {AboveBase} {abvm} {abvm} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Diacritics} {BelowBase} {blwm} {blwm} {}
+\__fontspec_define_opentype_feature_group:n {Kerning}
+\__fontspec_define_opentype_feature:nnnnn {Kerning} {ResetAll} {} {}
+ {
+ +cpsp,-cpsp,
+ +kern,-kern,
+ }
+\__fontspec_define_opentype_onoffreset:nnnnn {Kerning} {Uppercase} {cpsp} {cpsp} {}
+\__fontspec_define_opentype_feature:nnnnn {Kerning} {On} {kern} {+kern} {-kern}
+\__fontspec_define_opentype_feature:nnnnn {Kerning} {Off} {kern} {-kern} {+kern}
+\__fontspec_define_opentype_feature:nnnnn {Kerning} {Reset} {} {} {+kern,-kern}
+\__fontspec_define_opentype_feature_group:n {Fractions}
+\__fontspec_define_opentype_feature:nnnnn {Fractions} {ResetAll} {} {}
+ {
+ +frac,-frac,
+ +afrc,-afrc,
+ }
+\__fontspec_define_opentype_feature:nnnnn {Fractions} {On} {frac} {+frac} {}
+\__fontspec_define_opentype_feature:nnnnn {Fractions} {Off} {frac} {-frac} {}
+\__fontspec_define_opentype_feature:nnnnn {Fractions} {Reset} {} {} {+frac,-frac}
+\__fontspec_define_opentype_onoffreset:nnnnn {Fractions} {Alternate} {afrc} {afrc} {-frac}
+
+\__fontspec_define_opentype_feature_group:n {Style}
+\__fontspec_define_opentype_feature:nnnnn {Style} {ResetAll} {} {}
+ {
+ +salt,-salt,
+ +ital,-ital,
+ +ruby,-ruby,
+ +swsh,-swsh,
+ +hist,-hist,
+ +titl,-titl,
+ +hkna,-hkna,
+ +vkna,-vkna,
+ +ssty=0,-ssty=0,
+ +ssty=1,-ssty=1,
+ }
+\__fontspec_define_opentype_onoffreset:nnnnn {Style} {Alternate} {salt} {salt} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Style} {Italic} {ital} {ital} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Style} {Ruby} {ruby} {ruby} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Style} {Swash} {swsh} {swsh} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Style} {Cursive} {swsh} {curs} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Style} {Historic} {hist} {hist} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Style} {TitlingCaps} {titl} {titl} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Style} {HorizontalKana} {hkna} {hkna} {+vkna,+pkna}
+\__fontspec_define_opentype_onoffreset:nnnnn {Style} {VerticalKana} {vkna} {vkna} {+hkna,+pkna}
+\__fontspec_define_opentype_onoffreset:nnnnn {Style} {ProportionalKana} {pkna} {pkna} {+vkna,+hkna}
+\__fontspec_define_opentype_feature:nnnnn {Style} {MathScript} {ssty} {+ssty=0} {+ssty=1}
+\__fontspec_define_opentype_feature:nnnnn {Style} {MathScriptScript} {ssty} {+ssty=1} {+ssty=0}
+\__fontspec_define_opentype_feature_group:n {CJKShape}
+\__fontspec_define_opentype_feature:nnnnn {CJKShape} {ResetAll} {} {}
+ {
+ +trad,-trad,
+ +smpl,-smpl,
+ +jp78,-jp78,
+ +jp83,-jp83,
+ +jp90,-jp90,
+ +jp04,-jp04,
+ +expt,-expt,
+ +nlck,-nlck,
+ }
+\__fontspec_define_opentype_onoffreset:nnnnn {CJKShape} {Traditional} {trad} {trad} {+smpl,+jp78,+jp83,+jp90,+jp04,+expt,+nlck}
+\__fontspec_define_opentype_onoffreset:nnnnn {CJKShape} {Simplified} {smpl} {smpl} {+trad,+jp78,+jp83,+jp90,+jp04,+expt,+nlck}
+\__fontspec_define_opentype_onoffreset:nnnnn {CJKShape} {JIS1978} {jp78} {jp78} {+trad,+smpl,+jp83,+jp90,+jp04,+expt,+nlck}
+\__fontspec_define_opentype_onoffreset:nnnnn {CJKShape} {JIS1983} {jp83} {jp83} {+trad,+smpl,+jp78,+jp90,+jp04,+expt,+nlck}
+\__fontspec_define_opentype_onoffreset:nnnnn {CJKShape} {JIS1990} {jp90} {jp90} {+trad,+smpl,+jp78,+jp83,+jp04,+expt,+nlck}
+\__fontspec_define_opentype_onoffreset:nnnnn {CJKShape} {JIS2004} {jp04} {jp04} {+trad,+smpl,+jp78,+jp83,+jp90,+expt,+nlck}
+\__fontspec_define_opentype_onoffreset:nnnnn {CJKShape} {Expert} {expt} {expt} {+trad,+smpl,+jp78,+jp83,+jp90,+jp04,+nlck}
+\__fontspec_define_opentype_onoffreset:nnnnn {CJKShape} {NLC} {nlck} {nlck} {+trad,+smpl,+jp78,+jp83,+jp90,+jp04,+expt}
+\__fontspec_define_opentype_feature_group:n {CharacterWidth}
+\__fontspec_define_opentype_feature:nnnnn {CharacterWidth} {ResetAll} {} {}
+ {
+ +pwid,-pwid,
+ +fwid,-fwid,
+ +hwid,-hwid,
+ +twid,-twid,
+ +qwid,-qwid,
+ +palt,-palt,
+ +halt,-halt,
+ }
+\__fontspec_define_opentype_onoffreset:nnnnn {CharacterWidth} {Proportional} {pwid} {pwid} {+fwid,+hwid,+twid,+qwid,+palt,+halt}
+\__fontspec_define_opentype_onoffreset:nnnnn {CharacterWidth} {Full} {fwid} {fwid} {+pwid,+hwid,+twid,+qwid,+palt,+halt}
+\__fontspec_define_opentype_onoffreset:nnnnn {CharacterWidth} {Half} {hwid} {hwid} {+pwid,+fwid,+twid,+qwid,+palt,+halt}
+\__fontspec_define_opentype_onoffreset:nnnnn {CharacterWidth} {Third} {twid} {twid} {+pwid,+fwid,+hwid,+qwid,+palt,+halt}
+\__fontspec_define_opentype_onoffreset:nnnnn {CharacterWidth} {Quarter} {qwid} {qwid} {+pwid,+fwid,+hwid,+twid,+palt,+halt}
+\__fontspec_define_opentype_onoffreset:nnnnn {CharacterWidth} {AlternateProportional} {palt} {palt} {+pwid,+fwid,+hwid,+twid,+qwid,+halt}
+\__fontspec_define_opentype_onoffreset:nnnnn {CharacterWidth} {AlternateHalf} {halt} {halt} {+pwid,+fwid,+hwid,+twid,+qwid,+palt}
+\__fontspec_define_opentype_feature_group:n {Vertical}
+\__fontspec_define_opentype_onoffreset:nnnnn {Vertical} {RotatedGlyphs} {vrt2} {vrt2} {+vrtr,+vert}
+\__fontspec_define_opentype_onoffreset:nnnnn {Vertical} {AlternatesForRotation} {vrtr} {vrtr} {+vrt2}
+\__fontspec_define_opentype_onoffreset:nnnnn {Vertical} {Alternates} {vert} {vert} {+vrt2}
+\__fontspec_define_opentype_onoffreset:nnnnn {Vertical} {KanaAlternates} {vkna} {vkna} {+hkna}
+\__fontspec_define_opentype_onoffreset:nnnnn {Vertical} {Kerning} {vkrn} {vkrn} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Vertical} {AlternateMetrics} {valt} {valt} {+vhal,+vpal,+kern}
+\__fontspec_define_opentype_onoffreset:nnnnn {Vertical} {HalfMetrics} {vhal} {vhal} {+valt,+vpal,+kern}
+\__fontspec_define_opentype_onoffreset:nnnnn {Vertical} {ProportionalMetrics} {vpal} {vpal} {+valt,+vhal}
+\__fontspec_define_opentype_feature_group:n {Alternate}
+\keys_define:nn {fontspec-opentype}
{
- \__fontspec_define_feature_option:nnnnn{Numbers}{Arabic}{}{}{+anum}
- }
-\__fontspec_define_font_feature:n {Contextuals}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{Swash} {} {} {+cswh}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{NoSwash} {} {} {-cswh}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{Alternate} {} {} {+calt}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{NoAlternate} {} {} {-calt}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{WordInitial} {8}{0}{+init}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{NoWordInitial}{8}{1}{-init}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{WordFinal} {8}{2}{+fina}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{NoWordFinal} {8}{3}{-fina}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{LineInitial} {8}{4}{}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{NoLineInitial}{8}{5}{}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{LineFinal} {8}{6}{+falt}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{NoLineFinal} {8}{7}{-falt}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{Inner} {8}{8}{+medi}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{NoInner} {8}{9}{-medi}
-\__fontspec_define_font_feature:n{Diacritics}
-\__fontspec_define_feature_option:nnnnn{Diacritics}{Show} {9}{0}{}
-\__fontspec_define_feature_option:nnnnn{Diacritics}{Hide} {9}{1}{}
-\__fontspec_define_feature_option:nnnnn{Diacritics}{Decompose} {9}{2}{}
-\__fontspec_define_feature_option:nnnnn{Diacritics}{MarkToBase} {}{}{+mark}
-\__fontspec_define_feature_option:nnnnn{Diacritics}{NoMarkToBase}{}{}{-mark}
-\__fontspec_define_feature_option:nnnnn{Diacritics}{MarkToMark} {}{}{+mkmk}
-\__fontspec_define_feature_option:nnnnn{Diacritics}{NoMarkToMark}{}{}{-mkmk}
-\__fontspec_define_feature_option:nnnnn{Diacritics}{AboveBase} {}{}{+abvm}
-\__fontspec_define_feature_option:nnnnn{Diacritics}{NoAboveBase} {}{}{-abvm}
-\__fontspec_define_feature_option:nnnnn{Diacritics}{BelowBase} {}{}{+blwm}
-\__fontspec_define_feature_option:nnnnn{Diacritics}{NoBelowBase} {}{}{-blwm}
-\__fontspec_define_font_feature:n{Kerning}
-\__fontspec_define_feature_option:nnnnn{Kerning}{Uppercase}{}{}{+cpsp}
-\__fontspec_define_feature_option:nnnnn{Kerning}{On} {}{}{+kern}
-\__fontspec_define_feature_option:nnnnn{Kerning}{Off} {}{}{-kern}
-\__fontspec_define_font_feature:n{VerticalPosition}
-\__fontspec_define_feature_option:nnnnn{VerticalPosition}{Normal} {10}{0}{}
-\__fontspec_define_feature_option:nnnnn{VerticalPosition}{Superior} {10}{1}{+sups}
-\__fontspec_define_feature_option:nnnnn{VerticalPosition}{Inferior} {10}{2}{+subs}
-\__fontspec_define_feature_option:nnnnn{VerticalPosition}{Ordinal} {10}{3}{+ordn}
-\__fontspec_define_feature_option:nnnnn{VerticalPosition}{Numerator} {} {} {+numr}
-\__fontspec_define_feature_option:nnnnn{VerticalPosition}{Denominator}{} {} {+dnom}
-\__fontspec_define_feature_option:nnnnn{VerticalPosition}{ScientificInferior}{}{}{+sinf}
-\__fontspec_define_font_feature:n{Fractions}
-\__fontspec_define_feature_option:nnnnn{Fractions}{On} {11}{1}{+frac}
-\__fontspec_define_feature_option:nnnnn{Fractions}{Off} {11}{0}{-frac}
-\__fontspec_define_feature_option:nnnnn{Fractions}{Diagonal} {11}{2}{}
-\__fontspec_define_feature_option:nnnnn{Fractions}{Alternate}{} {} {+afrc}
-\__fontspec_define_font_feature:n { Alternate }
-\keys_define:nn {fontspec}
- {
Alternate .default:n = {0} ,
+ Alternate / Random .code:n =
+ { \__fontspec_make_OT_feature:nnn {salt}{ +salt = random }{} } ,
Alternate / unknown .code:n =
{
\clist_map_inline:nn {#1}
- { \fontspec_make_feature:nnx {17}{##1} { \fontspec_salt:n {##1} } }
+ { \__fontspec_make_OT_feature:nnn {salt}{ +salt = ##1 }{} }
}
}
-\cs_set:Nn \fontspec_salt:n { +salt = #1 }
-\__fontspec_define_font_feature:n {Variant}
-\keys_define:nn {fontspec}
+\aliasfontfeature{Alternate}{StylisticAlternates}
+\__fontspec_define_opentype_feature_group:n {Variant}
+\keys_define:nn {fontspec-opentype}
{
Variant .default:n = {0} ,
Variant / unknown .code:n =
{
\clist_map_inline:nn {#1}
- { \fontspec_make_feature:nnx {18}{##1} { +ss \two at digits {##1} } }
+ {
+ \__fontspec_make_OT_feature:xxx { ss \two at digits {##1} } { +ss \two at digits {##1} } {}
+ }
}
}
\aliasfontfeature{Variant}{StylisticSet}
-\__fontspec_define_font_feature:n { CharacterVariant }
+\__fontspec_define_opentype_feature_group:n {CharacterVariant}
\use:x
{
\cs_new:Npn \exp_not:N \fontspec_parse_cv:w
##1 \c_colon_str ##2 \c_colon_str ##3 \exp_not:N \q_nil
{
- \fontspec_make_numbered_feature:xn
- { +cv \exp_not:N \two at digits {##1} } {##2}
+ \__fontspec_make_OT_feature:xxx
+ { cv \exp_not:N \two at digits {##1} } { +cv \exp_not:N \two at digits {##1} = ##2 } {}
}
- \keys_define:nn {fontspec}
+ \keys_define:nn {fontspec-opentype}
{
CharacterVariant / unknown .code:n =
{
@@ -2065,90 +2427,53 @@
}
}
}
-\__fontspec_define_font_feature:n{Style}
-\__fontspec_define_feature_option:nnnnn{Style}{Alternate} {} {} {+salt}
-\__fontspec_define_feature_option:nnnnn{Style}{Italic} {32}{2}{+ital}
-\__fontspec_define_feature_option:nnnnn{Style}{Ruby} {28}{2}{+ruby}
-\__fontspec_define_feature_option:nnnnn{Style}{Swash} {} {} {+swsh}
-\__fontspec_define_feature_option:nnnnn{Style}{Historic} {} {} {+hist}
-\__fontspec_define_feature_option:nnnnn{Style}{Display} {19}{1}{}
-\__fontspec_define_feature_option:nnnnn{Style}{Engraved} {19}{2}{}
-\__fontspec_define_feature_option:nnnnn{Style}{TitlingCaps} {19}{4}{+titl}
-\__fontspec_define_feature_option:nnnnn{Style}{TallCaps} {19}{5}{}
-\__fontspec_define_feature_option:nnnnn{Style}{HorizontalKana}{} {} {+hkna}
-\__fontspec_define_feature_option:nnnnn{Style}{VerticalKana} {} {} {+vkna}
-\fontspec_define_numbered_feat:nnnn {Style} {MathScript} {+ssty} {0}
-\fontspec_define_numbered_feat:nnnn {Style} {MathScriptScript} {+ssty} {1}
-\__fontspec_define_font_feature:n{CJKShape}
-\__fontspec_define_feature_option:nnnnn{CJKShape}{Traditional}{20}{0} {+trad}
-\__fontspec_define_feature_option:nnnnn{CJKShape}{Simplified} {20}{1} {+smpl}
-\__fontspec_define_feature_option:nnnnn{CJKShape}{JIS1978} {20}{2} {+jp78}
-\__fontspec_define_feature_option:nnnnn{CJKShape}{JIS1983} {20}{3} {+jp83}
-\__fontspec_define_feature_option:nnnnn{CJKShape}{JIS1990} {20}{4} {+jp90}
-\__fontspec_define_feature_option:nnnnn{CJKShape}{Expert} {20}{10}{+expt}
-\__fontspec_define_feature_option:nnnnn{CJKShape}{NLC} {20}{13}{+nlck}
-\__fontspec_define_font_feature:n{CharacterWidth}
-\__fontspec_define_feature_option:nnnnn{CharacterWidth}{Proportional}{22}{0}{+pwid}
-\__fontspec_define_feature_option:nnnnn{CharacterWidth}{Full}{22}{1}{+fwid}
-\__fontspec_define_feature_option:nnnnn{CharacterWidth}{Half}{22}{2}{+hwid}
-\__fontspec_define_feature_option:nnnnn{CharacterWidth}{Third}{22}{3}{+twid}
-\__fontspec_define_feature_option:nnnnn{CharacterWidth}{Quarter}{22}{4}{+qwid}
-\__fontspec_define_feature_option:nnnnn{CharacterWidth}{AlternateProportional}{22}{5}{+palt}
-\__fontspec_define_feature_option:nnnnn{CharacterWidth}{AlternateHalf}{22}{6}{+halt}
-\__fontspec_define_feature_option:nnnnn{CharacterWidth}{Default}{22}{7}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{Off}{24}{0}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{Box}{24}{1}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{RoundedBox}{24}{2}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{Circle}{24}{3}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{BlackCircle}{24}{4}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{Parenthesis}{24}{5}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{Period}{24}{6}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{RomanNumerals}{24}{7}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{Diamond}{24}{8}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{BlackSquare}{24}{9}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{BlackRoundSquare}{24}{10}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{DoubleCircle}{24}{11}{}
-\__fontspec_define_font_feature:n { Annotation }
-\keys_define:nn {fontspec}
+\__fontspec_define_opentype_feature_group:n {Annotation}
+\keys_define:nn {fontspec-opentype}
{
Annotation .default:n = {0} ,
Annotation / unknown .code:n =
{
- \fontspec_make_feature:nnx {}{}{ +nalt=#1 }
+ \__fontspec_make_OT_feature:nnn {nalt} {+nalt=#1} {}
}
}
-\keys_define:nn {fontspec}
+\__fontspec_define_opentype_feature_group:n {Ornament}
+\keys_define:nn {fontspec-opentype}
{
- Vertical .choice: ,
- Vertical / RotatedGlyphs .code:n =
+ Ornament .default:n = {0} ,
+ Ornament / unknown .code:n =
{
- \bool_if:NTF \l__fontspec_ot_bool
- {
- \fontspec_make_feature:nnn{}{}{+vrt2}
- \__fontspec_update_featstr:n {vertical}
- }
- {
- \__fontspec_update_featstr:n {vertical}
- }
+ \__fontspec_make_OT_feature:nnn {ornm} { +ornm=#1 } {}
}
}
-\keys_define:nn { fontspec } { Script .choice: }
+\keys_define:nn { fontspec-opentype } { Script .choice: }
\cs_new:Nn \fontspec_new_script:nn
{
- \keys_define:nn { fontspec } { Script / #1 .code:n =
+ \keys_define:nn { fontspec-opentype } { Script / #1 .code:n =
+ \bool_set_false:N \l__fontspec_script_exist_bool
\clist_map_inline:nn {#2}
{
- \fontspec_check_script:nTF {####1}
+ \__fontspec_check_script:nTF {####1}
{
\tl_set:Nn \l_fontspec_script_tl {####1}
- \int_set:Nn \l_fontspec_script_int {\l_fontspec_strnum_int}
+ \int_set:Nn \l__fontspec_script_int {\l__fontspec_strnum_int}
+ \bool_set_true:N \l__fontspec_script_exist_bool
+ \tl_gset:Nx \g__fontspec_single_feat_tl { script=####1 }
\clist_map_break:
}
+ { }
+ }
+ \bool_if:NF \l__fontspec_script_exist_bool
+ {
+ \str_if_eq:nnTF {#1} {Latin}
{
- \fontspec_check_script:nTF {latn}
+ \__fontspec_warning:nx {script-not-exist} {#1}
+ }
+ {
+ \__fontspec_check_script:nTF {latn}
{
\__fontspec_warning:nx {script-not-exist-latn} {#1}
- \keys_set:nn {fontspec} {Script=Latin}
+ \tl_set:Nn \l_fontspec_script_tl {latn}
+ \int_set:Nn \l__fontspec_script_int {\l__fontspec_strnum_int}
}
{
\__fontspec_warning:nx {script-not-exist} {#1}
@@ -2157,296 +2482,607 @@
}
}
}
-\newfontscript{Arabic}{arab} \newfontscript{Armenian}{armn}
+\keys_define:nn { fontspec-opentype } { Language .choice: }
+\cs_new:Nn \fontspec_new_lang:nn
+ {
+ \keys_define:nn { fontspec-opentype } { Language / #1 .code:n =
+ \__fontspec_check_lang:nTF {#2}
+ {
+ \tl_set:Nn \l_fontspec_lang_tl {#2}
+ \int_set:Nn \l__fontspec_language_int {\l__fontspec_strnum_int}
+ \tl_gset:Nx \g__fontspec_single_feat_tl { language=#2 }
+ }
+ {
+ \__fontspec_warning:nx {language-not-exist} {#1}
+ \keys_set:nn { fontspec-opentype } { Language = Default }
+ }
+ }
+ }
+\__fontspec_keys_define_code:nnn {fontspec-opentype}{ Language / Default }
+ {
+ \tl_set:Nn \l_fontspec_lang_tl {DFLT}
+ \int_zero:N \l__fontspec_language_int
+ \tl_gset:Nn \g__fontspec_single_feat_tl { language=DFLT }
+ }
+\keys_define:nn {fontspec-opentype}
+ {
+ Language / Turkish .code:n =
+ {
+ \__fontspec_check_lang:nTF {TRK}
+ {
+ \int_set:Nn \l__fontspec_language_int {\l__fontspec_strnum_int}
+ \tl_set:Nn \l_fontspec_lang_tl {TRK}
+ \tl_gset:Nn \g__fontspec_single_feat_tl { language=TRK }
+ }
+ {
+ \__fontspec_check_lang:nTF {TUR}
+ {
+ \int_set:Nn \l__fontspec_language_int {\l__fontspec_strnum_int}
+ \tl_set:Nn \l_fontspec_lang_tl {TUR}
+ \tl_gset:Nn \g__fontspec_single_feat_tl { language=TUR }
+ }
+ {
+ \__fontspec_warning:nx {language-not-exist} {Turkish}
+ \keys_set:nn {fontspec-opentype} {Language=Default}
+ }
+ }
+ }
+ }
+\cs_new:Nn \__fontspec_ot_compat:nn
+ {
+ \aliasfontfeatureoption {#1} {#2Off} {No#2}
+ }
+\__fontspec_ot_compat:nn {Ligatures} {Rare}
+\__fontspec_ot_compat:nn {Ligatures} {Required}
+\__fontspec_ot_compat:nn {Ligatures} {Common}
+\__fontspec_ot_compat:nn {Ligatures} {Discretionary}
+\__fontspec_ot_compat:nn {Ligatures} {Contextual}
+\__fontspec_ot_compat:nn {Ligatures} {Historic}
+\__fontspec_ot_compat:nn {Numbers} {SlashedZero}
+\__fontspec_ot_compat:nn {Contextuals} {Swash}
+\__fontspec_ot_compat:nn {Contextuals} {Alternate}
+\__fontspec_ot_compat:nn {Contextuals} {WordInitial}
+\__fontspec_ot_compat:nn {Contextuals} {WordFinal}
+\__fontspec_ot_compat:nn {Contextuals} {LineFinal}
+\__fontspec_ot_compat:nn {Contextuals} {Inner}
+\__fontspec_ot_compat:nn {Diacritics} {MarkToBase}
+\__fontspec_ot_compat:nn {Diacritics} {MarkToMark}
+\__fontspec_ot_compat:nn {Diacritics} {AboveBase}
+\__fontspec_ot_compat:nn {Diacritics} {BelowBase}
+
+\newfontscript{Arabic}{arab}
+\newfontscript{Armenian}{armn}
\newfontscript{Balinese}{bali}
\newfontscript{Bengali}{bng2,beng}
-\newfontscript{Bopomofo}{bopo} \newfontscript{Braille}{brai}
-\newfontscript{Buginese}{bugi} \newfontscript{Buhid}{buhd}
+\newfontscript{Bopomofo}{bopo}
+\newfontscript{Braille}{brai}
+\newfontscript{Buginese}{bugi}
+\newfontscript{Buhid}{buhd}
\newfontscript{Byzantine~Music}{byzm}
\newfontscript{Canadian~Syllabics}{cans}
\newfontscript{Cherokee}{cher}
-\newfontscript{CJK~Ideographic}{hani} \newfontscript{Coptic}{copt}
-\newfontscript{Cypriot~Syllabary}{cprt} \newfontscript{Cyrillic}{cyrl}
-\newfontscript{Default}{DFLT} \newfontscript{Deseret}{dsrt}
+\newfontscript{CJK~Ideographic}{hani}
+\newfontscript{Coptic}{copt}
+\newfontscript{Cypriot~Syllabary}{cprt}
+\newfontscript{Cyrillic}{cyrl}
+\newfontscript{Default}{DFLT}
+\newfontscript{Deseret}{dsrt}
\newfontscript{Devanagari}{dev2,deva}
\newfontscript{Ethiopic}{ethi}
-\newfontscript{Georgian}{geor} \newfontscript{Glagolitic}{glag}
-\newfontscript{Gothic}{goth} \newfontscript{Greek}{grek}
+\newfontscript{Georgian}{geor}
+\newfontscript{Glagolitic}{glag}
+\newfontscript{Gothic}{goth}
+\newfontscript{Greek}{grek}
\newfontscript{Gujarati}{gjr2,gujr}
\newfontscript{Gurmukhi}{gur2,guru}
-\newfontscript{Hangul~Jamo}{jamo} \newfontscript{Hangul}{hang}
-\newfontscript{Hanunoo}{hano} \newfontscript{Hebrew}{hebr}
+\newfontscript{Hangul~Jamo}{jamo}
+\newfontscript{Hangul}{hang}
+\newfontscript{Hanunoo}{hano}
+\newfontscript{Hebrew}{hebr}
\newfontscript{Hiragana~and~Katakana}{kana}
\newfontscript{Javanese}{java}
\newfontscript{Kannada}{knd2,knda}
-\newfontscript{Kharosthi}{khar} \newfontscript{Khmer}{khmr}
-\newfontscript{Lao}{lao~} \newfontscript{Latin}{latn}
-\newfontscript{Limbu}{limb} \newfontscript{Linear~B}{linb}
+\newfontscript{Kharosthi}{khar}
+\newfontscript{Khmer}{khmr}
+\newfontscript{Lao}{lao~}
+\newfontscript{Latin}{latn}
+\newfontscript{Limbu}{limb}
+\newfontscript{Linear~B}{linb}
\newfontscript{Malayalam}{mlm2,mlym}
\newfontscript{Math}{math}
\newfontscript{Mongolian}{mong}
-\newfontscript{Musical~Symbols}{musc} \newfontscript{Myanmar}{mymr}
-\newfontscript{N'ko}{nko~} \newfontscript{Ogham}{ogam}
+\newfontscript{Musical~Symbols}{musc}
+\newfontscript{Myanmar}{mymr}
+\newfontscript{N'ko}{nko~}
+\newfontscript{Ogham}{ogam}
\newfontscript{Old~Italic}{ital}
\newfontscript{Old~Persian~Cuneiform}{xpeo}
\newfontscript{Oriya}{ory2,orya}
\newfontscript{Osmanya}{osma}
-\newfontscript{Phags-pa}{phag} \newfontscript{Phoenician}{phnx}
-\newfontscript{Runic}{runr} \newfontscript{Shavian}{shaw}
+\newfontscript{Phags-pa}{phag}
+\newfontscript{Phoenician}{phnx}
+\newfontscript{Runic}{runr}
+\newfontscript{Shavian}{shaw}
\newfontscript{Sinhala}{sinh}
\newfontscript{Sumero-Akkadian~Cuneiform}{xsux}
-\newfontscript{Syloti~Nagri}{sylo} \newfontscript{Syriac}{syrc}
-\newfontscript{Tagalog}{tglg} \newfontscript{Tagbanwa}{tagb}
-\newfontscript{Tai~Le}{tale} \newfontscript{Tai~Lu}{talu}
+\newfontscript{Syloti~Nagri}{sylo}
+\newfontscript{Syriac}{syrc}
+\newfontscript{Tagalog}{tglg}
+\newfontscript{Tagbanwa}{tagb}
+\newfontscript{Tai~Le}{tale}
+\newfontscript{Tai~Lu}{talu}
\newfontscript{Tamil}{tml2,taml}
\newfontscript{Telugu}{tel2,telu}
-\newfontscript{Thaana}{thaa} \newfontscript{Thai}{thai}
-\newfontscript{Tibetan}{tibt} \newfontscript{Tifinagh}{tfng}
-\newfontscript{Ugaritic~Cuneiform}{ugar}\newfontscript{Yi}{yi~~}
+\newfontscript{Thaana}{thaa}
+\newfontscript{Thai}{thai}
+\newfontscript{Tibetan}{tibt}
+\newfontscript{Tifinagh}{tfng}
+\newfontscript{Ugaritic~Cuneiform}{ugar}
+\newfontscript{Yi}{yi~~}
\newfontscript{Kana}{kana}
\newfontscript{Maths}{math}
\newfontscript{CJK}{hani}
-\keys_define:nn { fontspec } { Language .choice: }
-\cs_new:Nn \fontspec_new_lang:nn
- {
- \keys_define:nn { fontspec } { Language / #1 .code:n =
- \fontspec_check_lang:nTF {#2}
- {
- \tl_set:Nn \l_fontspec_lang_tl {#2}
- \int_set:Nn \l_fontspec_language_int {\l_fontspec_strnum_int}
- }
- {
- \__fontspec_warning:nx {language-not-exist} {#1}
- \keys_set:nn { fontspec } { Language = Default }
- }
- }
- }
-\newfontlanguage{Abaza}{ABA}\newfontlanguage{Abkhazian}{ABK}
-\newfontlanguage{Adyghe}{ADY}\newfontlanguage{Afrikaans}{AFK}
-\newfontlanguage{Afar}{AFR}\newfontlanguage{Agaw}{AGW}
-\newfontlanguage{Altai}{ALT}\newfontlanguage{Amharic}{AMH}
-\newfontlanguage{Arabic}{ARA}\newfontlanguage{Aari}{ARI}
-\newfontlanguage{Arakanese}{ARK}\newfontlanguage{Assamese}{ASM}
-\newfontlanguage{Athapaskan}{ATH}\newfontlanguage{Avar}{AVR}
-\newfontlanguage{Awadhi}{AWA}\newfontlanguage{Aymara}{AYM}
-\newfontlanguage{Azeri}{AZE}\newfontlanguage{Badaga}{BAD}
-\newfontlanguage{Baghelkhandi}{BAG}\newfontlanguage{Balkar}{BAL}
-\newfontlanguage{Baule}{BAU}\newfontlanguage{Berber}{BBR}
-\newfontlanguage{Bench}{BCH}\newfontlanguage{Bible~Cree}{BCR}
-\newfontlanguage{Belarussian}{BEL}\newfontlanguage{Bemba}{BEM}
-\newfontlanguage{Bengali}{BEN}\newfontlanguage{Bulgarian}{BGR}
-\newfontlanguage{Bhili}{BHI}\newfontlanguage{Bhojpuri}{BHO}
-\newfontlanguage{Bikol}{BIK}\newfontlanguage{Bilen}{BIL}
-\newfontlanguage{Blackfoot}{BKF}\newfontlanguage{Balochi}{BLI}
-\newfontlanguage{Balante}{BLN}\newfontlanguage{Balti}{BLT}
-\newfontlanguage{Bambara}{BMB}\newfontlanguage{Bamileke}{BML}
-\newfontlanguage{Breton}{BRE}\newfontlanguage{Brahui}{BRH}
-\newfontlanguage{Braj~Bhasha}{BRI}\newfontlanguage{Burmese}{BRM}
-\newfontlanguage{Bashkir}{BSH}\newfontlanguage{Beti}{BTI}
-\newfontlanguage{Catalan}{CAT}\newfontlanguage{Cebuano}{CEB}
-\newfontlanguage{Chechen}{CHE}\newfontlanguage{Chaha~Gurage}{CHG}
-\newfontlanguage{Chattisgarhi}{CHH}\newfontlanguage{Chichewa}{CHI}
-\newfontlanguage{Chukchi}{CHK}\newfontlanguage{Chipewyan}{CHP}
-\newfontlanguage{Cherokee}{CHR}\newfontlanguage{Chuvash}{CHU}
-\newfontlanguage{Comorian}{CMR}\newfontlanguage{Coptic}{COP}
-\newfontlanguage{Cree}{CRE}\newfontlanguage{Carrier}{CRR}
-\newfontlanguage{Crimean~Tatar}{CRT}\newfontlanguage{Church~Slavonic}{CSL}
-\newfontlanguage{Czech}{CSY}\newfontlanguage{Danish}{DAN}
-\newfontlanguage{Dargwa}{DAR}\newfontlanguage{Woods~Cree}{DCR}
+
+\newfontlanguage{Abaza}{ABA}
+\newfontlanguage{Abkhazian}{ABK}
+\newfontlanguage{Adyghe}{ADY}
+\newfontlanguage{Afrikaans}{AFK}
+\newfontlanguage{Afar}{AFR}
+\newfontlanguage{Agaw}{AGW}
+\newfontlanguage{Altai}{ALT}
+\newfontlanguage{Amharic}{AMH}
+\newfontlanguage{Arabic}{ARA}
+\newfontlanguage{Aari}{ARI}
+\newfontlanguage{Arakanese}{ARK}
+\newfontlanguage{Assamese}{ASM}
+\newfontlanguage{Athapaskan}{ATH}
+\newfontlanguage{Avar}{AVR}
+\newfontlanguage{Awadhi}{AWA}
+\newfontlanguage{Aymara}{AYM}
+\newfontlanguage{Azeri}{AZE}
+\newfontlanguage{Badaga}{BAD}
+\newfontlanguage{Baghelkhandi}{BAG}
+\newfontlanguage{Balkar}{BAL}
+\newfontlanguage{Baule}{BAU}
+\newfontlanguage{Berber}{BBR}
+\newfontlanguage{Bench}{BCH}
+\newfontlanguage{Bible~Cree}{BCR}
+\newfontlanguage{Belarussian}{BEL}
+\newfontlanguage{Bemba}{BEM}
+\newfontlanguage{Bengali}{BEN}
+\newfontlanguage{Bulgarian}{BGR}
+\newfontlanguage{Bhili}{BHI}
+\newfontlanguage{Bhojpuri}{BHO}
+\newfontlanguage{Bikol}{BIK}
+\newfontlanguage{Bilen}{BIL}
+\newfontlanguage{Blackfoot}{BKF}
+\newfontlanguage{Balochi}{BLI}
+\newfontlanguage{Balante}{BLN}
+\newfontlanguage{Balti}{BLT}
+\newfontlanguage{Bambara}{BMB}
+\newfontlanguage{Bamileke}{BML}
+\newfontlanguage{Breton}{BRE}
+\newfontlanguage{Brahui}{BRH}
+\newfontlanguage{Braj~Bhasha}{BRI}
+\newfontlanguage{Burmese}{BRM}
+\newfontlanguage{Bashkir}{BSH}
+\newfontlanguage{Beti}{BTI}
+\newfontlanguage{Catalan}{CAT}
+\newfontlanguage{Cebuano}{CEB}
+\newfontlanguage{Chechen}{CHE}
+\newfontlanguage{Chaha~Gurage}{CHG}
+\newfontlanguage{Chattisgarhi}{CHH}
+\newfontlanguage{Chichewa}{CHI}
+\newfontlanguage{Chukchi}{CHK}
+\newfontlanguage{Chipewyan}{CHP}
+\newfontlanguage{Cherokee}{CHR}
+\newfontlanguage{Chuvash}{CHU}
+\newfontlanguage{Comorian}{CMR}
+\newfontlanguage{Coptic}{COP}
+\newfontlanguage{Cree}{CRE}
+\newfontlanguage{Carrier}{CRR}
+\newfontlanguage{Crimean~Tatar}{CRT}
+\newfontlanguage{Church~Slavonic}{CSL}
+\newfontlanguage{Czech}{CSY}
+\newfontlanguage{Danish}{DAN}
+\newfontlanguage{Dargwa}{DAR}
+\newfontlanguage{Woods~Cree}{DCR}
\newfontlanguage{German}{DEU}
-\newfontlanguage{Dogri}{DGR}\newfontlanguage{Divehi}{DIV}
-\newfontlanguage{Djerma}{DJR}\newfontlanguage{Dangme}{DNG}
-\newfontlanguage{Dinka}{DNK}\newfontlanguage{Dungan}{DUN}
-\newfontlanguage{Dzongkha}{DZN}\newfontlanguage{Ebira}{EBI}
-\newfontlanguage{Eastern~Cree}{ECR}\newfontlanguage{Edo}{EDO}
-\newfontlanguage{Efik}{EFI}\newfontlanguage{Greek}{ELL}
-\newfontlanguage{English}{ENG}\newfontlanguage{Erzya}{ERZ}
-\newfontlanguage{Spanish}{ESP}\newfontlanguage{Estonian}{ETI}
-\newfontlanguage{Basque}{EUQ}\newfontlanguage{Evenki}{EVK}
-\newfontlanguage{Even}{EVN}\newfontlanguage{Ewe}{EWE}
+\newfontlanguage{Dogri}{DGR}
+\newfontlanguage{Divehi}{DIV}
+\newfontlanguage{Djerma}{DJR}
+\newfontlanguage{Dangme}{DNG}
+\newfontlanguage{Dinka}{DNK}
+\newfontlanguage{Dungan}{DUN}
+\newfontlanguage{Dzongkha}{DZN}
+\newfontlanguage{Ebira}{EBI}
+\newfontlanguage{Eastern~Cree}{ECR}
+\newfontlanguage{Edo}{EDO}
+\newfontlanguage{Efik}{EFI}
+\newfontlanguage{Greek}{ELL}
+\newfontlanguage{English}{ENG}
+\newfontlanguage{Erzya}{ERZ}
+\newfontlanguage{Spanish}{ESP}
+\newfontlanguage{Estonian}{ETI}
+\newfontlanguage{Basque}{EUQ}
+\newfontlanguage{Evenki}{EVK}
+\newfontlanguage{Even}{EVN}
+\newfontlanguage{Ewe}{EWE}
\newfontlanguage{French~Antillean}{FAN}
\newfontlanguage{Farsi}{FAR}
\newfontlanguage{Parsi}{FAR}
\newfontlanguage{Persian}{FAR}
-\newfontlanguage{Finnish}{FIN}\newfontlanguage{Fijian}{FJI}
-\newfontlanguage{Flemish}{FLE}\newfontlanguage{Forest~Nenets}{FNE}
-\newfontlanguage{Fon}{FON}\newfontlanguage{Faroese}{FOS}
-\newfontlanguage{French}{FRA}\newfontlanguage{Frisian}{FRI}
-\newfontlanguage{Friulian}{FRL}\newfontlanguage{Futa}{FTA}
-\newfontlanguage{Fulani}{FUL}\newfontlanguage{Ga}{GAD}
-\newfontlanguage{Gaelic}{GAE}\newfontlanguage{Gagauz}{GAG}
-\newfontlanguage{Galician}{GAL}\newfontlanguage{Garshuni}{GAR}
-\newfontlanguage{Garhwali}{GAW}\newfontlanguage{Ge'ez}{GEZ}
-\newfontlanguage{Gilyak}{GIL}\newfontlanguage{Gumuz}{GMZ}
-\newfontlanguage{Gondi}{GON}\newfontlanguage{Greenlandic}{GRN}
-\newfontlanguage{Garo}{GRO}\newfontlanguage{Guarani}{GUA}
-\newfontlanguage{Gujarati}{GUJ}\newfontlanguage{Haitian}{HAI}
-\newfontlanguage{Halam}{HAL}\newfontlanguage{Harauti}{HAR}
-\newfontlanguage{Hausa}{HAU}\newfontlanguage{Hawaiin}{HAW}
-\newfontlanguage{Hammer-Banna}{HBN}\newfontlanguage{Hiligaynon}{HIL}
-\newfontlanguage{Hindi}{HIN}\newfontlanguage{High~Mari}{HMA}
-\newfontlanguage{Hindko}{HND}\newfontlanguage{Ho}{HO}
-\newfontlanguage{Harari}{HRI}\newfontlanguage{Croatian}{HRV}
-\newfontlanguage{Hungarian}{HUN}\newfontlanguage{Armenian}{HYE}
-\newfontlanguage{Igbo}{IBO}\newfontlanguage{Ijo}{IJO}
-\newfontlanguage{Ilokano}{ILO}\newfontlanguage{Indonesian}{IND}
-\newfontlanguage{Ingush}{ING}\newfontlanguage{Inuktitut}{INU}
-\newfontlanguage{Irish}{IRI}\newfontlanguage{Irish~Traditional}{IRT}
-\newfontlanguage{Icelandic}{ISL}\newfontlanguage{Inari~Sami}{ISM}
-\newfontlanguage{Italian}{ITA}\newfontlanguage{Hebrew}{IWR}
-\newfontlanguage{Javanese}{JAV}\newfontlanguage{Yiddish}{JII}
-\newfontlanguage{Japanese}{JAN}\newfontlanguage{Judezmo}{JUD}
-\newfontlanguage{Jula}{JUL}\newfontlanguage{Kabardian}{KAB}
-\newfontlanguage{Kachchi}{KAC}\newfontlanguage{Kalenjin}{KAL}
-\newfontlanguage{Kannada}{KAN}\newfontlanguage{Karachay}{KAR}
-\newfontlanguage{Georgian}{KAT}\newfontlanguage{Kazakh}{KAZ}
-\newfontlanguage{Kebena}{KEB}\newfontlanguage{Khutsuri~Georgian}{KGE}
-\newfontlanguage{Khakass}{KHA}\newfontlanguage{Khanty-Kazim}{KHK}
-\newfontlanguage{Khmer}{KHM}\newfontlanguage{Khanty-Shurishkar}{KHS}
-\newfontlanguage{Khanty-Vakhi}{KHV}\newfontlanguage{Khowar}{KHW}
-\newfontlanguage{Kikuyu}{KIK}\newfontlanguage{Kirghiz}{KIR}
-\newfontlanguage{Kisii}{KIS}\newfontlanguage{Kokni}{KKN}
-\newfontlanguage{Kalmyk}{KLM}\newfontlanguage{Kamba}{KMB}
-\newfontlanguage{Kumaoni}{KMN}\newfontlanguage{Komo}{KMO}
-\newfontlanguage{Komso}{KMS}\newfontlanguage{Kanuri}{KNR}
-\newfontlanguage{Kodagu}{KOD}\newfontlanguage{Korean~Old~Hangul}{KOH}
-\newfontlanguage{Konkani}{KOK}\newfontlanguage{Kikongo}{KON}
-\newfontlanguage{Komi-Permyak}{KOP}\newfontlanguage{Korean}{KOR}
-\newfontlanguage{Komi-Zyrian}{KOZ}\newfontlanguage{Kpelle}{KPL}
-\newfontlanguage{Krio}{KRI}\newfontlanguage{Karakalpak}{KRK}
-\newfontlanguage{Karelian}{KRL}\newfontlanguage{Karaim}{KRM}
-\newfontlanguage{Karen}{KRN}\newfontlanguage{Koorete}{KRT}
-\newfontlanguage{Kashmiri}{KSH}\newfontlanguage{Khasi}{KSI}
-\newfontlanguage{Kildin~Sami}{KSM}\newfontlanguage{Kui}{KUI}
-\newfontlanguage{Kulvi}{KUL}\newfontlanguage{Kumyk}{KUM}
-\newfontlanguage{Kurdish}{KUR}\newfontlanguage{Kurukh}{KUU}
-\newfontlanguage{Kuy}{KUY}\newfontlanguage{Koryak}{KYK}
-\newfontlanguage{Ladin}{LAD}\newfontlanguage{Lahuli}{LAH}
-\newfontlanguage{Lak}{LAK}\newfontlanguage{Lambani}{LAM}
-\newfontlanguage{Lao}{LAO}\newfontlanguage{Latin}{LAT}
-\newfontlanguage{Laz}{LAZ}\newfontlanguage{L-Cree}{LCR}
-\newfontlanguage{Ladakhi}{LDK}\newfontlanguage{Lezgi}{LEZ}
-\newfontlanguage{Lingala}{LIN}\newfontlanguage{Low~Mari}{LMA}
-\newfontlanguage{Limbu}{LMB}\newfontlanguage{Lomwe}{LMW}
-\newfontlanguage{Lower~Sorbian}{LSB}\newfontlanguage{Lule~Sami}{LSM}
-\newfontlanguage{Lithuanian}{LTH}\newfontlanguage{Luba}{LUB}
-\newfontlanguage{Luganda}{LUG}\newfontlanguage{Luhya}{LUH}
-\newfontlanguage{Luo}{LUO}\newfontlanguage{Latvian}{LVI}
-\newfontlanguage{Majang}{MAJ}\newfontlanguage{Makua}{MAK}
-\newfontlanguage{Malayalam~Traditional}{MAL}\newfontlanguage{Mansi}{MAN}
-\newfontlanguage{Marathi}{MAR}\newfontlanguage{Marwari}{MAW}
-\newfontlanguage{Mbundu}{MBN}\newfontlanguage{Manchu}{MCH}
-\newfontlanguage{Moose~Cree}{MCR}\newfontlanguage{Mende}{MDE}
-\newfontlanguage{Me'en}{MEN}\newfontlanguage{Mizo}{MIZ}
-\newfontlanguage{Macedonian}{MKD}\newfontlanguage{Male}{MLE}
-\newfontlanguage{Malagasy}{MLG}\newfontlanguage{Malinke}{MLN}
-\newfontlanguage{Malayalam~Reformed}{MLR}\newfontlanguage{Malay}{MLY}
-\newfontlanguage{Mandinka}{MND}\newfontlanguage{Mongolian}{MNG}
-\newfontlanguage{Manipuri}{MNI}\newfontlanguage{Maninka}{MNK}
-\newfontlanguage{Manx~Gaelic}{MNX}\newfontlanguage{Moksha}{MOK}
-\newfontlanguage{Moldavian}{MOL}\newfontlanguage{Mon}{MON}
-\newfontlanguage{Moroccan}{MOR}\newfontlanguage{Maori}{MRI}
-\newfontlanguage{Maithili}{MTH}\newfontlanguage{Maltese}{MTS}
-\newfontlanguage{Mundari}{MUN}\newfontlanguage{Naga-Assamese}{NAG}
-\newfontlanguage{Nanai}{NAN}\newfontlanguage{Naskapi}{NAS}
-\newfontlanguage{N-Cree}{NCR}\newfontlanguage{Ndebele}{NDB}
-\newfontlanguage{Ndonga}{NDG}\newfontlanguage{Nepali}{NEP}
-\newfontlanguage{Newari}{NEW}\newfontlanguage{Nagari}{NGR}
-\newfontlanguage{Norway~House~Cree}{NHC}\newfontlanguage{Nisi}{NIS}
-\newfontlanguage{Niuean}{NIU}\newfontlanguage{Nkole}{NKL}
-\newfontlanguage{N'ko}{NKO}\newfontlanguage{Dutch}{NLD}
-\newfontlanguage{Nogai}{NOG}\newfontlanguage{Norwegian}{NOR}
-\newfontlanguage{Northern~Sami}{NSM}\newfontlanguage{Northern~Tai}{NTA}
-\newfontlanguage{Esperanto}{NTO}\newfontlanguage{Nynorsk}{NYN}
-\newfontlanguage{Oji-Cree}{OCR}\newfontlanguage{Ojibway}{OJB}
-\newfontlanguage{Oriya}{ORI}\newfontlanguage{Oromo}{ORO}
-\newfontlanguage{Ossetian}{OSS}\newfontlanguage{Palestinian~Aramaic}{PAA}
-\newfontlanguage{Pali}{PAL}\newfontlanguage{Punjabi}{PAN}
-\newfontlanguage{Palpa}{PAP}\newfontlanguage{Pashto}{PAS}
-\newfontlanguage{Polytonic~Greek}{PGR}\newfontlanguage{Pilipino}{PIL}
-\newfontlanguage{Palaung}{PLG}\newfontlanguage{Polish}{PLK}
-\newfontlanguage{Provencal}{PRO}\newfontlanguage{Portuguese}{PTG}
-\newfontlanguage{Chin}{QIN}\newfontlanguage{Rajasthani}{RAJ}
-\newfontlanguage{R-Cree}{RCR}\newfontlanguage{Russian~Buriat}{RBU}
-\newfontlanguage{Riang}{RIA}\newfontlanguage{Rhaeto-Romanic}{RMS}
-\newfontlanguage{Romanian}{ROM}\newfontlanguage{Romany}{ROY}
-\newfontlanguage{Rusyn}{RSY}\newfontlanguage{Ruanda}{RUA}
-\newfontlanguage{Russian}{RUS}\newfontlanguage{Sadri}{SAD}
-\newfontlanguage{Sanskrit}{SAN}\newfontlanguage{Santali}{SAT}
-\newfontlanguage{Sayisi}{SAY}\newfontlanguage{Sekota}{SEK}
-\newfontlanguage{Selkup}{SEL}\newfontlanguage{Sango}{SGO}
-\newfontlanguage{Shan}{SHN}\newfontlanguage{Sibe}{SIB}
-\newfontlanguage{Sidamo}{SID}\newfontlanguage{Silte~Gurage}{SIG}
-\newfontlanguage{Skolt~Sami}{SKS}\newfontlanguage{Slovak}{SKY}
-\newfontlanguage{Slavey}{SLA}\newfontlanguage{Slovenian}{SLV}
-\newfontlanguage{Somali}{SML}\newfontlanguage{Samoan}{SMO}
-\newfontlanguage{Sena}{SNA}\newfontlanguage{Sindhi}{SND}
-\newfontlanguage{Sinhalese}{SNH}\newfontlanguage{Soninke}{SNK}
-\newfontlanguage{Sodo~Gurage}{SOG}\newfontlanguage{Sotho}{SOT}
-\newfontlanguage{Albanian}{SQI}\newfontlanguage{Serbian}{SRB}
-\newfontlanguage{Saraiki}{SRK}\newfontlanguage{Serer}{SRR}
-\newfontlanguage{South~Slavey}{SSL}\newfontlanguage{Southern~Sami}{SSM}
-\newfontlanguage{Suri}{SUR}\newfontlanguage{Svan}{SVA}
-\newfontlanguage{Swedish}{SVE}\newfontlanguage{Swadaya~Aramaic}{SWA}
-\newfontlanguage{Swahili}{SWK}\newfontlanguage{Swazi}{SWZ}
-\newfontlanguage{Sutu}{SXT}\newfontlanguage{Syriac}{SYR}
-\newfontlanguage{Tabasaran}{TAB}\newfontlanguage{Tajiki}{TAJ}
-\newfontlanguage{Tamil}{TAM}\newfontlanguage{Tatar}{TAT}
-\newfontlanguage{TH-Cree}{TCR}\newfontlanguage{Telugu}{TEL}
-\newfontlanguage{Tongan}{TGN}\newfontlanguage{Tigre}{TGR}
-\newfontlanguage{Tigrinya}{TGY}\newfontlanguage{Thai}{THA}
-\newfontlanguage{Tahitian}{THT}\newfontlanguage{Tibetan}{TIB}
-\newfontlanguage{Turkmen}{TKM}\newfontlanguage{Temne}{TMN}
-\newfontlanguage{Tswana}{TNA}\newfontlanguage{Tundra~Nenets}{TNE}
-\newfontlanguage{Tonga}{TNG}\newfontlanguage{Todo}{TOD}
-\newfontlanguage{Tsonga}{TSG}\newfontlanguage{Turoyo~Aramaic}{TUA}
-\newfontlanguage{Tulu}{TUL}\newfontlanguage{Tuvin}{TUV}
-\newfontlanguage{Twi}{TWI}\newfontlanguage{Udmurt}{UDM}
-\newfontlanguage{Ukrainian}{UKR}\newfontlanguage{Urdu}{URD}
-\newfontlanguage{Upper~Sorbian}{USB}\newfontlanguage{Uyghur}{UYG}
-\newfontlanguage{Uzbek}{UZB}\newfontlanguage{Venda}{VEN}
-\newfontlanguage{Vietnamese}{VIT}\newfontlanguage{Wa}{WA}
-\newfontlanguage{Wagdi}{WAG}\newfontlanguage{West-Cree}{WCR}
-\newfontlanguage{Welsh}{WEL}\newfontlanguage{Wolof}{WLF}
-\newfontlanguage{Tai~Lue}{XBD}\newfontlanguage{Xhosa}{XHS}
-\newfontlanguage{Yakut}{YAK}\newfontlanguage{Yoruba}{YBA}
-\newfontlanguage{Y-Cree}{YCR}\newfontlanguage{Yi~Classic}{YIC}
-\newfontlanguage{Yi~Modern}{YIM}\newfontlanguage{Chinese~Hong~Kong}{ZHH}
+\newfontlanguage{Finnish}{FIN}
+\newfontlanguage{Fijian}{FJI}
+\newfontlanguage{Flemish}{FLE}
+\newfontlanguage{Forest~Nenets}{FNE}
+\newfontlanguage{Fon}{FON}
+\newfontlanguage{Faroese}{FOS}
+\newfontlanguage{French}{FRA}
+\newfontlanguage{Frisian}{FRI}
+\newfontlanguage{Friulian}{FRL}
+\newfontlanguage{Futa}{FTA}
+\newfontlanguage{Fulani}{FUL}
+\newfontlanguage{Ga}{GAD}
+\newfontlanguage{Gaelic}{GAE}
+\newfontlanguage{Gagauz}{GAG}
+\newfontlanguage{Galician}{GAL}
+\newfontlanguage{Garshuni}{GAR}
+\newfontlanguage{Garhwali}{GAW}
+\newfontlanguage{Ge'ez}{GEZ}
+\newfontlanguage{Gilyak}{GIL}
+\newfontlanguage{Gumuz}{GMZ}
+\newfontlanguage{Gondi}{GON}
+\newfontlanguage{Greenlandic}{GRN}
+\newfontlanguage{Garo}{GRO}
+\newfontlanguage{Guarani}{GUA}
+\newfontlanguage{Gujarati}{GUJ}
+\newfontlanguage{Haitian}{HAI}
+\newfontlanguage{Halam}{HAL}
+\newfontlanguage{Harauti}{HAR}
+\newfontlanguage{Hausa}{HAU}
+\newfontlanguage{Hawaiin}{HAW}
+\newfontlanguage{Hammer-Banna}{HBN}
+\newfontlanguage{Hiligaynon}{HIL}
+\newfontlanguage{Hindi}{HIN}
+\newfontlanguage{High~Mari}{HMA}
+\newfontlanguage{Hindko}{HND}
+\newfontlanguage{Ho}{HO}
+\newfontlanguage{Harari}{HRI}
+\newfontlanguage{Croatian}{HRV}
+\newfontlanguage{Hungarian}{HUN}
+\newfontlanguage{Armenian}{HYE}
+\newfontlanguage{Igbo}{IBO}
+\newfontlanguage{Ijo}{IJO}
+\newfontlanguage{Ilokano}{ILO}
+\newfontlanguage{Indonesian}{IND}
+\newfontlanguage{Ingush}{ING}
+\newfontlanguage{Inuktitut}{INU}
+\newfontlanguage{Irish}{IRI}
+\newfontlanguage{Irish~Traditional}{IRT}
+\newfontlanguage{Icelandic}{ISL}
+\newfontlanguage{Inari~Sami}{ISM}
+\newfontlanguage{Italian}{ITA}
+\newfontlanguage{Hebrew}{IWR}
+\newfontlanguage{Javanese}{JAV}
+\newfontlanguage{Yiddish}{JII}
+\newfontlanguage{Japanese}{JAN}
+\newfontlanguage{Judezmo}{JUD}
+\newfontlanguage{Jula}{JUL}
+\newfontlanguage{Kabardian}{KAB}
+\newfontlanguage{Kachchi}{KAC}
+\newfontlanguage{Kalenjin}{KAL}
+\newfontlanguage{Kannada}{KAN}
+\newfontlanguage{Karachay}{KAR}
+\newfontlanguage{Georgian}{KAT}
+\newfontlanguage{Kazakh}{KAZ}
+\newfontlanguage{Kebena}{KEB}
+\newfontlanguage{Khutsuri~Georgian}{KGE}
+\newfontlanguage{Khakass}{KHA}
+\newfontlanguage{Khanty-Kazim}{KHK}
+\newfontlanguage{Khmer}{KHM}
+\newfontlanguage{Khanty-Shurishkar}{KHS}
+\newfontlanguage{Khanty-Vakhi}{KHV}
+\newfontlanguage{Khowar}{KHW}
+\newfontlanguage{Kikuyu}{KIK}
+\newfontlanguage{Kirghiz}{KIR}
+\newfontlanguage{Kisii}{KIS}
+\newfontlanguage{Kokni}{KKN}
+\newfontlanguage{Kalmyk}{KLM}
+\newfontlanguage{Kamba}{KMB}
+\newfontlanguage{Kumaoni}{KMN}
+\newfontlanguage{Komo}{KMO}
+\newfontlanguage{Komso}{KMS}
+\newfontlanguage{Kanuri}{KNR}
+\newfontlanguage{Kodagu}{KOD}
+\newfontlanguage{Korean~Old~Hangul}{KOH}
+\newfontlanguage{Konkani}{KOK}
+\newfontlanguage{Kikongo}{KON}
+\newfontlanguage{Komi-Permyak}{KOP}
+\newfontlanguage{Korean}{KOR}
+\newfontlanguage{Komi-Zyrian}{KOZ}
+\newfontlanguage{Kpelle}{KPL}
+\newfontlanguage{Krio}{KRI}
+\newfontlanguage{Karakalpak}{KRK}
+\newfontlanguage{Karelian}{KRL}
+\newfontlanguage{Karaim}{KRM}
+\newfontlanguage{Karen}{KRN}
+\newfontlanguage{Koorete}{KRT}
+\newfontlanguage{Kashmiri}{KSH}
+\newfontlanguage{Khasi}{KSI}
+\newfontlanguage{Kildin~Sami}{KSM}
+\newfontlanguage{Kui}{KUI}
+\newfontlanguage{Kulvi}{KUL}
+\newfontlanguage{Kumyk}{KUM}
+\newfontlanguage{Kurdish}{KUR}
+\newfontlanguage{Kurukh}{KUU}
+\newfontlanguage{Kuy}{KUY}
+\newfontlanguage{Koryak}{KYK}
+\newfontlanguage{Ladin}{LAD}
+\newfontlanguage{Lahuli}{LAH}
+\newfontlanguage{Lak}{LAK}
+\newfontlanguage{Lambani}{LAM}
+\newfontlanguage{Lao}{LAO}
+\newfontlanguage{Latin}{LAT}
+\newfontlanguage{Laz}{LAZ}
+\newfontlanguage{L-Cree}{LCR}
+\newfontlanguage{Ladakhi}{LDK}
+\newfontlanguage{Lezgi}{LEZ}
+\newfontlanguage{Lingala}{LIN}
+\newfontlanguage{Low~Mari}{LMA}
+\newfontlanguage{Limbu}{LMB}
+\newfontlanguage{Lomwe}{LMW}
+\newfontlanguage{Lower~Sorbian}{LSB}
+\newfontlanguage{Lule~Sami}{LSM}
+\newfontlanguage{Lithuanian}{LTH}
+\newfontlanguage{Luba}{LUB}
+\newfontlanguage{Luganda}{LUG}
+\newfontlanguage{Luhya}{LUH}
+\newfontlanguage{Luo}{LUO}
+\newfontlanguage{Latvian}{LVI}
+\newfontlanguage{Majang}{MAJ}
+\newfontlanguage{Makua}{MAK}
+\newfontlanguage{Malayalam~Traditional}{MAL}
+\newfontlanguage{Mansi}{MAN}
+\newfontlanguage{Marathi}{MAR}
+\newfontlanguage{Marwari}{MAW}
+\newfontlanguage{Mbundu}{MBN}
+\newfontlanguage{Manchu}{MCH}
+\newfontlanguage{Moose~Cree}{MCR}
+\newfontlanguage{Mende}{MDE}
+\newfontlanguage{Me'en}{MEN}
+\newfontlanguage{Mizo}{MIZ}
+\newfontlanguage{Macedonian}{MKD}
+\newfontlanguage{Male}{MLE}
+\newfontlanguage{Malagasy}{MLG}
+\newfontlanguage{Malinke}{MLN}
+\newfontlanguage{Malayalam~Reformed}{MLR}
+\newfontlanguage{Malay}{MLY}
+\newfontlanguage{Mandinka}{MND}
+\newfontlanguage{Mongolian}{MNG}
+\newfontlanguage{Manipuri}{MNI}
+\newfontlanguage{Maninka}{MNK}
+\newfontlanguage{Manx~Gaelic}{MNX}
+\newfontlanguage{Moksha}{MOK}
+\newfontlanguage{Moldavian}{MOL}
+\newfontlanguage{Mon}{MON}
+\newfontlanguage{Moroccan}{MOR}
+\newfontlanguage{Maori}{MRI}
+\newfontlanguage{Maithili}{MTH}
+\newfontlanguage{Maltese}{MTS}
+\newfontlanguage{Mundari}{MUN}
+\newfontlanguage{Naga-Assamese}{NAG}
+\newfontlanguage{Nanai}{NAN}
+\newfontlanguage{Naskapi}{NAS}
+\newfontlanguage{N-Cree}{NCR}
+\newfontlanguage{Ndebele}{NDB}
+\newfontlanguage{Ndonga}{NDG}
+\newfontlanguage{Nepali}{NEP}
+\newfontlanguage{Newari}{NEW}
+\newfontlanguage{Nagari}{NGR}
+\newfontlanguage{Norway~House~Cree}{NHC}
+\newfontlanguage{Nisi}{NIS}
+\newfontlanguage{Niuean}{NIU}
+\newfontlanguage{Nkole}{NKL}
+\newfontlanguage{N'ko}{NKO}
+\newfontlanguage{Dutch}{NLD}
+\newfontlanguage{Nogai}{NOG}
+\newfontlanguage{Norwegian}{NOR}
+\newfontlanguage{Northern~Sami}{NSM}
+\newfontlanguage{Northern~Tai}{NTA}
+\newfontlanguage{Esperanto}{NTO}
+\newfontlanguage{Nynorsk}{NYN}
+\newfontlanguage{Oji-Cree}{OCR}
+\newfontlanguage{Ojibway}{OJB}
+\newfontlanguage{Oriya}{ORI}
+\newfontlanguage{Oromo}{ORO}
+\newfontlanguage{Ossetian}{OSS}
+\newfontlanguage{Palestinian~Aramaic}{PAA}
+\newfontlanguage{Pali}{PAL}
+\newfontlanguage{Punjabi}{PAN}
+\newfontlanguage{Palpa}{PAP}
+\newfontlanguage{Pashto}{PAS}
+\newfontlanguage{Polytonic~Greek}{PGR}
+\newfontlanguage{Pilipino}{PIL}
+\newfontlanguage{Palaung}{PLG}
+\newfontlanguage{Polish}{PLK}
+\newfontlanguage{Provencal}{PRO}
+\newfontlanguage{Portuguese}{PTG}
+\newfontlanguage{Chin}{QIN}
+\newfontlanguage{Rajasthani}{RAJ}
+\newfontlanguage{R-Cree}{RCR}
+\newfontlanguage{Russian~Buriat}{RBU}
+\newfontlanguage{Riang}{RIA}
+\newfontlanguage{Rhaeto-Romanic}{RMS}
+\newfontlanguage{Romanian}{ROM}
+\newfontlanguage{Romany}{ROY}
+\newfontlanguage{Rusyn}{RSY}
+\newfontlanguage{Ruanda}{RUA}
+\newfontlanguage{Russian}{RUS}
+\newfontlanguage{Sadri}{SAD}
+\newfontlanguage{Sanskrit}{SAN}
+\newfontlanguage{Santali}{SAT}
+\newfontlanguage{Sayisi}{SAY}
+\newfontlanguage{Sekota}{SEK}
+\newfontlanguage{Selkup}{SEL}
+\newfontlanguage{Sango}{SGO}
+\newfontlanguage{Shan}{SHN}
+\newfontlanguage{Sibe}{SIB}
+\newfontlanguage{Sidamo}{SID}
+\newfontlanguage{Silte~Gurage}{SIG}
+\newfontlanguage{Skolt~Sami}{SKS}
+\newfontlanguage{Slovak}{SKY}
+\newfontlanguage{Slavey}{SLA}
+\newfontlanguage{Slovenian}{SLV}
+\newfontlanguage{Somali}{SML}
+\newfontlanguage{Samoan}{SMO}
+\newfontlanguage{Sena}{SNA}
+\newfontlanguage{Sindhi}{SND}
+\newfontlanguage{Sinhalese}{SNH}
+\newfontlanguage{Soninke}{SNK}
+\newfontlanguage{Sodo~Gurage}{SOG}
+\newfontlanguage{Sotho}{SOT}
+\newfontlanguage{Albanian}{SQI}
+\newfontlanguage{Serbian}{SRB}
+\newfontlanguage{Saraiki}{SRK}
+\newfontlanguage{Serer}{SRR}
+\newfontlanguage{South~Slavey}{SSL}
+\newfontlanguage{Southern~Sami}{SSM}
+\newfontlanguage{Suri}{SUR}
+\newfontlanguage{Svan}{SVA}
+\newfontlanguage{Swedish}{SVE}
+\newfontlanguage{Swadaya~Aramaic}{SWA}
+\newfontlanguage{Swahili}{SWK}
+\newfontlanguage{Swazi}{SWZ}
+\newfontlanguage{Sutu}{SXT}
+\newfontlanguage{Syriac}{SYR}
+\newfontlanguage{Tabasaran}{TAB}
+\newfontlanguage{Tajiki}{TAJ}
+\newfontlanguage{Tamil}{TAM}
+\newfontlanguage{Tatar}{TAT}
+\newfontlanguage{TH-Cree}{TCR}
+\newfontlanguage{Telugu}{TEL}
+\newfontlanguage{Tongan}{TGN}
+\newfontlanguage{Tigre}{TGR}
+\newfontlanguage{Tigrinya}{TGY}
+\newfontlanguage{Thai}{THA}
+\newfontlanguage{Tahitian}{THT}
+\newfontlanguage{Tibetan}{TIB}
+\newfontlanguage{Turkmen}{TKM}
+\newfontlanguage{Temne}{TMN}
+\newfontlanguage{Tswana}{TNA}
+\newfontlanguage{Tundra~Nenets}{TNE}
+\newfontlanguage{Tonga}{TNG}
+\newfontlanguage{Todo}{TOD}
+\newfontlanguage{Tsonga}{TSG}
+\newfontlanguage{Turoyo~Aramaic}{TUA}
+\newfontlanguage{Tulu}{TUL}
+\newfontlanguage{Tuvin}{TUV}
+\newfontlanguage{Twi}{TWI}
+\newfontlanguage{Udmurt}{UDM}
+\newfontlanguage{Ukrainian}{UKR}
+\newfontlanguage{Urdu}{URD}
+\newfontlanguage{Upper~Sorbian}{USB}
+\newfontlanguage{Uyghur}{UYG}
+\newfontlanguage{Uzbek}{UZB}
+\newfontlanguage{Venda}{VEN}
+\newfontlanguage{Vietnamese}{VIT}
+\newfontlanguage{Wa}{WA}
+\newfontlanguage{Wagdi}{WAG}
+\newfontlanguage{West-Cree}{WCR}
+\newfontlanguage{Welsh}{WEL}
+\newfontlanguage{Wolof}{WLF}
+\newfontlanguage{Tai~Lue}{XBD}
+\newfontlanguage{Xhosa}{XHS}
+\newfontlanguage{Yakut}{YAK}
+\newfontlanguage{Yoruba}{YBA}
+\newfontlanguage{Y-Cree}{YCR}
+\newfontlanguage{Yi~Classic}{YIC}
+\newfontlanguage{Yi~Modern}{YIM}
+\newfontlanguage{Chinese~Hong~Kong}{ZHH}
\newfontlanguage{Chinese~Phonetic}{ZHP}
\newfontlanguage{Chinese~Simplified}{ZHS}
-\newfontlanguage{Chinese~Traditional}{ZHT}\newfontlanguage{Zande}{ZND}
+\newfontlanguage{Chinese~Traditional}{ZHT}
+\newfontlanguage{Zande}{ZND}
\newfontlanguage{Zulu}{ZUL}
-\keys_define:nn {fontspec}
- {
- Language / Turkish .code:n =
- {
- \fontspec_check_lang:nTF {TRK}
- {
- \int_set:Nn \l_fontspec_language_int {\l_fontspec_strnum_int}
- \tl_set:Nn \l_fontspec_lang_tl {TRK}
- }
- {
- \fontspec_check_lang:nTF {TUR}
- {
- \int_set:Nn \l_fontspec_language_int {\l_fontspec_strnum_int}
- \tl_set:Nn \l_fontspec_lang_tl {TUR}
- }
- {
- \__fontspec_warning:nx {language-not-exist} {Turkish}
- \keys_set:nn {fontspec} {Language=Default}
- }
- }
- }
- }
-\__fontspec_keys_define_code:nnn {fontspec}{ Language / Default }
- {
- \tl_set:Nn \l_fontspec_lang_tl {DFLT}
- \int_zero:N \l_fontspec_language_int
- }
-\__fontspec_keys_define_code:nnn {fontspec} {RawFeature}
- {
- \__fontspec_update_featstr:n {#1}
- }
+
+
+\providecommand\UnicodeFontFile[2]{"[#1]:#2"}
+\providecommand\UnicodeFontName[2]{"#1:#2"}
+\providecommand\UnicodeFontTeXLigatures{+tlig;}
+\providecommand\add at unicode@accent[2]{#2\char#1\relax}
+\providecommand\DeclareUnicodeAccent[3]{%
+ \DeclareTextCommand{#1}{#2}{\add at unicode@accent{#3}}%
+}
+\DeclareDocumentCommand \EncodingCommand {mO{}m}
+ {
+ \bool_if:NF \l__fontspec_defining_encoding_bool
+ { \__fontspec_error:nn {only-inside-encdef} \EncodingCommand }
+ \DeclareTextCommand{#1}{\UnicodeEncodingName}[#2]{#3}
+ }
+\DeclareDocumentCommand \EncodingAccent {mm}
+ {
+ \bool_if:NF \l__fontspec_defining_encoding_bool
+ { \__fontspec_error:nn {only-inside-encdef} \EncodingAccent }
+ \DeclareTextCommand{#1}{\UnicodeEncodingName}{\add at unicode@accent{#2}}
+ }
+\DeclareDocumentCommand \EncodingSymbol {mm}
+ {
+ \bool_if:NF \l__fontspec_defining_encoding_bool
+ { \__fontspec_error:nn {only-inside-encdef} \EncodingSymbol }
+ \DeclareTextSymbol{#1}{\UnicodeEncodingName}{#2}
+ }
+\DeclareDocumentCommand \EncodingComposite {mmm}
+ {
+ \bool_if:NF \l__fontspec_defining_encoding_bool
+ { \__fontspec_error:nn {only-inside-encdef} \EncodingComposite }
+ \DeclareTextComposite{#1}{\UnicodeEncodingName}{#2}{#3}
+ }
+\DeclareDocumentCommand \EncodingCompositeCommand {mmm}
+ {
+ \bool_if:NF \l__fontspec_defining_encoding_bool
+ { \__fontspec_error:nn {only-inside-encdef} \EncodingCompositeCommand }
+ \DeclareTextCompositeCommand{#1}{\UnicodeEncodingName}{#2}{#3}
+ }
+\DeclareDocumentCommand \DeclareUnicodeEncoding {mm}
+ {
+ \DeclareFontEncoding{#1}{}{}
+ \DeclareErrorFont{#1}{lmr}{m}{n}{10}
+ \DeclareFontSubstitution{#1}{lmr}{m}{n}
+ \DeclareFontFamily{#1}{lmr}{}
+
+ \DeclareFontShape{#1}{lmr}{m}{n}
+ {<->\UnicodeFontFile{lmroman10-regular}{\UnicodeFontTeXLigatures}}{}
+ \DeclareFontShape{#1}{lmr}{m}{it}
+ {<->\UnicodeFontFile{lmroman10-italic}{\UnicodeFontTeXLigatures}}{}
+ \DeclareFontShape{#1}{lmr}{m}{sc}
+ {<->\UnicodeFontFile{lmromancaps10-regular}{\UnicodeFontTeXLigatures}}{}
+ \DeclareFontShape{#1}{lmr}{bx}{n}
+ {<->\UnicodeFontFile{lmroman10-bold}{\UnicodeFontTeXLigatures}}{}
+ \DeclareFontShape{#1}{lmr}{bx}{it}
+ {<->\UnicodeFontFile{lmroman10-bolditalic}{\UnicodeFontTeXLigatures}}{}
+
+ \tl_set_eq:NN \l__fontspec_prev_unicode_name_tl \UnicodeEncodingName
+ \tl_set:Nn \UnicodeEncodingName {#1}
+ \bool_set_true:N \l__fontspec_defining_encoding_bool
+ #2
+ \bool_set_false:N \l__fontspec_defining_encoding_bool
+ \tl_set_eq:NN \UnicodeEncodingName \l__fontspec_prev_unicode_name_tl
+ }
+\DeclareDocumentCommand \UndeclareSymbol {m}
+ {
+ \bool_if:NF \l__fontspec_defining_encoding_bool
+ { \__fontspec_error:nn {only-inside-encdef} \UndeclareSymbol }
+ \UndeclareTextCommand {#1} {\UnicodeEncodingName}
+ }
+
+\DeclareDocumentCommand \UndeclareComposite {mm}
+ {
+ \bool_if:NF \l__fontspec_defining_encoding_bool
+ { \__fontspec_error:nn {only-inside-encdef} \UndeclareComposite }
+ \cs_undefine:c
+ { \c_backslash_str \UnicodeEncodingName \token_to_str:N #1 - \tl_to_str:n {#2} }
+ }
\@ifpackageloaded{euler}
{
\bool_set_true:N \g__fontspec_pkg_euler_loaded_bool
@@ -2585,7 +3221,7 @@
\tl_set:Nn \zf at enc { \g_fontspec_encoding_tl }
\cs_set:Npn \zf at fontspec #1 #2
{
- \fontspec_select:nn {#1} {#2}
+ \__fontspec_select_font_family:nn {#1} {#2}
\tl_set:Nn \zf at family { \l_fontspec_family_tl }
\tl_set:Nn \zf at basefont { \l_fontspec_font }
}
@@ -2646,27 +3282,45 @@
\not at math@alphabet\upshape\relax
\fontspec_merge_shape:n\updefault
}
-\int_new:N \l__fontspec_em_int
-\int_new:N \l__fontspec_emdef_int
\cs_new_protected:Npn \emfontdeclare #1
{
- \int_zero:N \l__fontspec_emdef_int
- \clist_map_inline:nn {#1}
- {
- \int_incr:N \l__fontspec_emdef_int
- \cs_set:cpn {__fontspec_em_font_ \int_use:N \l__fontspec_emdef_int _switch:} {##1}
- }
+ \prop_clear:N \g__fontspec_em_prop
+ \int_zero:N \l__fontspec_emdef_int
+ \group_begin:
+ \normalfont
+ \clist_map_inline:nn {\emreset,#1}
+ {
+ ##1
+ \prop_gput:NxV \g__fontspec_em_prop { \f at series/\f at shape } { \l__fontspec_emdef_int }
+ \prop_gput:Nxn \g__fontspec_em_prop { switch-\int_use:N \l__fontspec_emdef_int } { ##1 }
+ \int_incr:N \l__fontspec_emdef_int
+ }
+ \group_end:
}
\DeclareRobustCommand \em
{
\@nomath\em
+
+ \prop_get:NxNT \g__fontspec_em_prop { \f at series/\f at shape } \l__fontspec_em_tmp_tl
+ { \int_set:Nn \l__fontspec_em_int { \l__fontspec_em_tmp_tl } }
+
\int_incr:N \l__fontspec_em_int
- \use:c {__fontspec_em_font_ \int_use:N \l__fontspec_em_int _switch:}
+
+ \prop_get:NxNTF \g__fontspec_em_prop { switch-\int_use:N \l__fontspec_em_int } \l__fontspec_em_switch_tl
+ { \l__fontspec_em_switch_tl }
+ {
+ \int_zero:N \l__fontspec_em_int
+ \emreset
+ }
+
}
\DeclareTextFontCommand{\emph}{\em}
+\cs_set:Npn \emreset { \upshape }
\cs_set:Npn \emshape { \itshape }
\cs_set:Npn \eminnershape { \upshape }
\emfontdeclare{ \emshape, \eminnershape }
+\cs_set:Npn \reset at font { \normalfont \int_zero:N \l__fontspec_em_int }
+\cs_new:Nn \fontspec_set_em_level:n { \int_set:Nn \l__fontspec_em_int {#1} }
\DeclareRobustCommand{\-}
{
\discretionary
@@ -2681,7 +3335,7 @@
\def\xlx at defaulthyphenchar{`\-}
\cs_new:Nn \fontspec_visible_space:
{
- \font_glyph_if_exist:NnTF \font {"2423}
+ \__fontspec_primitive_font_glyph_if_exist:NnTF \font {"2423}
{ \char"2423\scan_stop: }
{ \fontspec_visible_space_fallback: }
}
@@ -2768,7 +3422,7 @@
{ \addfontfeature{Numbers=Lining} #1 }
}
%% ------------------------------------------------
-%% Copyright 2004--2016 Will Robertson <wspr81 at gmail.com>
+%% Copyright 2004--2017 Will Robertson <wspr81 at gmail.com>
%% Copyright 2009--2013 Khaled Hosny <khaledhosny at eglug.org>
%%
%% Distributable under the LaTeX Project Public License, version 1.3c or higher.
@@ -2775,8 +3429,8 @@
%% The latest version of this license is at: http://www.latex-project.org/lppl.txt
%%
%% This work is "maintained" by Will Robertson.
-%% It consists of the files: fontspec*.dtx, fontspec.cfg, fontspec-example.tex.
-%% And the derived files: fontspec*.sty,fontspec.lua, and fontspec.pdf.
+%% It consists of the files: fontspec*.dtx, fontspec.cfg, fontspec*.tex.
+%% And the derived files: fontspec*.sty,fontspec.lua, fontspec.pdf.
%% ------------------------------------------------
%%
%% End of file `fontspec-luatex.sty'.
Modified: trunk/Master/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty 2017-01-22 22:33:54 UTC (rev 43015)
+++ trunk/Master/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty 2017-01-22 22:34:22 UTC (rev 43016)
@@ -5,26 +5,33 @@
%% The original source files were:
%%
%% fontspec.dtx (with options: `fontspec,xetexx')
-%% fontspec-vars.dtx (with options: `vars')
-%% fontspec-msg.dtx (with options: `msg')
+%% fontspec-vars.dtx (with options: `fontspec,xetexx')
+%% fontspec-msg.dtx (with options: `fontspec,xetexx')
%% fontspec-opening.dtx (with options: `fontspec,xetexx')
%% fontspec-fontload.dtx (with options: `fontspec,xetexx')
%% fontspec-user.dtx (with options: `fontspec,xetexx')
%% fontspec-api.dtx (with options: `fontspec,xetexx')
%% fontspec-internal.dtx (with options: `fontspec,xetexx')
+%% fontspec-opentype.dtx (with options: `fontspec,xetexx')
+%% fontspec-graphite.dtx (with options: `fontspec,xetexx')
%% fontspec-keyval.dtx (with options: `fontspec,xetexx')
+%% fontspec-feat-opentype.dtx (with options: `fontspec,xetexx')
+%% fontspec-scripts.dtx (with options: `fontspec,xetexx')
+%% fontspec-lang.dtx (with options: `fontspec,xetexx')
+%% fontspec-feat-aat.dtx (with options: `fontspec,xetexx')
+%% fontspec-enc.dtx (with options: `fontspec,xetexx')
%% fontspec-math.dtx (with options: `fontspec,xetexx')
%% fontspec-closing.dtx (with options: `fontspec,xetexx')
-%% fontspec-patches.dtx (with options: `patches')
+%% fontspec-patches.dtx (with options: `fontspec,xetexx')
%% ------------------------------------------------
%% The FONTSPEC package for XeLaTeX/LuaLaTeX
-%% (C) 2004--2016 Will Robertson and Khaled Hosny
+%% (C) 2004--2017 Will Robertson and Khaled Hosny
%% License information appended.
%% ------------------------------------------------
\RequirePackage{expl3}
\RequirePackage{xparse}
\ProvidesExplPackage{fontspec-xetex}%
- {2016/02/01}{2.5a}{Font selection for XeLaTeX and LuaLaTeX}
+ {2017/01/02}{2.5c}{Font selection for XeLaTeX and LuaLaTeX}
\bool_new:N \l__fontspec_firsttime_bool
\bool_new:N \l__fontspec_nobf_bool
\bool_new:N \l__fontspec_noit_bool
@@ -43,30 +50,93 @@
\bool_new:N \g__fontspec_cfg_bool
\bool_new:N \g__fontspec_math_bool
\bool_new:N \g__fontspec_euenc_bool
-\int_new:N \l_fontspec_script_int
-\int_new:N \l_fontspec_language_int
-\int_new:N \l_fontspec_strnum_int
+\bool_new:N \l__fontspec_disable_defaults_bool
+\bool_new:N \l__fontspec_alias_bool
+\bool_new:N \l__fontspec_external_bool
+\bool_new:N \l__fontspec_never_check_bool
+\bool_new:N \l__fontspec_defining_encoding_bool
+\bool_new:N \l__fontspec_script_exist_bool
+\int_new:N \l__fontspec_script_int
+\int_new:N \l__fontspec_language_int
+\int_new:N \l__fontspec_strnum_int
+\int_new:N \l__fontspec_tmp_int
+\int_new:N \l__fontspec_em_int
+\int_new:N \l__fontspec_emdef_int
\fp_new:N \l__fontspec_tmpa_fp
\fp_new:N \l__fontspec_tmpb_fp
\dim_new:N \l__fontspec_tmpa_dim
\dim_new:N \l__fontspec_tmpb_dim
\dim_new:N \l__fontspec_tmpc_dim
-\tl_set:Nx \c_colon_str { \tl_to_str:N : }
-\cs_set:Npn \use_v:nnnnn #1#2#3#4#5 {#5}
-\cs_set:Npn \use_iv:nnnnn #1#2#3#4#5 {#4}
-\cs_generate_variant:Nn \str_if_eq:nnTF {nv}
+\seq_new:N \g__fontspec_bf_series_seq
+\clist_new:N \g__fontspec_default_fontopts_clist
+\clist_new:N \g__fontspec_all_keyval_modules_clist
+\clist_set:Nn \l__fontspec_sizefeat_clist {Size={-}}
+\prop_new:N \g__fontspec_fontopts_prop
+\prop_new:N \l__fontspec_nfss_prop
+\prop_new:N \l__fontspec_nfssfont_prop
+\prop_new:N \g__fontspec_OT_features_prop
+\prop_new:N \g__fontspec_all_opentype_feature_names_prop
+\prop_new:N \g__fontspec_em_prop
+\tl_new:N \g__fontspec_mathrm_tl
+\tl_new:N \g__fontspec_bfmathrm_tl
+\tl_new:N \g__fontspec_mathsf_tl
+\tl_new:N \g__fontspec_mathtt_tl
+\tl_new:N \l__fontspec_family_label_tl
+\tl_new:N \l__fontspec_fake_slant_tl
+\tl_new:N \l__fontspec_fake_embolden_tl
+\tl_new:N \l__fontspec_fontname_up_tl
+\tl_new:N \l__fontspec_fontname_bf_tl
+\tl_new:N \l__fontspec_fontname_it_tl
+\tl_new:N \l__fontspec_fontname_bfit_tl
+\tl_new:N \l__fontspec_fontname_sl_tl
+\tl_new:N \l__fontspec_fontname_bfsl_tl
+\tl_new:N \l__fontspec_fontname_sc_tl
+\tl_new:N \l__fontspec_fontfeat_up_clist
+\tl_new:N \l__fontspec_fontfeat_bf_clist
+\tl_new:N \l__fontspec_fontfeat_it_clist
+\tl_new:N \l__fontspec_fontfeat_bfit_clist
+\tl_new:N \l__fontspec_fontfeat_sl_clist
+\tl_new:N \l__fontspec_fontfeat_bfsl_clist
+\tl_new:N \l__fontspec_fontfeat_sc_clist
+\tl_new:N \l__fontspec_script_name_tl
+\tl_new:N \l_fontspec_script_tl
+\tl_new:N \l__fontspec_lang_name_tl
+\tl_new:N \l_fontspec_lang_tl
+\tl_new:N \g__fontspec_hexcol_tl
+\tl_new:N \g__fontspec_opacity_tl
+\tl_set:Nn \g__fontspec_hexcol_tl {000000}
+\tl_set:Nn \g__fontspec_opacity_tl {FF~}
+\tl_set:Nn \g__fontspec_postadjust_tl { \l__fontspec_wordspace_adjust_tl \l__fontspec_punctspace_adjust_tl }
+\cs_new:Nn \__fontspec_keys_set_known:nnN
+ {
+ \keys_set_known:nnN {#1} {#2} #3
+ }
+\cs_generate_variant:Nn \__fontspec_keys_set_known:nnN {nx}
+\cs_set:Npn \__fontspec_head_ii:n #1 { \__fontspec_head_ii:w #1 *** \q_stop}
+\cs_set:Npn \__fontspec_head_ii:w #1#2#3 \q_stop { #1#2 }
+\cs_generate_variant:Nn \__fontspec_head_ii:n {o}
+\cs_new:Nn \__fontspec_int_mult_truncate:Nn
+ {
+ \int_set:Nn #1 { \__dim_eval:w #2 #1 \__dim_eval_end: }
+ }
\cs_generate_variant:Nn \int_set:Nn {Nv}
\cs_generate_variant:Nn \keys_set:nn {nx}
\cs_generate_variant:Nn \keys_set_known:nnN {nx}
+\cs_generate_variant:Nn \prop_put:Nnn {Nxx}
+\cs_generate_variant:Nn \prop_put:Nnn {NxV}
+\cs_generate_variant:Nn \prop_gput:Nnn {NxV}
+\cs_generate_variant:Nn \prop_gput:Nnn {Nxn}
+\cs_generate_variant:Nn \prop_get:NnNT {NxN}
+\cs_generate_variant:Nn \prop_get:NnNTF {NxN}
+\cs_generate_variant:Nn \str_if_eq:nnTF {nv}
\cs_generate_variant:Nn \tl_if_empty:nTF {x}
-\cs_generate_variant:Nn \tl_if_empty:nTF {x}
-\cs_generate_variant:Nn \prop_put:Nnn {Nxx}
-\cs_new:Nn \__fontspec_int_mult_truncate:Nn
- {
- \int_set:Nn #1 { \__dim_eval:w #2 #1 \__dim_eval_end: }
- }
+\cs_generate_variant:Nn \tl_if_empty:nF {x}
+\cs_generate_variant:Nn \tl_if_empty:nF {f}
+\cs_generate_variant:Nn \tl_if_eq:nnT {ox}
+\cs_generate_variant:Nn \tl_replace_all:Nnn {Nnx}
\cs_new:Npn \__fontspec_error:n { \msg_error:nn {fontspec} }
+\cs_new:Npn \__fontspec_error:nn { \msg_error:nnn {fontspec} }
\cs_new:Npn \__fontspec_error:nx { \msg_error:nnx {fontspec} }
\cs_new:Npn \__fontspec_warning:n { \msg_warning:nn {fontspec} }
\cs_new:Npn \__fontspec_warning:nx { \msg_warning:nnx {fontspec} }
@@ -75,190 +145,226 @@
\cs_new:Npn \__fontspec_info:nx { \msg_info:nnx {fontspec} }
\cs_new:Npn \__fontspec_info:nxx { \msg_info:nnxx {fontspec} }
\cs_new:Npn \__fontspec_trace:n { \msg_trace:nn {fontspec} }
-\msg_new:nnn {fontspec} {no-size-info}
+\cs_generate_variant:Nn \msg_new:nnn {nnx}
+\cs_generate_variant:Nn \msg_new:nnnn {nnxx}
+\cs_new:Nn \__fontspec_msg_new:nnn
+ { \msg_new:nnx {#1} {#2} { \tl_trim_spaces:n {#3} } }
+\cs_new:Nn \__fontspec_msg_new:nnnn
+ { \msg_new:nnxx {#1} {#2} { \tl_trim_spaces:n {#3} } { \tl_trim_spaces:n {#4} } }
+\char_set_catcode_space:n {32}
+\__fontspec_msg_new:nnn {fontspec} {only-inside-encdef}
{
- Size~ information~ must~ be~ supplied.\\
- For~ example,~ SizeFeatures={Size={8-12},...}.
+ \exp_not:N#1can only be used in the second argument
+ to \string\DeclareUnicodeEncoding.
}
-\msg_new:nnnn {fontspec} {font-not-found}
+\__fontspec_msg_new:nnn {fontspec} {only-import-tu}
{
- The~ font~ "#1"~ cannot~ be~ found.
+ The "\string\ImportEncoding" command can only take "TU" as an argument at this stage.
}
+\__fontspec_msg_new:nnn {fontspec} {no-size-info}
{
- A~font~might~not~be~found~for~many~reasons.\\
- Check~the~spelling,~where~the~font~is~installed~etc.~etc.\\\\
- When~in~doubt,~ask~someone~for~help!
+ Size information must be supplied.\\
+ For example, SizeFeatures={Size={8-12},...}.
}
-\msg_new:nnnn {fontspec} {rename-feature-not-exist}
+\__fontspec_msg_new:nnnn {fontspec} {font-not-found}
{
- The~ feature~ #1~ doesn't~ appear~ to~ be~ defined.
+ The font "#1" cannot be found.
}
{
- It~ looks~ like~ you're~ trying~ to~ rename~ a~ feature~ that~ doesn't~ exist.
+ A font might not be found for many reasons.\\
+ Check the spelling, where the font is installed etc. etc.\\\\
+ When in doubt, ask someone for help!
}
-\msg_new:nnn {fontspec} {no-glyph}
+\__fontspec_msg_new:nnnn {fontspec} {rename-feature-not-exist}
{
- '\l_fontspec_fontname_tl'~ does~ not~ contain~ glyph~ #1.
+ The feature #1 doesn't appear to be defined.
}
-\msg_new:nnnn {fontspec} {euler-too-late}
{
- The~ euler~ package~ must~ be~ loaded~ BEFORE~ fontspec.
+ It looks like you're trying to rename a feature that doesn't exist.
}
+\__fontspec_msg_new:nnn {fontspec} {no-glyph}
{
- fontspec~ only~ overwrites~ euler's~ attempt~ to~
- define~ the~ maths~ text~ fonts~ if~ fontspec~ is~
- loaded~ after~ euler.~ Type~ <return>~ to~ proceed~
- with~ incorrect~ \string\mathit,~ \string\mathbf,~ etc.
+ '\l_fontspec_fontname_tl' does not contain glyph #1.
}
-\msg_new:nnnn {fontspec} {no-xcolor}
+\__fontspec_msg_new:nnnn {fontspec} {euler-too-late}
{
- Cannot~ load~ named~ colours~ without~ the~ xcolor~ package.
+ The euler package must be loaded BEFORE fontspec.
}
{
- Sorry,~ I~ can't~ do~ anything~ to~ help.~ Instead~ of~ loading~
- the~ color~ package,~ use~ xcolor~ instead.~ It's~ better.
+ fontspec only overwrites euler's attempt to
+ define the maths text fonts if fontspec is
+ loaded after euler. Type <return> to proceed
+ with incorrect \string\mathit, \string\mathbf, etc.
}
-\msg_new:nnnn {fontspec} {unknown-color-model}
+\__fontspec_msg_new:nnnn {fontspec} {no-xcolor}
{
- Error~ loading~ colour~ `#1';~ unknown~ colour~ model.
+ Cannot load named colours without the xcolor package.
}
{
- Sorry,~ I~ can't~ do~ anything~ to~ help.~ Please~ report~ this~ error~
- to~ my~ developer~ with~ a~ minimal~ example~ that~ causes~ the~ problem.
+ Sorry, I can't do anything to help. Instead of loading
+ the color package, use xcolor instead.
}
-\msg_new:nnnn {fontspec} {not-in-addfontfeatures}
+\__fontspec_msg_new:nnnn {fontspec} {unknown-color-model}
{
- The~ "#1"~ font~ feature~ cannot~ be~ used~ in~ \string\addfontfeatures.
+ Error loading colour `#1'; unknown colour model.
}
{
- This~ is~ due~ to~ how~ TeX~ loads~ fonts;~ such~ settings~
- are~ global~ so~ adding~ them~ mid-document~ within~ a~ group~ causes~
- confusion.~ You'll~ need~ to~ define~ multiple~ font~ families~ to~ achieve~
- what~ you~ want.
+ Sorry, I can't do anything to help. Please report this error
+ to my developer with a minimal example that causes the problem.
}
-\msg_new:nnn {fontspec} {addfontfeatures-ignored}
+\__fontspec_msg_new:nnnn {fontspec} {not-in-addfontfeatures}
{
- \string\addfontfeature (s)~ ignored~ \msg_line_context:;~
- it~ cannot~ be~ used~ with~ a~ font~ that~ wasn't~ selected~ by~ a~ fontspec~ command.\\
+ The "#1" font feature cannot be used in \string\addfontfeatures.
+ }
+ {
+ This is due to how TeX loads fonts; such settings
+ are global so adding them mid-document within a group causes
+ confusion. You'll need to define multiple font families to achieve
+ what you want.
+ }
+\__fontspec_msg_new:nnn {fontspec} {tu-clash}
+ {
+ I have found the tuenc.def encoding definition file but the TU encoding is not
+ defined by the LaTeX2e kernel; attempting to correct but you really should update
+ to the latest version of LaTeX2e.
+ }
+\__fontspec_msg_new:nnn {fontspec} {tu-missing}
+ {
+ The TU encoding seems to be missing; please update to the latest version of LaTeX2e.
+ }
+\__fontspec_msg_new:nnn {fontspec} {addfontfeatures-ignored}
+ {
+ \string\addfontfeature (s) ignored \msg_line_context:;
+ it cannot be used with a font that wasn't selected by a fontspec command.\\
\\
- The~ current~ font~ is~ "\use:c{font at name}".\\
+ The current font is "\use:c{font at name}".\\
\int_compare:nTF { \clist_count:n {#1} = 1 }
- { The~ requested~ feature~ is~ "#1". }
- { The~ requested~ features~ are~ "#1". }
+ { The requested feature is "#1". }
+ { The requested features are "#1". }
}
-\msg_new:nnn {fontspec} {feature-option-overwrite}
+\__fontspec_msg_new:nnn {fontspec} {feature-option-overwrite}
{
- Option~ '#2'~ of~ font~ feature~ '#1'~ overwritten.
+ Option '#2' of font feature '#1' overwritten.
}
-\msg_new:nnn {fontspec} {script-not-exist-latn}
+\__fontspec_msg_new:nnn {fontspec} {script-not-exist-latn}
{
- Font~ '\l_fontspec_fontname_tl'~ does~ not~ contain~ script~ '#1'.\\
- 'Latin'~ script~ used~ instead.
+ Font '\l_fontspec_fontname_tl' does not contain script '#1'.\\
+ 'Latin' script used instead.
}
-\msg_new:nnn {fontspec} {script-not-exist}
+\__fontspec_msg_new:nnn {fontspec} {script-not-exist}
{
- Font~ '\l_fontspec_fontname_tl'~ does~ not~ contain~ script~ '#1'.
+ Font '\l_fontspec_fontname_tl' does not contain script '#1'.
}
-\msg_new:nnn {fontspec} {aat-feature-not-exist}
+\__fontspec_msg_new:nnn {fontspec} {aat-feature-not-exist}
{
- '\l_keys_key_tl=\l_keys_value_tl'~ feature~ not~ supported~
- for~ AAT~ font~ '\l_fontspec_fontname_tl'.
+ '\l_keys_key_tl=\l_keys_value_tl' feature not supported
+ for AAT font '\l_fontspec_fontname_tl'.
}
-\msg_new:nnn {fontspec} {aat-feature-not-exist-in-font}
+\__fontspec_msg_new:nnn {fontspec} {aat-feature-not-exist-in-font}
{
- AAT~ feature~ '\l_keys_key_tl=\l_keys_value_tl'~ (#1)~ not~ available~
- in~ font~ '\l_fontspec_fontname_tl'.
+ AAT feature '\l_keys_key_tl=\l_keys_value_tl' (#1) not available
+ in font '\l_fontspec_fontname_tl'.
}
-\msg_new:nnn {fontspec} {icu-feature-not-exist}
+\__fontspec_msg_new:nnn {fontspec} {icu-feature-not-exist}
{
- '\l_keys_key_tl=\l_keys_value_tl'~ feature~ not~ supported~
- for~ OpenType~ font~ '\l_fontspec_fontname_tl'
+ '\l_keys_key_tl=\l_keys_value_tl' feature not supported
+ for OpenType font '\l_fontspec_fontname_tl'
}
-\msg_new:nnn {fontspec} {icu-feature-not-exist-in-font}
+\__fontspec_msg_new:nnn {fontspec} {icu-feature-not-exist-in-font}
{
- OpenType~ feature~ '\l_keys_key_tl=\l_keys_value_tl'~ (#1)~ not~ available~
- for~ font~ '\l_fontspec_fontname_tl'~
- with~ script~ '\l__fontspec_script_name_tl'~ and~ language~ '\l__fontspec_lang_name_tl'.
+ OpenType feature '\l_keys_key_tl=\l_keys_value_tl' (#1) not available
+ for font '\l_fontspec_fontname_tl'
+ with script '\l__fontspec_script_name_tl' and language '\l__fontspec_lang_name_tl'.
}
-\msg_new:nnn {fontspec} {no-opticals}
+\__fontspec_msg_new:nnn {fontspec} {no-opticals}
{
- '\l_fontspec_fontname_tl'~ doesn't~ appear~ to~ have~ an~ Optical~ Size~ axis.
+ '\l_fontspec_fontname_tl' doesn't appear to have an Optical Size axis.
}
-\msg_new:nnn {fontspec} {language-not-exist}
+\__fontspec_msg_new:nnn {fontspec} {language-not-exist}
{
- Language~ '#1'~ not~ available~
- for~ font~ '\l_fontspec_fontname_tl'~
- with~ script~ '\l__fontspec_script_name_tl'.\\
- 'Default'~ language~ used~ instead.
+ Language '#1' not available
+ for font '\l_fontspec_fontname_tl'
+ with script '\l__fontspec_script_name_tl'.\\
+ 'Default' language used instead.
}
-\msg_new:nnn {fontspec} {only-xetex-feature}
+\__fontspec_msg_new:nnn {fontspec} {only-xetex-feature}
{
- Ignored~ XeTeX~ only~ feature:~ '#1'.
+ Ignored XeTeX only feature: '#1'.
}
-\msg_new:nnn {fontspec} {only-luatex-feature}
+\__fontspec_msg_new:nnn {fontspec} {only-luatex-feature}
{
- Ignored~ LuaTeX~ only~ feature:~ '#1'.
+ Ignored LuaTeX only feature: '#1'.
}
-\msg_new:nnn {fontspec} {no-mapping}
+\__fontspec_msg_new:nnn {fontspec} {no-mapping}
{
- Input~ mapping~ not~ (yet?)~ supported~ in~ LuaTeX.
+ Input mapping not (yet?) supported in LuaTeX.
}
-\msg_new:nnn {fontspec} {no-mapping-ligtex}
+\__fontspec_msg_new:nnn {fontspec} {no-mapping-ligtex}
{
- Input~ mapping~ not~ (yet?)~ supported~ in~ LuaTeX.\\
- Use~ "Ligatures=TeX"~ instead~ of~ "Mapping=tex-text".
+ Input mapping not (yet?) supported in LuaTeX.\\
+ Use "Ligatures=TeX" instead of "Mapping=tex-text".
}
-\msg_new:nnn {fontspec} {cm-default-obsolete}
+\__fontspec_msg_new:nnn {fontspec} {cm-default-obsolete}
{
- The~ "cm-default"~ package~ option~ is~ obsolete.
+ The "cm-default" package option is obsolete.
}
-\msg_new:nnn {fontspec} {fakebold-only-xetex}
+\__fontspec_msg_new:nnn {fontspec} {fakebold-only-xetex}
{
- The~ "FakeBold"~ and~ "AutoFakeBold"~ options~ are~ only~ available~ with~ XeLaTeX.\\
- Option~ ignored.
+ The "FakeBold" and "AutoFakeBold" options are only available with XeLaTeX.\\
+ Option ignored.
}
-\msg_new:nnn {fontspec} {defining-font}
+\__fontspec_msg_new:nnn {fontspec} {font-index-needs-ttc}
{
- Font~ family~'\l_fontspec_family_tl'~ created~ for~ font~ '#2'~
- with~ options~ [\l__fontspec_all_features_clist].\\
+ The "FontIndex" feature is only supported by TTC (TrueType Collection) fonts.\\
+ Feature ignored.
+ }
+\__fontspec_msg_new:nnn {fontspec} {feat-cannot-remove}
+ {
+ The "#1" feature cannot be deactivated. Request ignored.
+ }
+\__fontspec_msg_new:nnn {fontspec} {defining-font}
+ {
+ Font family '\l_fontspec_family_tl' created for font '#2'
+ with options [\l__fontspec_all_features_clist].\\
\\
- This~ font~ family~ consists~ of~ the~ following~ NFSS~ series/shapes:\\
+ This font family consists of the following NFSS series/shapes:\\
\l_fontspec_defined_shapes_tl
}
-\msg_new:nnn {fontspec} {no-font-shape}
+\__fontspec_msg_new:nnn {fontspec} {no-font-shape}
{
- Could~ not~ resolve~ font~ #1~ (it~ probably~ doesn't~ exist).
+ Could not resolve font "#1" (it probably doesn't exist).
}
-\msg_new:nnn {fontspec} {set-scale}
+\__fontspec_msg_new:nnn {fontspec} {set-scale}
{
- \l_fontspec_fontname_tl\space scale ~=~ \l__fontspec_scale_tl.
+ \l_fontspec_fontname_tl\space scale = \l__fontspec_scale_tl.
}
-\msg_new:nnn {fontspec} {setup-math}
+\__fontspec_msg_new:nnn {fontspec} {setup-math}
{
- Adjusting~ the~ maths~ setup~ (use~ [no-math]~ to~ avoid~ this).
+ Adjusting the maths setup (use [no-math] to avoid this).
}
-\msg_new:nnn {fontspec} {no-scripts}
+\__fontspec_msg_new:nnn {fontspec} {no-scripts}
{
- Font~ \l_fontspec_fontname_tl\space does~ not~ contain~ any~ OpenType~ `Script'~ information.
+ Font "\l_fontspec_fontname_tl" does not contain any OpenType `Script' information.
}
-\msg_new:nnn {fontspec} {opa-twice}
+\__fontspec_msg_new:nnn {fontspec} {opa-twice}
{
- Opacity~ set~ twice,~ in~ both~ Colour~ and~ Opacity.\\
- Using~ specification~ "Opacity=#1".
+ Opacity set twice, in both Colour and Opacity.\\
+ Using specification "Opacity=#1".
}
-\msg_new:nnn {fontspec} {opa-twice-col}
+\__fontspec_msg_new:nnn {fontspec} {opa-twice-col}
{
- Opacity~ set~ twice,~ in~ both~ Opacity~ and~ Colour.\\
- Using~ an~ opacity~ specification~ in~ hex~ of~ "#1/FF".
+ Opacity set twice, in both Opacity and Colour.\\
+ Using an opacity specification in hex of "#1/FF".
}
-\msg_new:nnn {fontspec} {bad-colour}
+\__fontspec_msg_new:nnn {fontspec} {bad-colour}
{
- Bad~ colour~ declaration~ "#1".~
- Colour~ must~ be~ one~ of:\\
- *~ a~ named~ xcolor~ colour\\
- *~ a~ six-digit~ hex~ colour~ RRGGBB\\
- *~ an~ eight-digit~ hex~ colour~ RRGGBBTT~ with~ opacity
+ Bad colour declaration "#1".
+ Colour must be one of:\\
+ * a named xcolor colour\\
+ * a six-digit hex colour RRGGBB\\
+ * an eight-digit hex colour RRGGBBTT with opacity
}
+\char_set_catcode_ignore:n {32}
\DeclareOption{cm-default}
{ \__fontspec_warning:n {cm-default-obsolete} }
\DeclareOption{math}{\bool_set_true:N \g__fontspec_math_bool}
@@ -277,20 +383,35 @@
\msg_redirect_module:nnn { fontspec } { warning } { none }
\msg_redirect_module:nnn { fontspec } { info } { none }
}
-\ExecuteOptions{config,math,euenc}
+\ExecuteOptions{config,math,tuenc}
\ProcessOptions*
-\tl_set:Nn \g_fontspec_encoding_tl {TU}
-\file_if_exist:nF {tuenc.def} { \bool_set_true:N \g__fontspec_euenc_bool }
-\bool_if:NT \g__fontspec_euenc_bool
+\bool_if:NF \g__fontspec_euenc_bool
{
+ \file_if_exist:nTF {tuenc.def}
+ {
+ \cs_if_exist:cF {T at TU}
+ {
+ \__fontspec_warning:n {tu-clash}
+ \DeclareFontEncoding{TU}{}{}
+ \DeclareFontSubstitution{TU}{lmr}{m}{n}
+ }
+ }
+ {
+ \__fontspec_warning:n {tu-missing}
+ \bool_set_true:N \g__fontspec_euenc_bool
+ }
+ }
+\bool_if:NTF \g__fontspec_euenc_bool
+ {
\tl_set:Nn \g_fontspec_encoding_tl {EU1}
}
+ { \tl_set:Nn \g_fontspec_encoding_tl { TU } }
\tl_set:Nn \rmdefault {lmr}
\tl_set:Nn \sfdefault {lmss}
\tl_set:Nn \ttdefault {lmtt}
\RequirePackage[\g_fontspec_encoding_tl]{fontenc}
\tl_set_eq:NN \UTFencname \g_fontspec_encoding_tl % for xunicode if needed
-\normalsize % to overcome the encoding changing the current font size
+\tl_if_in:NnT \@filelist {.cls} { \normalsize }
\tl_set_eq:NN \cyrillicencoding \g_fontspec_encoding_tl
\tl_set_eq:NN \latinencoding \g_fontspec_encoding_tl
\AtBeginDocument
@@ -303,23 +424,19 @@
\RequirePackage{xunicode}
}
-\cs_set:Nn \__fontspec_fontwrap:n { "#1" }
\cs_set:Npn \__fontspec_primitive_font_set:Nnn #1#2#3
{
\font #1 = #2 ~at~ #3 \scan_stop:
}
-
\cs_set:Npn \__fontspec_primitive_font_gset:Nnn #1#2#3
{
\global \font #1 = #2 ~at~ #3 \scan_stop:
}
-
\cs_set:Npn \__fontspec_font_suppress_not_found_error:
{
\int_set_eq:NN \xetex_suppressfontnotfounderror:D \c_one
}
-
-\prg_set_conditional:Nnn \__fontspec_font_if_null:N {p,TF,T,F}
+\prg_set_conditional:Nnn \__fontspec_primitive_font_if_null:N {p,TF,T,F}
{
\ifx #1 \nullfont
\prg_return_true:
@@ -327,102 +444,95 @@
\prg_return_false:
\fi
}
-\cs_new:Nn \__fontspec_font_set:Nnn
+\prg_set_conditional:Nnn \__fontspec_primitive_font_if_exist:n {TF,T,F}
+ {
+ \group_begin:
+ \__fontspec_font_suppress_not_found_error:
+ \__fontspec_primitive_font_set:Nnn \l__fontspec_primitive_font {#1} {10pt}
+ \__fontspec_primitive_font_if_null:NTF \l__fontspec_primitive_font
+ { \group_end: \prg_return_false: }
+ { \group_end: \prg_return_true: }
+ }
+\prg_new_conditional:Nnn \__fontspec_primitive_font_glyph_if_exist:Nn {p,TF,T,F}
+ {
+ \etex_iffontchar:D #1 #2 \scan_stop:
+ \prg_return_true:
+ \else:
+ \prg_return_false:
+ \fi:
+ }
+\NewDocumentCommand \fontspec { O{} m O{} }
{
- \__fontspec_primitive_font_set:Nnn #1 { \__fontspec_fontwrap:n {#2} } {#3}
- }
-\cs_new:Nn \__fontspec_font_gset:Nnn
- {
- \__fontspec_primitive_font_gset:Nnn #1 { \__fontspec_fontwrap:n {#2} } {#3}
- }
-\prg_new_conditional:Nnn \font_glyph_if_exist:Nn {p,TF,T,F}
- {
- \etex_iffontchar:D #1 #2 \scan_stop:
- \prg_return_true:
- \else:
- \prg_return_false:
- \fi:
- }
-\cs_new:Nn \__fontspec_pass_args:nnn
- {
- \IfNoValueTF {#2}
- { \__fontspec_post_arg:w {#1} {#3} }
- { #1 {#2} {#3} }
- }
-\NewDocumentCommand \__fontspec_post_arg:w { m m O{} }
- { #1 {#3} {#2} }
-\NewDocumentCommand \fontspec { o m }
- { \__fontspec_pass_args:nnn \__fontspec_fontspec:nn {#1} {#2} }
-
-\cs_new:Nn \__fontspec_fontspec:nn
- {
- \fontspec_set_family:Nnn \f at family {#1} {#2}
+ \fontspec_set_family:Nnn \f at family {#1,#3} {#2}
\fontencoding { \l__fontspec_nfss_enc_tl }
\selectfont
\ignorespaces
}
-\DeclareDocumentCommand \setmainfont { o m }
- { \__fontspec_pass_args:nnn \__fontspec_setmainfont:nn {#1} {#2} }
-
-\cs_new:Nn \__fontspec_setmainfont:nn
+\DeclareDocumentCommand \setmainfont { O{} m O{} }
{
- \fontspec_set_family:Nnn \rmdefault {#1}{#2}
+ \fontspec_set_family:Nnn \g__fontspec_rmfamily_family {#1,#3} {#2}
+ \tl_set_eq:NN \rmdefault \g__fontspec_rmfamily_family
+ \use:x { \exp_not:n { \DeclareRobustCommand \rmfamily }
+ {
+ \exp_not:N \fontencoding { \l__fontspec_nfss_enc_tl }
+ \exp_not:N \fontfamily { \g__fontspec_rmfamily_family }
+ \exp_not:N \selectfont
+ }
+ }
+ \str_if_eq_x:nnT {\familydefault} {\rmdefault}
+ { \tl_set_eq:NN \encodingdefault \l__fontspec_nfss_enc_tl }
\normalfont
\ignorespaces
}
-
-\DeclareDocumentCommand \setsansfont { o m }
- { \__fontspec_pass_args:nnn \__fontspec_setsansfont:nn {#1} {#2} }
-
-\cs_new:Nn \__fontspec_setsansfont:nn
+\DeclareDocumentCommand \setsansfont { O{} m O{} }
{
- \fontspec_set_family:Nnn \sfdefault {#1}{#2}
+ \fontspec_set_family:Nnn \g__fontspec_sffamily_family {#1,#3} {#2}
+ \tl_set_eq:NN \sfdefault \g__fontspec_sffamily_family
+ \use:x { \exp_not:n { \DeclareRobustCommand \sffamily }
+ {
+ \exp_not:N \fontencoding { \l__fontspec_nfss_enc_tl }
+ \exp_not:N \fontfamily { \g__fontspec_sffamily_family }
+ \exp_not:N \selectfont
+ }
+ }
+ \str_if_eq_x:nnT {\familydefault} {\sfdefault}
+ { \tl_set_eq:NN \encodingdefault \l__fontspec_nfss_enc_tl }
\normalfont
\ignorespaces
}
-
-\DeclareDocumentCommand \setmonofont { o m }
- { \__fontspec_pass_args:nnn \__fontspec_setmonofont:nn {#1} {#2} }
-
-\cs_new:Nn \__fontspec_setmonofont:nn
+\DeclareDocumentCommand \setmonofont { O{} m O{} }
{
- \fontspec_set_family:Nnn \ttdefault {#1}{#2}
+ \fontspec_set_family:Nnn \g__fontspec_ttfamily_family {#1,#3} {#2}
+ \tl_set_eq:NN \ttdefault \g__fontspec_ttfamily_family
+ \use:x { \exp_not:n { \DeclareRobustCommand \ttfamily }
+ {
+ \exp_not:N \fontencoding { \l__fontspec_nfss_enc_tl }
+ \exp_not:N \fontfamily { \g__fontspec_ttfamily_family }
+ \exp_not:N \selectfont
+ }
+ }
+ \str_if_eq_x:nnT {\familydefault} {\ttdefault}
+ { \tl_set_eq:NN \encodingdefault \l__fontspec_nfss_enc_tl }
\normalfont
\ignorespaces
}
\cs_set_eq:NN \setromanfont \setmainfont
-\tl_new:N \g__fontspec_mathrm_tl
-\tl_new:N \g__fontspec_bfmathrm_tl
-\tl_new:N \g__fontspec_mathsf_tl
-\tl_new:N \g__fontspec_mathtt_tl
-\DeclareDocumentCommand \setmathrm { o m }
- { \__fontspec_pass_args:nnn \__fontspec_setmathrm:nn {#1} {#2} }
-
-\cs_new:Nn \__fontspec_setmathrm:nn
+\DeclareDocumentCommand \setmathrm { O{} m O{} }
{
\fontspec_set_family:Nnn \g__fontspec_mathrm_tl {#1} {#2}
}
-\DeclareDocumentCommand \setboldmathrm { o m }
- { \__fontspec_pass_args:nnn \__fontspec_setboldmathrm:nn {#1} {#2} }
-
-\cs_new:Nn \__fontspec_setboldmathrm:nn
+\DeclareDocumentCommand \setboldmathrm { O{} m O{} }
{
\fontspec_set_family:Nnn \g__fontspec_bfmathrm_tl {#1} {#2}
}
-\DeclareDocumentCommand \setmathsf { o m }
- { \__fontspec_pass_args:nnn \__fontspec_setmathsf:nn {#1} {#2} }
-
-\cs_new:Nn \__fontspec_setmathsf:nn
+\DeclareDocumentCommand \setmathsf { O{} m O{} }
{
\fontspec_set_family:Nnn \g__fontspec_mathsf_tl {#1} {#2}
}
-\DeclareDocumentCommand \setmathtt { o m }
- { \__fontspec_pass_args:nnn \__fontspec_setmathtt:nn {#1} {#2} }
-
-\cs_new:Nn \__fontspec_setmathtt:nn
+\DeclareDocumentCommand \setmathtt { O{} m O{} }
{
\fontspec_set_family:Nnn \g__fontspec_mathtt_tl {#1} {#2}
}
@@ -433,12 +543,9 @@
\tl_set:Nn \g__fontspec_mathrm_tl {\rmdefault}
\tl_set:Nn \g__fontspec_mathsf_tl {\sfdefault}
\tl_set:Nn \g__fontspec_mathtt_tl {\ttdefault}
-\DeclareDocumentCommand \newfontfamily { m o m }
- { \__fontspec_pass_args:nnn { \__fontspec_newfontfamily:Nnn #1 } {#2} {#3} }
-
-\cs_new:Nn \__fontspec_newfontfamily:Nnn
+\DeclareDocumentCommand \newfontfamily { m O{} m O{} }
{
- \fontspec_set_family:cnn { g__fontspec_ \cs_to_str:N #1 _family } {#2} {#3}
+ \fontspec_set_family:cnn { g__fontspec_ \cs_to_str:N #1 _family } {#2,#4} {#3}
\use:x
{
\exp_not:N \DeclareRobustCommand \exp_not:N #1
@@ -449,15 +556,10 @@
}
}
}
-\DeclareDocumentCommand \newfontface { m o m }
- { \__fontspec_pass_args:nnn { \__fontspec_newfontface:Nnn #1 } {#2} {#3} }
-
-\cs_new:Nn \__fontspec_newfontface:Nnn
+\DeclareDocumentCommand \newfontface { m O{} m O{} }
{
- \newfontfamily #1 [ BoldFont={},ItalicFont={},SmallCapsFont={},#2 ] {#3}
+ \newfontfamily #1 [ BoldFont={},ItalicFont={},SmallCapsFont={},#2,#4 ] {#3}
}
-\clist_new:N \g__fontspec_default_fontopts_clist
-\prop_new:N \g__fontspec_fontopts_prop
\DeclareDocumentCommand \defaultfontfeatures { t+ o m }
{
\IfNoValueTF {#2}
@@ -492,19 +594,6 @@
}
}
}
-\cs_new:Nn \__fontspec_sanitise_fontname:Nn
- {
- \tl_set:Nx #1 {#2}
- \clist_map_inline:Nn \l__fontspec_extensions_clist
- {
- \tl_if_in:NnT #1 {##1}
- {
- \tl_remove_once:Nn #1 {##1}
- \clist_map_break:
- }
- }
- }
-\bool_new:N \l__fontspec_disable_defaults_bool
\DeclareDocumentCommand \addfontfeatures {m}
{
\fontspec_if_fontspec_font:TF
@@ -516,7 +605,7 @@
\bool_set_true:N \l__fontspec_disable_defaults_bool
\use:x
{
- \exp_not:N \fontspec_select:nn
+ \__fontspec_select_font_family:nn
{ \l__fontspec_options_tl , #1 } {\l__fontspec_fontname_tl}
}
\group_end:
@@ -541,27 +630,26 @@
\DeclareDocumentCommand \newAATfeature {mmmm}
{
\keys_if_exist:nnF { fontspec } {#1}
- { \__fontspec_define_font_feature:n {#1} }
+ { \__fontspec_define_aat_feature_group:n {#1} }
\keys_if_choice_exist:nnnT {fontspec} {#1} {#2}
{ \__fontspec_warning:nxx {feature-option-overwrite} {#1} {#2} }
- \__fontspec_define_feature_option:nnnnn {#1}{#2}{#3}{#4}{}
+ \__fontspec_define_aat_feature:nnnn {#1}{#2}{#3}{#4}
}
\DeclareDocumentCommand \newopentypefeature {mmm}
{
\keys_if_exist:nnF { fontspec / options } {#1}
- { \__fontspec_define_font_feature:n {#1} }
+ { \__fontspec_define_opentype_feature_group:n {#1} }
\keys_if_choice_exist:nnnT {fontspec} {#1} {#2}
{ \__fontspec_warning:nxx {feature-option-overwrite} {#1} {#2} }
- \__fontspec_define_feature_option:nnnnn {#1}{#2}{}{}{#3}
+ \__fontspec_define_opentype_feature:nnn {#1}{#2}{#3}
}
\cs_set_eq:NN \newICUfeature \newopentypefeature % deprecated
-\bool_new:N \l__fontspec_alias_bool
\DeclareDocumentCommand \aliasfontfeature {mm}
{
\bool_set_false:N \l__fontspec_alias_bool
\clist_map_inline:nn
- { fontspec, fontspec-preparse, fontspec-preparse-external,
+ { fontspec, fontspec-opentype, fontspec-aat, fontspec-preparse, fontspec-preparse-external,
fontspec-preparse-nested, fontspec-renderer }
{
@@ -568,7 +656,8 @@
\keys_if_exist:nnT {##1} {#1}
{
\bool_set_true:N \l__fontspec_alias_bool
- \__fontspec_alias_font_feature:nnn {##1} {#1} {#2}
+ \keys_define:nn {##1}
+ { #2 .code:n = { \keys_set:nn {##1} { #1 = {####1} } } }
}
}
@@ -575,15 +664,23 @@
\bool_if:NF \l__fontspec_alias_bool
{ \__fontspec_warning:nx {rename-feature-not-exist} {#1} }
}
+\DeclareDocumentCommand \aliasfontfeatureoption {mmm}
+ {
+ \bool_set_false:N \l__fontspec_alias_bool
-\cs_set:Nn \__fontspec_alias_font_feature:nnn
- {
- \keys_define:nn {#1}
- { #3 .code:n = { \keys_set:nn {#1} { #2 = {##1} } } }
- }
+ \clist_map_inline:Nn \g__fontspec_all_keyval_modules_clist
+ {
-\DeclareDocumentCommand \aliasfontfeatureoption {mmm}
- { \keys_define:nn { fontspec / #1 } { #3 .meta:n = {#2} } }
+ \keys_if_exist:nnT {##1} {#1}
+ {
+ \bool_set_true:N \l__fontspec_alias_bool
+ \keys_define:nn { ##1 / #1 } { #3 .meta:n = {#2} }
+ }
+ }
+
+ \bool_if:NF \l__fontspec_alias_bool
+ { \__fontspec_warning:nx {rename-feature-not-exist} {#1} }
+ }
\DeclareDocumentCommand \newfontscript {mm}
{
\fontspec_new_script:nn {#1} {#2}
@@ -599,6 +696,31 @@
}
\DeclareFontsExtensions{.otf,.ttf,.OTF,.TTF,.ttc,.TTC,.dfont}
+\DeclareDocumentCommand \IfFontFeatureActiveTF {mmm}
+ {
+ \__fontspec_if_font_feature:nTF {#1} {#2} {#3}
+ }
+\prg_new_conditional:Nnn \__fontspec_if_font_feature:n {TF}
+ {
+ \tl_gclear:N \g__fontspec_single_feat_tl
+ \group_begin:
+ \__fontspec_font_suppress_not_found_error:
+ \__fontspec_init:
+ \bool_set_true:N \l__fontspec_ot_bool
+ \bool_set_true:N \l__fontspec_never_check_bool
+ \bool_set_false:N \l__fontspec_firsttime_bool
+ \clist_clear:N \l__fontspec_fontfeat_clist
+ \__fontspec_get_features:Nn \l__fontspec_rawfeatures_sclist {#1}
+ \group_end:
+
+
+ \tl_if_empty:NTF \g__fontspec_single_feat_tl { \prg_return_false: }
+ {
+ \exp_args:NV \fontspec_if_current_feature:nTF \g__fontspec_single_feat_tl
+ { \prg_return_true: } { \prg_return_false: }
+ }
+ }
+
\prg_new_conditional:Nnn \fontspec_if_fontspec_font: {TF,T,F}
{
\cs_if_exist:cTF {g__fontspec_ \f at family _prop} \prg_return_true: \prg_return_false:
@@ -608,10 +730,10 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g__fontspec_ \f at family _prop} {fontdef} \l__fontspec_fontdef_tl
- \__fontspec_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
+ \__fontspec_primitive_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
\bool_if:NTF \l__fontspec_atsui_bool
{
- \fontspec_make_AAT_feature_string:nnTF {#1}{#2}
+ \__fontspec_make_AAT_feature_string:nnTF {#1}{#2}
\prg_return_true: \prg_return_false:
}
{
@@ -627,7 +749,7 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g__fontspec_ \f at family _prop} {fontdef} \l__fontspec_fontdef_tl
- \__fontspec_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
+ \__fontspec_primitive_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
\__fontspec_set_font_type:
\bool_if:NTF \l__fontspec_ot_bool \prg_return_true: \prg_return_false:
}
@@ -640,20 +762,20 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g__fontspec_ \f at family _prop} {fontdef} \l__fontspec_fontdef_tl
- \__fontspec_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
+ \__fontspec_primitive_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
\__fontspec_set_font_type:
\bool_if:NTF \l__fontspec_ot_bool
{
\prop_get:cnN {g__fontspec_ \f at family _prop} {script-num} \l__fontspec_tmp_tl
- \int_set:Nn \l_fontspec_script_int {\l__fontspec_tmp_tl}
+ \int_set:Nn \l__fontspec_script_int {\l__fontspec_tmp_tl}
\prop_get:cnN {g__fontspec_ \f at family _prop} {lang-num} \l__fontspec_tmp_tl
- \int_set:Nn \l_fontspec_language_int {\l__fontspec_tmp_tl}
+ \int_set:Nn \l__fontspec_language_int {\l__fontspec_tmp_tl}
\prop_get:cnN {g__fontspec_ \f at family _prop} {script-tag} \l_fontspec_script_tl
\prop_get:cnN {g__fontspec_ \f at family _prop} {lang-tag} \l_fontspec_lang_tl
- \fontspec_check_ot_feat:nTF {#1} {\prg_return_true:} {\prg_return_false:}
+ \__fontspec_check_ot_feat:nTF {#1} {\prg_return_true:} {\prg_return_false:}
}
{
\prg_return_false:
@@ -668,13 +790,13 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g__fontspec_ \f at family _prop} {fontdef} \l__fontspec_fontdef_tl
- \__fontspec_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
+ \__fontspec_primitive_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
\__fontspec_set_font_type:
\bool_if:NTF \l__fontspec_ot_bool
{
- \fontspec_iv_str_to_num:Nn \l_fontspec_script_int {#1}
- \fontspec_iv_str_to_num:Nn \l_fontspec_language_int {#2}
- \fontspec_check_ot_feat:nTF {#3} \prg_return_true: \prg_return_false:
+ \__fontspec_iv_str_to_num:Nn \l__fontspec_script_int {#1}
+ \__fontspec_iv_str_to_num:Nn \l__fontspec_language_int {#2}
+ \__fontspec_check_ot_feat:nTF {#3} \prg_return_true: \prg_return_false:
}
{ \prg_return_false: }
}
@@ -685,11 +807,11 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g__fontspec_ \f at family _prop} {fontdef} \l__fontspec_fontdef_tl
- \__fontspec_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
+ \__fontspec_primitive_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
\__fontspec_set_font_type:
\bool_if:NTF \l__fontspec_ot_bool
{
- \fontspec_check_script:nTF {#1} \prg_return_true: \prg_return_false:
+ \__fontspec_check_script:nTF {#1} \prg_return_true: \prg_return_false:
}
{ \prg_return_false: }
}
@@ -700,15 +822,15 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g__fontspec_ \f at family _prop} {fontdef} \l__fontspec_fontdef_tl
- \__fontspec_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
+ \__fontspec_primitive_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
\__fontspec_set_font_type:
\bool_if:NTF \l__fontspec_ot_bool
{
\prop_get:cnN {g__fontspec_ \f at family _prop} {script-num} \l__fontspec_tmp_tl
- \int_set:Nn \l_fontspec_script_int {\l__fontspec_tmp_tl}
+ \int_set:Nn \l__fontspec_script_int {\l__fontspec_tmp_tl}
\prop_get:cnN {g__fontspec_ \f at family _prop} {script-tag} \l_fontspec_script_tl
- \fontspec_check_lang:nTF {#1} \prg_return_true: \prg_return_false:
+ \__fontspec_check_lang:nTF {#1} \prg_return_true: \prg_return_false:
}
{ \prg_return_false: }
}
@@ -719,13 +841,13 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g__fontspec_ \f at family _prop} {fontdef} \l__fontspec_fontdef_tl
- \__fontspec_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
+ \__fontspec_primitive_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
\__fontspec_set_font_type:
\bool_if:NTF \l__fontspec_ot_bool
{
\tl_set:Nn \l_fontspec_script_tl {#1}
- \fontspec_iv_str_to_num:Nn \l_fontspec_script_int {#1}
- \fontspec_check_lang:nTF {#2} \prg_return_true: \prg_return_false:
+ \__fontspec_iv_str_to_num:Nn \l__fontspec_script_int {#1}
+ \__fontspec_check_lang:nTF {#2} \prg_return_true: \prg_return_false:
}
{ \prg_return_false: }
}
@@ -736,7 +858,7 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g__fontspec_ \f at family _prop} {fontdef} \l__fontspec_fontdef_tl
- \__fontspec_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
+ \__fontspec_primitive_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
\__fontspec_set_font_type:
\bool_if:NTF \l__fontspec_ot_bool
{
@@ -753,7 +875,7 @@
\fontspec_if_fontspec_font:TF
{
\prop_get:cnN {g__fontspec_ \f at family _prop} {fontdef} \l__fontspec_fontdef_tl
- \__fontspec_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
+ \__fontspec_primitive_font_set:Nnn \l_fontspec_font {\l__fontspec_fontdef_tl} {\f at size pt}
\__fontspec_set_font_type:
\bool_if:NTF \l__fontspec_ot_bool
{
@@ -768,7 +890,7 @@
\cs_new:Nn \fontspec_set_family:Nnn
{
\tl_set:Nn \l__fontspec_family_label_tl { #1 }
- \fontspec_select:nn {#2}{#3}
+ \__fontspec_select_font_family:nn {#2}{#3}
\tl_set_eq:NN #1 \l_fontspec_family_tl
}
\cs_generate_variant:Nn \fontspec_set_family:Nnn {c}
@@ -775,41 +897,96 @@
\cs_new:Nn \fontspec_set_fontface:NNnn
{
\tl_set:Nn \l__fontspec_family_label_tl { #1 }
- \fontspec_select:nn {#3}{#4}
+ \__fontspec_select_font_family:nn {#3}{#4}
\tl_set_eq:NN #1 \l_fontspec_font
\tl_set_eq:NN #2 \l_fontspec_family_tl
}
-\cs_set:Nn \fontspec_select:nn
+\prg_new_conditional:Nnn \fontspec_font_if_exist:n {TF,T,F}
+ {
+ \group_begin:
+ \__fontspec_init:
+ \__fontspec_if_detect_external:nT {#1} { \__fontspec_font_is_file: }
+ \__fontspec_primitive_font_if_exist:nTF { \__fontspec_construct_font_call:nn {#1} {} }
+ { \group_end: \prg_return_true: }
+ { \group_end: \prg_return_false: }
+ }
+\cs_set_eq:NN \IfFontExistsTF \fontspec_font_if_exist:nTF
+
+\prg_new_conditional:Nnn \fontspec_if_current_feature:n {TF,T,F}
+ {
+ \exp_args:Nxx \tl_if_in:nnTF
+ { \fontname\font } { \tl_to_str:n {#1} }
+ { \prg_return_true: } { \prg_return_false: }%
+ }
+
+\cs_new_protected:Nn \__fontspec_select_font_family:nn
{
\group_begin:
\__fontspec_font_suppress_not_found_error:
\__fontspec_init:
- \tl_set:Nx \l_fontspec_fontname_tl {#2}
- \tl_set:Nx \l_fontspec_fontname_up_tl {#2}
- \tl_set:Nx \l__fontspec_basename_tl {#2}
+ \__fontspec_sanitise_fontname:Nn \l_fontspec_fontname_tl {#2}
+ \__fontspec_sanitise_fontname:Nn \l__fontspec_fontname_up_tl {#2}
+ \__fontspec_sanitise_fontname:Nn \l__fontspec_basename_tl {#2}
+ \__fontspec_if_detect_external:nT {#2}
+ { \keys_set:nn {fontspec-preparse-external} {Path} }
+
+ \__fontspec_init_ttc:n {#2}
\__fontspec_load_external_fontoptions:Nn \l_fontspec_fontname_tl {#2}
+
\__fontspec_extract_all_features:n {#1}
+ \tl_set:Nx \l__fontspec_fontid_tl { \tl_to_str:N \l_fontspec_fontname_tl-:-\tl_to_str:N \l__fontspec_all_features_clist }
+
+
\__fontspec_preparse_features:
-
\__fontspec_load_font:
\__fontspec_set_scriptlang:
\__fontspec_get_features:Nn \l__fontspec_rawfeatures_sclist {}
\bool_set_false:N \l__fontspec_firsttime_bool
- \__fontspec_save_family:nTF {#2}
+ \__fontspec_save_family_needed:nTF {#2}
{
- \__fontspec_save_fontinfo:
- \__fontspec_find_autofonts:
- \DeclareFontFamily{\l__fontspec_nfss_enc_tl}{\l_fontspec_family_tl}{}
- \__fontspec_set_faces:
- \__fontspec_info:nxx {defining-font} {#1} {#2}
+ \__fontspec_save_family:nn {#1} {#2}
}
{
}
\group_end:
}
+\cs_set_eq:NN \fontspec_select:nn \__fontspec_select_font_family:nn
+\cs_new:Nn \__fontspec_sanitise_fontname:Nn
+ {
+ \tl_set:Nx #1 {#2}
+ \clist_map_inline:Nn \l__fontspec_extensions_clist
+ {
+ \tl_if_in:NnT #1 {##1}
+ {
+ \tl_remove_once:Nn #1 {##1}
+ \tl_set:Nn \l__fontspec_extension_tl {##1}
+ \clist_map_break:
+ }
+ }
+ }
+\prg_new_conditional:Nnn \__fontspec_if_detect_external:n {T}
+ {
+ \clist_map_inline:Nn \l__fontspec_extensions_clist
+ {
+ \bool_set_false:N \l__fontspec_tmpa_bool
+ \exp_args:Nx % <- this should be handled earlier
+ \tl_if_in:nnT {#1 <= end_of_string} {##1 <= end_of_string}
+ { \bool_set_true:N \l__fontspec_tmpa_bool \clist_map_break: }
+ }
+ \bool_if:NTF \l__fontspec_tmpa_bool \prg_return_true: \prg_return_false:
+ }
+\cs_new:Nn \__fontspec_init_ttc:n
+ {
+ \str_if_eq_x:nnT { \str_lower_case:f {\l__fontspec_extension_tl} } {.ttc}
+ {
+ \__fontspec_sanitise_fontname:Nn \l__fontspec_fontname_it_tl {#1}
+ \__fontspec_sanitise_fontname:Nn \l__fontspec_fontname_bf_tl {#1}
+ \__fontspec_sanitise_fontname:Nn \l__fontspec_fontname_bfit_tl {#1}
+ }
+ }
\cs_new:Nn \__fontspec_load_external_fontoptions:Nn
{
\__fontspec_sanitise_fontname:Nn #1 {#2}
@@ -843,49 +1020,53 @@
#1
}
}
- \tl_set:Nx \l__fontspec_fontid_tl { \tl_to_str:N \l_fontspec_fontname_tl-:-\tl_to_str:N \l__fontspec_all_features_clist }
}
\cs_new:Nn \__fontspec_preparse_features:
{
- \__fontspec_if_detect_external:VT \l__fontspec_basename_tl
- { \keys_set:nn {fontspec-preparse-external} {ExternalLocation} }
- \keys_set_known:nxN {fontspec-preparse-external}
+ \__fontspec_keys_set_known:nxN {fontspec-preparse-external}
{ \l__fontspec_all_features_clist }
\l__fontspec_keys_leftover_clist
- \tl_set_eq:NN \l_fontspec_fontname_tl \l_fontspec_fontname_up_tl
- \keys_set_known:nxN {fontspec-renderer} {\l__fontspec_keys_leftover_clist}
+
+ \tl_set_eq:NN \l_fontspec_fontname_tl \l__fontspec_fontname_up_tl
+ \__fontspec_keys_set_known:nxN {fontspec-renderer} {\l__fontspec_keys_leftover_clist}
\l__fontspec_keys_leftover_clist
- \keys_set_known:nxN {fontspec-preparse} {\l__fontspec_keys_leftover_clist}
+ \__fontspec_keys_set_known:nxN {fontspec-preparse} {\l__fontspec_keys_leftover_clist}
\l__fontspec_fontfeat_clist
}
\cs_new:Nn \__fontspec_load_font:
{
- \__fontspec_font_set:Nnn \l_fontspec_font
- { \__fontspec_fullname:n {\l_fontspec_fontname_up_tl} } {\f at size pt}
- \__fontspec_font_if_null:NT \l_fontspec_font { \__fontspec_error:nx {font-not-found} {\l_fontspec_fontname_up_tl} }
+ \__fontspec_primitive_font_set:Nnn \l_fontspec_font
+ { \__fontspec_construct_font_call:nn { \l__fontspec_fontname_up_tl } {} } {\f at size pt}
+ \__fontspec_primitive_font_if_null:NT \l_fontspec_font { \__fontspec_error:nx {font-not-found} {\l__fontspec_fontname_up_tl} }
\__fontspec_set_font_type:
- \__fontspec_font_gset:Nnn \l_fontspec_font
- { \__fontspec_fullname:n {\l_fontspec_fontname_up_tl} } {\f at size pt}
+ \__fontspec_primitive_font_gset:Nnn \l_fontspec_font
+ { \__fontspec_construct_font_call:nn { \l__fontspec_fontname_up_tl } {} } {\f at size pt}
\l_fontspec_font % this is necessary for LuaLaTeX to check the scripts properly
}
-\prg_new_conditional:Nnn \__fontspec_if_detect_external:n {T}
+\cs_set:Nn \__fontspec_construct_font_call:nnnnnn
{
- \clist_map_inline:Nn \l__fontspec_extensions_clist
- {
- \bool_set_false:N \l__fontspec_tmpa_bool
- \tl_if_in:nnT {#1 <= end_of_string} {##1 <= end_of_string}
- { \bool_set_true:N \l__fontspec_tmpa_bool \clist_map_break: }
- }
- \bool_if:NTF \l__fontspec_tmpa_bool \prg_return_true: \prg_return_false:
+ " \__fontspec_fontname_wrap:n { #1 #2 #3 } #4 #5
+ \str_if_eq_x:nnF {#6}{} {:#6} "
}
-\cs_generate_variant:Nn \__fontspec_if_detect_external:nT {V}
-\cs_set:Nn \__fontspec_fullname:n
+\cs_set:Nn \__fontspec_construct_font_call:nn
{
- \__fontspec_namewrap:n { #1 \l__fontspec_extension_tl }
- \l_fontspec_renderer_tl
- \l__fontspec_optical_size_tl
+ \__fontspec_construct_font_call:nnnnnn
+ {#1}
+ \l__fontspec_extension_tl
+ \l__fontspec_ttc_index_tl
+ \l_fontspec_renderer_tl
+ \l__fontspec_optical_size_tl
+ {#2}
}
+\cs_new:Nn \__fontspec_font_is_name:
+ {
+ \cs_set_eq:NN \__fontspec_fontname_wrap:n \use:n
+ }
+\cs_new:Nn \__fontspec_font_is_file:
+ {
+ \cs_set:Npn \__fontspec_fontname_wrap:n ##1 { [ \l__fontspec_font_path_tl ##1 ] }
+ }
\cs_new:Nn \__fontspec_set_scriptlang:
{
\bool_if:NT \l__fontspec_firsttime_bool
@@ -892,7 +1073,7 @@
{
\tl_if_empty:NTF \l__fontspec_script_name_tl
{
- \fontspec_check_script:nTF {latn}
+ \__fontspec_check_script:nTF {latn}
{
\tl_set:Nn \l__fontspec_script_name_tl {Latin}
\tl_if_empty:NT \l__fontspec_lang_name_tl
@@ -899,8 +1080,8 @@
{
\tl_set:Nn \l__fontspec_lang_name_tl {Default}
}
- \keys_set:nx {fontspec} {Script=\l__fontspec_script_name_tl}
- \keys_set:nx {fontspec} {Language=\l__fontspec_lang_name_tl}
+ \keys_set:nx {fontspec-opentype} {Script=\l__fontspec_script_name_tl}
+ \keys_set:nx {fontspec-opentype} {Language=\l__fontspec_lang_name_tl}
}
{
\__fontspec_info:n {no-scripts}
@@ -911,13 +1092,36 @@
{
\tl_set:Nn \l__fontspec_lang_name_tl {Default}
}
- \keys_set:nx {fontspec} {Script=\l__fontspec_script_name_tl}
- \keys_set:nx {fontspec} {Language=\l__fontspec_lang_name_tl}
+ \keys_set:nx {fontspec-opentype} {Script=\l__fontspec_script_name_tl}
+ \keys_set:nx {fontspec-opentype} {Language=\l__fontspec_lang_name_tl}
}
}
}
-\prg_new_conditional:Nnn \__fontspec_save_family:n {TF}
+\cs_set:Nn \__fontspec_get_features:Nn
{
+ \__fontspec_init_fontface:
+ \__fontspec_keys_set_known:nxN {fontspec-renderer} {\l__fontspec_fontfeat_clist,#2}
+ \l__fontspec_keys_leftover_clist
+ \__fontspec_keys_set_known:nxN {fontspec} {\l__fontspec_keys_leftover_clist} \l__fontspec_keys_leftover_clist
+ \bool_if:NTF \l__fontspec_ot_bool
+ {
+ \keys_set:nx {fontspec-opentype} {\l__fontspec_keys_leftover_clist}
+ }
+ {
+ \bool_if:NT \l__fontspec_atsui_bool
+ { \keys_set:nx {fontspec-aat} {\l__fontspec_keys_leftover_clist} }
+ }
+
+ \str_if_eq_x:nnF { \l__fontspec_hexcol_tl \l__fontspec_opacity_tl }
+ { \g__fontspec_hexcol_tl \g__fontspec_opacity_tl }
+ { \__fontspec_update_featstr:n { color = \l__fontspec_hexcol_tl\l__fontspec_opacity_tl } }
+
+ \tl_set_eq:NN #1 \l__fontspec_rawfeatures_sclist
+ }
+\prg_new_conditional:Nnn \__fontspec_save_family_needed:n {TF}
+ {
+
+
\cs_if_exist:NT \l__fontspec_nfss_fam_tl
{
\cs_set_eq:cN {g__fontspec_UID_\l__fontspec_fontid_tl} \l__fontspec_nfss_fam_tl
@@ -941,51 +1145,58 @@
\cs_if_exist:cTF {g__fontspec_ \l_fontspec_family_tl _prop}
\prg_return_false: \prg_return_true:
}
-\cs_new:Nn \__fontspec_save_fontinfo:
+\cs_new:Nn \__fontspec_save_family:nn
+ {
+ \__fontspec_save_fontinfo:n {#2}
+ \__fontspec_find_autofonts:
+ \DeclareFontFamily{\l__fontspec_nfss_enc_tl}{\l_fontspec_family_tl}{}
+ \__fontspec_set_faces:
+ \__fontspec_info:nxx {defining-font} {#1} {#2}
+ }
+\cs_new:Nn \__fontspec_save_fontinfo:n
{
\prop_new:c {g__fontspec_ \l_fontspec_family_tl _prop}
- \prop_gput:cnx {g__fontspec_ \l_fontspec_family_tl _prop} {fontname} { \l__fontspec_basename_tl }
+ \prop_gput:cnx {g__fontspec_ \l_fontspec_family_tl _prop} {fontname} { #1 }
\prop_gput:cnx {g__fontspec_ \l_fontspec_family_tl _prop} {options} { \l__fontspec_all_features_clist }
\prop_gput:cnx {g__fontspec_ \l_fontspec_family_tl _prop} {fontdef}
{
- \__fontspec_fullname:n {\l_fontspec_fontname_tl} :
- \l__fontspec_pre_feat_sclist \l__fontspec_rawfeatures_sclist
+ \__fontspec_construct_font_call:nn {\l_fontspec_fontname_tl}
+ { \l__fontspec_pre_feat_sclist \l__fontspec_rawfeatures_sclist }
}
- \prop_gput:cnV {g__fontspec_ \l_fontspec_family_tl _prop} {script-num} \l_fontspec_script_int
- \prop_gput:cnV {g__fontspec_ \l_fontspec_family_tl _prop} {lang-num} \l_fontspec_language_int
+ \prop_gput:cnV {g__fontspec_ \l_fontspec_family_tl _prop} {script-num} \l__fontspec_script_int
+ \prop_gput:cnV {g__fontspec_ \l_fontspec_family_tl _prop} {lang-num} \l__fontspec_language_int
\prop_gput:cnV {g__fontspec_ \l_fontspec_family_tl _prop} {script-tag} \l_fontspec_script_tl
\prop_gput:cnV {g__fontspec_ \l_fontspec_family_tl _prop} {lang-tag} \l_fontspec_lang_tl
-
}
\cs_new:Nn \__fontspec_find_autofonts:
{
\bool_if:nF {\l__fontspec_noit_bool || \l__fontspec_nobf_bool}
{
- \__fontspec_set_autofont:Nnn \l_fontspec_fontname_bfit_tl {\l_fontspec_fontname_it_tl} {/B}
- \__fontspec_set_autofont:Nnn \l_fontspec_fontname_bfit_tl {\l_fontspec_fontname_bf_tl} {/I}
- \__fontspec_set_autofont:Nnn \l_fontspec_fontname_bfit_tl {\l_fontspec_fontname_tl} {/BI}
+ \__fontspec_set_autofont:Nnn \l__fontspec_fontname_bfit_tl {\l__fontspec_fontname_it_tl} {/B}
+ \__fontspec_set_autofont:Nnn \l__fontspec_fontname_bfit_tl {\l__fontspec_fontname_bf_tl} {/I}
+ \__fontspec_set_autofont:Nnn \l__fontspec_fontname_bfit_tl {\l_fontspec_fontname_tl} {/BI}
}
\bool_if:NF \l__fontspec_nobf_bool
{
- \__fontspec_set_autofont:Nnn \l_fontspec_fontname_bf_tl {\l_fontspec_fontname_tl} {/B}
+ \__fontspec_set_autofont:Nnn \l__fontspec_fontname_bf_tl {\l_fontspec_fontname_tl} {/B}
}
\bool_if:NF \l__fontspec_noit_bool
{
- \__fontspec_set_autofont:Nnn \l_fontspec_fontname_it_tl {\l_fontspec_fontname_tl} {/I}
+ \__fontspec_set_autofont:Nnn \l__fontspec_fontname_it_tl {\l_fontspec_fontname_tl} {/I}
}
- \__fontspec_set_autofont:Nnn \l_fontspec_fontname_bfsl_tl {\l_fontspec_fontname_sl_tl} {/B}
+ \__fontspec_set_autofont:Nnn \l__fontspec_fontname_bfsl_tl {\l__fontspec_fontname_sl_tl} {/B}
}
\cs_new:Nn \__fontspec_set_faces:
{
\__fontspec_add_nfssfont:nnnn \mddefault \updefault \l_fontspec_fontname_tl \l__fontspec_fontfeat_up_clist
- \__fontspec_add_nfssfont:nnnn \bfdefault \updefault \l_fontspec_fontname_bf_tl \l__fontspec_fontfeat_bf_clist
- \__fontspec_add_nfssfont:nnnn \mddefault \itdefault \l_fontspec_fontname_it_tl \l__fontspec_fontfeat_it_clist
- \__fontspec_add_nfssfont:nnnn \mddefault \sldefault \l_fontspec_fontname_sl_tl \l__fontspec_fontfeat_sl_clist
- \__fontspec_add_nfssfont:nnnn \bfdefault \itdefault \l_fontspec_fontname_bfit_tl \l__fontspec_fontfeat_bfit_clist
- \__fontspec_add_nfssfont:nnnn \bfdefault \sldefault \l_fontspec_fontname_bfsl_tl \l__fontspec_fontfeat_bfsl_clist
+ \__fontspec_add_nfssfont:nnnn \bfdefault \updefault \l__fontspec_fontname_bf_tl \l__fontspec_fontfeat_bf_clist
+ \__fontspec_add_nfssfont:nnnn \mddefault \itdefault \l__fontspec_fontname_it_tl \l__fontspec_fontfeat_it_clist
+ \__fontspec_add_nfssfont:nnnn \mddefault \sldefault \l__fontspec_fontname_sl_tl \l__fontspec_fontfeat_sl_clist
+ \__fontspec_add_nfssfont:nnnn \bfdefault \itdefault \l__fontspec_fontname_bfit_tl \l__fontspec_fontfeat_bfit_clist
+ \__fontspec_add_nfssfont:nnnn \bfdefault \sldefault \l__fontspec_fontname_bfsl_tl \l__fontspec_fontfeat_bfsl_clist
\prop_map_inline:Nn \l__fontspec_nfssfont_prop { \__fontspec_set_faces_aux:nnnnn ##2 }
}
@@ -994,6 +1205,25 @@
\fontspec_complete_fontname:Nn \l__fontspec_curr_fontname_tl {#3}
\__fontspec_make_font_shapes:Nnnnn \l__fontspec_curr_fontname_tl {#1} {#2} {#4} {#5}
}
+\cs_set:Nn \fontspec_complete_fontname:Nn
+ {
+ \tl_set:Nx #1 {#2}
+ \tl_replace_all:Nnx #1 {*} {\l__fontspec_basename_tl}
+ }
+\cs_new:Nn \__fontspec_add_nfssfont:nnnn
+ {
+ \tl_set:Nx \l__fontspec_this_font_tl {#3}
+
+ \tl_if_empty:xTF {#4}
+ { \clist_set:Nn \l__fontspec_sizefeat_clist {Size={-}} }
+ { \__fontspec_keys_set_known:nxN {fontspec-preparse-nested} {#4} \l__fontspec_tmp_tl }
+
+ \tl_if_empty:NF \l__fontspec_this_font_tl
+ {
+ \prop_put:Nxx \l__fontspec_nfssfont_prop {#1/#2}
+ { {#1}{#2}{\l__fontspec_this_font_tl}{#4}{\l__fontspec_sizefeat_clist} }
+ }
+ }
\cs_new:Nn \__fontspec_set_font_type:
{
\bool_set_false:N \l__fontspec_tfm_bool
@@ -1021,7 +1251,6 @@
}
}
}
-\cs_generate_variant:Nn \tl_if_empty:nF {x}
\cs_new:Nn \__fontspec_set_autofont:Nnn
{
\bool_if:NF \l__fontspec_external_bool
@@ -1040,8 +1269,8 @@
\prg_new_conditional:Nnn \__fontspec_if_autofont:nn {T,TF}
{
- \__fontspec_font_set:Nnn \l_tmpa_font { \__fontspec_fullname:n {#1} } {\f at size pt}
- \__fontspec_font_set:Nnn \l_tmpb_font { \__fontspec_fullname:n {#1#2} } {\f at size pt}
+ \__fontspec_primitive_font_set:Nnn \l_tmpa_font { \__fontspec_construct_font_call:nn {#1} {} } {\f at size pt}
+ \__fontspec_primitive_font_set:Nnn \l_tmpb_font { \__fontspec_construct_font_call:nn {#1#2} {} } {\f at size pt}
\str_if_eq_x:nnTF { \fontname \l_tmpa_font } { \fontname \l_tmpb_font }
{ \prg_return_false: }
{ \prg_return_true: }
@@ -1049,7 +1278,7 @@
\cs_new:Nn \__fontspec_make_font_shapes:Nnnnn
{
\group_begin:
- \keys_set_known:nxN {fontspec-preparse-external} { #4 } \l__fontspec_leftover_clist
+ \__fontspec_keys_set_known:nxN {fontspec-preparse-external} { #4 } \l__fontspec_leftover_clist
\__fontspec_load_fontname:n {#1}
\__fontspec_declare_shape:nnxx {#2} {#3} { \l__fontspec_fontopts_clist, \l__fontspec_leftover_clist } {#5}
\group_end:
@@ -1060,8 +1289,8 @@
\__fontspec_load_external_fontoptions:Nn \l_fontspec_fontname_tl {#1}
\prop_get:NVNF \g__fontspec_fontopts_prop \l_fontspec_fontname_tl \l__fontspec_fontopts_clist
{ \clist_clear:N \l__fontspec_fontopts_clist }
- \__fontspec_font_set:Nnn \l_fontspec_font {\__fontspec_fullname:n {\l_fontspec_fontname_tl}} {\f at size pt}
- \__fontspec_font_if_null:NT \l_fontspec_font { \__fontspec_error:nx {font-not-found} {#1} }
+ \__fontspec_primitive_font_set:Nnn \l_fontspec_font { \__fontspec_construct_font_call:nn {\l_fontspec_fontname_tl} {} } {\f at size pt}
+ \__fontspec_primitive_font_if_null:NT \l_fontspec_font { \__fontspec_error:nx {font-not-found} {#1} }
}
\cs_new:Nn \__fontspec_declare_shape:nnnn
{
@@ -1069,18 +1298,26 @@
\tl_clear:N \l__fontspec_nfss_sc_tl
\tl_set_eq:NN \l__fontspec_saved_fontname_tl \l_fontspec_fontname_tl
- \exp_args:Nx \clist_map_inline:nn {#4}
- {
+ \exp_args:Nx \clist_map_inline:nn {#4} { \__fontspec_setup_single_size:nn {#3} {##1} }
+
+ \__fontspec_declare_shapes_normal:nn {#1} {#2}
+ \__fontspec_declare_shapes_smcaps:nn {#1} {#2}
+ \__fontspec_declare_shape_slanted:nn {#1} {#2}
+ \__fontspec_declare_shape_loginfo:nn {#1} {#2}
+ }
+\cs_generate_variant:Nn \__fontspec_declare_shape:nnnn {nnxx}
+\cs_new:Nn \__fontspec_setup_single_size:nn
+ {
\tl_clear:N \l__fontspec_size_tl
\tl_set_eq:NN \l__fontspec_sizedfont_tl \l__fontspec_saved_fontname_tl % in case not spec'ed
- \keys_set_known:nxN {fontspec-sizing} { \exp_after:wN \use:n ##1 }
+ \keys_set_known:nxN {fontspec-sizing} { \exp_after:wN \use:n #2 }
\l__fontspec_sizing_leftover_clist
\tl_if_empty:NT \l__fontspec_size_tl { \__fontspec_error:n {no-size-info} }
% "normal"
\__fontspec_load_fontname:n {\l__fontspec_sizedfont_tl}
- \__fontspec_setup_nfss:Nnn \l__fontspec_nfss_tl {#3} {}
+ \__fontspec_setup_nfss:Nnnn \l__fontspec_nfss_tl {#1} {\l__fontspec_sizing_leftover_clist} {}
% small caps
\clist_set_eq:NN \l__fontspec_fontfeat_curr_clist \l__fontspec_fontfeat_sc_clist
@@ -1087,7 +1324,7 @@
\bool_if:NF \l__fontspec_nosc_bool
{
- \tl_if_empty:NTF \l_fontspec_fontname_sc_tl
+ \tl_if_empty:NTF \l__fontspec_fontname_sc_tl
{
\__fontspec_make_smallcaps:TF
{
@@ -1097,53 +1334,41 @@
\bool_set_true:N \l__fontspec_nosc_bool
}
}
- { \__fontspec_load_fontname:n {\l_fontspec_fontname_sc_tl} }% local for each size
+ { \__fontspec_load_fontname:n {\l__fontspec_fontname_sc_tl} }% local for each size
}
\bool_if:NF \l__fontspec_nosc_bool
{
- \__fontspec_setup_nfss:Nnn \l__fontspec_nfss_sc_tl {#3} {\l__fontspec_fontfeat_curr_clist}
+ \__fontspec_setup_nfss:Nnnn \l__fontspec_nfss_sc_tl
+ {#1} {\l__fontspec_sizing_leftover_clist} {\l__fontspec_fontfeat_curr_clist}
}
+ }
+\cs_new:Nn \__fontspec_setup_nfss:Nnnn
+ {
- }
+ \__fontspec_get_features:Nn \l__fontspec_rawfeatures_sclist { #2 , #3 , #4 }
- \__fontspec_declare_shapes_normal:nn {#1} {#2}
- \__fontspec_declare_shapes_smcaps:nn {#1} {#2}
- \__fontspec_declare_shape_slanted:nn {#1} {#2}
- \__fontspec_declare_shape_loginfo:nn {#1} {#2}
- }
-\cs_generate_variant:Nn \__fontspec_declare_shape:nnnn {nnxx}
-
-\cs_new:Nn \__fontspec_setup_nfss:Nnn
- {
- \__fontspec_get_features:Nn \l__fontspec_rawfeatures_sclist
- { #2 , \l__fontspec_sizing_leftover_clist , #3 }
-
\tl_put_right:Nx #1
{
<\l__fontspec_size_tl> \l__fontspec_scale_tl
- \__fontspec_fontwrap:n
- {
- \__fontspec_fullname:n { \l_fontspec_fontname_tl }
- : \l__fontspec_pre_feat_sclist \l__fontspec_rawfeatures_sclist
- }
+ \__fontspec_construct_font_call:nn { \l_fontspec_fontname_tl }
+ { \l__fontspec_pre_feat_sclist \l__fontspec_rawfeatures_sclist }
}
}
-
\cs_new:Nn \__fontspec_declare_shapes_normal:nn
{
\__fontspec_DeclareFontShape:xxxxxx {\l__fontspec_nfss_enc_tl} {\l_fontspec_family_tl}
{#1} {#2} {\l__fontspec_nfss_tl}{\l__fontspec_postadjust_tl}
}
-
\cs_new:Nn \__fontspec_declare_shapes_smcaps:nn
{
- \bool_if:NF \l__fontspec_nosc_bool
+ \tl_if_empty:NF \l__fontspec_nfss_sc_tl
{
\__fontspec_DeclareFontShape:xxxxxx {\l__fontspec_nfss_enc_tl} {\l_fontspec_family_tl} {#1}
{ \__fontspec_combo_sc_shape:n {#2} } {\l__fontspec_nfss_sc_tl} {\l__fontspec_postadjust_tl}
}
}
+
\cs_new:Nn \__fontspec_combo_sc_shape:n
{
\tl_if_exist:cTF { \__fontspec_shape_merge:nn {#1} {\scdefault} }
@@ -1150,7 +1375,6 @@
{ \tl_use:c { \__fontspec_shape_merge:nn {#1} {\scdefault} } }
{ \scdefault }
}
-
\cs_new:Nn \__fontspec_DeclareFontShape:nnnnnn
{
\group_begin:
@@ -1176,6 +1400,7 @@
{
\tl_gput_right:Nx \l_fontspec_defined_shapes_tl
{
+ \exp_not:n { \\ }
-~ \exp_not:N \str_case:nn {#1/#2}
{
{\mddefault/\updefault} {'normal'~}
@@ -1205,7 +1430,6 @@
}
}
}
-\cs_generate_variant:Nn \tl_if_empty:nF {f}
\clist_set:Nn \l__fontspec_pre_feat_sclist
{
\bool_if:NT \l__fontspec_ot_bool
@@ -1217,162 +1441,353 @@
}
}
}
-\cs_set:Nn \__fontspec_get_features:Nn
+\cs_set:Nn \__fontspec_make_ot_smallcaps:TF
{
- \sclist_clear:N \l__fontspec_rawfeatures_sclist
- \tl_clear:N \l__fontspec_scale_tl
- \tl_set_eq:NN \l__fontspec_opacity_tl \g__fontspec_opacity_tl
- \tl_set_eq:NN \l__fontspec_hexcol_tl \g__fontspec_hexcol_tl
- \tl_set_eq:NN \l__fontspec_postadjust_tl \g__fontspec_postadjust_tl
- \tl_clear:N \l__fontspec_wordspace_adjust_tl
- \tl_clear:N \l__fontspec_punctspace_adjust_tl
-
- \keys_set_known:nxN {fontspec-renderer} {\l__fontspec_fontfeat_clist,#2}
- \l__fontspec_keys_leftover_clist
- \keys_set:nx {fontspec} {\l__fontspec_keys_leftover_clist}
- \str_if_eq_x:nnF { \l__fontspec_hexcol_tl \l__fontspec_opacity_tl }
- { \g__fontspec_hexcol_tl \g__fontspec_opacity_tl }
+ \__fontspec_check_ot_feat:nTF {smcp} {#1} {#2}
+ }
+\cs_set:Nn \__fontspec_make_smallcaps:TF
+ {
+ \bool_if:NTF \l__fontspec_ot_bool
+ { \__fontspec_make_ot_smallcaps:TF {#1} {#2} }
{
- \__fontspec_update_featstr:n { color = \l__fontspec_hexcol_tl\l__fontspec_opacity_tl }
+ \bool_if:NT \l__fontspec_atsui_bool
+ { \__fontspec_make_AAT_feature_string:nnTF {3}{3} {#1} {#2} }
}
-
- \tl_set_eq:NN #1 \l__fontspec_rawfeatures_sclist
}
-\tl_clear:N \l__fontspec_family_label_tl
-\tl_clear:N \l_fontspec_fontname_bf_tl
-\tl_clear:N \l_fontspec_fontname_it_tl
-\tl_clear:N \l_fontspec_fake_slant_tl
-\tl_clear:N \l_fontspec_fake_embolden_tl
-\tl_clear:N \l_fontspec_fontname_bfit_tl
-\tl_clear:N \l_fontspec_fontname_sl_tl
-\tl_clear:N \l_fontspec_fontname_bfsl_tl
-\tl_clear:N \l_fontspec_fontname_sc_tl
-\tl_clear:N \l__fontspec_fontfeat_up_clist
-\tl_clear:N \l__fontspec_fontfeat_bf_clist
-\tl_clear:N \l__fontspec_fontfeat_it_clist
-\tl_clear:N \l__fontspec_fontfeat_bfit_clist
-\tl_clear:N \l__fontspec_fontfeat_sl_clist
-\tl_clear:N \l__fontspec_fontfeat_bfsl_clist
-\tl_clear:N \l__fontspec_fontfeat_sc_clist
-\tl_clear:N \l__fontspec_script_name_tl
-\tl_clear:N \l_fontspec_script_tl
-\tl_clear:N \l__fontspec_lang_name_tl
-\tl_clear:N \l_fontspec_lang_tl
-\tl_set:Nn \g__fontspec_postadjust_tl { \l__fontspec_wordspace_adjust_tl \l__fontspec_punctspace_adjust_tl }
-
-\clist_set:Nn \l__fontspec_sizefeat_clist {Size={-}}
-\tl_new:N \g__fontspec_hexcol_tl
-\tl_new:N \g__fontspec_opacity_tl
-\tl_set:Nn \g__fontspec_hexcol_tl {000000}
-\tl_set:Nn \g__fontspec_opacity_tl {FF~}
+\cs_new:Nn \__fontspec_update_featstr:n
+ {
+ \bool_if:NF \l__fontspec_firsttime_bool
+ {
+ \tl_gset:Nx \g__fontspec_single_feat_tl { #1 }
+ \tl_gput_right:Nx \l__fontspec_rawfeatures_sclist {#1;}
+ }
+ }
+\cs_new:Nn \__fontspec_remove_clashing_featstr:n
+ {
+ \clist_map_inline:nn {#1}
+ {
+ \tl_gremove_all:Nn \l__fontspec_rawfeatures_sclist {##1;}
+ }
+ }
\cs_set:Npn \__fontspec_init:
{
\bool_set_false:N \l__fontspec_ot_bool
\bool_set_true:N \l__fontspec_firsttime_bool
- \cs_set:Npn \__fontspec_namewrap:n ##1 { ##1 }
+ \__fontspec_font_is_name:
+ \tl_clear:N \l__fontspec_font_path_tl
\tl_clear:N \l__fontspec_optical_size_tl
+ \tl_clear:N \l__fontspec_ttc_index_tl
\tl_clear:N \l_fontspec_renderer_tl
\tl_clear:N \l_fontspec_defined_shapes_tl
\tl_clear:N \g__fontspec_curr_series_tl
\tl_gset_eq:NN \l__fontspec_nfss_enc_tl \g_fontspec_encoding_tl
- % This is for detecting font families when assigning default features.
- % Replace defaults for the standard families because they're not set in the usual way:
- \exp_args:NV \str_case:nnF {\l__fontspec_family_label_tl}
- {
- {\rmdefault} { \tl_set:Nn \l__fontspec_family_label_tl {\g__fontspec_rmfamily_family} }
- {\sfdefault} { \tl_set:Nn \l__fontspec_family_label_tl {\g__fontspec_sffamily_family} }
- {\ttdefault} { \tl_set:Nn \l__fontspec_family_label_tl {\g__fontspec_ttfamily_family} }
- }{}
-
}
-\cs_set:Nn \fontspec_make_ot_smallcaps:TF
+\cs_new:Nn \__fontspec_init_fontface:
+ {
+ \tl_clear:N \l__fontspec_rawfeatures_sclist
+ \tl_clear:N \l__fontspec_scale_tl
+ \tl_set_eq:NN \l__fontspec_opacity_tl \g__fontspec_opacity_tl
+ \tl_set_eq:NN \l__fontspec_hexcol_tl \g__fontspec_hexcol_tl
+ \tl_set_eq:NN \l__fontspec_postadjust_tl \g__fontspec_postadjust_tl
+ \tl_clear:N \l__fontspec_wordspace_adjust_tl
+ \tl_clear:N \l__fontspec_punctspace_adjust_tl
+ }
+\cs_set:Nn \__fontspec_iv_str_to_num:Nn
{
- \fontspec_check_ot_feat:nTF {+smcp} {#1} {#2}
+ \__fontspec_iv_str_to_num:w #1 \q_nil #2 \c_empty_tl \c_empty_tl \q_nil
}
-\cs_set:Nn \__fontspec_make_smallcaps:TF
+\cs_set:Npn \__fontspec_iv_str_to_num:w #1 \q_nil #2#3#4#5#6 \q_nil
{
- \bool_if:NTF \l__fontspec_ot_bool
- { \fontspec_make_ot_smallcaps:TF {#1} {#2} }
+ \int_set:Nn #1
{
- \bool_if:NT \l__fontspec_atsui_bool
- { \fontspec_make_AAT_feature_string:nnTF {3}{3} {#1} {#2} }
+ `#2 * "1000000
+ + `#3 * "10000
+ + \ifx \c_empty_tl #4 32 \else `#4 \fi * "100
+ + \ifx \c_empty_tl #5 32 \else `#5 \fi
}
}
-\cs_set_eq:NN \sclist_clear:N \tl_clear:N
-\cs_new:Nn \sclist_gput_right:Nn
- { \tl_gput_right:Nn #1 {#2;} }
-\cs_generate_variant:Nn \sclist_gput_right:Nn {Nx}
-\cs_new:Nn \__fontspec_update_featstr:n
+\cs_generate_variant:Nn \__fontspec_iv_str_to_num:Nn {No}
+\cs_new:Nn \__fontspec_define_opentype_feature_group:n
+ {
+ \keys_define:nn {fontspec-opentype} { #1 .multichoice: }
+ }
+\cs_new:Nn \__fontspec_feat_prop_add:nn
+ {
+ \tl_if_empty:nF {#1}
+ {
+ \prop_if_in:NnF \g__fontspec_OT_features_prop {#1}
+ {
+ \prop_gput:Nnn \g__fontspec_OT_features_prop {#1} {#2}
+ }
+ }
+ }
+\cs_new:Nn \__fontspec_define_opentype_feature:nnnnn
{
- \bool_if:NF \l__fontspec_firsttime_bool
+ \__fontspec_feat_prop_add:nn {#3} {#1\,=\,#2}
+ \keys_define:nn {fontspec-opentype}
{
- \sclist_gput_right:Nx \l__fontspec_rawfeatures_sclist {#1}
+ #1/#2 .code:n = { \__fontspec_make_OT_feature:nnn {#3} {#4} {#5} }
}
}
-\cs_new:Nn \fontspec_make_feature:nnn
+\cs_new:Nn \__fontspec_feat_off:n {#1Off}
+\cs_new:Nn \__fontspec_feat_reset:n {#1Reset}
+\cs_new:Nn \__fontspec_define_opentype_onoffreset:nnnnn
{
- \bool_if:NTF \l__fontspec_ot_bool
- { \fontspec_make_OT_feature:n {#3} }
- {
- \bool_if:NT \l__fontspec_atsui_bool
- { \fontspec_make_AAT_feature:nn {#1}{#2} }
- }
+ \exp_args:Nnx \__fontspec_define_opentype_feature:nnnnn {#1} {#2} {#3} {+#4} {#5}
+ \exp_args:Nnx \__fontspec_define_opentype_feature:nnnnn {#1} { \__fontspec_feat_off:n {#2} } {#3} {-#4} {}
+ \exp_args:Nnx \__fontspec_define_opentype_feature:nnnnn {#1} { \__fontspec_feat_reset:n {#2} } {} {} {+#4,-#4}
}
-\cs_generate_variant:Nn \fontspec_make_feature:nnn {nnx}
-\cs_new:Nn \fontspec_make_AAT_feature:nn
+\cs_new:Nn \__fontspec_define_opentype_onreset:nnnnn
{
- \tl_if_empty:nTF {#1}
- { \__fontspec_warning:n {aat-feature-not-exist} }
+ \exp_args:Nnx \__fontspec_define_opentype_feature:nnnnn {#1} {#2} {#3} {#4} {#5}
+ \exp_args:Nnx \__fontspec_define_opentype_feature:nnnnn {#1} { \__fontspec_feat_reset:n {#2} } {} {} {#4}
+ }
+\cs_new:Nn \__fontspec_make_OT_feature:nnn
+ {
+
+ \bool_set_true:N \l__fontspec_proceed_bool
+ \bool_set_true:N \l__fontspec_check_feat_bool
+
+ \tl_if_empty:nT {#1} { \bool_set_false:N \l__fontspec_check_feat_bool }
+ \bool_if:NT \l__fontspec_check_feat_bool
+ {
+ \__fontspec_check_ot_feat:nF {#1}
+ {
+ \__fontspec_warning:nx {icu-feature-not-exist-in-font} {#1}
+ \bool_set_false:N \l__fontspec_proceed_bool
+ }
+ }
+
+ \bool_if:NT \l__fontspec_proceed_bool
+ {
+ \exp_args:Nx \__fontspec_remove_clashing_featstr:n
+ { #2 , \__fontspec_swap_plus_minus:n {#2} , #3 }
+
+ \__fontspec_update_featstr:n {#2}
+ }
+ }
+\cs_generate_variant:Nn \__fontspec_make_OT_feature:nnn {xxx}
+\cs_new:Nn \__fontspec_swap_plus_minus:n { \__fontspec_swap_plus_minus_aux:NNNNN #1 }
+\cs_new:Nn \__fontspec_swap_plus_minus_aux:NNNNN
+ { \str_case:nn {#1} { {+} {-#2#3#4#5} {-} {+#2#3#4#5} } }
+\prg_new_conditional:Nnn \__fontspec_check_script:n {TF}
+ {
+ \bool_if:NTF \l__fontspec_never_check_bool
+ { \prg_return_true: }
+ {
+ \__fontspec_iv_str_to_num:Nn \l__fontspec_strnum_int {#1}
+ \int_set:Nn \l_tmpb_int { \XeTeXOTcountscripts \l_fontspec_font }
+ \int_zero:N \l_tmpa_int
+ \bool_set_false:N \l__fontspec_check_bool
+ \bool_until_do:nn { \int_compare_p:nNn \l_tmpa_int = \l_tmpb_int }
{
- \fontspec_make_AAT_feature_string:nnTF {#1}{#2}
- {
- \__fontspec_update_featstr:n {\l_fontspec_feature_string_tl}
- }
- { \__fontspec_warning:nx {aat-feature-not-exist-in-font} {#1,#2} }
+ \ifnum \XeTeXOTscripttag\l_fontspec_font \l_tmpa_int = \l__fontspec_strnum_int
+ \bool_set_true:N \l__fontspec_check_bool
+ \int_set:Nn \l_tmpa_int {\l_tmpb_int}
+ \else
+ \int_incr:N \l_tmpa_int
+ \fi
}
+ \bool_if:NTF \l__fontspec_check_bool \prg_return_true: \prg_return_false:
}
-\cs_new:Nn \fontspec_make_OT_feature:n
+ }
+\prg_new_conditional:Nnn \__fontspec_check_lang:n {TF}
+ {
+ \bool_if:NTF \l__fontspec_never_check_bool
+ { \prg_return_true: }
{
- \tl_if_empty:nTF {#1}
- { \__fontspec_warning:n {icu-feature-not-exist} }
+ \__fontspec_iv_str_to_num:Nn \l__fontspec_strnum_int {#1}
+ \int_set:Nn \l_tmpb_int
+ { \XeTeXOTcountlanguages \l_fontspec_font \l__fontspec_script_int }
+ \int_zero:N \l_tmpa_int
+ \bool_set_false:N \l__fontspec_check_bool
+ \bool_until_do:nn { \int_compare_p:nNn \l_tmpa_int = \l_tmpb_int }
{
- \fontspec_check_ot_feat:nTF {#1}
- {
- \__fontspec_update_featstr:n {#1}
- }
- { \__fontspec_warning:nx {icu-feature-not-exist-in-font} {#1} }
+ \ifnum\XeTeXOTlanguagetag\l_fontspec_font\l__fontspec_script_int \l_tmpa_int =\l__fontspec_strnum_int
+ \bool_set_true:N \l__fontspec_check_bool
+ \int_set:Nn \l_tmpa_int {\l_tmpb_int}
+ \else
+ \int_incr:N \l_tmpa_int
+ \fi
}
+ \bool_if:NTF \l__fontspec_check_bool \prg_return_true: \prg_return_false:
}
-\cs_new_protected:Nn \fontspec_make_numbered_feature:nn
+ }
+\prg_new_conditional:Nnn \__fontspec_check_ot_feat:n {TF,F}
+ {
+ \bool_if:NTF \l__fontspec_never_check_bool
+ { \prg_return_true: }
{
- \fontspec_check_ot_feat:nTF {#1}
+ \int_set:Nn \l_tmpb_int
{
- \__fontspec_update_featstr:n { #1 = #2 }
+ \XeTeXOTcountfeatures \l_fontspec_font
+ \l__fontspec_script_int
+ \l__fontspec_language_int
}
- { \__fontspec_warning:nx {icu-feature-not-exist-in-font} {#1} }
+ \__fontspec_iv_str_to_num:Nn \l__fontspec_strnum_int {#1}
+ \int_zero:N \l_tmpa_int
+ \bool_set_false:N \l__fontspec_check_bool
+ \bool_until_do:nn { \int_compare_p:nNn \l_tmpa_int = \l_tmpb_int }
+ {
+ \ifnum\XeTeXOTfeaturetag\l_fontspec_font\l__fontspec_script_int\l__fontspec_language_int
+ \l_tmpa_int =\l__fontspec_strnum_int
+ \bool_set_true:N \l__fontspec_check_bool
+ \int_set:Nn \l_tmpa_int {\l_tmpb_int}
+ \else
+ \int_incr:N \l_tmpa_int
+ \fi
+ }
+ \bool_if:NTF \l__fontspec_check_bool \prg_return_true: \prg_return_false:
}
-\cs_generate_variant:Nn \fontspec_make_numbered_feature:nn {xn}
-\cs_new:Nn \__fontspec_define_font_feature:n
+ }
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {aalt}{Access~All~Alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {abvf}{Above-base~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {abvm}{Above-base~Mark~Positioning}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {abvs}{Above-base~Substitutions}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {afrc}{Alternative~Fractions}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {akhn}{Akhands}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {blwf}{Below-base~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {blwm}{Below-base~Mark~Positioning}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {blws}{Below-base~Substitutions}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {calt}{Contextual~Alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {case}{Case-Sensitive~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {ccmp}{Glyph~Composition~/~Decomposition}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {cfar}{Conjunct~Form~After~Ro}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {cjct}{Conjunct~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {clig}{Contextual~Ligatures}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {cpct}{Centered~CJK~Punctuation}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {cpsp}{Capital~Spacing}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {cswh}{Contextual~Swash}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {curs}{Cursive~Positioning}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {cvNN}{Character~Variant~$N$}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {c2pc}{Petite~Capitals~From~Capitals}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {c2sc}{Small~Capitals~From~Capitals}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {dist}{Distances}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {dlig}{Discretionary~Ligatures}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {dnom}{Denominators}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {dtls}{Dotless~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {expt}{Expert~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {falt}{Final~Glyph~on~Line~Alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {fin2}{Terminal~Forms~\#2}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {fin3}{Terminal~Forms~\#3}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {fina}{Terminal~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {flac}{Flattened~accent~forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {frac}{Fractions}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {fwid}{Full~Widths}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {half}{Half~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {haln}{Halant~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {halt}{Alternate~Half~Widths}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {hist}{Historical~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {hkna}{Horizontal~Kana~Alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {hlig}{Historical~Ligatures}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {hngl}{Hangul}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {hojo}{Hojo~Kanji~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {hwid}{Half~Widths}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {init}{Initial~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {isol}{Isolated~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {ital}{Italics}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {jalt}{Justification~Alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {jp78}{JIS78~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {jp83}{JIS83~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {jp90}{JIS90~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {jp04}{JIS2004~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {kern}{Kerning}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {lfbd}{Left~Bounds}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {liga}{Standard~Ligatures}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {ljmo}{Leading~Jamo~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {lnum}{Lining~Figures}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {locl}{Localized~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {ltra}{Left-to-right~alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {ltrm}{Left-to-right~mirrored~forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {mark}{Mark~Positioning}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {med2}{Medial~Forms~\#2}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {medi}{Medial~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {mgrk}{Mathematical~Greek}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {mkmk}{Mark~to~Mark~Positioning}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {mset}{Mark~Positioning~via~Substitution}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {nalt}{Alternate~Annotation~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {nlck}{NLC~Kanji~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {nukt}{Nukta~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {numr}{Numerators}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {onum}{Oldstyle~Figures}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {opbd}{Optical~Bounds}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {ordn}{Ordinals}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {ornm}{Ornaments}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {palt}{Proportional~Alternate~Widths}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {pcap}{Petite~Capitals}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {pkna}{Proportional~Kana}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {pnum}{Proportional~Figures}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {pref}{Pre-Base~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {pres}{Pre-base~Substitutions}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {pstf}{Post-base~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {psts}{Post-base~Substitutions}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {pwid}{Proportional~Widths}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {qwid}{Quarter~Widths}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {rand}{Randomize}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {rclt}{Required~Contextual~Alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {rkrf}{Rakar~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {rlig}{Required~Ligatures}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {rphf}{Reph~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {rtbd}{Right~Bounds}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {rtla}{Right-to-left~alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {rtlm}{Right-to-left~mirrored~forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {ruby}{Ruby~Notation~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {rvrn}{Required~Variation~Alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {salt}{Stylistic~Alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {sinf}{Scientific~Inferiors}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {size}{Optical~size}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {smcp}{Small~Capitals}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {smpl}{Simplified~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {ssNN}{Stylistic~Set~$N$}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {ssty}{Math~script~style~alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {stch}{Stretching~Glyph~Decomposition}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {subs}{Subscript}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {sups}{Superscript}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {swsh}{Swash}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {titl}{Titling}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {tjmo}{Trailing~Jamo~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {tnam}{Traditional~Name~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {tnum}{Tabular~Figures}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {trad}{Traditional~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {twid}{Third~Widths}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {unic}{Unicase}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {valt}{Alternate~Vertical~Metrics}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {vatu}{Vattu~Variants}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {vert}{Vertical~Writing}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {vhal}{Alternate~Vertical~Half~Metrics}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {vjmo}{Vowel~Jamo~Forms}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {vkna}{Vertical~Kana~Alternates}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {vkrn}{Vertical~Kerning}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {vpal}{Proportional~Alternate~Vertical~Metrics}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {vrt2}{Vertical~Alternates~and~Rotation}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {vrtr}{Vertical~Alternates~for~Rotation}
+\prop_gput:Nnn \g__fontspec_all_opentype_feature_names_prop {zero}{Slashed~Zero}
+
+
+\cs_new:Nn \__fontspec_define_aat_feature_group:n
+ { \keys_define:nn {fontspec-aat} { #1 .multichoice: } }
+\cs_new:Nn \__fontspec_define_aat_feature:nnnn
{
- \keys_define:nn {fontspec} { #1 .multichoice: }
- }
-\cs_new:Nn \__fontspec_define_feature_option:nnnnn
- {
- \keys_define:nn {fontspec}
+ \keys_define:nn {fontspec-aat}
{
- #1/#2 .code:n = { \fontspec_make_feature:nnn{#3}{#4}{#5} }
+ #1/#2 .code:n = { \__fontspec_make_AAT_feature:nn {#3}{#4} }
}
}
-\cs_new:Nn \fontspec_define_numbered_feat:nnnn
+
+\cs_new:Nn \__fontspec_make_AAT_feature:nn
{
- \keys_define:nn {fontspec}
+ \tl_if_empty:nTF {#1}
+ { \__fontspec_warning:n {aat-feature-not-exist} }
{
- #1/#2 .code:n =
- { \fontspec_make_numbered_feature:nn {#3}{#4} }
+ \__fontspec_make_AAT_feature_string:nnTF {#1}{#2}
+ {
+ \__fontspec_update_featstr:n {\l_fontspec_feature_string_tl}
+ }
+ { \__fontspec_warning:nx {aat-feature-not-exist-in-font} {#1,#2} }
}
}
-\prg_new_conditional:Nnn \fontspec_make_AAT_feature_string:nn {TF,T,F}
+\prg_new_conditional:Nnn \__fontspec_make_AAT_feature_string:nn {TF,T,F}
{
\tl_set:Nx \l_tmpa_tl { \XeTeXfeaturename \l_fontspec_font #1 }
\tl_if_empty:NTF \l_tmpa_tl
@@ -1403,118 +1818,43 @@
}
}
}
-\cs_set:Nn \fontspec_iv_str_to_num:Nn
- {
- \fontspec_iv_str_to_num:w #1 \q_nil #2 \c_empty_tl \c_empty_tl \q_nil
- }
-\cs_set:Npn \fontspec_iv_str_to_num:w #1 \q_nil #2#3#4#5#6 \q_nil
- {
- \int_set:Nn #1
- {
- `#2 * "1000000
- + `#3 * "10000
- + \ifx \c_empty_tl #4 32 \else `#4 \fi * "100
- + \ifx \c_empty_tl #5 32 \else `#5 \fi
- }
- }
-\cs_generate_variant:Nn \fontspec_iv_str_to_num:Nn {No}
-\cs_set:Nn \fontspec_v_str_to_num:Nn
- {
- \bool_if:nTF
- {
- \tl_if_head_eq_charcode_p:nN {#2} {+} ||
- \tl_if_head_eq_charcode_p:nN {#2} {-}
- }
- { \fontspec_iv_str_to_num:No #1 { \use_none:n #2 } }
- { \fontspec_iv_str_to_num:Nn #1 {#2} }
- }
-\prg_new_conditional:Nnn \fontspec_check_script:n {TF}
- {
- \fontspec_iv_str_to_num:Nn \l_fontspec_strnum_int {#1}
- \int_set:Nn \l_tmpb_int { \XeTeXOTcountscripts \l_fontspec_font }
- \int_zero:N \l_tmpa_int
- \bool_set_false:N \l__fontspec_check_bool
- \bool_until_do:nn { \int_compare_p:nNn \l_tmpa_int = \l_tmpb_int }
- {
- \ifnum \XeTeXOTscripttag\l_fontspec_font \l_tmpa_int = \l_fontspec_strnum_int
- \bool_set_true:N \l__fontspec_check_bool
- \int_set:Nn \l_tmpa_int {\l_tmpb_int}
- \else
- \int_incr:N \l_tmpa_int
- \fi
- }
- \bool_if:NTF \l__fontspec_check_bool \prg_return_true: \prg_return_false:
- }
-\prg_new_conditional:Nnn \fontspec_check_lang:n {TF}
- {
- \fontspec_iv_str_to_num:Nn \l_fontspec_strnum_int {#1}
- \int_set:Nn \l_tmpb_int
- { \XeTeXOTcountlanguages \l_fontspec_font \l_fontspec_script_int }
- \int_zero:N \l_tmpa_int
- \bool_set_false:N \l__fontspec_check_bool
- \bool_until_do:nn { \int_compare_p:nNn \l_tmpa_int = \l_tmpb_int }
- {
- \ifnum\XeTeXOTlanguagetag\l_fontspec_font\l_fontspec_script_int \l_tmpa_int =\l_fontspec_strnum_int
- \bool_set_true:N \l__fontspec_check_bool
- \int_set:Nn \l_tmpa_int {\l_tmpb_int}
- \else
- \int_incr:N \l_tmpa_int
- \fi
- }
- \bool_if:NTF \l__fontspec_check_bool \prg_return_true: \prg_return_false:
- }
-\prg_new_conditional:Nnn \fontspec_check_ot_feat:n {TF,T}
- {
- \int_set:Nn \l_tmpb_int
- {
- \XeTeXOTcountfeatures \l_fontspec_font
- \l_fontspec_script_int
- \l_fontspec_language_int
- }
- \fontspec_v_str_to_num:Nn \l_fontspec_strnum_int {#1}
- \int_zero:N \l_tmpa_int
- \bool_set_false:N \l__fontspec_check_bool
- \bool_until_do:nn { \int_compare_p:nNn \l_tmpa_int = \l_tmpb_int }
- {
- \ifnum\XeTeXOTfeaturetag\l_fontspec_font\l_fontspec_script_int\l_fontspec_language_int
- \l_tmpa_int =\l_fontspec_strnum_int
- \bool_set_true:N \l__fontspec_check_bool
- \int_set:Nn \l_tmpa_int {\l_tmpb_int}
- \else
- \int_incr:N \l_tmpa_int
- \fi
- }
- \bool_if:NTF \l__fontspec_check_bool \prg_return_true: \prg_return_false:
- }
+\clist_set:Nn \g__fontspec_all_keyval_modules_clist
+ {
+ fontspec, fontspec-opentype, fontspec-aat,
+ fontspec-preparse, fontspec-preparse-external, fontspec-preparse-nested,
+ fontspec-renderer
+ }
\cs_new:Nn \__fontspec_keys_define_code:nnn
- {
- \keys_define:nn {#1} { #2 .code:n = {#3} }
- }
+ {
+ \keys_define:nn {#1} { #2 .code:n = {#3} }
+ }
\cs_new:Nn \__fontspec_aff_error:n
{
\__fontspec_keys_define_code:nnn {fontspec-addfeatures} {#1}
{ \__fontspec_error:nx {not-in-addfontfeatures} {#1} }
}
-\bool_new:N \l__fontspec_external_bool
-\__fontspec_keys_define_code:nnn {fontspec-preparse-external} {ExternalLocation}
+\__fontspec_keys_define_code:nnn {fontspec-preparse-external} {Path}
{
\bool_set_true:N \l__fontspec_nobf_bool
\bool_set_true:N \l__fontspec_noit_bool
\bool_set_true:N \l__fontspec_external_bool
- \cs_set:Npn \__fontspec_namewrap:n ##1 { [ #1 ##1 ] }
+ \tl_set:Nn \l__fontspec_font_path_tl {#1}
+ \__fontspec_font_is_file:
\keys_set:nn {fontspec-renderer} {Renderer=OpenType}
}
-\aliasfontfeature{ExternalLocation}{Path}
+\aliasfontfeature{Path}{ExternalLocation}
+\__fontspec_keys_define_code:nnn {fontspec} {Path} {}
\__fontspec_keys_define_code:nnn {fontspec-preparse-external} {Extension}
{
\tl_set:Nn \l__fontspec_extension_tl {#1}
\bool_if:NF \l__fontspec_external_bool
{
- \keys_set:nn {fontspec-preparse-external} {ExternalLocation}
+ \keys_set:nn {fontspec-preparse-external} {Path}
}
}
\tl_clear:N \l__fontspec_extension_tl
+\__fontspec_keys_define_code:nnn {fontspec} {Extension} {}
\keys_define:nn {fontspec-renderer}
{
Renderer .choices:nn =
@@ -1523,6 +1863,7 @@
\int_compare:nTF {\l_keys_choice_int <= 4} {
\tl_set:Nv \l_fontspec_renderer_tl
{ g_fontspec_renderer_tag_ \l_keys_choice_tl }
+ \tl_gset:Nx \g__fontspec_single_feat_tl { \l_fontspec_renderer_tl }
}
{
\__fontspec_warning:nx {only-luatex-feature} {Renderer=Full/Basic}
@@ -1545,7 +1886,16 @@
\keys_set:nn {fontspec-renderer} {Renderer=OpenType}
\tl_set:Nn \l__fontspec_lang_name_tl {#1}
}
-\seq_new:N \g__fontspec_bf_series_seq
+\__fontspec_keys_define_code:nnn {fontspec-preparse} {FontIndex}
+ {
+ \str_if_eq_x:nnF { \str_lower_case:f {\l__fontspec_extension_tl} } {.ttc}
+ { \__fontspec_warning:n {font-index-needs-ttc} }
+ \tl_set:Nn \l__fontspec_ttc_index_tl {:#1}
+ }
+\__fontspec_keys_define_code:nnn {fontspec} {FontIndex}
+ {
+ \tl_set:Nn \l__fontspec_ttc_index_tl {:#1}
+ }
\__fontspec_keys_define_code:nnn {fontspec-preparse-external} {BoldSeries}
{
\tl_gset:Nx \g__fontspec_curr_series_tl { #1 }
@@ -1553,14 +1903,12 @@
}
\__fontspec_keys_define_code:nnn {fontspec-preparse-external} {UprightFont}
{
- \fontspec_complete_fontname:Nn \l_fontspec_fontname_up_tl {#1}
+ \fontspec_complete_fontname:Nn \l__fontspec_fontname_up_tl {#1}
}
\__fontspec_keys_define_code:nnn {fontspec-preparse-external} {FontName}
{
- \fontspec_complete_fontname:Nn \l_fontspec_fontname_up_tl {#1}
+ \fontspec_complete_fontname:Nn \l__fontspec_fontname_up_tl {#1}
}
-\cs_generate_variant:Nn \tl_if_eq:nnT {ox}
-\cs_generate_variant:Nn \prop_put:Nnn {NxV}
\__fontspec_keys_define_code:nnn {fontspec-preparse-external} {BoldFont}
{
\tl_if_empty:nTF {#1}
@@ -1577,7 +1925,7 @@
\seq_put_right:Nx \g__fontspec_bf_series_seq {\bfdefault}
}
\tl_if_eq:oxT \g__fontspec_curr_series_tl {\bfdefault}
- { \tl_set_eq:NN \l_fontspec_fontname_bf_tl \l__fontspec_curr_bfname_tl }
+ { \tl_set_eq:NN \l__fontspec_fontname_bf_tl \l__fontspec_curr_bfname_tl }
\prop_put:NxV \l__fontspec_nfss_prop
@@ -1585,7 +1933,6 @@
}
}
-\prop_new:N \l__fontspec_nfss_prop
\__fontspec_keys_define_code:nnn {fontspec-preparse-external} {ItalicFont}
{
\tl_if_empty:nTF {#1}
@@ -1594,20 +1941,20 @@
}
{
\bool_set_false:N \l__fontspec_noit_bool
- \fontspec_complete_fontname:Nn \l_fontspec_fontname_it_tl {#1}
+ \fontspec_complete_fontname:Nn \l__fontspec_fontname_it_tl {#1}
}
}
\__fontspec_keys_define_code:nnn {fontspec-preparse-external} {BoldItalicFont}
{
- \fontspec_complete_fontname:Nn \l_fontspec_fontname_bfit_tl {#1}
+ \fontspec_complete_fontname:Nn \l__fontspec_fontname_bfit_tl {#1}
}
\__fontspec_keys_define_code:nnn {fontspec-preparse-external} {SlantedFont}
{
- \fontspec_complete_fontname:Nn \l_fontspec_fontname_sl_tl {#1}
+ \fontspec_complete_fontname:Nn \l__fontspec_fontname_sl_tl {#1}
}
\__fontspec_keys_define_code:nnn {fontspec-preparse-external} {BoldSlantedFont}
{
- \fontspec_complete_fontname:Nn \l_fontspec_fontname_bfsl_tl {#1}
+ \fontspec_complete_fontname:Nn \l__fontspec_fontname_bfsl_tl {#1}
}
\__fontspec_keys_define_code:nnn {fontspec} {SmallCapsFont}
{
@@ -1617,15 +1964,9 @@
}
{
\bool_set_false:N \l__fontspec_nosc_bool
- \fontspec_complete_fontname:Nn \l_fontspec_fontname_sc_tl {#1}
+ \fontspec_complete_fontname:Nn \l__fontspec_fontname_sc_tl {#1}
}
}
-\cs_set:Nn \fontspec_complete_fontname:Nn
- {
- \tl_set:Nx #1 {#2}
- \tl_replace_all:Nnx #1 {*} {\l__fontspec_basename_tl}
- }
-\cs_generate_variant:Nn \tl_replace_all:Nnn {Nnx}
\__fontspec_keys_define_code:nnn {fontspec-preparse} {UprightFeatures}
{
\clist_set:Nn \l__fontspec_fontfeat_up_clist {#1}
@@ -1700,7 +2041,6 @@
\tl_if_exist:NT \l_fontspec_family_tl
{ \cs_undefine:c {g__fontspec_ \l_fontspec_family_tl _prop} }
}
-\prop_new:N \l__fontspec_nfssfont_prop
\__fontspec_keys_define_code:nnn {fontspec} {FontFace}
{
\tl_set:No \l__fontspec_arg_tl { \use_iii:nnn #1 }
@@ -1718,20 +2058,6 @@
\__fontspec_add_nfssfont:nnnn
{\use_i:nnn #1}{\use_ii:nnn #1}{\l__fontspec_this_font_tl}{\l__fontspec_this_feat_tl}
}
-\cs_new:Nn \__fontspec_add_nfssfont:nnnn
- {
- \tl_set:Nx \l__fontspec_this_font_tl {#3}
-
- \tl_if_empty:xTF {#4}
- { \clist_set:Nn \l__fontspec_sizefeat_clist {Size={-}} }
- { \keys_set_known:noN {fontspec-preparse-nested} {#4} \l__fontspec_tmp_tl }
-
- \tl_if_empty:NF \l__fontspec_this_font_tl
- {
- \prop_put:Nxx \l__fontspec_nfssfont_prop {#1/#2}
- { {#1}{#2}{\l__fontspec_this_font_tl}{#4}{\l__fontspec_sizefeat_clist} }
- }
- }
\__fontspec_keys_define_code:nnn {fontspec} {Scale}
{
\str_case:nnF {#1}
@@ -1764,7 +2090,7 @@
\settoheight #1
{
\str_if_eq:nnTF {#3} {\font} \rmfamily #3
- \int_case:nnn #2
+ \int_case:nnF #2
{
{5} {x} % x-height
{8} {X} % cap-height
@@ -1841,7 +2167,7 @@
\tl_if_single:nTF {#1}
{ \tl_set:Nn \l_fontspec_hyphenchar_tl {`#1} }
{ \tl_set:Nn \l_fontspec_hyphenchar_tl { #1} }
- \font_glyph_if_exist:NnTF \l_fontspec_font {\l_fontspec_hyphenchar_tl}
+ \__fontspec_primitive_font_glyph_if_exist:NnTF \l_fontspec_font {\l_fontspec_hyphenchar_tl}
{
\tl_put_right:Nn \l__fontspec_postadjust_tl
{ \hyphenchar \font = \l_fontspec_hyphenchar_tl \scan_stop: }
@@ -1880,7 +2206,6 @@
\tl_set:Nn \l__fontspec_opacity_tl {#7#8}
}
\aliasfontfeature{Color}{Colour}
-\int_new:N \l__fontspec_tmp_int
\__fontspec_keys_define_code:nnn {fontspec} {Opacity}
{
\int_set:Nn \l__fontspec_tmp_int {255}
@@ -1900,10 +2225,6 @@
{
\__fontspec_update_featstr:n { mapping = #1 }
}
-\__fontspec_keys_define_code:nnn {fontspec} {FeatureFile}
- {
- \__fontspec_update_featstr:n { featurefile = #1 }
- }
\__fontspec_keys_define_code:nnn {fontspec} {Weight}
{
\__fontspec_update_featstr:n{weight=#1}
@@ -1960,17 +2281,17 @@
{
\bool_if:NT \l__fontspec_firsttime_bool
{
- \tl_set:Nn \l_fontspec_fake_slant_tl {#1}
+ \tl_set:Nn \l__fontspec_fake_slant_tl {#1}
\clist_put_right:Nn \l__fontspec_fontfeat_it_clist {FakeSlant=#1}
- \tl_set_eq:NN \l_fontspec_fontname_it_tl \l_fontspec_fontname_tl
+ \tl_set_eq:NN \l__fontspec_fontname_it_tl \l_fontspec_fontname_tl
\bool_set_false:N \l__fontspec_noit_bool
- \tl_if_empty:NF \l_fontspec_fake_embolden_tl
+ \tl_if_empty:NF \l__fontspec_fake_embolden_tl
{
\clist_put_right:Nx \l__fontspec_fontfeat_bfit_clist
- {FakeBold=\l_fontspec_fake_embolden_tl}
+ {FakeBold=\l__fontspec_fake_embolden_tl}
\clist_put_right:Nx \l__fontspec_fontfeat_bfit_clist {FakeSlant=#1}
- \tl_set_eq:NN \l_fontspec_fontname_bfit_tl \l_fontspec_fontname_tl
+ \tl_set_eq:NN \l__fontspec_fontname_bfit_tl \l_fontspec_fontname_tl
}
}
},
@@ -1982,154 +2303,247 @@
{
\bool_if:NT \l__fontspec_firsttime_bool
{
- \tl_set:Nn \l_fontspec_fake_embolden_tl {#1}
+ \tl_set:Nn \l__fontspec_fake_embolden_tl {#1}
\clist_put_right:Nn \l__fontspec_fontfeat_bf_clist {FakeBold=#1}
- \tl_set_eq:NN \l_fontspec_fontname_bf_tl \l_fontspec_fontname_tl
+ \tl_set_eq:NN \l__fontspec_fontname_bf_tl \l_fontspec_fontname_tl
\bool_set_false:N \l__fontspec_nobf_bool
- \tl_if_empty:NF \l_fontspec_fake_slant_tl
+ \tl_if_empty:NF \l__fontspec_fake_slant_tl
{
\clist_put_right:Nx \l__fontspec_fontfeat_bfit_clist
- {FakeSlant=\l_fontspec_fake_slant_tl}
+ {FakeSlant=\l__fontspec_fake_slant_tl}
\clist_put_right:Nx \l__fontspec_fontfeat_bfit_clist {FakeBold=#1}
- \tl_set_eq:NN \l_fontspec_fontname_bfit_tl \l_fontspec_fontname_tl
+ \tl_set_eq:NN \l__fontspec_fontname_bfit_tl \l_fontspec_fontname_tl
}
}
},
AutoFakeBold .default:n = {1.5}
}
-\__fontspec_define_font_feature:n{Ligatures}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{Required} {1}{0}{+rlig}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoRequired} {1}{1}{-rlig}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{Common} {1}{2}{+liga}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoCommon} {1}{3}{-liga}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{Rare} {1}{4}{+dlig}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoRare} {1}{5}{-dlig}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{Discretionary} {1}{4}{+dlig}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoDiscretionary}{1}{5}{-dlig}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{Contextual} {}{} {+clig}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoContextual} {}{} {-clig}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{Historic} {}{} {+hlig}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoHistoric} {}{} {-hlig}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{Logos} {1}{6} {}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoLogos} {1}{7} {}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{Rebus} {1}{8} {}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoRebus} {1}{9} {}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{Diphthong} {1}{10}{}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoDiphthong} {1}{11}{}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{Squared} {1}{12}{}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoSquared} {1}{13}{}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{AbbrevSquared} {1}{14}{}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoAbbrevSquared}{1}{15}{}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{Icelandic} {1}{32}{}
-\__fontspec_define_feature_option:nnnnn{Ligatures}{NoIcelandic} {1}{33}{}
-\keys_define:nn {fontspec}
+\__fontspec_keys_define_code:nnn {fontspec} {RawFeature}
{
- Ligatures / TeX .code:n =
- {
- \__fontspec_update_featstr:n { mapping = tex-text }
- }
+ \__fontspec_update_featstr:n {#1}
}
-\__fontspec_define_font_feature:n{Letters}
-\__fontspec_define_feature_option:nnnnn{Letters}{Normal} {3}{0}{}
-\__fontspec_define_feature_option:nnnnn{Letters}{Uppercase} {3}{1}{+case}
-\__fontspec_define_feature_option:nnnnn{Letters}{Lowercase} {3}{2}{}
-\__fontspec_define_feature_option:nnnnn{Letters}{SmallCaps} {3}{3}{+smcp}
-\__fontspec_define_feature_option:nnnnn{Letters}{PetiteCaps} {} {} {+pcap}
-\__fontspec_define_feature_option:nnnnn{Letters}{UppercaseSmallCaps} {} {} {+c2sc}
-\__fontspec_define_feature_option:nnnnn{Letters}{UppercasePetiteCaps}{} {} {+c2pc}
-\__fontspec_define_feature_option:nnnnn{Letters}{InitialCaps} {3}{4}{}
-\__fontspec_define_feature_option:nnnnn{Letters}{Unicase} {} {} {+unic}
-\__fontspec_define_feature_option:nnnnn{Letters}{Random} {} {} {+rand}
-\__fontspec_define_font_feature:n{Numbers}
-\__fontspec_define_feature_option:nnnnn{Numbers}{Monospaced} {6} {0}{+tnum}
-\__fontspec_define_feature_option:nnnnn{Numbers}{Proportional} {6} {1}{+pnum}
-\__fontspec_define_feature_option:nnnnn{Numbers}{Lowercase} {21}{0}{+onum}
-\__fontspec_define_feature_option:nnnnn{Numbers}{OldStyle} {21}{0}{+onum}
-\__fontspec_define_feature_option:nnnnn{Numbers}{Uppercase} {21}{1}{+lnum}
-\__fontspec_define_feature_option:nnnnn{Numbers}{Lining} {21}{1}{+lnum}
-\__fontspec_define_feature_option:nnnnn{Numbers}{SlashedZero} {14}{5}{+zero}
-\__fontspec_define_feature_option:nnnnn{Numbers}{NoSlashedZero}{14}{4}{-zero}
-\luatex_if_engine:T
+
+\__fontspec_feat_prop_add:nn {salt} { Alternate\,=\,$N$ }
+\__fontspec_feat_prop_add:nn {nalt} { Annotation\,=\,$N$ }
+\__fontspec_feat_prop_add:nn {ornm} { Ornament\,=\,$N$ }
+\__fontspec_feat_prop_add:nn {cvNN} { CharacterVariant\,=\,$N$:$M$ }
+\__fontspec_feat_prop_add:nn {ssNN} { StylisticSet\,=\,$N$ }
+\__fontspec_define_opentype_feature_group:n {Ligatures}
+\__fontspec_define_opentype_feature:nnnnn {Ligatures} {ResetAll} {} {}
+ {
+ +dlig,-dlig,+rlig,-rlig,+liga,-liga,+dlig,-dlig,+clig,-clig,+hlig,-hlig,
+ mapping = tex-text
+ }
+\__fontspec_define_opentype_onoffreset:nnnnn {Ligatures} {Required} {rlig} {rlig} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Ligatures} {Common} {liga} {liga} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Ligatures} {Rare} {dlig} {dlig} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Ligatures} {Discretionary} {dlig} {dlig} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Ligatures} {Contextual} {clig} {clig} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Ligatures} {Historic} {hlig} {hlig} {}
+\__fontspec_define_opentype_onreset:nnnnn {Ligatures} {TeX} {} { mapping = tex-text } {}
+\__fontspec_define_opentype_feature_group:n {Letters}
+\__fontspec_define_opentype_feature:nnnnn {Letters} {ResetAll} {} {}
+ {
+ +case,+smcp,+pcap,+c2sc,+c2pc,+unic,+rand,
+ -case,-smcp,-pcap,-c2sc,-c2pc,-unic,-rand
+ }
+\__fontspec_define_opentype_onoffreset:nnnnn {Letters} {Uppercase} {case} {case} {+smcp,+pcap,+c2sc,+c2pc,+unic,+rand}
+\__fontspec_define_opentype_onoffreset:nnnnn {Letters} {SmallCaps} {smcp} {smcp} {+pcap,+unic,+rand}
+\__fontspec_define_opentype_onoffreset:nnnnn {Letters} {PetiteCaps} {pcap} {pcap} {+smcp,+unic,+rand}
+\__fontspec_define_opentype_onoffreset:nnnnn {Letters} {UppercaseSmallCaps} {c2sc} {c2sc} {+c2pc,+unic,+rand}
+\__fontspec_define_opentype_onoffreset:nnnnn {Letters} {UppercasePetiteCaps} {c2pc} {c2pc} {+c2sc,+unic,+rand}
+\__fontspec_define_opentype_onoffreset:nnnnn {Letters} {Unicase} {unic} {unic} {+rand}
+\__fontspec_define_opentype_onoffreset:nnnnn {Letters} {Random} {rand} {rand} {+unic}
+\__fontspec_define_opentype_feature_group:n {Numbers}
+\__fontspec_define_opentype_feature:nnnnn {Numbers} {ResetAll} {} {}
+ {
+ +tnum,-tnum,
+ +pnum,-pnum,
+ +onum,-onum,
+ +lnum,-lnum,
+ +zero,-zero,
+ +anum,-anum,
+ }
+\__fontspec_define_opentype_onoffreset:nnnnn {Numbers} {Monospaced} {tnum} {tnum} {+pnum,-pnum}
+\__fontspec_define_opentype_onoffreset:nnnnn {Numbers} {Proportional} {pnum} {pnum} {+tnum,-tnum}
+\__fontspec_define_opentype_onoffreset:nnnnn {Numbers} {Lowercase} {onum} {onum} {+lnum,-lnum}
+\__fontspec_define_opentype_onoffreset:nnnnn {Numbers} {Uppercase} {lnum} {lnum} {+onum,-onum}
+\__fontspec_define_opentype_onoffreset:nnnnn {Numbers} {SlashedZero} {zero} {zero} {}
+\aliasfontfeatureoption {Numbers} {Lowercase} {OldStyle}
+\aliasfontfeatureoption {Numbers} {Uppercase} {Lining}
+\__fontspec_define_opentype_feature_group:n {VerticalPosition}
+\__fontspec_define_opentype_feature:nnnnn {VerticalPosition} {ResetAll} {} {}
+ {
+ +sups,-sups,
+ +subs,-subs,
+ +ordn,-ordn,
+ +numr,-numr,
+ +dnom,-dnom,
+ +sinf,-sinf,
+ }
+\__fontspec_define_opentype_onoffreset:nnnnn {VerticalPosition} {Superior} {sups} {sups} {+subs,+ordn,+numr,+dnom,+sinf}
+\__fontspec_define_opentype_onoffreset:nnnnn {VerticalPosition} {Inferior} {subs} {subs} {+sups,+ordn,+numr,+dnom,+sinf}
+\__fontspec_define_opentype_onoffreset:nnnnn {VerticalPosition} {Ordinal} {ordn} {ordn} {+sups,+subs,+numr,+dnom,+sinf}
+\__fontspec_define_opentype_onoffreset:nnnnn {VerticalPosition} {Numerator} {numr} {numr} {+sups,+subs,+ordn,+dnom,+sinf}
+\__fontspec_define_opentype_onoffreset:nnnnn {VerticalPosition} {Denominator} {dnom} {dnom} {+sups,+subs,+ordn,+numr,+sinf}
+\__fontspec_define_opentype_onoffreset:nnnnn {VerticalPosition} {ScientificInferior} {sinf} {sinf} {+sups,+subs,+ordn,+numr,+dnom}
+\__fontspec_define_opentype_feature_group:n {Contextuals}
+\__fontspec_define_opentype_feature:nnnnn {Contextuals} {ResetAll} {} {}
+ {
+ +cswh,-cswh,
+ +calt,-calt,
+ +init,-init,
+ +fina,-fina,
+ +falt,-falt,
+ +medi,-medi,
+ }
+\__fontspec_define_opentype_onoffreset:nnnnn {Contextuals} {Swash} {cswh} {cswh} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Contextuals} {Alternate} {calt} {calt} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Contextuals} {WordInitial} {init} {init} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Contextuals} {WordFinal} {fina} {fina} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Contextuals} {LineFinal} {falt} {falt} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Contextuals} {Inner} {medi} {medi} {}
+\__fontspec_define_opentype_feature_group:n {Diacritics}
+\__fontspec_define_opentype_feature:nnnnn {Diacritics} {ResetAll} {} {}
+ {
+ +mark,-mark,
+ +mkmk,-mkmk,
+ +abvm,-abvm,
+ +blwm,-blwm,
+ }
+\__fontspec_define_opentype_onoffreset:nnnnn {Diacritics} {MarkToBase} {mark} {mark} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Diacritics} {MarkToMark} {mkmk} {mkmk} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Diacritics} {AboveBase} {abvm} {abvm} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Diacritics} {BelowBase} {blwm} {blwm} {}
+\__fontspec_define_opentype_feature_group:n {Kerning}
+\__fontspec_define_opentype_feature:nnnnn {Kerning} {ResetAll} {} {}
+ {
+ +cpsp,-cpsp,
+ +kern,-kern,
+ }
+\__fontspec_define_opentype_onoffreset:nnnnn {Kerning} {Uppercase} {cpsp} {cpsp} {}
+\__fontspec_define_opentype_feature:nnnnn {Kerning} {On} {kern} {+kern} {-kern}
+\__fontspec_define_opentype_feature:nnnnn {Kerning} {Off} {kern} {-kern} {+kern}
+\__fontspec_define_opentype_feature:nnnnn {Kerning} {Reset} {} {} {+kern,-kern}
+\__fontspec_define_opentype_feature_group:n {Fractions}
+\__fontspec_define_opentype_feature:nnnnn {Fractions} {ResetAll} {} {}
+ {
+ +frac,-frac,
+ +afrc,-afrc,
+ }
+\__fontspec_define_opentype_feature:nnnnn {Fractions} {On} {frac} {+frac} {}
+\__fontspec_define_opentype_feature:nnnnn {Fractions} {Off} {frac} {-frac} {}
+\__fontspec_define_opentype_feature:nnnnn {Fractions} {Reset} {} {} {+frac,-frac}
+\__fontspec_define_opentype_onoffreset:nnnnn {Fractions} {Alternate} {afrc} {afrc} {-frac}
+
+\__fontspec_define_opentype_feature_group:n {Style}
+\__fontspec_define_opentype_feature:nnnnn {Style} {ResetAll} {} {}
+ {
+ +salt,-salt,
+ +ital,-ital,
+ +ruby,-ruby,
+ +swsh,-swsh,
+ +hist,-hist,
+ +titl,-titl,
+ +hkna,-hkna,
+ +vkna,-vkna,
+ +ssty=0,-ssty=0,
+ +ssty=1,-ssty=1,
+ }
+\__fontspec_define_opentype_onoffreset:nnnnn {Style} {Alternate} {salt} {salt} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Style} {Italic} {ital} {ital} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Style} {Ruby} {ruby} {ruby} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Style} {Swash} {swsh} {swsh} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Style} {Cursive} {swsh} {curs} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Style} {Historic} {hist} {hist} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Style} {TitlingCaps} {titl} {titl} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Style} {HorizontalKana} {hkna} {hkna} {+vkna,+pkna}
+\__fontspec_define_opentype_onoffreset:nnnnn {Style} {VerticalKana} {vkna} {vkna} {+hkna,+pkna}
+\__fontspec_define_opentype_onoffreset:nnnnn {Style} {ProportionalKana} {pkna} {pkna} {+vkna,+hkna}
+\__fontspec_define_opentype_feature:nnnnn {Style} {MathScript} {ssty} {+ssty=0} {+ssty=1}
+\__fontspec_define_opentype_feature:nnnnn {Style} {MathScriptScript} {ssty} {+ssty=1} {+ssty=0}
+\__fontspec_define_opentype_feature_group:n {CJKShape}
+\__fontspec_define_opentype_feature:nnnnn {CJKShape} {ResetAll} {} {}
+ {
+ +trad,-trad,
+ +smpl,-smpl,
+ +jp78,-jp78,
+ +jp83,-jp83,
+ +jp90,-jp90,
+ +jp04,-jp04,
+ +expt,-expt,
+ +nlck,-nlck,
+ }
+\__fontspec_define_opentype_onoffreset:nnnnn {CJKShape} {Traditional} {trad} {trad} {+smpl,+jp78,+jp83,+jp90,+jp04,+expt,+nlck}
+\__fontspec_define_opentype_onoffreset:nnnnn {CJKShape} {Simplified} {smpl} {smpl} {+trad,+jp78,+jp83,+jp90,+jp04,+expt,+nlck}
+\__fontspec_define_opentype_onoffreset:nnnnn {CJKShape} {JIS1978} {jp78} {jp78} {+trad,+smpl,+jp83,+jp90,+jp04,+expt,+nlck}
+\__fontspec_define_opentype_onoffreset:nnnnn {CJKShape} {JIS1983} {jp83} {jp83} {+trad,+smpl,+jp78,+jp90,+jp04,+expt,+nlck}
+\__fontspec_define_opentype_onoffreset:nnnnn {CJKShape} {JIS1990} {jp90} {jp90} {+trad,+smpl,+jp78,+jp83,+jp04,+expt,+nlck}
+\__fontspec_define_opentype_onoffreset:nnnnn {CJKShape} {JIS2004} {jp04} {jp04} {+trad,+smpl,+jp78,+jp83,+jp90,+expt,+nlck}
+\__fontspec_define_opentype_onoffreset:nnnnn {CJKShape} {Expert} {expt} {expt} {+trad,+smpl,+jp78,+jp83,+jp90,+jp04,+nlck}
+\__fontspec_define_opentype_onoffreset:nnnnn {CJKShape} {NLC} {nlck} {nlck} {+trad,+smpl,+jp78,+jp83,+jp90,+jp04,+expt}
+\__fontspec_define_opentype_feature_group:n {CharacterWidth}
+\__fontspec_define_opentype_feature:nnnnn {CharacterWidth} {ResetAll} {} {}
+ {
+ +pwid,-pwid,
+ +fwid,-fwid,
+ +hwid,-hwid,
+ +twid,-twid,
+ +qwid,-qwid,
+ +palt,-palt,
+ +halt,-halt,
+ }
+\__fontspec_define_opentype_onoffreset:nnnnn {CharacterWidth} {Proportional} {pwid} {pwid} {+fwid,+hwid,+twid,+qwid,+palt,+halt}
+\__fontspec_define_opentype_onoffreset:nnnnn {CharacterWidth} {Full} {fwid} {fwid} {+pwid,+hwid,+twid,+qwid,+palt,+halt}
+\__fontspec_define_opentype_onoffreset:nnnnn {CharacterWidth} {Half} {hwid} {hwid} {+pwid,+fwid,+twid,+qwid,+palt,+halt}
+\__fontspec_define_opentype_onoffreset:nnnnn {CharacterWidth} {Third} {twid} {twid} {+pwid,+fwid,+hwid,+qwid,+palt,+halt}
+\__fontspec_define_opentype_onoffreset:nnnnn {CharacterWidth} {Quarter} {qwid} {qwid} {+pwid,+fwid,+hwid,+twid,+palt,+halt}
+\__fontspec_define_opentype_onoffreset:nnnnn {CharacterWidth} {AlternateProportional} {palt} {palt} {+pwid,+fwid,+hwid,+twid,+qwid,+halt}
+\__fontspec_define_opentype_onoffreset:nnnnn {CharacterWidth} {AlternateHalf} {halt} {halt} {+pwid,+fwid,+hwid,+twid,+qwid,+palt}
+\__fontspec_define_opentype_feature_group:n {Vertical}
+\__fontspec_define_opentype_onoffreset:nnnnn {Vertical} {RotatedGlyphs} {vrt2} {vrt2} {+vrtr,+vert}
+\__fontspec_define_opentype_onoffreset:nnnnn {Vertical} {AlternatesForRotation} {vrtr} {vrtr} {+vrt2}
+\__fontspec_define_opentype_onoffreset:nnnnn {Vertical} {Alternates} {vert} {vert} {+vrt2}
+\__fontspec_define_opentype_onoffreset:nnnnn {Vertical} {KanaAlternates} {vkna} {vkna} {+hkna}
+\__fontspec_define_opentype_onoffreset:nnnnn {Vertical} {Kerning} {vkrn} {vkrn} {}
+\__fontspec_define_opentype_onoffreset:nnnnn {Vertical} {AlternateMetrics} {valt} {valt} {+vhal,+vpal,+kern}
+\__fontspec_define_opentype_onoffreset:nnnnn {Vertical} {HalfMetrics} {vhal} {vhal} {+valt,+vpal,+kern}
+\__fontspec_define_opentype_onoffreset:nnnnn {Vertical} {ProportionalMetrics} {vpal} {vpal} {+valt,+vhal}
+\__fontspec_define_opentype_feature_group:n {Alternate}
+\keys_define:nn {fontspec-opentype}
{
- \__fontspec_define_feature_option:nnnnn{Numbers}{Arabic}{}{}{+anum}
- }
-\__fontspec_define_font_feature:n {Contextuals}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{Swash} {} {} {+cswh}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{NoSwash} {} {} {-cswh}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{Alternate} {} {} {+calt}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{NoAlternate} {} {} {-calt}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{WordInitial} {8}{0}{+init}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{NoWordInitial}{8}{1}{-init}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{WordFinal} {8}{2}{+fina}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{NoWordFinal} {8}{3}{-fina}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{LineInitial} {8}{4}{}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{NoLineInitial}{8}{5}{}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{LineFinal} {8}{6}{+falt}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{NoLineFinal} {8}{7}{-falt}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{Inner} {8}{8}{+medi}
-\__fontspec_define_feature_option:nnnnn{Contextuals}{NoInner} {8}{9}{-medi}
-\__fontspec_define_font_feature:n{Diacritics}
-\__fontspec_define_feature_option:nnnnn{Diacritics}{Show} {9}{0}{}
-\__fontspec_define_feature_option:nnnnn{Diacritics}{Hide} {9}{1}{}
-\__fontspec_define_feature_option:nnnnn{Diacritics}{Decompose} {9}{2}{}
-\__fontspec_define_feature_option:nnnnn{Diacritics}{MarkToBase} {}{}{+mark}
-\__fontspec_define_feature_option:nnnnn{Diacritics}{NoMarkToBase}{}{}{-mark}
-\__fontspec_define_feature_option:nnnnn{Diacritics}{MarkToMark} {}{}{+mkmk}
-\__fontspec_define_feature_option:nnnnn{Diacritics}{NoMarkToMark}{}{}{-mkmk}
-\__fontspec_define_feature_option:nnnnn{Diacritics}{AboveBase} {}{}{+abvm}
-\__fontspec_define_feature_option:nnnnn{Diacritics}{NoAboveBase} {}{}{-abvm}
-\__fontspec_define_feature_option:nnnnn{Diacritics}{BelowBase} {}{}{+blwm}
-\__fontspec_define_feature_option:nnnnn{Diacritics}{NoBelowBase} {}{}{-blwm}
-\__fontspec_define_font_feature:n{Kerning}
-\__fontspec_define_feature_option:nnnnn{Kerning}{Uppercase}{}{}{+cpsp}
-\__fontspec_define_feature_option:nnnnn{Kerning}{On} {}{}{+kern}
-\__fontspec_define_feature_option:nnnnn{Kerning}{Off} {}{}{-kern}
-\__fontspec_define_font_feature:n{VerticalPosition}
-\__fontspec_define_feature_option:nnnnn{VerticalPosition}{Normal} {10}{0}{}
-\__fontspec_define_feature_option:nnnnn{VerticalPosition}{Superior} {10}{1}{+sups}
-\__fontspec_define_feature_option:nnnnn{VerticalPosition}{Inferior} {10}{2}{+subs}
-\__fontspec_define_feature_option:nnnnn{VerticalPosition}{Ordinal} {10}{3}{+ordn}
-\__fontspec_define_feature_option:nnnnn{VerticalPosition}{Numerator} {} {} {+numr}
-\__fontspec_define_feature_option:nnnnn{VerticalPosition}{Denominator}{} {} {+dnom}
-\__fontspec_define_feature_option:nnnnn{VerticalPosition}{ScientificInferior}{}{}{+sinf}
-\__fontspec_define_font_feature:n{Fractions}
-\__fontspec_define_feature_option:nnnnn{Fractions}{On} {11}{1}{+frac}
-\__fontspec_define_feature_option:nnnnn{Fractions}{Off} {11}{0}{-frac}
-\__fontspec_define_feature_option:nnnnn{Fractions}{Diagonal} {11}{2}{}
-\__fontspec_define_feature_option:nnnnn{Fractions}{Alternate}{} {} {+afrc}
-\__fontspec_define_font_feature:n { Alternate }
-\keys_define:nn {fontspec}
- {
Alternate .default:n = {0} ,
Alternate / unknown .code:n =
{
\clist_map_inline:nn {#1}
- { \fontspec_make_feature:nnx {17}{##1} { \fontspec_salt:n {##1} } }
+ { \__fontspec_make_OT_feature:nnn {salt}{ +salt = ##1 }{} }
}
}
-\cs_set:Nn \fontspec_salt:n { +salt = #1 }
-\__fontspec_define_font_feature:n {Variant}
-\keys_define:nn {fontspec}
+\aliasfontfeature{Alternate}{StylisticAlternates}
+\__fontspec_define_opentype_feature_group:n {Variant}
+\keys_define:nn {fontspec-opentype}
{
Variant .default:n = {0} ,
Variant / unknown .code:n =
{
\clist_map_inline:nn {#1}
- { \fontspec_make_feature:nnx {18}{##1} { +ss \two at digits {##1} } }
+ {
+ \__fontspec_make_OT_feature:xxx { ss \two at digits {##1} } { +ss \two at digits {##1} } {}
+ }
}
}
\aliasfontfeature{Variant}{StylisticSet}
-\__fontspec_define_font_feature:n { CharacterVariant }
+\__fontspec_define_opentype_feature_group:n {CharacterVariant}
\use:x
{
\cs_new:Npn \exp_not:N \fontspec_parse_cv:w
##1 \c_colon_str ##2 \c_colon_str ##3 \exp_not:N \q_nil
{
- \fontspec_make_numbered_feature:xn
- { +cv \exp_not:N \two at digits {##1} } {##2}
+ \__fontspec_make_OT_feature:xxx
+ { cv \exp_not:N \two at digits {##1} } { +cv \exp_not:N \two at digits {##1} = ##2 } {}
}
- \keys_define:nn {fontspec}
+ \keys_define:nn {fontspec-opentype}
{
CharacterVariant / unknown .code:n =
{
@@ -2141,90 +2555,53 @@
}
}
}
-\__fontspec_define_font_feature:n{Style}
-\__fontspec_define_feature_option:nnnnn{Style}{Alternate} {} {} {+salt}
-\__fontspec_define_feature_option:nnnnn{Style}{Italic} {32}{2}{+ital}
-\__fontspec_define_feature_option:nnnnn{Style}{Ruby} {28}{2}{+ruby}
-\__fontspec_define_feature_option:nnnnn{Style}{Swash} {} {} {+swsh}
-\__fontspec_define_feature_option:nnnnn{Style}{Historic} {} {} {+hist}
-\__fontspec_define_feature_option:nnnnn{Style}{Display} {19}{1}{}
-\__fontspec_define_feature_option:nnnnn{Style}{Engraved} {19}{2}{}
-\__fontspec_define_feature_option:nnnnn{Style}{TitlingCaps} {19}{4}{+titl}
-\__fontspec_define_feature_option:nnnnn{Style}{TallCaps} {19}{5}{}
-\__fontspec_define_feature_option:nnnnn{Style}{HorizontalKana}{} {} {+hkna}
-\__fontspec_define_feature_option:nnnnn{Style}{VerticalKana} {} {} {+vkna}
-\fontspec_define_numbered_feat:nnnn {Style} {MathScript} {+ssty} {0}
-\fontspec_define_numbered_feat:nnnn {Style} {MathScriptScript} {+ssty} {1}
-\__fontspec_define_font_feature:n{CJKShape}
-\__fontspec_define_feature_option:nnnnn{CJKShape}{Traditional}{20}{0} {+trad}
-\__fontspec_define_feature_option:nnnnn{CJKShape}{Simplified} {20}{1} {+smpl}
-\__fontspec_define_feature_option:nnnnn{CJKShape}{JIS1978} {20}{2} {+jp78}
-\__fontspec_define_feature_option:nnnnn{CJKShape}{JIS1983} {20}{3} {+jp83}
-\__fontspec_define_feature_option:nnnnn{CJKShape}{JIS1990} {20}{4} {+jp90}
-\__fontspec_define_feature_option:nnnnn{CJKShape}{Expert} {20}{10}{+expt}
-\__fontspec_define_feature_option:nnnnn{CJKShape}{NLC} {20}{13}{+nlck}
-\__fontspec_define_font_feature:n{CharacterWidth}
-\__fontspec_define_feature_option:nnnnn{CharacterWidth}{Proportional}{22}{0}{+pwid}
-\__fontspec_define_feature_option:nnnnn{CharacterWidth}{Full}{22}{1}{+fwid}
-\__fontspec_define_feature_option:nnnnn{CharacterWidth}{Half}{22}{2}{+hwid}
-\__fontspec_define_feature_option:nnnnn{CharacterWidth}{Third}{22}{3}{+twid}
-\__fontspec_define_feature_option:nnnnn{CharacterWidth}{Quarter}{22}{4}{+qwid}
-\__fontspec_define_feature_option:nnnnn{CharacterWidth}{AlternateProportional}{22}{5}{+palt}
-\__fontspec_define_feature_option:nnnnn{CharacterWidth}{AlternateHalf}{22}{6}{+halt}
-\__fontspec_define_feature_option:nnnnn{CharacterWidth}{Default}{22}{7}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{Off}{24}{0}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{Box}{24}{1}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{RoundedBox}{24}{2}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{Circle}{24}{3}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{BlackCircle}{24}{4}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{Parenthesis}{24}{5}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{Period}{24}{6}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{RomanNumerals}{24}{7}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{Diamond}{24}{8}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{BlackSquare}{24}{9}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{BlackRoundSquare}{24}{10}{}
-\__fontspec_define_feature_option:nnnnn{Annotation}{DoubleCircle}{24}{11}{}
-\__fontspec_define_font_feature:n { Annotation }
-\keys_define:nn {fontspec}
+\__fontspec_define_opentype_feature_group:n {Annotation}
+\keys_define:nn {fontspec-opentype}
{
Annotation .default:n = {0} ,
Annotation / unknown .code:n =
{
- \fontspec_make_feature:nnx {}{}{ +nalt=#1 }
+ \__fontspec_make_OT_feature:nnn {nalt} {+nalt=#1} {}
}
}
-\keys_define:nn {fontspec}
+\__fontspec_define_opentype_feature_group:n {Ornament}
+\keys_define:nn {fontspec-opentype}
{
- Vertical .choice: ,
- Vertical / RotatedGlyphs .code:n =
+ Ornament .default:n = {0} ,
+ Ornament / unknown .code:n =
{
- \bool_if:NTF \l__fontspec_ot_bool
- {
- \fontspec_make_feature:nnn{}{}{+vrt2}
- \__fontspec_update_featstr:n {vertical}
- }
- {
- \__fontspec_update_featstr:n {vertical}
- }
+ \__fontspec_make_OT_feature:nnn {ornm} { +ornm=#1 } {}
}
}
-\keys_define:nn { fontspec } { Script .choice: }
+\keys_define:nn { fontspec-opentype } { Script .choice: }
\cs_new:Nn \fontspec_new_script:nn
{
- \keys_define:nn { fontspec } { Script / #1 .code:n =
+ \keys_define:nn { fontspec-opentype } { Script / #1 .code:n =
+ \bool_set_false:N \l__fontspec_script_exist_bool
\clist_map_inline:nn {#2}
{
- \fontspec_check_script:nTF {####1}
+ \__fontspec_check_script:nTF {####1}
{
\tl_set:Nn \l_fontspec_script_tl {####1}
- \int_set:Nn \l_fontspec_script_int {\l_fontspec_strnum_int}
+ \int_set:Nn \l__fontspec_script_int {\l__fontspec_strnum_int}
+ \bool_set_true:N \l__fontspec_script_exist_bool
+ \tl_gset:Nx \g__fontspec_single_feat_tl { script=####1 }
\clist_map_break:
}
+ { }
+ }
+ \bool_if:NF \l__fontspec_script_exist_bool
+ {
+ \str_if_eq:nnTF {#1} {Latin}
{
- \fontspec_check_script:nTF {latn}
+ \__fontspec_warning:nx {script-not-exist} {#1}
+ }
+ {
+ \__fontspec_check_script:nTF {latn}
{
\__fontspec_warning:nx {script-not-exist-latn} {#1}
- \keys_set:nn {fontspec} {Script=Latin}
+ \tl_set:Nn \l_fontspec_script_tl {latn}
+ \int_set:Nn \l__fontspec_script_int {\l__fontspec_strnum_int}
}
{
\__fontspec_warning:nx {script-not-exist} {#1}
@@ -2233,296 +2610,745 @@
}
}
}
-\newfontscript{Arabic}{arab} \newfontscript{Armenian}{armn}
+\keys_define:nn { fontspec-opentype } { Language .choice: }
+\cs_new:Nn \fontspec_new_lang:nn
+ {
+ \keys_define:nn { fontspec-opentype } { Language / #1 .code:n =
+ \__fontspec_check_lang:nTF {#2}
+ {
+ \tl_set:Nn \l_fontspec_lang_tl {#2}
+ \int_set:Nn \l__fontspec_language_int {\l__fontspec_strnum_int}
+ \tl_gset:Nx \g__fontspec_single_feat_tl { language=#2 }
+ }
+ {
+ \__fontspec_warning:nx {language-not-exist} {#1}
+ \keys_set:nn { fontspec-opentype } { Language = Default }
+ }
+ }
+ }
+\__fontspec_keys_define_code:nnn {fontspec-opentype}{ Language / Default }
+ {
+ \tl_set:Nn \l_fontspec_lang_tl {DFLT}
+ \int_zero:N \l__fontspec_language_int
+ \tl_gset:Nn \g__fontspec_single_feat_tl { language=DFLT }
+ }
+\keys_define:nn {fontspec-opentype}
+ {
+ Language / Turkish .code:n =
+ {
+ \__fontspec_check_lang:nTF {TRK}
+ {
+ \int_set:Nn \l__fontspec_language_int {\l__fontspec_strnum_int}
+ \tl_set:Nn \l_fontspec_lang_tl {TRK}
+ \tl_gset:Nn \g__fontspec_single_feat_tl { language=TRK }
+ }
+ {
+ \__fontspec_check_lang:nTF {TUR}
+ {
+ \int_set:Nn \l__fontspec_language_int {\l__fontspec_strnum_int}
+ \tl_set:Nn \l_fontspec_lang_tl {TUR}
+ \tl_gset:Nn \g__fontspec_single_feat_tl { language=TUR }
+ }
+ {
+ \__fontspec_warning:nx {language-not-exist} {Turkish}
+ \keys_set:nn {fontspec-opentype} {Language=Default}
+ }
+ }
+ }
+ }
+\cs_new:Nn \__fontspec_ot_compat:nn
+ {
+ \aliasfontfeatureoption {#1} {#2Off} {No#2}
+ }
+\__fontspec_ot_compat:nn {Ligatures} {Rare}
+\__fontspec_ot_compat:nn {Ligatures} {Required}
+\__fontspec_ot_compat:nn {Ligatures} {Common}
+\__fontspec_ot_compat:nn {Ligatures} {Discretionary}
+\__fontspec_ot_compat:nn {Ligatures} {Contextual}
+\__fontspec_ot_compat:nn {Ligatures} {Historic}
+\__fontspec_ot_compat:nn {Numbers} {SlashedZero}
+\__fontspec_ot_compat:nn {Contextuals} {Swash}
+\__fontspec_ot_compat:nn {Contextuals} {Alternate}
+\__fontspec_ot_compat:nn {Contextuals} {WordInitial}
+\__fontspec_ot_compat:nn {Contextuals} {WordFinal}
+\__fontspec_ot_compat:nn {Contextuals} {LineFinal}
+\__fontspec_ot_compat:nn {Contextuals} {Inner}
+\__fontspec_ot_compat:nn {Diacritics} {MarkToBase}
+\__fontspec_ot_compat:nn {Diacritics} {MarkToMark}
+\__fontspec_ot_compat:nn {Diacritics} {AboveBase}
+\__fontspec_ot_compat:nn {Diacritics} {BelowBase}
+
+\newfontscript{Arabic}{arab}
+\newfontscript{Armenian}{armn}
\newfontscript{Balinese}{bali}
\newfontscript{Bengali}{bng2,beng}
-\newfontscript{Bopomofo}{bopo} \newfontscript{Braille}{brai}
-\newfontscript{Buginese}{bugi} \newfontscript{Buhid}{buhd}
+\newfontscript{Bopomofo}{bopo}
+\newfontscript{Braille}{brai}
+\newfontscript{Buginese}{bugi}
+\newfontscript{Buhid}{buhd}
\newfontscript{Byzantine~Music}{byzm}
\newfontscript{Canadian~Syllabics}{cans}
\newfontscript{Cherokee}{cher}
-\newfontscript{CJK~Ideographic}{hani} \newfontscript{Coptic}{copt}
-\newfontscript{Cypriot~Syllabary}{cprt} \newfontscript{Cyrillic}{cyrl}
-\newfontscript{Default}{DFLT} \newfontscript{Deseret}{dsrt}
+\newfontscript{CJK~Ideographic}{hani}
+\newfontscript{Coptic}{copt}
+\newfontscript{Cypriot~Syllabary}{cprt}
+\newfontscript{Cyrillic}{cyrl}
+\newfontscript{Default}{DFLT}
+\newfontscript{Deseret}{dsrt}
\newfontscript{Devanagari}{dev2,deva}
\newfontscript{Ethiopic}{ethi}
-\newfontscript{Georgian}{geor} \newfontscript{Glagolitic}{glag}
-\newfontscript{Gothic}{goth} \newfontscript{Greek}{grek}
+\newfontscript{Georgian}{geor}
+\newfontscript{Glagolitic}{glag}
+\newfontscript{Gothic}{goth}
+\newfontscript{Greek}{grek}
\newfontscript{Gujarati}{gjr2,gujr}
\newfontscript{Gurmukhi}{gur2,guru}
-\newfontscript{Hangul~Jamo}{jamo} \newfontscript{Hangul}{hang}
-\newfontscript{Hanunoo}{hano} \newfontscript{Hebrew}{hebr}
+\newfontscript{Hangul~Jamo}{jamo}
+\newfontscript{Hangul}{hang}
+\newfontscript{Hanunoo}{hano}
+\newfontscript{Hebrew}{hebr}
\newfontscript{Hiragana~and~Katakana}{kana}
\newfontscript{Javanese}{java}
\newfontscript{Kannada}{knd2,knda}
-\newfontscript{Kharosthi}{khar} \newfontscript{Khmer}{khmr}
-\newfontscript{Lao}{lao~} \newfontscript{Latin}{latn}
-\newfontscript{Limbu}{limb} \newfontscript{Linear~B}{linb}
+\newfontscript{Kharosthi}{khar}
+\newfontscript{Khmer}{khmr}
+\newfontscript{Lao}{lao~}
+\newfontscript{Latin}{latn}
+\newfontscript{Limbu}{limb}
+\newfontscript{Linear~B}{linb}
\newfontscript{Malayalam}{mlm2,mlym}
\newfontscript{Math}{math}
\newfontscript{Mongolian}{mong}
-\newfontscript{Musical~Symbols}{musc} \newfontscript{Myanmar}{mymr}
-\newfontscript{N'ko}{nko~} \newfontscript{Ogham}{ogam}
+\newfontscript{Musical~Symbols}{musc}
+\newfontscript{Myanmar}{mymr}
+\newfontscript{N'ko}{nko~}
+\newfontscript{Ogham}{ogam}
\newfontscript{Old~Italic}{ital}
\newfontscript{Old~Persian~Cuneiform}{xpeo}
\newfontscript{Oriya}{ory2,orya}
\newfontscript{Osmanya}{osma}
-\newfontscript{Phags-pa}{phag} \newfontscript{Phoenician}{phnx}
-\newfontscript{Runic}{runr} \newfontscript{Shavian}{shaw}
+\newfontscript{Phags-pa}{phag}
+\newfontscript{Phoenician}{phnx}
+\newfontscript{Runic}{runr}
+\newfontscript{Shavian}{shaw}
\newfontscript{Sinhala}{sinh}
\newfontscript{Sumero-Akkadian~Cuneiform}{xsux}
-\newfontscript{Syloti~Nagri}{sylo} \newfontscript{Syriac}{syrc}
-\newfontscript{Tagalog}{tglg} \newfontscript{Tagbanwa}{tagb}
-\newfontscript{Tai~Le}{tale} \newfontscript{Tai~Lu}{talu}
+\newfontscript{Syloti~Nagri}{sylo}
+\newfontscript{Syriac}{syrc}
+\newfontscript{Tagalog}{tglg}
+\newfontscript{Tagbanwa}{tagb}
+\newfontscript{Tai~Le}{tale}
+\newfontscript{Tai~Lu}{talu}
\newfontscript{Tamil}{tml2,taml}
\newfontscript{Telugu}{tel2,telu}
-\newfontscript{Thaana}{thaa} \newfontscript{Thai}{thai}
-\newfontscript{Tibetan}{tibt} \newfontscript{Tifinagh}{tfng}
-\newfontscript{Ugaritic~Cuneiform}{ugar}\newfontscript{Yi}{yi~~}
+\newfontscript{Thaana}{thaa}
+\newfontscript{Thai}{thai}
+\newfontscript{Tibetan}{tibt}
+\newfontscript{Tifinagh}{tfng}
+\newfontscript{Ugaritic~Cuneiform}{ugar}
+\newfontscript{Yi}{yi~~}
\newfontscript{Kana}{kana}
\newfontscript{Maths}{math}
\newfontscript{CJK}{hani}
-\keys_define:nn { fontspec } { Language .choice: }
-\cs_new:Nn \fontspec_new_lang:nn
- {
- \keys_define:nn { fontspec } { Language / #1 .code:n =
- \fontspec_check_lang:nTF {#2}
- {
- \tl_set:Nn \l_fontspec_lang_tl {#2}
- \int_set:Nn \l_fontspec_language_int {\l_fontspec_strnum_int}
- }
- {
- \__fontspec_warning:nx {language-not-exist} {#1}
- \keys_set:nn { fontspec } { Language = Default }
- }
- }
- }
-\newfontlanguage{Abaza}{ABA}\newfontlanguage{Abkhazian}{ABK}
-\newfontlanguage{Adyghe}{ADY}\newfontlanguage{Afrikaans}{AFK}
-\newfontlanguage{Afar}{AFR}\newfontlanguage{Agaw}{AGW}
-\newfontlanguage{Altai}{ALT}\newfontlanguage{Amharic}{AMH}
-\newfontlanguage{Arabic}{ARA}\newfontlanguage{Aari}{ARI}
-\newfontlanguage{Arakanese}{ARK}\newfontlanguage{Assamese}{ASM}
-\newfontlanguage{Athapaskan}{ATH}\newfontlanguage{Avar}{AVR}
-\newfontlanguage{Awadhi}{AWA}\newfontlanguage{Aymara}{AYM}
-\newfontlanguage{Azeri}{AZE}\newfontlanguage{Badaga}{BAD}
-\newfontlanguage{Baghelkhandi}{BAG}\newfontlanguage{Balkar}{BAL}
-\newfontlanguage{Baule}{BAU}\newfontlanguage{Berber}{BBR}
-\newfontlanguage{Bench}{BCH}\newfontlanguage{Bible~Cree}{BCR}
-\newfontlanguage{Belarussian}{BEL}\newfontlanguage{Bemba}{BEM}
-\newfontlanguage{Bengali}{BEN}\newfontlanguage{Bulgarian}{BGR}
-\newfontlanguage{Bhili}{BHI}\newfontlanguage{Bhojpuri}{BHO}
-\newfontlanguage{Bikol}{BIK}\newfontlanguage{Bilen}{BIL}
-\newfontlanguage{Blackfoot}{BKF}\newfontlanguage{Balochi}{BLI}
-\newfontlanguage{Balante}{BLN}\newfontlanguage{Balti}{BLT}
-\newfontlanguage{Bambara}{BMB}\newfontlanguage{Bamileke}{BML}
-\newfontlanguage{Breton}{BRE}\newfontlanguage{Brahui}{BRH}
-\newfontlanguage{Braj~Bhasha}{BRI}\newfontlanguage{Burmese}{BRM}
-\newfontlanguage{Bashkir}{BSH}\newfontlanguage{Beti}{BTI}
-\newfontlanguage{Catalan}{CAT}\newfontlanguage{Cebuano}{CEB}
-\newfontlanguage{Chechen}{CHE}\newfontlanguage{Chaha~Gurage}{CHG}
-\newfontlanguage{Chattisgarhi}{CHH}\newfontlanguage{Chichewa}{CHI}
-\newfontlanguage{Chukchi}{CHK}\newfontlanguage{Chipewyan}{CHP}
-\newfontlanguage{Cherokee}{CHR}\newfontlanguage{Chuvash}{CHU}
-\newfontlanguage{Comorian}{CMR}\newfontlanguage{Coptic}{COP}
-\newfontlanguage{Cree}{CRE}\newfontlanguage{Carrier}{CRR}
-\newfontlanguage{Crimean~Tatar}{CRT}\newfontlanguage{Church~Slavonic}{CSL}
-\newfontlanguage{Czech}{CSY}\newfontlanguage{Danish}{DAN}
-\newfontlanguage{Dargwa}{DAR}\newfontlanguage{Woods~Cree}{DCR}
+
+\newfontlanguage{Abaza}{ABA}
+\newfontlanguage{Abkhazian}{ABK}
+\newfontlanguage{Adyghe}{ADY}
+\newfontlanguage{Afrikaans}{AFK}
+\newfontlanguage{Afar}{AFR}
+\newfontlanguage{Agaw}{AGW}
+\newfontlanguage{Altai}{ALT}
+\newfontlanguage{Amharic}{AMH}
+\newfontlanguage{Arabic}{ARA}
+\newfontlanguage{Aari}{ARI}
+\newfontlanguage{Arakanese}{ARK}
+\newfontlanguage{Assamese}{ASM}
+\newfontlanguage{Athapaskan}{ATH}
+\newfontlanguage{Avar}{AVR}
+\newfontlanguage{Awadhi}{AWA}
+\newfontlanguage{Aymara}{AYM}
+\newfontlanguage{Azeri}{AZE}
+\newfontlanguage{Badaga}{BAD}
+\newfontlanguage{Baghelkhandi}{BAG}
+\newfontlanguage{Balkar}{BAL}
+\newfontlanguage{Baule}{BAU}
+\newfontlanguage{Berber}{BBR}
+\newfontlanguage{Bench}{BCH}
+\newfontlanguage{Bible~Cree}{BCR}
+\newfontlanguage{Belarussian}{BEL}
+\newfontlanguage{Bemba}{BEM}
+\newfontlanguage{Bengali}{BEN}
+\newfontlanguage{Bulgarian}{BGR}
+\newfontlanguage{Bhili}{BHI}
+\newfontlanguage{Bhojpuri}{BHO}
+\newfontlanguage{Bikol}{BIK}
+\newfontlanguage{Bilen}{BIL}
+\newfontlanguage{Blackfoot}{BKF}
+\newfontlanguage{Balochi}{BLI}
+\newfontlanguage{Balante}{BLN}
+\newfontlanguage{Balti}{BLT}
+\newfontlanguage{Bambara}{BMB}
+\newfontlanguage{Bamileke}{BML}
+\newfontlanguage{Breton}{BRE}
+\newfontlanguage{Brahui}{BRH}
+\newfontlanguage{Braj~Bhasha}{BRI}
+\newfontlanguage{Burmese}{BRM}
+\newfontlanguage{Bashkir}{BSH}
+\newfontlanguage{Beti}{BTI}
+\newfontlanguage{Catalan}{CAT}
+\newfontlanguage{Cebuano}{CEB}
+\newfontlanguage{Chechen}{CHE}
+\newfontlanguage{Chaha~Gurage}{CHG}
+\newfontlanguage{Chattisgarhi}{CHH}
+\newfontlanguage{Chichewa}{CHI}
+\newfontlanguage{Chukchi}{CHK}
+\newfontlanguage{Chipewyan}{CHP}
+\newfontlanguage{Cherokee}{CHR}
+\newfontlanguage{Chuvash}{CHU}
+\newfontlanguage{Comorian}{CMR}
+\newfontlanguage{Coptic}{COP}
+\newfontlanguage{Cree}{CRE}
+\newfontlanguage{Carrier}{CRR}
+\newfontlanguage{Crimean~Tatar}{CRT}
+\newfontlanguage{Church~Slavonic}{CSL}
+\newfontlanguage{Czech}{CSY}
+\newfontlanguage{Danish}{DAN}
+\newfontlanguage{Dargwa}{DAR}
+\newfontlanguage{Woods~Cree}{DCR}
\newfontlanguage{German}{DEU}
-\newfontlanguage{Dogri}{DGR}\newfontlanguage{Divehi}{DIV}
-\newfontlanguage{Djerma}{DJR}\newfontlanguage{Dangme}{DNG}
-\newfontlanguage{Dinka}{DNK}\newfontlanguage{Dungan}{DUN}
-\newfontlanguage{Dzongkha}{DZN}\newfontlanguage{Ebira}{EBI}
-\newfontlanguage{Eastern~Cree}{ECR}\newfontlanguage{Edo}{EDO}
-\newfontlanguage{Efik}{EFI}\newfontlanguage{Greek}{ELL}
-\newfontlanguage{English}{ENG}\newfontlanguage{Erzya}{ERZ}
-\newfontlanguage{Spanish}{ESP}\newfontlanguage{Estonian}{ETI}
-\newfontlanguage{Basque}{EUQ}\newfontlanguage{Evenki}{EVK}
-\newfontlanguage{Even}{EVN}\newfontlanguage{Ewe}{EWE}
+\newfontlanguage{Dogri}{DGR}
+\newfontlanguage{Divehi}{DIV}
+\newfontlanguage{Djerma}{DJR}
+\newfontlanguage{Dangme}{DNG}
+\newfontlanguage{Dinka}{DNK}
+\newfontlanguage{Dungan}{DUN}
+\newfontlanguage{Dzongkha}{DZN}
+\newfontlanguage{Ebira}{EBI}
+\newfontlanguage{Eastern~Cree}{ECR}
+\newfontlanguage{Edo}{EDO}
+\newfontlanguage{Efik}{EFI}
+\newfontlanguage{Greek}{ELL}
+\newfontlanguage{English}{ENG}
+\newfontlanguage{Erzya}{ERZ}
+\newfontlanguage{Spanish}{ESP}
+\newfontlanguage{Estonian}{ETI}
+\newfontlanguage{Basque}{EUQ}
+\newfontlanguage{Evenki}{EVK}
+\newfontlanguage{Even}{EVN}
+\newfontlanguage{Ewe}{EWE}
\newfontlanguage{French~Antillean}{FAN}
\newfontlanguage{Farsi}{FAR}
\newfontlanguage{Parsi}{FAR}
\newfontlanguage{Persian}{FAR}
-\newfontlanguage{Finnish}{FIN}\newfontlanguage{Fijian}{FJI}
-\newfontlanguage{Flemish}{FLE}\newfontlanguage{Forest~Nenets}{FNE}
-\newfontlanguage{Fon}{FON}\newfontlanguage{Faroese}{FOS}
-\newfontlanguage{French}{FRA}\newfontlanguage{Frisian}{FRI}
-\newfontlanguage{Friulian}{FRL}\newfontlanguage{Futa}{FTA}
-\newfontlanguage{Fulani}{FUL}\newfontlanguage{Ga}{GAD}
-\newfontlanguage{Gaelic}{GAE}\newfontlanguage{Gagauz}{GAG}
-\newfontlanguage{Galician}{GAL}\newfontlanguage{Garshuni}{GAR}
-\newfontlanguage{Garhwali}{GAW}\newfontlanguage{Ge'ez}{GEZ}
-\newfontlanguage{Gilyak}{GIL}\newfontlanguage{Gumuz}{GMZ}
-\newfontlanguage{Gondi}{GON}\newfontlanguage{Greenlandic}{GRN}
-\newfontlanguage{Garo}{GRO}\newfontlanguage{Guarani}{GUA}
-\newfontlanguage{Gujarati}{GUJ}\newfontlanguage{Haitian}{HAI}
-\newfontlanguage{Halam}{HAL}\newfontlanguage{Harauti}{HAR}
-\newfontlanguage{Hausa}{HAU}\newfontlanguage{Hawaiin}{HAW}
-\newfontlanguage{Hammer-Banna}{HBN}\newfontlanguage{Hiligaynon}{HIL}
-\newfontlanguage{Hindi}{HIN}\newfontlanguage{High~Mari}{HMA}
-\newfontlanguage{Hindko}{HND}\newfontlanguage{Ho}{HO}
-\newfontlanguage{Harari}{HRI}\newfontlanguage{Croatian}{HRV}
-\newfontlanguage{Hungarian}{HUN}\newfontlanguage{Armenian}{HYE}
-\newfontlanguage{Igbo}{IBO}\newfontlanguage{Ijo}{IJO}
-\newfontlanguage{Ilokano}{ILO}\newfontlanguage{Indonesian}{IND}
-\newfontlanguage{Ingush}{ING}\newfontlanguage{Inuktitut}{INU}
-\newfontlanguage{Irish}{IRI}\newfontlanguage{Irish~Traditional}{IRT}
-\newfontlanguage{Icelandic}{ISL}\newfontlanguage{Inari~Sami}{ISM}
-\newfontlanguage{Italian}{ITA}\newfontlanguage{Hebrew}{IWR}
-\newfontlanguage{Javanese}{JAV}\newfontlanguage{Yiddish}{JII}
-\newfontlanguage{Japanese}{JAN}\newfontlanguage{Judezmo}{JUD}
-\newfontlanguage{Jula}{JUL}\newfontlanguage{Kabardian}{KAB}
-\newfontlanguage{Kachchi}{KAC}\newfontlanguage{Kalenjin}{KAL}
-\newfontlanguage{Kannada}{KAN}\newfontlanguage{Karachay}{KAR}
-\newfontlanguage{Georgian}{KAT}\newfontlanguage{Kazakh}{KAZ}
-\newfontlanguage{Kebena}{KEB}\newfontlanguage{Khutsuri~Georgian}{KGE}
-\newfontlanguage{Khakass}{KHA}\newfontlanguage{Khanty-Kazim}{KHK}
-\newfontlanguage{Khmer}{KHM}\newfontlanguage{Khanty-Shurishkar}{KHS}
-\newfontlanguage{Khanty-Vakhi}{KHV}\newfontlanguage{Khowar}{KHW}
-\newfontlanguage{Kikuyu}{KIK}\newfontlanguage{Kirghiz}{KIR}
-\newfontlanguage{Kisii}{KIS}\newfontlanguage{Kokni}{KKN}
-\newfontlanguage{Kalmyk}{KLM}\newfontlanguage{Kamba}{KMB}
-\newfontlanguage{Kumaoni}{KMN}\newfontlanguage{Komo}{KMO}
-\newfontlanguage{Komso}{KMS}\newfontlanguage{Kanuri}{KNR}
-\newfontlanguage{Kodagu}{KOD}\newfontlanguage{Korean~Old~Hangul}{KOH}
-\newfontlanguage{Konkani}{KOK}\newfontlanguage{Kikongo}{KON}
-\newfontlanguage{Komi-Permyak}{KOP}\newfontlanguage{Korean}{KOR}
-\newfontlanguage{Komi-Zyrian}{KOZ}\newfontlanguage{Kpelle}{KPL}
-\newfontlanguage{Krio}{KRI}\newfontlanguage{Karakalpak}{KRK}
-\newfontlanguage{Karelian}{KRL}\newfontlanguage{Karaim}{KRM}
-\newfontlanguage{Karen}{KRN}\newfontlanguage{Koorete}{KRT}
-\newfontlanguage{Kashmiri}{KSH}\newfontlanguage{Khasi}{KSI}
-\newfontlanguage{Kildin~Sami}{KSM}\newfontlanguage{Kui}{KUI}
-\newfontlanguage{Kulvi}{KUL}\newfontlanguage{Kumyk}{KUM}
-\newfontlanguage{Kurdish}{KUR}\newfontlanguage{Kurukh}{KUU}
-\newfontlanguage{Kuy}{KUY}\newfontlanguage{Koryak}{KYK}
-\newfontlanguage{Ladin}{LAD}\newfontlanguage{Lahuli}{LAH}
-\newfontlanguage{Lak}{LAK}\newfontlanguage{Lambani}{LAM}
-\newfontlanguage{Lao}{LAO}\newfontlanguage{Latin}{LAT}
-\newfontlanguage{Laz}{LAZ}\newfontlanguage{L-Cree}{LCR}
-\newfontlanguage{Ladakhi}{LDK}\newfontlanguage{Lezgi}{LEZ}
-\newfontlanguage{Lingala}{LIN}\newfontlanguage{Low~Mari}{LMA}
-\newfontlanguage{Limbu}{LMB}\newfontlanguage{Lomwe}{LMW}
-\newfontlanguage{Lower~Sorbian}{LSB}\newfontlanguage{Lule~Sami}{LSM}
-\newfontlanguage{Lithuanian}{LTH}\newfontlanguage{Luba}{LUB}
-\newfontlanguage{Luganda}{LUG}\newfontlanguage{Luhya}{LUH}
-\newfontlanguage{Luo}{LUO}\newfontlanguage{Latvian}{LVI}
-\newfontlanguage{Majang}{MAJ}\newfontlanguage{Makua}{MAK}
-\newfontlanguage{Malayalam~Traditional}{MAL}\newfontlanguage{Mansi}{MAN}
-\newfontlanguage{Marathi}{MAR}\newfontlanguage{Marwari}{MAW}
-\newfontlanguage{Mbundu}{MBN}\newfontlanguage{Manchu}{MCH}
-\newfontlanguage{Moose~Cree}{MCR}\newfontlanguage{Mende}{MDE}
-\newfontlanguage{Me'en}{MEN}\newfontlanguage{Mizo}{MIZ}
-\newfontlanguage{Macedonian}{MKD}\newfontlanguage{Male}{MLE}
-\newfontlanguage{Malagasy}{MLG}\newfontlanguage{Malinke}{MLN}
-\newfontlanguage{Malayalam~Reformed}{MLR}\newfontlanguage{Malay}{MLY}
-\newfontlanguage{Mandinka}{MND}\newfontlanguage{Mongolian}{MNG}
-\newfontlanguage{Manipuri}{MNI}\newfontlanguage{Maninka}{MNK}
-\newfontlanguage{Manx~Gaelic}{MNX}\newfontlanguage{Moksha}{MOK}
-\newfontlanguage{Moldavian}{MOL}\newfontlanguage{Mon}{MON}
-\newfontlanguage{Moroccan}{MOR}\newfontlanguage{Maori}{MRI}
-\newfontlanguage{Maithili}{MTH}\newfontlanguage{Maltese}{MTS}
-\newfontlanguage{Mundari}{MUN}\newfontlanguage{Naga-Assamese}{NAG}
-\newfontlanguage{Nanai}{NAN}\newfontlanguage{Naskapi}{NAS}
-\newfontlanguage{N-Cree}{NCR}\newfontlanguage{Ndebele}{NDB}
-\newfontlanguage{Ndonga}{NDG}\newfontlanguage{Nepali}{NEP}
-\newfontlanguage{Newari}{NEW}\newfontlanguage{Nagari}{NGR}
-\newfontlanguage{Norway~House~Cree}{NHC}\newfontlanguage{Nisi}{NIS}
-\newfontlanguage{Niuean}{NIU}\newfontlanguage{Nkole}{NKL}
-\newfontlanguage{N'ko}{NKO}\newfontlanguage{Dutch}{NLD}
-\newfontlanguage{Nogai}{NOG}\newfontlanguage{Norwegian}{NOR}
-\newfontlanguage{Northern~Sami}{NSM}\newfontlanguage{Northern~Tai}{NTA}
-\newfontlanguage{Esperanto}{NTO}\newfontlanguage{Nynorsk}{NYN}
-\newfontlanguage{Oji-Cree}{OCR}\newfontlanguage{Ojibway}{OJB}
-\newfontlanguage{Oriya}{ORI}\newfontlanguage{Oromo}{ORO}
-\newfontlanguage{Ossetian}{OSS}\newfontlanguage{Palestinian~Aramaic}{PAA}
-\newfontlanguage{Pali}{PAL}\newfontlanguage{Punjabi}{PAN}
-\newfontlanguage{Palpa}{PAP}\newfontlanguage{Pashto}{PAS}
-\newfontlanguage{Polytonic~Greek}{PGR}\newfontlanguage{Pilipino}{PIL}
-\newfontlanguage{Palaung}{PLG}\newfontlanguage{Polish}{PLK}
-\newfontlanguage{Provencal}{PRO}\newfontlanguage{Portuguese}{PTG}
-\newfontlanguage{Chin}{QIN}\newfontlanguage{Rajasthani}{RAJ}
-\newfontlanguage{R-Cree}{RCR}\newfontlanguage{Russian~Buriat}{RBU}
-\newfontlanguage{Riang}{RIA}\newfontlanguage{Rhaeto-Romanic}{RMS}
-\newfontlanguage{Romanian}{ROM}\newfontlanguage{Romany}{ROY}
-\newfontlanguage{Rusyn}{RSY}\newfontlanguage{Ruanda}{RUA}
-\newfontlanguage{Russian}{RUS}\newfontlanguage{Sadri}{SAD}
-\newfontlanguage{Sanskrit}{SAN}\newfontlanguage{Santali}{SAT}
-\newfontlanguage{Sayisi}{SAY}\newfontlanguage{Sekota}{SEK}
-\newfontlanguage{Selkup}{SEL}\newfontlanguage{Sango}{SGO}
-\newfontlanguage{Shan}{SHN}\newfontlanguage{Sibe}{SIB}
-\newfontlanguage{Sidamo}{SID}\newfontlanguage{Silte~Gurage}{SIG}
-\newfontlanguage{Skolt~Sami}{SKS}\newfontlanguage{Slovak}{SKY}
-\newfontlanguage{Slavey}{SLA}\newfontlanguage{Slovenian}{SLV}
-\newfontlanguage{Somali}{SML}\newfontlanguage{Samoan}{SMO}
-\newfontlanguage{Sena}{SNA}\newfontlanguage{Sindhi}{SND}
-\newfontlanguage{Sinhalese}{SNH}\newfontlanguage{Soninke}{SNK}
-\newfontlanguage{Sodo~Gurage}{SOG}\newfontlanguage{Sotho}{SOT}
-\newfontlanguage{Albanian}{SQI}\newfontlanguage{Serbian}{SRB}
-\newfontlanguage{Saraiki}{SRK}\newfontlanguage{Serer}{SRR}
-\newfontlanguage{South~Slavey}{SSL}\newfontlanguage{Southern~Sami}{SSM}
-\newfontlanguage{Suri}{SUR}\newfontlanguage{Svan}{SVA}
-\newfontlanguage{Swedish}{SVE}\newfontlanguage{Swadaya~Aramaic}{SWA}
-\newfontlanguage{Swahili}{SWK}\newfontlanguage{Swazi}{SWZ}
-\newfontlanguage{Sutu}{SXT}\newfontlanguage{Syriac}{SYR}
-\newfontlanguage{Tabasaran}{TAB}\newfontlanguage{Tajiki}{TAJ}
-\newfontlanguage{Tamil}{TAM}\newfontlanguage{Tatar}{TAT}
-\newfontlanguage{TH-Cree}{TCR}\newfontlanguage{Telugu}{TEL}
-\newfontlanguage{Tongan}{TGN}\newfontlanguage{Tigre}{TGR}
-\newfontlanguage{Tigrinya}{TGY}\newfontlanguage{Thai}{THA}
-\newfontlanguage{Tahitian}{THT}\newfontlanguage{Tibetan}{TIB}
-\newfontlanguage{Turkmen}{TKM}\newfontlanguage{Temne}{TMN}
-\newfontlanguage{Tswana}{TNA}\newfontlanguage{Tundra~Nenets}{TNE}
-\newfontlanguage{Tonga}{TNG}\newfontlanguage{Todo}{TOD}
-\newfontlanguage{Tsonga}{TSG}\newfontlanguage{Turoyo~Aramaic}{TUA}
-\newfontlanguage{Tulu}{TUL}\newfontlanguage{Tuvin}{TUV}
-\newfontlanguage{Twi}{TWI}\newfontlanguage{Udmurt}{UDM}
-\newfontlanguage{Ukrainian}{UKR}\newfontlanguage{Urdu}{URD}
-\newfontlanguage{Upper~Sorbian}{USB}\newfontlanguage{Uyghur}{UYG}
-\newfontlanguage{Uzbek}{UZB}\newfontlanguage{Venda}{VEN}
-\newfontlanguage{Vietnamese}{VIT}\newfontlanguage{Wa}{WA}
-\newfontlanguage{Wagdi}{WAG}\newfontlanguage{West-Cree}{WCR}
-\newfontlanguage{Welsh}{WEL}\newfontlanguage{Wolof}{WLF}
-\newfontlanguage{Tai~Lue}{XBD}\newfontlanguage{Xhosa}{XHS}
-\newfontlanguage{Yakut}{YAK}\newfontlanguage{Yoruba}{YBA}
-\newfontlanguage{Y-Cree}{YCR}\newfontlanguage{Yi~Classic}{YIC}
-\newfontlanguage{Yi~Modern}{YIM}\newfontlanguage{Chinese~Hong~Kong}{ZHH}
+\newfontlanguage{Finnish}{FIN}
+\newfontlanguage{Fijian}{FJI}
+\newfontlanguage{Flemish}{FLE}
+\newfontlanguage{Forest~Nenets}{FNE}
+\newfontlanguage{Fon}{FON}
+\newfontlanguage{Faroese}{FOS}
+\newfontlanguage{French}{FRA}
+\newfontlanguage{Frisian}{FRI}
+\newfontlanguage{Friulian}{FRL}
+\newfontlanguage{Futa}{FTA}
+\newfontlanguage{Fulani}{FUL}
+\newfontlanguage{Ga}{GAD}
+\newfontlanguage{Gaelic}{GAE}
+\newfontlanguage{Gagauz}{GAG}
+\newfontlanguage{Galician}{GAL}
+\newfontlanguage{Garshuni}{GAR}
+\newfontlanguage{Garhwali}{GAW}
+\newfontlanguage{Ge'ez}{GEZ}
+\newfontlanguage{Gilyak}{GIL}
+\newfontlanguage{Gumuz}{GMZ}
+\newfontlanguage{Gondi}{GON}
+\newfontlanguage{Greenlandic}{GRN}
+\newfontlanguage{Garo}{GRO}
+\newfontlanguage{Guarani}{GUA}
+\newfontlanguage{Gujarati}{GUJ}
+\newfontlanguage{Haitian}{HAI}
+\newfontlanguage{Halam}{HAL}
+\newfontlanguage{Harauti}{HAR}
+\newfontlanguage{Hausa}{HAU}
+\newfontlanguage{Hawaiin}{HAW}
+\newfontlanguage{Hammer-Banna}{HBN}
+\newfontlanguage{Hiligaynon}{HIL}
+\newfontlanguage{Hindi}{HIN}
+\newfontlanguage{High~Mari}{HMA}
+\newfontlanguage{Hindko}{HND}
+\newfontlanguage{Ho}{HO}
+\newfontlanguage{Harari}{HRI}
+\newfontlanguage{Croatian}{HRV}
+\newfontlanguage{Hungarian}{HUN}
+\newfontlanguage{Armenian}{HYE}
+\newfontlanguage{Igbo}{IBO}
+\newfontlanguage{Ijo}{IJO}
+\newfontlanguage{Ilokano}{ILO}
+\newfontlanguage{Indonesian}{IND}
+\newfontlanguage{Ingush}{ING}
+\newfontlanguage{Inuktitut}{INU}
+\newfontlanguage{Irish}{IRI}
+\newfontlanguage{Irish~Traditional}{IRT}
+\newfontlanguage{Icelandic}{ISL}
+\newfontlanguage{Inari~Sami}{ISM}
+\newfontlanguage{Italian}{ITA}
+\newfontlanguage{Hebrew}{IWR}
+\newfontlanguage{Javanese}{JAV}
+\newfontlanguage{Yiddish}{JII}
+\newfontlanguage{Japanese}{JAN}
+\newfontlanguage{Judezmo}{JUD}
+\newfontlanguage{Jula}{JUL}
+\newfontlanguage{Kabardian}{KAB}
+\newfontlanguage{Kachchi}{KAC}
+\newfontlanguage{Kalenjin}{KAL}
+\newfontlanguage{Kannada}{KAN}
+\newfontlanguage{Karachay}{KAR}
+\newfontlanguage{Georgian}{KAT}
+\newfontlanguage{Kazakh}{KAZ}
+\newfontlanguage{Kebena}{KEB}
+\newfontlanguage{Khutsuri~Georgian}{KGE}
+\newfontlanguage{Khakass}{KHA}
+\newfontlanguage{Khanty-Kazim}{KHK}
+\newfontlanguage{Khmer}{KHM}
+\newfontlanguage{Khanty-Shurishkar}{KHS}
+\newfontlanguage{Khanty-Vakhi}{KHV}
+\newfontlanguage{Khowar}{KHW}
+\newfontlanguage{Kikuyu}{KIK}
+\newfontlanguage{Kirghiz}{KIR}
+\newfontlanguage{Kisii}{KIS}
+\newfontlanguage{Kokni}{KKN}
+\newfontlanguage{Kalmyk}{KLM}
+\newfontlanguage{Kamba}{KMB}
+\newfontlanguage{Kumaoni}{KMN}
+\newfontlanguage{Komo}{KMO}
+\newfontlanguage{Komso}{KMS}
+\newfontlanguage{Kanuri}{KNR}
+\newfontlanguage{Kodagu}{KOD}
+\newfontlanguage{Korean~Old~Hangul}{KOH}
+\newfontlanguage{Konkani}{KOK}
+\newfontlanguage{Kikongo}{KON}
+\newfontlanguage{Komi-Permyak}{KOP}
+\newfontlanguage{Korean}{KOR}
+\newfontlanguage{Komi-Zyrian}{KOZ}
+\newfontlanguage{Kpelle}{KPL}
+\newfontlanguage{Krio}{KRI}
+\newfontlanguage{Karakalpak}{KRK}
+\newfontlanguage{Karelian}{KRL}
+\newfontlanguage{Karaim}{KRM}
+\newfontlanguage{Karen}{KRN}
+\newfontlanguage{Koorete}{KRT}
+\newfontlanguage{Kashmiri}{KSH}
+\newfontlanguage{Khasi}{KSI}
+\newfontlanguage{Kildin~Sami}{KSM}
+\newfontlanguage{Kui}{KUI}
+\newfontlanguage{Kulvi}{KUL}
+\newfontlanguage{Kumyk}{KUM}
+\newfontlanguage{Kurdish}{KUR}
+\newfontlanguage{Kurukh}{KUU}
+\newfontlanguage{Kuy}{KUY}
+\newfontlanguage{Koryak}{KYK}
+\newfontlanguage{Ladin}{LAD}
+\newfontlanguage{Lahuli}{LAH}
+\newfontlanguage{Lak}{LAK}
+\newfontlanguage{Lambani}{LAM}
+\newfontlanguage{Lao}{LAO}
+\newfontlanguage{Latin}{LAT}
+\newfontlanguage{Laz}{LAZ}
+\newfontlanguage{L-Cree}{LCR}
+\newfontlanguage{Ladakhi}{LDK}
+\newfontlanguage{Lezgi}{LEZ}
+\newfontlanguage{Lingala}{LIN}
+\newfontlanguage{Low~Mari}{LMA}
+\newfontlanguage{Limbu}{LMB}
+\newfontlanguage{Lomwe}{LMW}
+\newfontlanguage{Lower~Sorbian}{LSB}
+\newfontlanguage{Lule~Sami}{LSM}
+\newfontlanguage{Lithuanian}{LTH}
+\newfontlanguage{Luba}{LUB}
+\newfontlanguage{Luganda}{LUG}
+\newfontlanguage{Luhya}{LUH}
+\newfontlanguage{Luo}{LUO}
+\newfontlanguage{Latvian}{LVI}
+\newfontlanguage{Majang}{MAJ}
+\newfontlanguage{Makua}{MAK}
+\newfontlanguage{Malayalam~Traditional}{MAL}
+\newfontlanguage{Mansi}{MAN}
+\newfontlanguage{Marathi}{MAR}
+\newfontlanguage{Marwari}{MAW}
+\newfontlanguage{Mbundu}{MBN}
+\newfontlanguage{Manchu}{MCH}
+\newfontlanguage{Moose~Cree}{MCR}
+\newfontlanguage{Mende}{MDE}
+\newfontlanguage{Me'en}{MEN}
+\newfontlanguage{Mizo}{MIZ}
+\newfontlanguage{Macedonian}{MKD}
+\newfontlanguage{Male}{MLE}
+\newfontlanguage{Malagasy}{MLG}
+\newfontlanguage{Malinke}{MLN}
+\newfontlanguage{Malayalam~Reformed}{MLR}
+\newfontlanguage{Malay}{MLY}
+\newfontlanguage{Mandinka}{MND}
+\newfontlanguage{Mongolian}{MNG}
+\newfontlanguage{Manipuri}{MNI}
+\newfontlanguage{Maninka}{MNK}
+\newfontlanguage{Manx~Gaelic}{MNX}
+\newfontlanguage{Moksha}{MOK}
+\newfontlanguage{Moldavian}{MOL}
+\newfontlanguage{Mon}{MON}
+\newfontlanguage{Moroccan}{MOR}
+\newfontlanguage{Maori}{MRI}
+\newfontlanguage{Maithili}{MTH}
+\newfontlanguage{Maltese}{MTS}
+\newfontlanguage{Mundari}{MUN}
+\newfontlanguage{Naga-Assamese}{NAG}
+\newfontlanguage{Nanai}{NAN}
+\newfontlanguage{Naskapi}{NAS}
+\newfontlanguage{N-Cree}{NCR}
+\newfontlanguage{Ndebele}{NDB}
+\newfontlanguage{Ndonga}{NDG}
+\newfontlanguage{Nepali}{NEP}
+\newfontlanguage{Newari}{NEW}
+\newfontlanguage{Nagari}{NGR}
+\newfontlanguage{Norway~House~Cree}{NHC}
+\newfontlanguage{Nisi}{NIS}
+\newfontlanguage{Niuean}{NIU}
+\newfontlanguage{Nkole}{NKL}
+\newfontlanguage{N'ko}{NKO}
+\newfontlanguage{Dutch}{NLD}
+\newfontlanguage{Nogai}{NOG}
+\newfontlanguage{Norwegian}{NOR}
+\newfontlanguage{Northern~Sami}{NSM}
+\newfontlanguage{Northern~Tai}{NTA}
+\newfontlanguage{Esperanto}{NTO}
+\newfontlanguage{Nynorsk}{NYN}
+\newfontlanguage{Oji-Cree}{OCR}
+\newfontlanguage{Ojibway}{OJB}
+\newfontlanguage{Oriya}{ORI}
+\newfontlanguage{Oromo}{ORO}
+\newfontlanguage{Ossetian}{OSS}
+\newfontlanguage{Palestinian~Aramaic}{PAA}
+\newfontlanguage{Pali}{PAL}
+\newfontlanguage{Punjabi}{PAN}
+\newfontlanguage{Palpa}{PAP}
+\newfontlanguage{Pashto}{PAS}
+\newfontlanguage{Polytonic~Greek}{PGR}
+\newfontlanguage{Pilipino}{PIL}
+\newfontlanguage{Palaung}{PLG}
+\newfontlanguage{Polish}{PLK}
+\newfontlanguage{Provencal}{PRO}
+\newfontlanguage{Portuguese}{PTG}
+\newfontlanguage{Chin}{QIN}
+\newfontlanguage{Rajasthani}{RAJ}
+\newfontlanguage{R-Cree}{RCR}
+\newfontlanguage{Russian~Buriat}{RBU}
+\newfontlanguage{Riang}{RIA}
+\newfontlanguage{Rhaeto-Romanic}{RMS}
+\newfontlanguage{Romanian}{ROM}
+\newfontlanguage{Romany}{ROY}
+\newfontlanguage{Rusyn}{RSY}
+\newfontlanguage{Ruanda}{RUA}
+\newfontlanguage{Russian}{RUS}
+\newfontlanguage{Sadri}{SAD}
+\newfontlanguage{Sanskrit}{SAN}
+\newfontlanguage{Santali}{SAT}
+\newfontlanguage{Sayisi}{SAY}
+\newfontlanguage{Sekota}{SEK}
+\newfontlanguage{Selkup}{SEL}
+\newfontlanguage{Sango}{SGO}
+\newfontlanguage{Shan}{SHN}
+\newfontlanguage{Sibe}{SIB}
+\newfontlanguage{Sidamo}{SID}
+\newfontlanguage{Silte~Gurage}{SIG}
+\newfontlanguage{Skolt~Sami}{SKS}
+\newfontlanguage{Slovak}{SKY}
+\newfontlanguage{Slavey}{SLA}
+\newfontlanguage{Slovenian}{SLV}
+\newfontlanguage{Somali}{SML}
+\newfontlanguage{Samoan}{SMO}
+\newfontlanguage{Sena}{SNA}
+\newfontlanguage{Sindhi}{SND}
+\newfontlanguage{Sinhalese}{SNH}
+\newfontlanguage{Soninke}{SNK}
+\newfontlanguage{Sodo~Gurage}{SOG}
+\newfontlanguage{Sotho}{SOT}
+\newfontlanguage{Albanian}{SQI}
+\newfontlanguage{Serbian}{SRB}
+\newfontlanguage{Saraiki}{SRK}
+\newfontlanguage{Serer}{SRR}
+\newfontlanguage{South~Slavey}{SSL}
+\newfontlanguage{Southern~Sami}{SSM}
+\newfontlanguage{Suri}{SUR}
+\newfontlanguage{Svan}{SVA}
+\newfontlanguage{Swedish}{SVE}
+\newfontlanguage{Swadaya~Aramaic}{SWA}
+\newfontlanguage{Swahili}{SWK}
+\newfontlanguage{Swazi}{SWZ}
+\newfontlanguage{Sutu}{SXT}
+\newfontlanguage{Syriac}{SYR}
+\newfontlanguage{Tabasaran}{TAB}
+\newfontlanguage{Tajiki}{TAJ}
+\newfontlanguage{Tamil}{TAM}
+\newfontlanguage{Tatar}{TAT}
+\newfontlanguage{TH-Cree}{TCR}
+\newfontlanguage{Telugu}{TEL}
+\newfontlanguage{Tongan}{TGN}
+\newfontlanguage{Tigre}{TGR}
+\newfontlanguage{Tigrinya}{TGY}
+\newfontlanguage{Thai}{THA}
+\newfontlanguage{Tahitian}{THT}
+\newfontlanguage{Tibetan}{TIB}
+\newfontlanguage{Turkmen}{TKM}
+\newfontlanguage{Temne}{TMN}
+\newfontlanguage{Tswana}{TNA}
+\newfontlanguage{Tundra~Nenets}{TNE}
+\newfontlanguage{Tonga}{TNG}
+\newfontlanguage{Todo}{TOD}
+\newfontlanguage{Tsonga}{TSG}
+\newfontlanguage{Turoyo~Aramaic}{TUA}
+\newfontlanguage{Tulu}{TUL}
+\newfontlanguage{Tuvin}{TUV}
+\newfontlanguage{Twi}{TWI}
+\newfontlanguage{Udmurt}{UDM}
+\newfontlanguage{Ukrainian}{UKR}
+\newfontlanguage{Urdu}{URD}
+\newfontlanguage{Upper~Sorbian}{USB}
+\newfontlanguage{Uyghur}{UYG}
+\newfontlanguage{Uzbek}{UZB}
+\newfontlanguage{Venda}{VEN}
+\newfontlanguage{Vietnamese}{VIT}
+\newfontlanguage{Wa}{WA}
+\newfontlanguage{Wagdi}{WAG}
+\newfontlanguage{West-Cree}{WCR}
+\newfontlanguage{Welsh}{WEL}
+\newfontlanguage{Wolof}{WLF}
+\newfontlanguage{Tai~Lue}{XBD}
+\newfontlanguage{Xhosa}{XHS}
+\newfontlanguage{Yakut}{YAK}
+\newfontlanguage{Yoruba}{YBA}
+\newfontlanguage{Y-Cree}{YCR}
+\newfontlanguage{Yi~Classic}{YIC}
+\newfontlanguage{Yi~Modern}{YIM}
+\newfontlanguage{Chinese~Hong~Kong}{ZHH}
\newfontlanguage{Chinese~Phonetic}{ZHP}
\newfontlanguage{Chinese~Simplified}{ZHS}
-\newfontlanguage{Chinese~Traditional}{ZHT}\newfontlanguage{Zande}{ZND}
+\newfontlanguage{Chinese~Traditional}{ZHT}
+\newfontlanguage{Zande}{ZND}
\newfontlanguage{Zulu}{ZUL}
-\keys_define:nn {fontspec}
+
+
+\__fontspec_define_aat_feature_group:n {Ligatures}
+\__fontspec_define_aat_feature:nnnn {Ligatures} {Required} {1} {0}
+\__fontspec_define_aat_feature:nnnn {Ligatures} {NoRequired} {1} {1}
+\__fontspec_define_aat_feature:nnnn {Ligatures} {Common} {1} {2}
+\__fontspec_define_aat_feature:nnnn {Ligatures} {NoCommon} {1} {3}
+\__fontspec_define_aat_feature:nnnn {Ligatures} {Rare} {1} {4}
+\__fontspec_define_aat_feature:nnnn {Ligatures} {NoRare} {1} {5}
+\__fontspec_define_aat_feature:nnnn {Ligatures} {Discretionary} {1} {4}
+\__fontspec_define_aat_feature:nnnn {Ligatures} {NoDiscretionary} {1} {5}
+\__fontspec_define_aat_feature:nnnn {Ligatures} {Logos} {1} {6}
+\__fontspec_define_aat_feature:nnnn {Ligatures} {NoLogos} {1} {7}
+\__fontspec_define_aat_feature:nnnn {Ligatures} {Rebus} {1} {8}
+\__fontspec_define_aat_feature:nnnn {Ligatures} {NoRebus} {1} {9}
+\__fontspec_define_aat_feature:nnnn {Ligatures} {Diphthong} {1} {10}
+\__fontspec_define_aat_feature:nnnn {Ligatures} {NoDiphthong} {1} {11}
+\__fontspec_define_aat_feature:nnnn {Ligatures} {Squared} {1} {12}
+\__fontspec_define_aat_feature:nnnn {Ligatures} {NoSquared} {1} {13}
+\__fontspec_define_aat_feature:nnnn {Ligatures} {AbbrevSquared} {1} {14}
+\__fontspec_define_aat_feature:nnnn {Ligatures} {NoAbbrevSquared} {1} {15}
+\__fontspec_define_aat_feature:nnnn {Ligatures} {Icelandic} {1} {32}
+\__fontspec_define_aat_feature:nnnn {Ligatures} {NoIcelandic} {1} {33}
+\keys_define:nn {fontspec-aat}
{
- Language / Turkish .code:n =
+ Ligatures / TeX .code:n =
{
- \fontspec_check_lang:nTF {TRK}
- {
- \int_set:Nn \l_fontspec_language_int {\l_fontspec_strnum_int}
- \tl_set:Nn \l_fontspec_lang_tl {TRK}
- }
- {
- \fontspec_check_lang:nTF {TUR}
- {
- \int_set:Nn \l_fontspec_language_int {\l_fontspec_strnum_int}
- \tl_set:Nn \l_fontspec_lang_tl {TUR}
- }
- {
- \__fontspec_warning:nx {language-not-exist} {Turkish}
- \keys_set:nn {fontspec} {Language=Default}
- }
- }
+ \__fontspec_update_featstr:n { mapping = tex-text }
}
}
-\__fontspec_keys_define_code:nnn {fontspec}{ Language / Default }
+\__fontspec_define_aat_feature_group:n {Letters}
+\__fontspec_define_aat_feature:nnnn {Letters} {Normal} {3} {0}
+\__fontspec_define_aat_feature:nnnn {Letters} {Uppercase} {3} {1}
+\__fontspec_define_aat_feature:nnnn {Letters} {Lowercase} {3} {2}
+\__fontspec_define_aat_feature:nnnn {Letters} {SmallCaps} {3} {3}
+\__fontspec_define_aat_feature:nnnn {Letters} {InitialCaps} {3} {4}
+\__fontspec_define_aat_feature_group:n {Numbers}
+\__fontspec_define_aat_feature:nnnn {Numbers} {Monospaced} {6} {0}
+\__fontspec_define_aat_feature:nnnn {Numbers} {Proportional} {6} {1}
+\__fontspec_define_aat_feature:nnnn {Numbers} {Lowercase} {21} {0}
+\__fontspec_define_aat_feature:nnnn {Numbers} {OldStyle} {21} {0}
+\__fontspec_define_aat_feature:nnnn {Numbers} {Uppercase} {21} {1}
+\__fontspec_define_aat_feature:nnnn {Numbers} {Lining} {21} {1}
+\__fontspec_define_aat_feature:nnnn {Numbers} {SlashedZero} {14} {5}
+\__fontspec_define_aat_feature:nnnn {Numbers} {NoSlashedZero} {14} {4}
+\__fontspec_define_aat_feature_group:n {Contextuals}
+\__fontspec_define_aat_feature:nnnn {Contextuals} {WordInitial} {8} {0}
+\__fontspec_define_aat_feature:nnnn {Contextuals} {NoWordInitial} {8} {1}
+\__fontspec_define_aat_feature:nnnn {Contextuals} {WordFinal} {8} {2}
+\__fontspec_define_aat_feature:nnnn {Contextuals} {NoWordFinal} {8} {3}
+\__fontspec_define_aat_feature:nnnn {Contextuals} {LineInitial} {8} {4}
+\__fontspec_define_aat_feature:nnnn {Contextuals} {NoLineInitial} {8} {5}
+\__fontspec_define_aat_feature:nnnn {Contextuals} {LineFinal} {8} {6}
+\__fontspec_define_aat_feature:nnnn {Contextuals} {NoLineFinal} {8} {7}
+\__fontspec_define_aat_feature:nnnn {Contextuals} {Inner} {8} {8}
+\__fontspec_define_aat_feature:nnnn {Contextuals} {NoInner} {8} {9}
+\__fontspec_define_aat_feature_group:n {Diacritics}
+\__fontspec_define_aat_feature:nnnn {Diacritics} {Show} {9} {0}
+\__fontspec_define_aat_feature:nnnn {Diacritics} {Hide} {9} {1}
+\__fontspec_define_aat_feature:nnnn {Diacritics} {Decompose} {9} {2}
+\__fontspec_define_aat_feature_group:n {VerticalPosition}
+\__fontspec_define_aat_feature:nnnn {VerticalPosition} {Normal} {10} {0}
+\__fontspec_define_aat_feature:nnnn {VerticalPosition} {Superior} {10} {1}
+\__fontspec_define_aat_feature:nnnn {VerticalPosition} {Inferior} {10} {2}
+\__fontspec_define_aat_feature:nnnn {VerticalPosition} {Ordinal} {10} {3}
+\__fontspec_define_aat_feature_group:n {Fractions}
+\__fontspec_define_aat_feature:nnnn {Fractions} {On} {11} {1}
+\__fontspec_define_aat_feature:nnnn {Fractions} {Off} {11} {0}
+\__fontspec_define_aat_feature:nnnn {Fractions} {Diagonal} {11} {2}
+\__fontspec_define_aat_feature_group:n { Alternate }
+\keys_define:nn {fontspec-aat}
{
- \tl_set:Nn \l_fontspec_lang_tl {DFLT}
- \int_zero:N \l_fontspec_language_int
+ Alternate .default:n = {0} ,
+ Alternate / unknown .code:n =
+ {
+ \clist_map_inline:nn {#1}
+ {
+ \__fontspec_make_AAT_feature:nn {17}{##1}
+ }
+ }
}
-\__fontspec_keys_define_code:nnn {fontspec} {RawFeature}
+\__fontspec_define_aat_feature_group:n {Variant}
+\keys_define:nn {fontspec-aat}
{
- \__fontspec_update_featstr:n {#1}
+ Variant .default:n = {0} ,
+ Variant / unknown .code:n =
+ {
+ \clist_map_inline:nn {#1}
+ { \__fontspec_make_AAT_feature:nn {18}{##1} }
+ }
}
+\aliasfontfeature{Variant}{StylisticSet}
+\__fontspec_define_aat_feature_group:n {Vertical}
+\keys_define:nn {fontspec-aat}
+ {
+ Vertical .choice: ,
+ Vertical / RotatedGlyphs .code:n =
+ {
+ \__fontspec_update_featstr:n {vertical}
+ }
+ }
+
+\__fontspec_define_aat_feature_group:n {Style}
+\__fontspec_define_aat_feature:nnnn {Style} {Italic} {32} {2}
+\__fontspec_define_aat_feature:nnnn {Style} {Ruby} {28} {2}
+\__fontspec_define_aat_feature:nnnn {Style} {Display} {19} {1}
+\__fontspec_define_aat_feature:nnnn {Style} {Engraved} {19} {2}
+\__fontspec_define_aat_feature:nnnn {Style} {TitlingCaps} {19} {4}
+\__fontspec_define_aat_feature:nnnn {Style} {TallCaps} {19} {5}
+\__fontspec_define_aat_feature_group:n {CJKShape}
+\__fontspec_define_aat_feature:nnnn {CJKShape} {Traditional} {20} {0}
+\__fontspec_define_aat_feature:nnnn {CJKShape} {Simplified} {20} {1}
+\__fontspec_define_aat_feature:nnnn {CJKShape} {JIS1978} {20} {2}
+\__fontspec_define_aat_feature:nnnn {CJKShape} {JIS1983} {20} {3}
+\__fontspec_define_aat_feature:nnnn {CJKShape} {JIS1990} {20} {4}
+\__fontspec_define_aat_feature:nnnn {CJKShape} {Expert} {20} {10}
+\__fontspec_define_aat_feature:nnnn {CJKShape} {NLC} {20} {13}
+\__fontspec_define_aat_feature_group:n {CharacterWidth}
+\__fontspec_define_aat_feature:nnnn {CharacterWidth} {Proportional} {22} {0}
+\__fontspec_define_aat_feature:nnnn {CharacterWidth} {Full} {22} {1}
+\__fontspec_define_aat_feature:nnnn {CharacterWidth} {Half} {22} {2}
+\__fontspec_define_aat_feature:nnnn {CharacterWidth} {Third} {22} {3}
+\__fontspec_define_aat_feature:nnnn {CharacterWidth} {Quarter} {22} {4}
+\__fontspec_define_aat_feature:nnnn {CharacterWidth} {AlternateProportional} {22} {5}
+\__fontspec_define_aat_feature:nnnn {CharacterWidth} {AlternateHalf} {22} {6}
+\__fontspec_define_aat_feature:nnnn {CharacterWidth} {Default} {22} {7}
+\__fontspec_define_aat_feature_group:n {Annotation}
+\__fontspec_define_aat_feature:nnnn {Annotation} {Off} {24} {0}
+\__fontspec_define_aat_feature:nnnn {Annotation} {Box} {24} {1}
+\__fontspec_define_aat_feature:nnnn {Annotation} {RoundedBox} {24} {2}
+\__fontspec_define_aat_feature:nnnn {Annotation} {Circle} {24} {3}
+\__fontspec_define_aat_feature:nnnn {Annotation} {BlackCircle} {24} {4}
+\__fontspec_define_aat_feature:nnnn {Annotation} {Parenthesis} {24} {5}
+\__fontspec_define_aat_feature:nnnn {Annotation} {Period} {24} {6}
+\__fontspec_define_aat_feature:nnnn {Annotation} {RomanNumerals} {24} {7}
+\__fontspec_define_aat_feature:nnnn {Annotation} {Diamond} {24} {8}
+\__fontspec_define_aat_feature:nnnn {Annotation} {BlackSquare} {24} {9}
+\__fontspec_define_aat_feature:nnnn {Annotation} {BlackRoundSquare} {24} {10}
+\__fontspec_define_aat_feature:nnnn {Annotation} {DoubleCircle} {24} {11}
+
+\providecommand\UnicodeFontFile[2]{"[#1]:#2"}
+\providecommand\UnicodeFontName[2]{"#1:#2"}
+\providecommand\UnicodeFontTeXLigatures{mapping=tex-text;}
+\providecommand\add at unicode@accent[2]{#2\char#1\relax}
+\providecommand\DeclareUnicodeAccent[3]{%
+ \DeclareTextCommand{#1}{#2}{\add at unicode@accent{#3}}%
+}
+\DeclareDocumentCommand \EncodingCommand {mO{}m}
+ {
+ \bool_if:NF \l__fontspec_defining_encoding_bool
+ { \__fontspec_error:nn {only-inside-encdef} \EncodingCommand }
+ \DeclareTextCommand{#1}{\UnicodeEncodingName}[#2]{#3}
+ }
+\DeclareDocumentCommand \EncodingAccent {mm}
+ {
+ \bool_if:NF \l__fontspec_defining_encoding_bool
+ { \__fontspec_error:nn {only-inside-encdef} \EncodingAccent }
+ \DeclareTextCommand{#1}{\UnicodeEncodingName}{\add at unicode@accent{#2}}
+ }
+\DeclareDocumentCommand \EncodingSymbol {mm}
+ {
+ \bool_if:NF \l__fontspec_defining_encoding_bool
+ { \__fontspec_error:nn {only-inside-encdef} \EncodingSymbol }
+ \DeclareTextSymbol{#1}{\UnicodeEncodingName}{#2}
+ }
+\DeclareDocumentCommand \EncodingComposite {mmm}
+ {
+ \bool_if:NF \l__fontspec_defining_encoding_bool
+ { \__fontspec_error:nn {only-inside-encdef} \EncodingComposite }
+ \DeclareTextComposite{#1}{\UnicodeEncodingName}{#2}{#3}
+ }
+\DeclareDocumentCommand \EncodingCompositeCommand {mmm}
+ {
+ \bool_if:NF \l__fontspec_defining_encoding_bool
+ { \__fontspec_error:nn {only-inside-encdef} \EncodingCompositeCommand }
+ \DeclareTextCompositeCommand{#1}{\UnicodeEncodingName}{#2}{#3}
+ }
+\DeclareDocumentCommand \DeclareUnicodeEncoding {mm}
+ {
+ \DeclareFontEncoding{#1}{}{}
+ \DeclareErrorFont{#1}{lmr}{m}{n}{10}
+ \DeclareFontSubstitution{#1}{lmr}{m}{n}
+ \DeclareFontFamily{#1}{lmr}{}
+
+ \DeclareFontShape{#1}{lmr}{m}{n}
+ {<->\UnicodeFontFile{lmroman10-regular}{\UnicodeFontTeXLigatures}}{}
+ \DeclareFontShape{#1}{lmr}{m}{it}
+ {<->\UnicodeFontFile{lmroman10-italic}{\UnicodeFontTeXLigatures}}{}
+ \DeclareFontShape{#1}{lmr}{m}{sc}
+ {<->\UnicodeFontFile{lmromancaps10-regular}{\UnicodeFontTeXLigatures}}{}
+ \DeclareFontShape{#1}{lmr}{bx}{n}
+ {<->\UnicodeFontFile{lmroman10-bold}{\UnicodeFontTeXLigatures}}{}
+ \DeclareFontShape{#1}{lmr}{bx}{it}
+ {<->\UnicodeFontFile{lmroman10-bolditalic}{\UnicodeFontTeXLigatures}}{}
+
+ \tl_set_eq:NN \l__fontspec_prev_unicode_name_tl \UnicodeEncodingName
+ \tl_set:Nn \UnicodeEncodingName {#1}
+ \bool_set_true:N \l__fontspec_defining_encoding_bool
+ #2
+ \bool_set_false:N \l__fontspec_defining_encoding_bool
+ \tl_set_eq:NN \UnicodeEncodingName \l__fontspec_prev_unicode_name_tl
+ }
+\DeclareDocumentCommand \UndeclareSymbol {m}
+ {
+ \bool_if:NF \l__fontspec_defining_encoding_bool
+ { \__fontspec_error:nn {only-inside-encdef} \UndeclareSymbol }
+ \UndeclareTextCommand {#1} {\UnicodeEncodingName}
+ }
+
+\DeclareDocumentCommand \UndeclareComposite {mm}
+ {
+ \bool_if:NF \l__fontspec_defining_encoding_bool
+ { \__fontspec_error:nn {only-inside-encdef} \UndeclareComposite }
+ \cs_undefine:c
+ { \c_backslash_str \UnicodeEncodingName \token_to_str:N #1 - \tl_to_str:n {#2} }
+ }
\@ifpackageloaded{euler}
{
\bool_set_true:N \g__fontspec_pkg_euler_loaded_bool
@@ -2661,7 +3487,7 @@
\tl_set:Nn \zf at enc { \g_fontspec_encoding_tl }
\cs_set:Npn \zf at fontspec #1 #2
{
- \fontspec_select:nn {#1} {#2}
+ \__fontspec_select_font_family:nn {#1} {#2}
\tl_set:Nn \zf at family { \l_fontspec_family_tl }
\tl_set:Nn \zf at basefont { \l_fontspec_font }
}
@@ -2722,27 +3548,45 @@
\not at math@alphabet\upshape\relax
\fontspec_merge_shape:n\updefault
}
-\int_new:N \l__fontspec_em_int
-\int_new:N \l__fontspec_emdef_int
\cs_new_protected:Npn \emfontdeclare #1
{
- \int_zero:N \l__fontspec_emdef_int
- \clist_map_inline:nn {#1}
- {
- \int_incr:N \l__fontspec_emdef_int
- \cs_set:cpn {__fontspec_em_font_ \int_use:N \l__fontspec_emdef_int _switch:} {##1}
- }
+ \prop_clear:N \g__fontspec_em_prop
+ \int_zero:N \l__fontspec_emdef_int
+ \group_begin:
+ \normalfont
+ \clist_map_inline:nn {\emreset,#1}
+ {
+ ##1
+ \prop_gput:NxV \g__fontspec_em_prop { \f at series/\f at shape } { \l__fontspec_emdef_int }
+ \prop_gput:Nxn \g__fontspec_em_prop { switch-\int_use:N \l__fontspec_emdef_int } { ##1 }
+ \int_incr:N \l__fontspec_emdef_int
+ }
+ \group_end:
}
\DeclareRobustCommand \em
{
\@nomath\em
+
+ \prop_get:NxNT \g__fontspec_em_prop { \f at series/\f at shape } \l__fontspec_em_tmp_tl
+ { \int_set:Nn \l__fontspec_em_int { \l__fontspec_em_tmp_tl } }
+
\int_incr:N \l__fontspec_em_int
- \use:c {__fontspec_em_font_ \int_use:N \l__fontspec_em_int _switch:}
+
+ \prop_get:NxNTF \g__fontspec_em_prop { switch-\int_use:N \l__fontspec_em_int } \l__fontspec_em_switch_tl
+ { \l__fontspec_em_switch_tl }
+ {
+ \int_zero:N \l__fontspec_em_int
+ \emreset
+ }
+
}
\DeclareTextFontCommand{\emph}{\em}
+\cs_set:Npn \emreset { \upshape }
\cs_set:Npn \emshape { \itshape }
\cs_set:Npn \eminnershape { \upshape }
\emfontdeclare{ \emshape, \eminnershape }
+\cs_set:Npn \reset at font { \normalfont \int_zero:N \l__fontspec_em_int }
+\cs_new:Nn \fontspec_set_em_level:n { \int_set:Nn \l__fontspec_em_int {#1} }
\DeclareRobustCommand{\-}
{
\discretionary
@@ -2757,7 +3601,7 @@
\def\xlx at defaulthyphenchar{`\-}
\cs_new:Nn \fontspec_visible_space:
{
- \font_glyph_if_exist:NnTF \font {"2423}
+ \__fontspec_primitive_font_glyph_if_exist:NnTF \font {"2423}
{ \char"2423\scan_stop: }
{ \fontspec_visible_space_fallback: }
}
@@ -2844,7 +3688,7 @@
{ \addfontfeature{Numbers=Lining} #1 }
}
%% ------------------------------------------------
-%% Copyright 2004--2016 Will Robertson <wspr81 at gmail.com>
+%% Copyright 2004--2017 Will Robertson <wspr81 at gmail.com>
%% Copyright 2009--2013 Khaled Hosny <khaledhosny at eglug.org>
%%
%% Distributable under the LaTeX Project Public License, version 1.3c or higher.
@@ -2851,8 +3695,8 @@
%% The latest version of this license is at: http://www.latex-project.org/lppl.txt
%%
%% This work is "maintained" by Will Robertson.
-%% It consists of the files: fontspec*.dtx, fontspec.cfg, fontspec-example.tex.
-%% And the derived files: fontspec*.sty,fontspec.lua, and fontspec.pdf.
+%% It consists of the files: fontspec*.dtx, fontspec.cfg, fontspec*.tex.
+%% And the derived files: fontspec*.sty,fontspec.lua, fontspec.pdf.
%% ------------------------------------------------
%%
%% End of file `fontspec-xetex.sty'.
Modified: trunk/Master/texmf-dist/tex/latex/fontspec/fontspec.lua
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fontspec/fontspec.lua 2017-01-22 22:33:54 UTC (rev 43015)
+++ trunk/Master/texmf-dist/tex/latex/fontspec/fontspec.lua 2017-01-22 22:34:22 UTC (rev 43016)
@@ -7,7 +7,7 @@
-- fontspec-lua.dtx (with options: `lua')
-- ------------------------------------------------
-- The FONTSPEC package for XeLaTeX/LuaLaTeX
--- (C) 2004--2016 Will Robertson and Khaled Hosny
+-- (C) 2004--2017 Will Robertson and Khaled Hosny
-- License information appended.
-- ------------------------------------------------
fontspec = fontspec or {}
@@ -26,8 +26,14 @@
fontspec.log = log or (function (s) luatexbase.module_info("fontspec", s) end)
fontspec.warning = warn or (function (s) luatexbase.module_warning("fontspec", s) end)
fontspec.error = err or (function (s) luatexbase.module_error("fontspec", s) end)
-local function tempswatrue() tex.sprint([[\FontspecSetCheckBoolTrue ]]) end
-local function tempswafalse() tex.sprint([[\FontspecSetCheckBoolFalse]]) end
+local latex
+if luatexbase.registernumber then
+ latex = luatexbase.registernumber("catcodetable at latex")
+else
+ latex = luatexbase.catcodetables.CatcodeTableLaTeX
+end
+local function tempswatrue() tex.sprint(latex,[[\FontspecSetCheckBoolTrue ]]) end
+local function tempswafalse() tex.sprint(latex,[[\FontspecSetCheckBoolFalse]]) end
function fontspec.check_ot_script(fnt, script)
if luaotfload.aux.provides_script(font.id(fnt), script) then
tempswatrue()
@@ -65,7 +71,7 @@
end
end
-- ------------------------------------------------
--- Copyright 2004--2016 Will Robertson <wspr81 at gmail.com>
+-- Copyright 2004--2017 Will Robertson <wspr81 at gmail.com>
-- Copyright 2009--2013 Khaled Hosny <khaledhosny at eglug.org>
--
-- Distributable under the LaTeX Project Public License, version 1.3c or higher.
@@ -72,8 +78,8 @@
-- The latest version of this license is at: http://www.latex-project.org/lppl.txt
--
-- This work is "maintained" by Will Robertson.
--- It consists of the files: fontspec*.dtx, fontspec.cfg, fontspec-example.tex.
--- And the derived files: fontspec*.sty,fontspec.lua, and fontspec.pdf.
+-- It consists of the files: fontspec*.dtx, fontspec.cfg, fontspec*.tex.
+-- And the derived files: fontspec*.sty,fontspec.lua, fontspec.pdf.
-- ------------------------------------------------
--
-- End of file `fontspec.lua'.
Modified: trunk/Master/texmf-dist/tex/latex/fontspec/fontspec.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fontspec/fontspec.sty 2017-01-22 22:33:54 UTC (rev 43015)
+++ trunk/Master/texmf-dist/tex/latex/fontspec/fontspec.sty 2017-01-22 22:34:22 UTC (rev 43016)
@@ -7,13 +7,13 @@
%% fontspec.dtx (with options: `fontspec,load')
%% ------------------------------------------------
%% The FONTSPEC package for XeLaTeX/LuaLaTeX
-%% (C) 2004--2016 Will Robertson and Khaled Hosny
+%% (C) 2004--2017 Will Robertson and Khaled Hosny
%% License information appended.
%% ------------------------------------------------
\RequirePackage{expl3}
\RequirePackage{xparse}
\ProvidesExplPackage{fontspec}%
- {2016/02/01}{2.5a}{Font selection for XeLaTeX and LuaLaTeX}
+ {2017/01/02}{2.5c}{Font selection for XeLaTeX and LuaLaTeX}
\sys_if_engine_luatex:T
{ \RequirePackage{luaotfload}
\directlua{require("fontspec")}
@@ -27,7 +27,7 @@
}
\msg_fatal:nn {fontspec} {cannot-use-pdftex}
%% ------------------------------------------------
-%% Copyright 2004--2016 Will Robertson <wspr81 at gmail.com>
+%% Copyright 2004--2017 Will Robertson <wspr81 at gmail.com>
%% Copyright 2009--2013 Khaled Hosny <khaledhosny at eglug.org>
%%
%% Distributable under the LaTeX Project Public License, version 1.3c or higher.
@@ -34,8 +34,8 @@
%% The latest version of this license is at: http://www.latex-project.org/lppl.txt
%%
%% This work is "maintained" by Will Robertson.
-%% It consists of the files: fontspec*.dtx, fontspec.cfg, fontspec-example.tex.
-%% And the derived files: fontspec*.sty,fontspec.lua, and fontspec.pdf.
+%% It consists of the files: fontspec*.dtx, fontspec.cfg, fontspec*.tex.
+%% And the derived files: fontspec*.sty,fontspec.lua, fontspec.pdf.
%% ------------------------------------------------
%%
%% End of file `fontspec.sty'.
Modified: trunk/Master/texmf-dist/tex/latex/fontspec/tuenc.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fontspec/tuenc.def 2017-01-22 22:33:54 UTC (rev 43015)
+++ trunk/Master/texmf-dist/tex/latex/fontspec/tuenc.def 2017-01-22 22:34:22 UTC (rev 43016)
@@ -1,90 +1,394 @@
+%%
+%% This is file `tuenc.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% ltoutenc.dtx (with options: `TU')
+%%
+%% This is a generated file.
+%%
+%% The source is maintained by the LaTeX Project team and bug
+%% reports for it can be opened at http://latex-project.org/bugs.html
+%% (but please observe conditions on bug reports sent to that address!)
+%%
+%%
+%% Copyright 1993-2016
+%% The LaTeX3 Project and any individual authors listed elsewhere
+%% in this file.
+%%
+%% This file was generated from file(s) of the LaTeX base system.
+%% --------------------------------------------------------------
+%%
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3c
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This file has the LPPL maintenance status "maintained".
+%%
+%% This file may only be distributed together with a copy of the LaTeX
+%% base system. You may however distribute the LaTeX base system without
+%% such generated files.
+%%
+%% The list of all files belonging to the LaTeX base distribution is
+%% given in the file `manifest.txt'. See also `legal.txt' for additional
+%% information.
+%%
+%% The list of derived (unpacked) files belonging to the distribution
+%% and covered by LPPL is defined by the unpacking scripts (with
+%% extension .ins) which are part of the distribution.
+%%% From File: ltoutenc.dtx
\ProvidesFile{tuenc.def}
- [2016/01/29 v0.1 Unicode font encoding for LaTeX2e]
-
-%%%%%%
-% Please consider this encoding definition to be experimental!
-%%%%%%
-
+ [2016/12/11 v2.0a
+ Standard LaTeX file]
\providecommand\UnicodeEncodingName{TU}
-
-
-%% WRAPPERS NEEDED FOR FONT LOADING (.fd FILE COMMANDS)
-
\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname XeTeXrevision\endcsname\relax\else
- \def\UnicodeFontTeXLigatures{mapping=tex-text;}
-\fi
-
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname directlua\endcsname\relax\else
+\expandafter\ifx\csname XeTeXrevision\endcsname\relax
+ \begingroup\expandafter\expandafter\expandafter\endgroup
+ \expandafter\ifx\csname directlua\endcsname\relax
+ \PackageWarningNoLine{fontenc}
+ {\UnicodeEncodingName\space
+ encoding is only available with XeTeX and LuaTeX.\MessageBreak
+ Defaulting to T1 encoding}
+ \def\encodingdefault{T1}
+ \expandafter\expandafter\expandafter\endinput
+ \else
+ \def\UnicodeFontTeXLigatures{mapping=tex-text;}
+ \fi
+\else
\def\UnicodeFontTeXLigatures{+tlig;} % "+trep;" no longer needed
\fi
-
\def\UnicodeFontFile#1#2{"[#1]:#2"}
\def\UnicodeFontName#1#2{"#1:#2"}
-
-% Alternative luaotfload definitions for LuaLaTeX:
-% \def\UnicodeFontFile#1#2{"file:#1:#2"}
-% \def\UnicodeFontName#1#2{"name:#1:#2"}
-
-
-%% COMMANDS NEEDED TO DEFINE UNICODE COMMANDS AND ACCENTS
-
-% Accents in Unicode are postpended:
+\DeclareFontEncoding\UnicodeEncodingName{}{}
\def\add at unicode@accent#1#2{#2\char#1\relax}
-
-\def\DeclareUnicodeCommand#1#2{%
- \DeclareTextCommand{#1}{\LastDeclaredEncoding}{#2}%
+\def\DeclareUnicodeAccent#1#2#3{%
+ \DeclareTextCommand{#1}{#2}{\add at unicode@accent{#3}}%
}
-
-\def\DeclareUnicodeAccent#1#2{%
- \DeclareTextCommand{#1}{\LastDeclaredEncoding}{\add at unicode@accent{#2}}%
-}
-
-\def\DeclareUnicodeSymbol#1#2{%
- \DeclareTextSymbol{#1}{\LastDeclaredEncoding}{#2}%
-}
-
-\def\DeclareUnicodeComposite#1#2#3{%
- \DeclareTextComposite{#1}{\LastDeclaredEncoding}{#2}{#3}%
-}
-
-\def\DeclareUnicodeCompositeCommand#1#2#3{%
- \DeclareTextCompositeCommand{#1}{\LastDeclaredEncoding}{#2}{#3}%
-}
-
-
-%% COMMANDS FOR DEFINING NEW ENCODINGS FROM FONT RANGES
-
-\def\NewUnicodeEncoding#1{%
- \DeclareFontEncoding{#1}{}{}
- \DeclareErrorFont{\LastDeclaredEncoding}{lmr}{m}{n}{10}
- \DeclareFontSubstitution{\LastDeclaredEncoding}{lmr}{m}{n}
- \DeclareFontFamily{\LastDeclaredEncoding}{lmr}{}
- \DeclareFontShape{\LastDeclaredEncoding}{lmr}{m}{n}
- {<->\UnicodeFontFile{lmroman10-regular}{\UnicodeFontTeXLigatures}}{}
- \DeclareFontShape{\LastDeclaredEncoding}{lmr}{m}{it}
- {<->\UnicodeFontFile{lmroman10-italic}{\UnicodeFontTeXLigatures}}{}
- \DeclareFontShape{\LastDeclaredEncoding}{lmr}{m}{sc}
- {<->\UnicodeFontFile{lmromancaps10-regular}{\UnicodeFontTeXLigatures}}{}
- \DeclareFontShape{\LastDeclaredEncoding}{lmr}{bx}{n}
- {<->\UnicodeFontFile{lmroman10-bold}{\UnicodeFontTeXLigatures}}{}
- \DeclareFontShape{\LastDeclaredEncoding}{lmr}{bx}{it}
- {<->\UnicodeFontFile{lmroman10-bolditalic}{\UnicodeFontTeXLigatures}}{}
-}
-
-\def\DeclareUnicodeEncoding#1#2#3{%
- \NewUnicodeEncoding{#1}%
- \@for\@ii:=#2\do{%
- \InputIfFileExists{tufontrange-\@ii.def}{}{%
- \@latex at error{Unicode font range file `tufontrange-\@ii.def' not found}{\@ehd}%
- }%
- }%
- #3%
-}
-
-%% THE ENCODING ITSELF
-
-\DeclareUnicodeEncoding{\UnicodeEncodingName}{T1,TS1}{}
-
+\DeclareTextSymbol{\textexclamdown} \UnicodeEncodingName{"00A1}
+\DeclareTextSymbol{\textcent} \UnicodeEncodingName{"00A2}
+\DeclareTextSymbol{\textsterling} \UnicodeEncodingName{"00A3}
+\DeclareTextSymbol{\textcurrency} \UnicodeEncodingName{"00A4}
+\DeclareTextSymbol{\textyen} \UnicodeEncodingName{"00A5}
+\DeclareTextSymbol{\textbrokenbar} \UnicodeEncodingName{"00A6}
+\DeclareTextSymbol{\textsection} \UnicodeEncodingName{"00A7}
+\DeclareTextSymbol{\textasciidieresis} \UnicodeEncodingName{"00A8}
+\DeclareTextSymbol{\textcopyright} \UnicodeEncodingName{"00A9}
+\DeclareTextSymbol{\textordfeminine} \UnicodeEncodingName{"00AA}
+\DeclareTextSymbol{\guillemotleft} \UnicodeEncodingName{"00AB}
+\DeclareTextSymbol{\textlnot} \UnicodeEncodingName{"00AC}
+\DeclareTextSymbol{\textregistered} \UnicodeEncodingName{"00AE}
+\DeclareTextSymbol{\textasciimacron} \UnicodeEncodingName{"00AF}
+\DeclareTextSymbol{\textdegree} \UnicodeEncodingName{"00B0}
+\DeclareTextSymbol{\textpm} \UnicodeEncodingName{"00B1}
+\DeclareTextSymbol{\texttwosuperior} \UnicodeEncodingName{"00B2}
+\DeclareTextSymbol{\textthreesuperior} \UnicodeEncodingName{"00B3}
+\DeclareTextSymbol{\textasciiacute} \UnicodeEncodingName{"00B4}
+\DeclareTextSymbol{\textmu} \UnicodeEncodingName{"00B5}
+\DeclareTextSymbol{\textparagraph} \UnicodeEncodingName{"00B6}
+\DeclareTextSymbol{\textperiodcentered} \UnicodeEncodingName{"00B7}
+\DeclareTextSymbol{\textonesuperior} \UnicodeEncodingName{"00B9}
+\DeclareTextSymbol{\textordmasculine} \UnicodeEncodingName{"00BA}
+\DeclareTextSymbol{\guillemotright} \UnicodeEncodingName{"00BB}
+\DeclareTextSymbol{\textonequarter} \UnicodeEncodingName{"00BC}
+\DeclareTextSymbol{\textonehalf} \UnicodeEncodingName{"00BD}
+\DeclareTextSymbol{\textthreequarters} \UnicodeEncodingName{"00BE}
+\DeclareTextSymbol{\textquestiondown} \UnicodeEncodingName{"00BF}
+\DeclareTextSymbol{\AE} \UnicodeEncodingName{"00C6}
+\DeclareTextSymbol{\DH} \UnicodeEncodingName{"00D0}
+\DeclareTextSymbol{\texttimes} \UnicodeEncodingName{"00D7}
+\DeclareTextSymbol{\O} \UnicodeEncodingName{"00D8}
+\DeclareTextSymbol{\TH} \UnicodeEncodingName{"00DE}
+\DeclareTextSymbol{\ss} \UnicodeEncodingName{"00DF}
+\DeclareTextSymbol{\ae} \UnicodeEncodingName{"00E6}
+\DeclareTextSymbol{\dh} \UnicodeEncodingName{"00F0}
+\DeclareTextSymbol{\textdiv} \UnicodeEncodingName{"00F7}
+\DeclareTextSymbol{\o} \UnicodeEncodingName{"00F8}
+\DeclareTextSymbol{\th} \UnicodeEncodingName{"00FE}
+\DeclareTextSymbol{\DJ} \UnicodeEncodingName{"0110}
+\DeclareTextSymbol{\dj} \UnicodeEncodingName{"0111}
+\DeclareTextSymbol{\i} \UnicodeEncodingName{"0131}
+\DeclareTextSymbol{\IJ} \UnicodeEncodingName{"0132}
+\DeclareTextSymbol{\ij} \UnicodeEncodingName{"0133}
+\DeclareTextSymbol{\L} \UnicodeEncodingName{"0141}
+\DeclareTextSymbol{\l} \UnicodeEncodingName{"0142}
+\DeclareTextSymbol{\NG} \UnicodeEncodingName{"014A}
+\DeclareTextSymbol{\ng} \UnicodeEncodingName{"014B}
+\DeclareTextSymbol{\OE} \UnicodeEncodingName{"0152}
+\DeclareTextSymbol{\oe} \UnicodeEncodingName{"0153}
+\DeclareTextSymbol{\textflorin} \UnicodeEncodingName{"0192}
+\DeclareTextSymbol{\j} \UnicodeEncodingName{"0237}
+\DeclareTextSymbol{\textasciicircum} \UnicodeEncodingName{"02C6}
+\DeclareTextSymbol{\textasciicaron} \UnicodeEncodingName{"02C7}
+\DeclareTextSymbol{\textasciitilde} \UnicodeEncodingName{"02DC}
+\DeclareTextSymbol{\textasciibreve} \UnicodeEncodingName{"02D8}
+\DeclareTextSymbol{\textacutedbl} \UnicodeEncodingName{"02DD}
+\DeclareTextSymbol{\textgravedbl} \UnicodeEncodingName{"02F5}
+\DeclareTextSymbol{\texttildelow} \UnicodeEncodingName{"02F7}
+\DeclareTextSymbol{\textbaht} \UnicodeEncodingName{"0E3F}
+\DeclareTextSymbol{\SS} \UnicodeEncodingName{"1E9E}
+\DeclareTextSymbol{\textcompwordmark} \UnicodeEncodingName{"200C}
+\DeclareTextSymbol{\textendash} \UnicodeEncodingName{"2013}
+\DeclareTextSymbol{\textemdash} \UnicodeEncodingName{"2014}
+\DeclareTextSymbol{\textbardbl} \UnicodeEncodingName{"2016}
+\DeclareTextSymbol{\textquoteleft} \UnicodeEncodingName{"2018}
+\DeclareTextSymbol{\textquoteright} \UnicodeEncodingName{"2019}
+\DeclareTextSymbol{\quotesinglbase} \UnicodeEncodingName{"201A}
+\DeclareTextSymbol{\textquotedblleft} \UnicodeEncodingName{"201C}
+\DeclareTextSymbol{\textquotedblright} \UnicodeEncodingName{"201D}
+\DeclareTextSymbol{\quotedblbase} \UnicodeEncodingName{"201E}
+\DeclareTextSymbol{\textdagger} \UnicodeEncodingName{"2020}
+\DeclareTextSymbol{\textdaggerdbl} \UnicodeEncodingName{"2021}
+\DeclareTextSymbol{\textbullet} \UnicodeEncodingName{"2022}
+\DeclareTextSymbol{\textellipsis} \UnicodeEncodingName{"2026}
@@ Diff output truncated at 1234567 characters. @@
More information about the tex-live-commits
mailing list