Skip to content
Snippets Groups Projects
Commit 15dfd2d8 authored by Martin Mareš's avatar Martin Mareš
Browse files

fontload: Lepší příklad variable fontu

parent 71271a68
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,8 @@
\input luaotfload.sty
\long\def\try#1{
\font\f={[Fraunces.ttf]:mode=base;script=latn;#1} at 32pt
\font\f={[Fraunces.ttf]:mode=harf;script=latn;#1} at 32pt
% \font\f={[Fraunces-Italic.ttf]:mode=harf;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
......@@ -25,9 +26,16 @@
\bigskip
% Softness, také nevypadá funkčně
\try{}
\try{axis={SOFT=0};}
% Softness, funguje jen s mode=harf
\try{} % default=0
\try{axis={SOFT=50};}
\try{axis={SOFT=100};}
\bigskip
% Wonkiness, funguje jen pro italic
\try{}
\try{axis={WONK=0};}
\try{axis={WONK=1};}
\bye
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment