summaryrefslogtreecommitdiff
path: root/macros/luatex/optex/f-gfsbodoni.opm
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-02-13 03:00:51 +0000
committerNorbert Preining <norbert@preining.info>2020-02-13 03:00:51 +0000
commit8379012d545fd6a59fae8842d97d14ec0c2b27d7 (patch)
tree740889c25a2f4eb83c4433954ec856b568728575 /macros/luatex/optex/f-gfsbodoni.opm
parent2dbfa6c67f1c50ff228326c6ec6cccfdecb61735 (diff)
CTAN sync 202002130300
Diffstat (limited to 'macros/luatex/optex/f-gfsbodoni.opm')
-rw-r--r--macros/luatex/optex/f-gfsbodoni.opm25
1 files changed, 25 insertions, 0 deletions
diff --git a/macros/luatex/optex/f-gfsbodoni.opm b/macros/luatex/optex/f-gfsbodoni.opm
new file mode 100644
index 0000000000..ccdef2126d
--- /dev/null
+++ b/macros/luatex/optex/f-gfsbodoni.opm
@@ -0,0 +1,25 @@
+%% This is part of OpTeX project, see http://petr.olsak.net/optex
+
+\_fontdecl [GFS Bodoni] \GFSBodoni {Based on Bodoni with greek letters}
+ {} {\rm \bf \it \bi} {TX}
+ "[GFSBodoni]"
+
+\_wlog{\_detokenize{%
+Modifier:^^J
+ \caps ...... doesn't work even though otfinfo -f lists cmcp^^J
+}}
+
+\_protected\def \GFSBodoni {%
+ \_def \_currfamily {GFSBodoni}%
+ \_def \_fontnamegen {"[GFSBodoni\_currV]:\_fontfeatures"}%
+ \_resetmod
+}
+\_moddef \resetmod {\_fvars {} Bold It BoldIt }
+
+\_initfontfamily % new font family must be initialized
+
+\_endcode
+
+See the file `f-heros.opm` for information about principles of such
+font-macro-files.
+