summaryrefslogtreecommitdiff
path: root/tex/context/base/font-otp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/font-otp.lua')
-rw-r--r--tex/context/base/font-otp.lua23
1 files changed, 23 insertions, 0 deletions
diff --git a/tex/context/base/font-otp.lua b/tex/context/base/font-otp.lua
index b02ae97ac..217bb7535 100644
--- a/tex/context/base/font-otp.lua
+++ b/tex/context/base/font-otp.lua
@@ -354,6 +354,12 @@ local function packdata(data)
end
end
end
+ local altuni = description.altuni
+ if altuni then
+ for i=1,#altuni do
+ altuni[i] = pack_flat(altuni[i])
+ end
+ end
end
local lookups = data.lookups
if lookups then
@@ -459,6 +465,10 @@ local function packdata(data)
mlookups[tag] = pack_normal(mlookup)
end
end
+ local altuni = description.altuni
+ if altuni then
+ description.altuni = pack_normal(altuni)
+ end
end
local lookups = data.lookups
if lookups then
@@ -656,6 +666,19 @@ local function unpackdata(data)
end
end
end
+ local altuni = description.altuni
+ if altuni then
+ local altuni = tables[altuni]
+ if altuni then
+ description.altuni = altuni
+ for i=1,#altuni do
+ local tv = tables[altuni[i]]
+ if tv then
+ altuni[i] = tv
+ end
+ end
+ end
+ end
end
local lookups = data.lookups
if lookups then