diff options
author | Hans Hagen <pragma@wxs.nl> | 2019-09-27 20:24:34 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2019-09-27 20:24:34 +0200 |
commit | 0a5f59a9aa25b3de7e9659b39ad201aaf7eb5a67 (patch) | |
tree | a652bb083d6bc6a9b6309908dd5d09a539ac3859 /tex/context/base/mkiv/font-tpk.lua | |
parent | 58c7c9288160407c874930aac789ef6ef3faa6b5 (diff) | |
download | context-0a5f59a9aa25b3de7e9659b39ad201aaf7eb5a67.tar.gz |
2019-09-27 18:10:00
Diffstat (limited to 'tex/context/base/mkiv/font-tpk.lua')
-rw-r--r-- | tex/context/base/mkiv/font-tpk.lua | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/tex/context/base/mkiv/font-tpk.lua b/tex/context/base/mkiv/font-tpk.lua index 2a0810a6b..26e3fc0f0 100644 --- a/tex/context/base/mkiv/font-tpk.lua +++ b/tex/context/base/mkiv/font-tpk.lua @@ -269,18 +269,18 @@ do end local template = formatters [ [[ - %.3N 0 %i %i %i %i d1 - q - %i 0 0 %i %i %i cm - BI - /W %i - /H %i - /IM true - /BPC 1 - /D [1 0] - ID %t - EI - Q]] ] +%.3N 0 %i %i %i %i d1 +q +%i 0 0 %i %i %i cm +BI + /W %i + /H %i + /IM true + /BPC 1 + /D [1 0] +ID %t +EI +Q]] ] function readers.pktopdf(glyph,width) local xsize = glyph.xsize or 0 @@ -319,9 +319,7 @@ do r = r + 1 ; result[r] = char(extract(b,8,8)) end end - return - template(width,llx,lly,urx,ury,xdpi,ydpi,llx,lly,xsize,ysize,result), - llx, lly, urx, ury + return template(width,llx,lly,urx,ury,xdpi,ydpi,llx,lly,xsize,ysize,result) end function readers.loadpk(filename) |