diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2009-12-30 13:13:13 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2009-12-30 23:11:07 +0200 |
commit | 3a9d5bbcba410869be83a42f5d6f0d0301c05416 (patch) | |
tree | 8a16b9c545fbf92db53b5f7e1ba8f1db10186853 /otfl-font-map.lua | |
parent | 06689c6f5262cafc3c2e9821fe3a0cc242f6fcc3 (diff) | |
download | luaotfload-3a9d5bbcba410869be83a42f5d6f0d0301c05416.tar.gz |
Initial XeTeX-like font color support
The idea is very simple, we set a special |color| field in the font
table, then we surround each glyph in that font with color |whatsit|
node (actually pdfliteral whatsit nodes).
The resulting PDF file is larger than XeTeX output (because insert
color nodes around continues glyph nodes only, even if it was
interrupted by just a |glue| or |kern| node). This can be better
optimized, but I gave up.
Also we don't handle transparency, yet.
Diffstat (limited to 'otfl-font-map.lua')
0 files changed, 0 insertions, 0 deletions