diff options
author | Karl Berry <karl@freefriends.org> | 2020-02-03 22:30:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-02-03 22:30:09 +0000 |
commit | 80eeb8a04335539fde455e00d5cfde4e2c7ed5c6 (patch) | |
tree | b35ac34b9cccd54d049c68d5d808b9ed48bab65e /Master/texmf-dist/tex/luatex/luaotfload/luaotfload-harf-plug.lua | |
parent | ca44d57bbfaa45d580f466e5dff1b3a9cccd49f6 (diff) |
luaotfload (3feb20)
git-svn-id: svn://tug.org/texlive/trunk@53652 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luaotfload/luaotfload-harf-plug.lua')
-rw-r--r-- | Master/texmf-dist/tex/luatex/luaotfload/luaotfload-harf-plug.lua | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-harf-plug.lua b/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-harf-plug.lua index 528d8c1e60b..c1d87de3129 100644 --- a/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-harf-plug.lua +++ b/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-harf-plug.lua @@ -5,8 +5,8 @@ do -- block to avoid to many local variables error local ProvidesLuaModule = { name = "luaotfload-harf-plug", - version = "3.11", --TAGVERSION - date = "2019-11-10", --TAGDATE + version = "3.12", --TAGVERSION + date = "2020-02-02", --TAGDATE description = "luaotfload submodule / database", license = "GPL v2.0", author = "Khaled Hosny, Marcel Krüger", @@ -565,8 +565,17 @@ end local push_cmd = { "push" } local pop_cmd = { "pop" } local nop_cmd = { "nop" } -local save_cmd = { "pdf", "page", "q" } -local restore_cmd = { "pdf", "page", "Q" } +--[[ + In the following, "text" actually refers to "font" mode and not to "text" + mode. "font" mode is called "text" inside of virtual font commands (don't + ask me why, but the LuaTeX source does make it clear that this is intentional) + and behaves mostly like "page" (especially it does not enter a "BT" "ET" + block) except that it always resets the current position to the origin. + This is necessary to ensure that the q/Q pair does not interfere with TeX's + position tracking. + ]] +local save_cmd = { "pdf", "text", "q" } +local restore_cmd = { "pdf", "text", "Q" } -- Convert glyphs to nodes and collect font characters. local function tonodes(head, node, run, glyphs) |