diff options
author | Norbert Preining <norbert@preining.info> | 2020-02-04 03:01:28 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-02-04 03:01:28 +0000 |
commit | fc358ce7332053945afe16ced2a271556cdccfb7 (patch) | |
tree | d723e8bbffaaffd6c8c6d51d46c54db70c61f67a /macros/luatex/generic/luaotfload/fontloader-font-ocl.lua | |
parent | 34897eebd22c3de968b64f09bb4a371d96cb0b89 (diff) |
CTAN sync 202002040301
Diffstat (limited to 'macros/luatex/generic/luaotfload/fontloader-font-ocl.lua')
-rw-r--r-- | macros/luatex/generic/luaotfload/fontloader-font-ocl.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/macros/luatex/generic/luaotfload/fontloader-font-ocl.lua b/macros/luatex/generic/luaotfload/fontloader-font-ocl.lua index 3752203fa2..77e1538f94 100644 --- a/macros/luatex/generic/luaotfload/fontloader-font-ocl.lua +++ b/macros/luatex/generic/luaotfload/fontloader-font-ocl.lua @@ -363,7 +363,6 @@ local function pdftovirtual(tfmdata,pdfshapes,kind) -- kind = png|svg local actuale = { "pdf", "page", e } -- saves tables -- local vfimage = lpdf and lpdf.vfimage or function(wd,ht,dp,data,name) - -- needed for generic (if used there at all) local name = storepdfdata(data) return { "image", { filename = name, width = wd, height = ht, depth = dp } } end @@ -439,6 +438,8 @@ do local xmlfirst = xml.first function otfsvg.filterglyph(entry,index) + -- we only support decompression in lmtx, so one needs to wipe the + -- cache when invalid xml is reported local svg = xmlconvert(entry.data) local root = svg and xmlfirst(svg,"/svg[@id='glyph"..index.."']") local data = root and tostring(root) @@ -483,7 +484,7 @@ do local pdfshapes = { } local inkscape = runner() if inkscape then - local indices = fonts.getindices(tfmdata) + -- local indices = fonts.getindices(tfmdata) local descriptions = tfmdata.descriptions local nofshapes = #svgshapes local f_svgfile = formatters["temp-otf-svg-shape-%i.svg"] |