summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-colors.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-08-14 20:52:07 +0000
committerKarl Berry <karl@freefriends.org>2019-08-14 20:52:07 +0000
commitbce9fed0de3adbb0f82fc4ac9171b618921fb14d (patch)
tree4a9dc14d7556dba48b12bf5c8b626aa4ebbc9157 /Master/texmf-dist/tex/luatex/luaotfload/luaotfload-colors.lua
parentcb9ce80d54602fd1ef6f8703980bc158a947fd8d (diff)
luaotfload (14aug19)
git-svn-id: svn://tug.org/texlive/trunk@51880 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luaotfload/luaotfload-colors.lua')
-rw-r--r--Master/texmf-dist/tex/luatex/luaotfload/luaotfload-colors.lua41
1 files changed, 19 insertions, 22 deletions
diff --git a/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-colors.lua b/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-colors.lua
index 164d5bfa7df..5460ac12e61 100644
--- a/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-colors.lua
+++ b/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-colors.lua
@@ -5,8 +5,8 @@
local ProvidesLuaModule = {
name = "luaotfload-colors",
- version = "2.98", --TAGVERSION
- date = "2019-07-04", --TAGDATE
+ version = "2.99", --TAGVERSION
+ date = "2019-08-11", --TAGDATE
description = "luaotfload submodule / color",
license = "GPL v2.0",
author = "Khaled Hosny, Elie Roux, Philipp Gesang, Dohyun Kim, David Carlisle",
@@ -391,27 +391,24 @@ local setcolor = function (tfmdata, value)
end
end
-return {
- init = function ()
- logreport = luaotfload.log.report
- if not fonts then
- logreport ("log", 0, "color",
- "OTF mechanisms missing -- did you forget to \z
- load a font loader?")
- return false
- end
- fonts.handlers.otf.features.register {
- name = "color",
- description = "color",
- initializers = {
- base = setcolor,
- node = setcolor,
- }
- }
- return true
+return function ()
+ logreport = luaotfload.log.report
+ if not fonts then
+ logreport ("log", 0, "color",
+ "OTF mechanisms missing -- did you forget to \z
+ load a font loader?")
+ return false
end
-}
-
+ fonts.handlers.otf.features.register {
+ name = "color",
+ description = "color",
+ initializers = {
+ base = setcolor,
+ node = setcolor,
+ }
+ }
+ return true
+end
-- vim:tw=71:sw=4:ts=4:expandtab