diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2015-03-18 08:08:59 +0100 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2015-03-18 08:08:59 +0100 |
commit | c4c4901173b0f4284534db1b6a3cfe865b05e15c (patch) | |
tree | f27d1546977bae78b33180192cc80eecc568bf4c /src/fontloader/misc/fontloader-font-tfm.lua | |
parent | b966e35c9df3cca2a25baaf68574d0b8d94eef39 (diff) | |
parent | f5dd1ec3517cda47e5a48221d4ff5cfced12ea06 (diff) | |
download | luaotfload-c4c4901173b0f4284534db1b6a3cfe865b05e15c.tar.gz |
Merge pull request #266 from phi-gamma/master
fontloader fallback
Diffstat (limited to 'src/fontloader/misc/fontloader-font-tfm.lua')
-rw-r--r-- | src/fontloader/misc/fontloader-font-tfm.lua | 6 |
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 |