diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/fontspec/fontspec-code-feat-opentype.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/fontspec/fontspec-code-feat-opentype.dtx | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/latex/fontspec/fontspec-code-feat-opentype.dtx b/Master/texmf-dist/source/latex/fontspec/fontspec-code-feat-opentype.dtx index 590d69f77f5..e210ee1a9f1 100644 --- a/Master/texmf-dist/source/latex/fontspec/fontspec-code-feat-opentype.dtx +++ b/Master/texmf-dist/source/latex/fontspec/fontspec-code-feat-opentype.dtx @@ -203,6 +203,13 @@ \@@_define_opentype_onoffreset:nnnnn {Fractions} {Alternate} {afrc} {afrc} {-frac} % \end{macrocode} % +% \begin{macrocode} +\@@_define_opentype_feature_group:n {LocalForms} +\@@_define_opentype_feature:nnnnn {LocalForms} {On} {locl} {+locl} {} +\@@_define_opentype_feature:nnnnn {LocalForms} {Off} {locl} {-locl} {} +\@@_define_opentype_feature:nnnnn {LocalForms} {Reset} {} {} {+locl,-locl} +% \end{macrocode} +% % \subsection{Style} % \begin{macrocode} @@ -449,12 +456,14 @@ \clist_map_break: } } + \bool_if:NF \l_@@_scriptlang_exist_bool { +%<debug>\typeout{Script~not~found!} \bool_if:nF { \str_if_eq_p:ee {#1} {CustomDefault} } { \tl_clear:N \l_@@_script_name_tl - \@@_warning:nx {no-script} {\l_fontspec_fontname_tl} {#1} + \@@_warning:nxx {no-script} {\l_fontspec_fontname_tl} {#1} } \bool_if:nF |