summaryrefslogtreecommitdiff
path: root/src/fontloader/misc/fontloader-font-tfm.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2015-03-11 07:46:44 +0100
committerPhilipp Gesang <phg@phi-gamma.net>2015-03-11 07:46:44 +0100
commitf070e8b5b193c0ce686d2e6448b53338a499aecf (patch)
tree637122d22c56e6ad3a0b3a1a47ae2a2b9c46126b /src/fontloader/misc/fontloader-font-tfm.lua
parent380989f0de1f2aa9a8d0a0856de1b1e09321d1e5 (diff)
downloadluaotfload-f070e8b5b193c0ce686d2e6448b53338a499aecf.tar.gz
[fontloader] sync with Context as of 2015-03-11
Diffstat (limited to 'src/fontloader/misc/fontloader-font-tfm.lua')
-rw-r--r--src/fontloader/misc/fontloader-font-tfm.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fontloader/misc/fontloader-font-tfm.lua b/src/fontloader/misc/fontloader-font-tfm.lua
index 49df94e..ab03788 100644
--- a/src/fontloader/misc/fontloader-font-tfm.lua
+++ b/src/fontloader/misc/fontloader-font-tfm.lua
@@ -72,15 +72,15 @@ local function read_from_tfm(specification)
properties.filename = specification.filename
properties.format = fonts.formats.tfm -- better than nothing
parameters.size = size
- shared.rawdata = { }
- shared.features = features
- shared.processes = next(features) and tfm.setfeatures(tfmdata,features) or nil
--
tfmdata.properties = properties
tfmdata.resources = resources
tfmdata.parameters = parameters
tfmdata.shared = shared
--
+ shared.rawdata = { }
+ shared.features = features
+ shared.processes = next(features) and tfm.setfeatures(tfmdata,features) or nil
parameters.slant = parameters.slant or parameters[1] or 0
parameters.space = parameters.space or parameters[2] or 0
parameters.space_stretch = parameters.space_stretch or parameters[3] or 0