diff options
author | Hans Hagen <pragma@wxs.nl> | 2017-03-02 23:00:09 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2017-03-02 23:00:09 +0100 |
commit | 8f5c555274eb48fcaaa3d7f340ee77710846fb7e (patch) | |
tree | 7e1802669127ba84d78ba62534f34e556b5c6e59 /tex/context/base/mkiv/font-otr.lua | |
parent | 6c9a5085dc2cee2c277d69d2dfcb397dab7aeb19 (diff) | |
download | context-8f5c555274eb48fcaaa3d7f340ee77710846fb7e.tar.gz |
2017-03-02 22:28:00
Diffstat (limited to 'tex/context/base/mkiv/font-otr.lua')
-rw-r--r-- | tex/context/base/mkiv/font-otr.lua | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/tex/context/base/mkiv/font-otr.lua b/tex/context/base/mkiv/font-otr.lua index 5d3609b35..43a059bb9 100644 --- a/tex/context/base/mkiv/font-otr.lua +++ b/tex/context/base/mkiv/font-otr.lua @@ -2047,11 +2047,11 @@ local function readdata(f,offset,specification) -- -- there are no proper fonts yet: -- - -- readtable("fvar",f,fontdata,specification) -- probably - -- readtable("hvar",f,fontdata,specification) - -- readtable("vvar",f,fontdata,specification) - -- readtable("mvar",f,fontdata,specification) -- probably - -- readtable("vorg",f,fontdata,specification) + readtable("fvar",f,fontdata,specification) -- probably + readtable("hvar",f,fontdata,specification) + readtable("vvar",f,fontdata,specification) + readtable("mvar",f,fontdata,specification) -- probably + readtable("vorg",f,fontdata,specification) -- fontdata.locations = nil fontdata.tables = nil @@ -2141,6 +2141,7 @@ local function loadfont(specification,n) glyphs = true, shapes = true, kerns = true, + variable = true, globalkerns = true, lookups = true, -- true or number: @@ -2207,6 +2208,7 @@ function readers.loadfont(filename,n) glyphs = true, shapes = false, lookups = true, + variable = true, -- kerns = true, -- globalkerns = true, -- only for testing, e.g. cambria has different gpos and kern subfont = n, @@ -2245,6 +2247,7 @@ function readers.loadfont(filename,n) mathconstants = fontdata.mathconstants, colorpalettes = fontdata.colorpalettes, svgshapes = fontdata.svgshapes, + variable = fontdata.variable, }, } end |