Шрифты

This commit is contained in:
Andrei Astafev 2022-12-24 21:17:41 +03:00
parent 7b39bb9bdc
commit 2c77311e6c

View File

@ -130,15 +130,17 @@ $endif$
$if(mainfont)$ $if(mainfont)$
\setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$} \setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
$else$ $else$
\setmainfont[Scale=1.0]{Georgia} \setmainfont[Scale=1.0]{PT Serif}
$endif$ $endif$
$if(sansfont)$ $if(sansfont)$
\setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$]{$sansfont$} \setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$]{$sansfont$}
$else$
\setmainfont[Scale=1.0]{PT Sans}
$endif$ $endif$
$if(monofont)$ $if(monofont)$
\setmonofont[$for(monofontoptions)$$monofontoptions$$sep$,$endfor$]{$monofont$} \setmonofont[$for(monofontoptions)$$monofontoptions$$sep$,$endfor$]{$monofont$}
$else$ $else$
\setmonofont[Scale=0.75]{Pragmata Pro} \setmonofont[Scale=0.75]{Iosevka Prog}
$endif$ $endif$
$for(fontfamilies)$ $for(fontfamilies)$
\newfontfamily{$fontfamilies.name$}[$for(fontfamilies.options)$$fontfamilies.options$$sep$,$endfor$]{$fontfamilies.font$} \newfontfamily{$fontfamilies.name$}[$for(fontfamilies.options)$$fontfamilies.options$$sep$,$endfor$]{$fontfamilies.font$}