summaryrefslogtreecommitdiff
path: root/texmf-dist/tex/harftex/base/harf.lua
blob: 082a5130a6f72e35b4dbceef32bb2eb94328fb5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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,
  finish_pdffile = harf_node.set_tounicode,
  get_glyph_string = harf_node.get_glyph_string,
}

return harf