summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/font-cff.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2022-01-10 09:19:22 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2022-01-10 09:19:22 +0100
commit8e857efd2c61e8ffa4c991b5f1ddacfb4ebedc3c (patch)
tree28925ffc25cf4e3a6890a7e5193ce5f7ca95d98b /tex/context/base/mkiv/font-cff.lua
parent40c16033d164a969e06aacc991371592731baf2a (diff)
downloadcontext-8e857efd2c61e8ffa4c991b5f1ddacfb4ebedc3c.tar.gz
2022-01-10 08:36:00
Diffstat (limited to 'tex/context/base/mkiv/font-cff.lua')
-rw-r--r--tex/context/base/mkiv/font-cff.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/font-cff.lua b/tex/context/base/mkiv/font-cff.lua
index 8ae4d755b..4258991c6 100644
--- a/tex/context/base/mkiv/font-cff.lua
+++ b/tex/context/base/mkiv/font-cff.lua
@@ -1931,7 +1931,8 @@ local result = { }
-- cff 1: (when cff2 strip them)
elseif t == 1 or t == 3 or t == 18 or operation == 23 then
p_getstem() -- at the start
- if true then
+ if version == "cff" then
+-- if true then
if top > 0 then
for i=1,top do
r = r + 1 ; result[r] = encode[stack[i]]
@@ -1946,6 +1947,7 @@ local result = { }
-- cff 1: (when cff2 strip them)
elseif t == 19 or t == 20 then
local s = p_getmask() or 0 -- after the stems
+-- if version == "cff" then
if true then
if top > 0 then
for i=1,top do
@@ -1969,7 +1971,8 @@ local result = { }
i = i + 1
elseif t == 13 then
hsbw()
- if version == "cff" then
+-- if version == "cff" then
+ if true then
-- we do a moveto over lsb
r = r + 1 ; result[r] = encode[lsb]
r = r + 1 ; result[r] = chars[22]