diff options
author | Hans Hagen <pragma@wxs.nl> | 2022-01-15 12:52:31 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2022-01-15 12:52:31 +0100 |
commit | 4054d633b48d2d0d737a705259eff5a2c315f958 (patch) | |
tree | ec171a10b0e97d32fd4256bf303b35211976d78a /tex/context/base/mkiv/font-osd.lua | |
parent | 8e857efd2c61e8ffa4c991b5f1ddacfb4ebedc3c (diff) | |
download | context-4054d633b48d2d0d737a705259eff5a2c315f958.tar.gz |
2022-01-15 11:04:00
Diffstat (limited to 'tex/context/base/mkiv/font-osd.lua')
-rw-r--r-- | tex/context/base/mkiv/font-osd.lua | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/tex/context/base/mkiv/font-osd.lua b/tex/context/base/mkiv/font-osd.lua index 16228b88b..34c047290 100644 --- a/tex/context/base/mkiv/font-osd.lua +++ b/tex/context/base/mkiv/font-osd.lua @@ -55,6 +55,11 @@ if not modules then modules = { } end modules ['font-osd'] = { -- script devanag -- By now we have yet another incremental improved version. In the end I might -- rewrite the code. -- +-- At the start of 2022 KauĊika spent a lot of time testing combinations of fonts +-- and scripts and in the process some more tracing was added as well as a mixed +-- conjuncts options that can deal with fuzzy fonts. The machinery does what it has +-- to do but some fonts expect more magic to be applied. +-- -- Hans Hagen, PRAGMA-ADE, Hasselt NL -- Todo: @@ -2551,11 +2556,12 @@ local function analyze_next_chars_one(c,font,variant) -- skip one dependent vowe end local function analyze_next_chars_two(c,font) - local n = getnext(c) + local n, v + n = getnext(c) if not n then return c end - local v = ischar(n,font) + v = ischar(n,font) if v and nukta[v] then c = n end @@ -2617,11 +2623,11 @@ local function analyze_next_chars_two(c,font) -- This shouldn't happen I guess. return end - local n = getnext(c) + n = getnext(c) if not n then return c end - local v = ischar(n,font) + v = ischar(n,font) if not v then return c end @@ -3099,6 +3105,10 @@ local function method_two(head,font,attr) current = getnext(current) end + -- if languages.indic then + -- head = languages.indic.handler(head) + -- end + return head, done end |