summaryrefslogtreecommitdiff
path: root/tex/context/base/font-chk.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2013-07-12 20:20:46 +0300
committerMarius <mariausol@gmail.com>2013-07-12 20:20:46 +0300
commitb1d691809f3556327b45caf09444c50a77335b8f (patch)
tree8e85bb077d6680d1ea73a284a9ab3a0d26954628 /tex/context/base/font-chk.lua
parentb10c48bc0fe2e5be7305c0f31e41ea01f8596c30 (diff)
downloadcontext-b1d691809f3556327b45caf09444c50a77335b8f.tar.gz
beta 2013.07.12 19:10
Diffstat (limited to 'tex/context/base/font-chk.lua')
-rw-r--r--tex/context/base/font-chk.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/tex/context/base/font-chk.lua b/tex/context/base/font-chk.lua
index 467afae9b..6dc1667bb 100644
--- a/tex/context/base/font-chk.lua
+++ b/tex/context/base/font-chk.lua
@@ -68,7 +68,7 @@ local function onetimemessage(font,char,message) -- char == false returns table
if char == false then
return table.sortedkeys(category)
elseif not category[char] then
- report_fonts("char %U in font %a with id %a: %s",char,tfmdata.properties.fullname,font,message)
+ report_fonts("char %C in font %a with id %a: %s",char,tfmdata.properties.fullname,font,message)
category[char] = true
end
end
@@ -210,6 +210,7 @@ function checkers.missing(head)
local char = n.char
if font ~= lastfont then
characters = fontcharacters[font]
+ lastfont = font
end
if not characters[char] and is_character[chardata[char].category] then
if action == "remove" then
@@ -363,7 +364,7 @@ end)
-- for the moment here
-function helpers.expandglyph(characters,index,done)
+local function expandglyph(characters,index,done)
done = done or { }
if not done[index] then
local data = characters[index]
@@ -390,3 +391,5 @@ function helpers.expandglyph(characters,index,done)
end
end
end
+
+helpers.expandglyph = expandglyph