diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2016-06-14 23:09:47 +0200 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2016-06-14 23:09:47 +0200 |
commit | ba744a4bce3ed03eefbf2b4746fa24e6d388d9ff (patch) | |
tree | 56cdd0a401ffbb99e8702f47a7865677b0971a8e /src/fontloader/misc/fontloader-font-otr.lua | |
parent | e32722cb62bfe37116d3d97659040463bc381719 (diff) | |
download | luaotfload-ba744a4bce3ed03eefbf2b4746fa24e6d388d9ff.tar.gz |
[fontloader] sync with Context as of 2016-06-14
Diffstat (limited to 'src/fontloader/misc/fontloader-font-otr.lua')
-rw-r--r-- | src/fontloader/misc/fontloader-font-otr.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/fontloader/misc/fontloader-font-otr.lua b/src/fontloader/misc/fontloader-font-otr.lua index e09e87d..7d0bf04 100644 --- a/src/fontloader/misc/fontloader-font-otr.lua +++ b/src/fontloader/misc/fontloader-font-otr.lua @@ -1659,19 +1659,19 @@ end -- Experimental (we need fonts). function readers.colr(f,fontdata,specification) - if specification.details then + if specification.glyphs then reportskippedtable("colr") end end function readers.cpal(f,fontdata,specification) - if specification.details then + if specification.glyphs then reportskippedtable("cpal") end end function readers.svg(f,fontdata,specification) - if specification.details then + if specification.glyphs then reportskippedtable("svg") end end @@ -2189,6 +2189,7 @@ function readers.loadfont(filename,n) properties = { hasitalics = fontdata.hasitalics or false, maxcolorclass = fontdata.maxcolorclass, + hascolor = fontdata.hascolor or false, }, resources = { -- filename = fontdata.filename, |