summaryrefslogtreecommitdiff
path: root/otfl-font-xtx.lua
diff options
context:
space:
mode:
Diffstat (limited to 'otfl-font-xtx.lua')
-rw-r--r--otfl-font-xtx.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/otfl-font-xtx.lua b/otfl-font-xtx.lua
index c53712f..20a5df9 100644
--- a/otfl-font-xtx.lua
+++ b/otfl-font-xtx.lua
@@ -71,6 +71,8 @@ local function isstyle(s)
list.style = "italic"
elseif v == "bi" or v == "ib" then
list.style = "bolditalic"
+ elseif v:find("^s=") then
+ list.optsize = v:split("=")[2]
end
end
end
@@ -113,6 +115,10 @@ function fonts.define.specify.colonized(specification) -- xetex mode
specification.style = list.style
list.style = nil
end
+ if list.optsize then
+ specification.optsize = list.optsize
+ list.optsize = nil
+ end
if list.name then
specification.name = list.name
list.name = nil