summaryrefslogtreecommitdiff
path: root/otfl-font-clr.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-03-08 14:42:15 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2010-03-08 14:42:15 +0200
commit12d9a7b7c6744b520ec12cff402cda6efca4e371 (patch)
treea72d5c2b93f8c27082f93795f2e66be2dd5157a6 /otfl-font-clr.lua
parent9727f0a626421b8370d6417283f23b2a19af88ad (diff)
downloadluaotfload-12d9a7b7c6744b520ec12cff402cda6efca4e371.tar.gz
We support nothing but the latest and greatest
It is actually worse than that, I only test against trunk, once texlive2010 binaries are frozen we will test against it.
Diffstat (limited to 'otfl-font-clr.lua')
-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