diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-04 19:52:03 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-04 19:52:03 +0200 |
commit | b6df45277d50880e6a66dc93bc19615a7d3310c4 (patch) | |
tree | 7bee3db1818a0fb0e789775c4e5035da2d2834b6 /luaotfload.dtx | |
parent | c50ea5d545136b0140532d552bf0a59ba0398987 (diff) | |
download | luaotfload-b6df45277d50880e6a66dc93bc19615a7d3310c4.tar.gz |
move colorization to ``pre_linebreak_filter``
also introduces a config option: *color_callback* that
controls which callback will be activated. set it to
pre_output_filter to restore the previous behavior.
Diffstat (limited to 'luaotfload.dtx')
-rw-r--r-- | luaotfload.dtx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/luaotfload.dtx b/luaotfload.dtx index fb57462..d8d1863 100644 --- a/luaotfload.dtx +++ b/luaotfload.dtx @@ -1182,11 +1182,12 @@ and the derived files luaotfload = luaotfload or {} local luaotfload = luaotfload -config = config or { } -config.luaotfload = config.luaotfload or { } -config.luaotfload.resolver = config.luaotfload.resolver or "normal" -config.luaotfload.definer = config.luaotfload.definer or "patch" -config.luaotfload.loglevel = config.luaotfload.loglevel or 1 +config = config or { } +config.luaotfload = config.luaotfload or { } +config.luaotfload.resolver = config.luaotfload.resolver or "normal" +config.luaotfload.definer = config.luaotfload.definer or "patch" +config.luaotfload.loglevel = config.luaotfload.loglevel or 1 +config.luaotfload.color_callback = config.luaotfload.color_callback or "pre_linebreak_filter" --luaotfload.prefer_merge = config.luaotfload.prefer_merge or true luaotfload.module = { |