From c7c4c7cb1301625eefd57cf5b8f86df961b34fdb Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Wed, 17 May 2023 13:47:38 +0200
Subject: [PATCH] =?UTF-8?q?Experimenty=20s=20luaotfload,=20zat=C3=ADm=20mo?=
 =?UTF-8?q?c=20nefunguj=C3=AD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 luatex/fontload.tex | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 luatex/fontload.tex

diff --git a/luatex/fontload.tex b/luatex/fontload.tex
new file mode 100644
index 0000000..4802e2e
--- /dev/null
+++ b/luatex/fontload.tex
@@ -0,0 +1,33 @@
+% Pokusy s variable fontem
+
+\input luaotfload.sty
+
+\long\def\try#1{
+\font\f={[Fraunces.ttf]:mode=base;script=latn;#1} at 32pt
+% \font\f={name:LMRoman10-Regular:mode=base;script=latn;#1} at 32pt
+{\f A quick ffox \& the lazy dog.}
+\bigskip
+}
+
+\parindent=0pt
+
+\try{}
+\try{-liga;}	% Nevím proč, ale neprojeví se
+\try{+ss01;}	% Stylistická alternativa ampersandu
+\try{axis={wght=500};}
+\try{axis={wght=300};}
+
+\bigskip
+
+% Design size, nevypadá funkčně
+\try{}
+\try{axis={opsz=144};}
+
+\bigskip
+
+% Softness, také nevypadá funkčně
+\try{}
+\try{axis={SOFT=0};}
+\try{axis={SOFT=100};}
+
+\bye
-- 
GitLab