diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-15 21:42:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-15 21:42:57 +0000 |
commit | 9320d274483582143054c232873dbe4784fe98d7 (patch) | |
tree | faf298b3dbfb2917264f5330a159c8544baf4544 /Master/texmf-dist/source/latex/fontspec/fontspec-code-keyval.dtx | |
parent | a07c0952502421e98b75cb81f9871f9b825b2ea3 (diff) |
fontspec (15jan22)
git-svn-id: svn://tug.org/texlive/trunk@61617 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/fontspec/fontspec-code-keyval.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/fontspec/fontspec-code-keyval.dtx | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/fontspec/fontspec-code-keyval.dtx b/Master/texmf-dist/source/latex/fontspec/fontspec-code-keyval.dtx index 87a93c176bd..bb18912f8a6 100644 --- a/Master/texmf-dist/source/latex/fontspec/fontspec-code-keyval.dtx +++ b/Master/texmf-dist/source/latex/fontspec/fontspec-code-keyval.dtx @@ -223,6 +223,13 @@ } % \end{macrocode} % +% \begin{macrocode} +\@@_keys_define_code:nnn {fontspec-preparse-external} {SwashFont} + { + \fontspec_complete_fontname:Nn \l_@@_fontname_sw_tl {#1} + } +% \end{macrocode} +% % % \paragraph{Bold (NFSS) Series} % By default, \pkg{fontspec} uses the default bold series, \cs{bfdefault}. @@ -282,6 +289,13 @@ } % \end{macrocode} % +% \begin{macrocode} +\@@_keys_define_code:nnn {fontspec-preparse-external} {BoldSwashFont} + { + \fontspec_complete_fontname:Nn \l_@@_fontname_bfsw_tl {#1} + } +% \end{macrocode} +% % \paragraph{Small caps} % Small caps isn't pre-parsed because it can vary with others above: % \begin{macrocode} @@ -309,7 +323,6 @@ \@@_keys_define_code:nnn {fontspec-preparse} {BoldFeatures} { \clist_put_right:Nn \l_@@_fontfeat_bf_clist {#1} - % \prop_put:NxV \l_@@_nfss_prop % {BoldFont-\g_@@_curr_series_tl} \l_@@_curr_bfname_tl } @@ -329,6 +342,14 @@ { \clist_put_right:Nn \l_@@_fontfeat_bfsl_clist {#1} } +\@@_keys_define_code:nnn {fontspec-preparse} {SwashFeatures} + { + \clist_put_right:Nn \l_@@_fontfeat_sw_clist {#1} + } +\@@_keys_define_code:nnn {fontspec-preparse} {BoldSwashFeatures} + { + \clist_put_right:Nn \l_@@_fontfeat_bfsw_clist {#1} + } % \end{macrocode} % Note that small caps features can vary by shape, so these in fact \emph{aren't} pre-parsed. % \begin{macrocode} @@ -893,7 +914,7 @@ % ------------------------------------------------ % The FONTSPEC package <wspr.io/fontspec> % ------------------------------------------------ -% Copyright 2004-2020 Will Robertson, LPPL "maintainer" +% Copyright 2004-2022 Will Robertson, LPPL "maintainer" % Copyright 2009-2015 Khaled Hosny % Copyright 2013 Philipp Gesang % Copyright 2013-2016 Joseph Wright |