[latex3-commits] [git/LaTeX3-latex3-fontspec] variable: Add font instance interface (43a7894)

Marcel Fabian Krüger tex at 2krueger.de
Mon May 23 23:32:35 CEST 2022


Repository : https://github.com/latex3/fontspec
On branch  : variable
Link       : https://github.com/latex3/fontspec/commit/43a78940221891a9e5d8ef6a9d2bfa2c4b8d5a52

>---------------------------------------------------------------

commit 43a78940221891a9e5d8ef6a9d2bfa2c4b8d5a52
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Sun May 22 02:31:39 2022 +0200

    Add font instance interface


>---------------------------------------------------------------

43a78940221891a9e5d8ef6a9d2bfa2c4b8d5a52
 fontspec-code-keyval.dtx | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/fontspec-code-keyval.dtx b/fontspec-code-keyval.dtx
index dada0e8..9b51b6f 100644
--- a/fontspec-code-keyval.dtx
+++ b/fontspec-code-keyval.dtx
@@ -809,6 +809,15 @@
   }
 %    \end{macrocode}
 %
+% \subsubsection{Variation instances}
+%
+%    \begin{macrocode}
+\@@_keys_define_code:nnn {fontspec-opentype} {Instance}
+  {
+    \tl_gset:Nn \g_@@_instance_tl {#1}
+  }
+%    \end{macrocode}
+%
 % \subsubsection{Font transformations}
 % These are to be specified to apply directly to a font shape:
 %    \begin{macrocode}





More information about the latex3-commits mailing list.