Skip to content
Snippets Groups Projects
Select Git revision
  • c7c4c7cb1301625eefd57cf5b8f86df961b34fdb
  • master default protected
2 results

fontload.tex

Blame
  • fontload.tex 590 B
    % 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