diff options
Diffstat (limited to 'tex/context/base/font-fbk.lua')
-rw-r--r-- | tex/context/base/font-fbk.lua | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/tex/context/base/font-fbk.lua b/tex/context/base/font-fbk.lua index 22644f046..56f002558 100644 --- a/tex/context/base/font-fbk.lua +++ b/tex/context/base/font-fbk.lua @@ -89,21 +89,22 @@ local function composecharacters(tfmdata) end end local charsacc = characters[acc] - --~ local ca = charsacc.category - --~ if ca == "mn" then - --~ -- mark nonspacing - --~ elseif ca == "ms" then - --~ -- mark spacing combining - --~ elseif ca == "me" then - --~ -- mark enclosing - --~ else + -- local ca = charsacc.category + -- if ca == "mn" then + -- -- mark nonspacing + -- elseif ca == "ms" then + -- -- mark spacing combining + -- elseif ca == "me" then + -- -- mark enclosing + -- else if not charsacc then -- fallback accents acc = unicodefallbacks[acc] charsacc = acc and characters[acc] end local chr_t = cache[chr] if not chr_t then - chr_t = {"slot", 1, chr} + chr_t = { "slot", 1, chr } + -- will be: chr_t = { "slot", 0, chr } cache[chr] = chr_t end if charsacc then @@ -112,7 +113,8 @@ local function composecharacters(tfmdata) end local acc_t = cache[acc] if not acc_t then - acc_t = {"slot", 1, acc} + acc_t = { "slot", 1, acc } + -- will be: acc_t = { "slot", 0, acc } cache[acc] = acc_t end local cb = descriptions[chr].boundingbox @@ -224,7 +226,7 @@ local function composecharacters(tfmdata) end else if trace_combining_define then - report_combining("%C becomes simplfied %C",i,chr) + report_combining("%C becomes simplified %C",i,chr) end t.commands = { chr_t } -- else index mess end |