summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--otfl-font-clr.lua8
1 files changed, 1 insertions, 7 deletions
diff --git a/otfl-font-clr.lua b/otfl-font-clr.lua
index d9b543a..83eea5a 100644
--- a/otfl-font-clr.lua
+++ b/otfl-font-clr.lua
@@ -146,15 +146,9 @@ local function font_colorize(head)
end
local color_callback_activated = 0
-local message_displayed = 0
function add_color_callback()
- if tex.luatexversion < 44 then
- if message_displayed == 0 then
- luatextra.module_warning("luaotfload","You must have a LuaTeX with version >= 0.44 in order to get colors working, colors won't work.")
- message_displayed = 1
- end
- elseif color_callback_activated == 0 then
+ if color_callback_activated == 0 then
callback.add("pre_output_filter", font_colorize, "loaotfload.colorize")
color_callback_activated = 1
end