summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/fontspec/fontspec-feat-opentype.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/fontspec/fontspec-feat-opentype.dtx')
-rw-r--r--Master/texmf-dist/source/latex/fontspec/fontspec-feat-opentype.dtx26
1 files changed, 21 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/fontspec/fontspec-feat-opentype.dtx b/Master/texmf-dist/source/latex/fontspec/fontspec-feat-opentype.dtx
index 168f1f36d9e..b351d06c295 100644
--- a/Master/texmf-dist/source/latex/fontspec/fontspec-feat-opentype.dtx
+++ b/Master/texmf-dist/source/latex/fontspec/fontspec-feat-opentype.dtx
@@ -1,3 +1,4 @@
+%%^^A%% fontspec-feat-opentype.dtx -- part of FONTSPEC <wspr.io/fontspec>
% \subsection{OpenType feature definitions}
%
@@ -414,7 +415,7 @@
\bool_set_false:N \l_@@_script_exist_bool
\clist_map_inline:nn {#2}
{
- \@@_check_script:nTF {####1}
+ \@@_check_script:NnTF \l_fontspec_font {####1}
{
\tl_set:Nn \l_fontspec_script_tl {####1}
\int_set:Nn \l_@@_script_int {\l_@@_strnum_int}
@@ -431,7 +432,7 @@
\@@_warning:nx {script-not-exist} {#1}
}
{
- \@@_check_script:nTF {latn}
+ \@@_check_script:NnTF \l_fontspec_font {latn}
{
\@@_warning:nx {script-not-exist-latn} {#1}
\tl_set:Nn \l_fontspec_script_tl {latn}
@@ -454,7 +455,7 @@
\cs_new:Nn \fontspec_new_lang:nn
{
\keys_define:nn { fontspec-opentype } { Language / #1 .code:n =
- \@@_check_lang:nTF {#2}
+ \@@_check_lang:NnTF \l_fontspec_font {#2}
{
\tl_set:Nn \l_fontspec_lang_tl {#2}
\int_set:Nn \l_@@_language_int {\l_@@_strnum_int}
@@ -485,14 +486,14 @@
{
Language / Turkish .code:n =
{
- \@@_check_lang:nTF {TRK}
+ \@@_check_lang:NnTF \l_fontspec_font {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}
+ \@@_check_lang:NnTF \l_fontspec_font {TUR}
{
\int_set:Nn \l_@@_language_int {\l_@@_strnum_int}
\tl_set:Nn \l_fontspec_lang_tl {TUR}
@@ -539,3 +540,18 @@
% \end{macrocode}
% \fi
+
+\endinput
+
+% /©
+% ------------------------------------------------
+% The FONTSPEC package <wspr.io/fontspec>
+% ------------------------------------------------
+% Copyright 2004-2017 Will Robertson, LPPL "maintainer"
+% Copyright 2009-2013 Khaled Hosny
+% ------------------------------------------------
+% This package is free software and may be redistributed and/or modified under
+% the conditions of the LaTeX Project Public License, version 1.3c or higher
+% (your choice): <http://www.latex-project.org/lppl/>.
+% ------------------------------------------------
+% ©/