blob: 1741bba6d7dae4e4bef68b2c602f23e1213ecb15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% FOR BACKWARDS COMPATIBILITY WITH PREVIOUS VERSIONS %%%
\newcommand\newfeaturecode[3]{%
\define@key{zf}{#1}[]{\zf@make@feature{#2}{#3}{}}}
\aliasfontfeature{BoldFont}{Bold}
\aliasfontfeature{ItalicFont}{Italic}
\aliasfontfeature{BoldItalicFont}{BoldItalic}
\aliasfontfeature{SmallCapsFont}{SmallCaps}
\aliasfontfeature{Style}{StyleOptions}
\aliasfontfeature{Contextuals}{Swashes}
\aliasfontfeatureoption{Contextuals}{Swash}{Contextual}
\aliasfontfeatureoption{Letters}{UppercaseSmallCaps}{SMALLCAPS}
\aliasfontfeatureoption{Letters}{UppercasePetiteCaps}{PETITECAPS}
%%%%%%%%%%%%%%%%%%%%%%%
%%% FOR CONVENIENCE %%%
\newfontscript{Kana}{kana}
\newfontscript{Maths}{math}
\newfontscript{CJK}{hani}
|