diff --git a/luatex/fontload.tex b/luatex/fontload.tex new file mode 100644 index 0000000000000000000000000000000000000000..4802e2e732092cd954a0fd37dc7b36dff6ab52f0 --- /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