summaryrefslogtreecommitdiff
path: root/macros/unicodetex/latex/fontspec/fontspec-code-opentype.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/unicodetex/latex/fontspec/fontspec-code-opentype.dtx')
-rw-r--r--macros/unicodetex/latex/fontspec/fontspec-code-opentype.dtx17
1 files changed, 17 insertions, 0 deletions
diff --git a/macros/unicodetex/latex/fontspec/fontspec-code-opentype.dtx b/macros/unicodetex/latex/fontspec/fontspec-code-opentype.dtx
index 94be4acfca..1ea0a4eccf 100644
--- a/macros/unicodetex/latex/fontspec/fontspec-code-opentype.dtx
+++ b/macros/unicodetex/latex/fontspec/fontspec-code-opentype.dtx
@@ -10,6 +10,22 @@
%
%
%
+% \begin{macro}{\@@_define_opentype_variation_axis:nn}
+% \begin{macrocode}
+\cs_new:Nn \@@_define_opentype_variation_axis:nn
+ {
+ \keys_define:nn {fontspec-opentype}
+ {
+ #1 .code:n = {
+ \prop_gput:Nnn \g_@@_rawvariations_prop { #2 } { ##1 }
+ },
+ #1 .value_required:n = true,
+ #1 .groups:n = {opentype},
+ }
+ }
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\@@_define_opentype_feature_group:n}
% \begin{macrocode}
\cs_new:Nn \@@_define_opentype_feature_group:n
@@ -466,6 +482,7 @@
% ------------------------------------------------
% The FONTSPEC package <wspr.io/fontspec>
% ------------------------------------------------
+% Copyright 2022-2023 The LaTeX project
% Copyright 2004-2022 Will Robertson, LPPL "maintainer"
% Copyright 2009-2015 Khaled Hosny
% Copyright 2013 Philipp Gesang