summaryrefslogtreecommitdiff
path: root/tex/context/base/font-fbk.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2010-10-22 01:00:14 +0300
committerMarius <mariausol@gmail.com>2010-10-22 01:00:14 +0300
commit7dda6d27d5c9957a51dbad4fca7c01b9261ec4d2 (patch)
tree7a25708509d339bed177b78359de842fa2e16908 /tex/context/base/font-fbk.lua
parent22239196756b1e1afff74003befd86150ab8013b (diff)
downloadcontext-7dda6d27d5c9957a51dbad4fca7c01b9261ec4d2.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