summaryrefslogtreecommitdiff
path: root/macros/luatex/optex/f-technika.opm
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/optex/f-technika.opm')
-rw-r--r--macros/luatex/optex/f-technika.opm35
1 files changed, 35 insertions, 0 deletions
diff --git a/macros/luatex/optex/f-technika.opm b/macros/luatex/optex/f-technika.opm
new file mode 100644
index 0000000000..d7f006d6f4
--- /dev/null
+++ b/macros/luatex/optex/f-technika.opm
@@ -0,0 +1,35 @@
+%% This is part of OpTeX project, see http://petr.olsak.net/optex
+
+\_fontdecl [Technika] \Technika {Fonts from visual style of CTU in Prague}
+ {\caps \light} {\rm \bf \it \bi \stencil} {TX}
+ "[Technika-Regular]"
+
+\_wlog{\_detokenize{%
+Modifiers:^^J
+ \light ..... ligher variants: \rm\bf=light \bf\bi=normal
+ \book ..... semi-ligher variants: \rm\bf=book \bf\bi=bold
+ \caps ...... caps & small caps^^J
+Special variant:^^J
+ \stencil ... dashed leters (only uppercase)^J
+}}
+
+\_protected\def \Technika {%
+ \_def \_currfamily {Technika}%
+ \_def \_fontnamegen {"[Technika\_stencilV-\_currV]:\_capsV\_fontfeatures"}%
+ \_resetmod
+}
+\_moddef \resetmod {\_fsetV stencil={},caps={} \_fvars Regular Bold Italic BoldItalic }
+\_moddef \light {\_fsetV stencil={} \_fvars Light Regular LightItalic Italic }
+\_moddef \book {\_fsetV stencil={} \_fvars Book Bold BookItalic BoldItalic }
+\_moddef \caps {\_fsetV caps=+smcp;+onum; }
+
+\_famvardef \stencil {\_fsetV stencil=Stencil \_fvars Bold . Bold . \rm}
+
+
+\_initfontfamily % new font family must be initialized
+
+\_endcode
+
+See the file `f-heros.opm` for information about principles of such
+font-macro-files.
+