diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2010-02-12 15:08:12 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2010-02-12 15:35:32 +0200 |
commit | af9ddc141efa0d7cd645f23a875a45d800c120fb (patch) | |
tree | 93c12dc423af1b7f6e8bb45ceb991167bf1a269e | |
parent | fc4ceb016698207125b66ab35af1e306b117993c (diff) | |
download | luaotfload-af9ddc141efa0d7cd645f23a875a45d800c120fb.tar.gz |
Rename |otfl-font-msc.lua| to |otfl-font-clr.lua|
It deals with colors only now.
-rw-r--r-- | README | 6 | ||||
-rw-r--r-- | luaotfload.dtx | 2 | ||||
-rw-r--r-- | otfl-font-clr.lua (renamed from otfl-font-msc.lua) | 12 |
3 files changed, 11 insertions, 9 deletions
@@ -57,7 +57,7 @@ Source files: otfl-node-ini.lua . otfl-node-inj.lua . otfl-node-res.lua OTF support files from the ConTeXt distribution - otfl-node-msc.lua luaotfload module for additional features + otfl-node-clr.lua luaotfload module for font color support Derived files: luaotfload.pdf documentation @@ -77,13 +77,13 @@ starts by: Copyright 2008 PRAGMA ADE / ConTeXt Development Team " -for otf-*.lua files except otfl-font-msc.lua, and +for otf-*.lua files except otfl-font-clr.lua, and " Copyright 2010 Khaled Hosny " -for otfl-font-msc.lua, and continues by: +for otfl-font-clr.lua, and continues by: " This program is free software; you can redistribute it and/or diff --git a/luaotfload.dtx b/luaotfload.dtx index a155ffa..52320be 100644 --- a/luaotfload.dtx +++ b/luaotfload.dtx @@ -505,7 +505,7 @@ end luaotfload.loadmodule('font-xtx.lua') luaotfload.loadmodule('font-map.lua') luaotfload.loadmodule('font-dum.lua') -luaotfload.loadmodule('font-msc.lua') +luaotfload.loadmodule('font-clr.lua') % \end{macrocode} % diff --git a/otfl-font-msc.lua b/otfl-font-clr.lua index d7cfe20..622c9cf 100644 --- a/otfl-font-msc.lua +++ b/otfl-font-clr.lua @@ -1,14 +1,16 @@ -if not modules then modules = { } end modules ['font-msc'] = { +if not modules then modules = { } end modules ['font-clr'] = { version = 1.001, - comment = "companion to font-otf.lua (slanting, extending, colors)", + comment = "companion to font-otf.lua (font color)", author = "Khaled Hosny", copyright = "Khaled Hosny", license = "GPL" } ---[[ - Support for font color. ---]] +fonts.triggers = fonts.triggers or { } +fonts.initializers = fonts.initializers or { } +fonts.initializers.common = fonts.initializers.common or { } + +local initializers, format = fonts.initializers, string.format table.insert(fonts.triggers,"color") |