summaryrefslogtreecommitdiff
path: root/tex/context/base/font-fbk.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2010-10-21 23:27:00 +0200
committerHans Hagen <pragma@wxs.nl>2010-10-21 23:27:00 +0200
commit67de987aa9e60bf263e0d1bc8a34a203e88a7447 (patch)
tree364615f963dc83246f6afd3209910300c2ccdfe3 /tex/context/base/font-fbk.lua
parent90d120bb6575d66730755fceaa113a14d16b8712 (diff)
downloadcontext-67de987aa9e60bf263e0d1bc8a34a203e88a7447.tar.gz
beta 2010.10.21 23:27
Diffstat (limited to 'tex/context/base/font-fbk.lua')
-rw-r--r--tex/context/base/font-fbk.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/font-fbk.lua b/tex/context/base/font-fbk.lua
index 5916319fc..b1556ecbf 100644
--- a/tex/context/base/font-fbk.lua
+++ b/tex/context/base/font-fbk.lua
@@ -76,7 +76,7 @@ function vf.aux.compose_characters(g) -- todo: scaling depends on call location
report_combining("using compose information from goodies file")
end
local done = false
- for i,c in next, characters.data do
+ for i,c in next, characters.data do -- loop over all characters ... not that efficient but a specials hash takes memory
if force_composed or not chars[i] then
local s = c.specials
if s and s[1] == 'char' then
@@ -84,7 +84,7 @@ function vf.aux.compose_characters(g) -- todo: scaling depends on call location
local charschr = chars[chr]
if charschr then
local cc = c.category
- if cc == 'll' or cc == 'lu' or cc == 'lt' then
+ if cc == 'll' or cc == 'lu' or cc == 'lt' then -- characters.is_letter[cc]
local acc = s[3]
local t = { }
for k, v in next, charschr do
@@ -101,7 +101,7 @@ function vf.aux.compose_characters(g) -- todo: scaling depends on call location
--~ elseif ca == "me" then
--~ -- mark enclosing
--~ else
- if not charsacc then
+ if not charsacc then -- fallback accents
acc = fallbacks[acc]
charsacc = acc and chars[acc]
end