From b6df45277d50880e6a66dc93bc19615a7d3310c4 Mon Sep 17 00:00:00 2001
From: Philipp Gesang <phg42.2a@gmail.com>
Date: Sat, 4 May 2013 19:52:03 +0200
Subject: 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.
---
 luaotfload.dtx | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

(limited to 'luaotfload.dtx')

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 = {
-- 
cgit v1.2.3

