diff options
Diffstat (limited to 'texmf-dist/tex/generic/harftex/harf.lua')
-rw-r--r-- | texmf-dist/tex/generic/harftex/harf.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/texmf-dist/tex/generic/harftex/harf.lua b/texmf-dist/tex/generic/harftex/harf.lua new file mode 100644 index 00000000..08d57d64 --- /dev/null +++ b/texmf-dist/tex/generic/harftex/harf.lua @@ -0,0 +1,16 @@ +local harf = require("harf-base") + +local define_font = require("harf-load") +local harf_node = require("harf-node") + +harf.callbacks = { + define_font = define_font, + pre_linebreak_filter = harf_node.process, + hpack_filter = harf_node.process, + pre_output_filter = harf_node.post_process, + wrapup_run = harf_node.cleanup, + get_char_tounicode = harf_node.get_tounicode, + get_glyph_string = harf_node.get_glyph_string, +} + +return harf |