summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/csplain/fonts/cs-iwona.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/csplain/fonts/cs-iwona.tex')
-rw-r--r--Master/texmf-dist/tex/csplain/fonts/cs-iwona.tex71
1 files changed, 71 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/csplain/fonts/cs-iwona.tex b/Master/texmf-dist/tex/csplain/fonts/cs-iwona.tex
new file mode 100644
index 00000000000..0b4b21f370a
--- /dev/null
+++ b/Master/texmf-dist/tex/csplain/fonts/cs-iwona.tex
@@ -0,0 +1,71 @@
+% The file cs-iwona.tex (C) Petr Olsak, 2016
+% Use "\input cs-iwona" to set the Iwona font family in text mode
+
+\ifx\ffdecl\undefined \input ff-mac \fi
+
+\ffdecl [Iwona] {\caps \cond \lightw \heavyw} {\rm \bf \it \bi} {} {KI} {8z 8t U}
+
+\ffvars {r}{b}{ri}{bi}
+\def\caps{\ffsetV{caps}{-sc}\ffsetX} \def\nocaps{\ffsetV{caps}{}\ffsetX}
+\def\cond{\ffsetV{cond}{c}\ffsetX} \def\nocond{\ffsetV{cond}{}\ffsetX}
+\def\capsV{}
+\def\condV{}
+\def\lightw{\ffvars{l}{m}{li}{mi}\ffsetX}
+\def\heavyw{\ffvars{h}{!}{hi}{!}\ffsetX}
+\def\normalw{\ffvars {r}{b}{ri}{bi}\ffsetX}
+
+\ismacro\fotenc{8t}\ifttrue
+
+ \font\tenrm = ec-iwonar \sizespec
+ \font\tenbf = ec-iwonab \sizespec
+ \font\tenit = ec-iwonari \sizespec
+ \font\tenbi = ec-iwonabi \sizespec
+
+ \def\ffnamegen{ec-iwona\condV\ffvarV\capsV}
+
+\fi
+
+\ismacro\fotenc{8z}\iftrue
+
+ \font\tenrm = cs-iwonar \sizespec
+ \font\tenbf = cs-iwonab \sizespec
+ \font\tenit = cs-iwonari \sizespec
+ \font\tenbi = cs-iwonabi \sizespec
+
+ \def\ffnamegen{cs-iwona\condV\ffvarV\capsV}
+ \input chars-8z
+
+\fi
+
+\ismacro\fotenc{U}\iftrue
+
+ \font\tenrm = "[Iwona-Regular]:\fontfeatures" \sizespec
+ \font\tenbf = "[Iwona-Bold]:\fontfeatures" \sizespec
+ \font\tenit = "[Iwona-Italic]:\fontfeatures" \sizespec
+ \font\tenbi = "[Iwona-BoldItalic]:\fontfeatures" \sizespec
+
+ \def\ffnamegen{"[Iwona\condV\ffvarxV-\ffvarV]:\capsV\fontfeatures"}
+
+ \ffvars {Regular} {Bold} {Italic} {BoldItalic}
+ \def\caps{\ffsetV{caps}{+smcp;}\ffsetX}
+ \def\cond{\ffsetV{cond}{Cond}\ffsetX}
+ \def\lightw{\ffvarsx{Light}{Medium}{Light}{Medium}%
+ \ffvars{Regular}{Regular}{Italic}{Italic}\ffsetX}
+ \def\heavyw{\ffvarsx{Heavy}{}{Heavy}{}\ffvars{Regular}{!}{Italic}{!}\ffsetX}
+ \def\normalw{\ffvarsx{}{}{}{}\ffvars{Regular}{Bold}{Italic}{BoldItalic}\ffsetX}
+
+ \tryprotected\def\ffvarsx#1#2#3#4{%
+ \def\ffvarxY##1{\ifcase##1 #1\or#2\or#3\or#4\fi}%
+ }
+ \def\ffsetR#1{\edef\ffvarxV{\ffvarxY{#1}}}
+ \ffvarsx {}{}{}{}
+
+\fi
+\tenrm % don't remember to initialize the family with normal font.
+
+\def\narrow{\cond\fam}
+
+\ifx\loadmathfonts\relax \endinput \fi
+\def\mfamname{iwona}
+\ifx\mathpreloaded R \normalmath \else \input ki-math \fi
+