diff options
Diffstat (limited to 'tex/context/base/s-fnt-31.mkiv')
-rw-r--r-- | tex/context/base/s-fnt-31.mkiv | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/tex/context/base/s-fnt-31.mkiv b/tex/context/base/s-fnt-31.mkiv index 88b5358c2..323d7c9a7 100644 --- a/tex/context/base/s-fnt-31.mkiv +++ b/tex/context/base/s-fnt-31.mkiv @@ -45,18 +45,25 @@ function fonts.tracers.coverage(fontfiles,pattern) -- todo: patterns names[i] = fontname end + local t = { } + context.starttabulate {"|Tr" .. string.rep("|l",#names) .. "|" } - for i=1,#names do + for i=1,#fontfiles do + local file = fontfiles[i] + t[#t+1] = i .. "=" .. file context.NC() context(i) context.NC() - -- context.getvalue(names[i]) - context.type(fontfiles[i]) + context.type(file) context.NC() context.NR() end context.stoptabulate() + context.setupfootertexts { + table.concat(t," ") + } + context.starttabulate {"|Tl" .. string.rep("|c",#names) .. "|Tl|" } context.NC() context.type("unicode") @@ -91,10 +98,13 @@ end \stopluacode -\doifnotmode{demo}{\endinput} +\continueifinputfile{s-fnt-31.mkiv} % \doifnotmode{demo}{\endinput} \setupbodyfont[10pt] +\setupfootertexts + [style=\ttx] + \setuplayout [backspace=1cm, topspace=1cm, @@ -150,15 +160,18 @@ end % } % \stopluacode -\loadfontgoodies[px-math] -\loadfontgoodies[lm-math] +% \loadfontgoodies[px-math] +% \loadfontgoodies[lm-math] \startluacode fonts.tracers.coverage { "cambria.ttc(Cambria Math)", "xits-math.otf", - "LMMath10-Regular@lmroman10-math", - "pxmath@px-math", + "lmmath-regular", + -- "LMMath10-Regular@lmroman10-math", + -- "pxmath@px-math", + "lucida-math.otf", + "lucida-math-demi.otf", -- "LinLibertine_Re-4.7.5.otf", } \stopluacode |