summaryrefslogtreecommitdiff
path: root/otfl-fonts-ext.lua
diff options
context:
space:
mode:
Diffstat (limited to 'otfl-fonts-ext.lua')
-rw-r--r--otfl-fonts-ext.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/otfl-fonts-ext.lua b/otfl-fonts-ext.lua
index 951afcc..d8884cc 100644
--- a/otfl-fonts-ext.lua
+++ b/otfl-fonts-ext.lua
@@ -29,7 +29,7 @@ local function initializeitlc(tfmdata,value)
d.italic = it
end
end
- tfmdata.properties.italic_correction = true
+ tfmdata.properties.hasitalics = true
end
end
end
@@ -54,7 +54,7 @@ local function initializeslant(tfmdata,value)
elseif value < -1 then
value = -1
end
- tfmdata.parameters.slant_factor = value
+ tfmdata.parameters.slantfactor = value
end
otffeatures.register {
@@ -75,7 +75,7 @@ local function initializeextend(tfmdata,value)
elseif value < -10 then
value = -10
end
- tfmdata.parameters.extend_factor = value
+ tfmdata.parameters.extendfactor = value
end
otffeatures.register {