From 18b22ccfe77b0f996e3c78c16126dc00cebf7e2d Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Sat, 6 Oct 2012 15:31:00 +0200 Subject: beta 2012.10.06 15:31 --- tex/context/base/context-version.pdf | Bin 4152 -> 4149 bytes tex/context/base/context-version.png | Bin 105960 -> 105868 bytes tex/context/base/font-otn.lua | 18 ++++++++++-------- tex/context/base/status-files.pdf | Bin 24592 -> 24591 bytes tex/context/base/status-lua.pdf | Bin 195299 -> 195300 bytes tex/generic/context/luatex/luatex-fonts-merged.lua | 20 +++++++++++--------- 6 files changed, 21 insertions(+), 17 deletions(-) (limited to 'tex') diff --git a/tex/context/base/context-version.pdf b/tex/context/base/context-version.pdf index 837960a4b..f170d90ea 100644 Binary files a/tex/context/base/context-version.pdf and b/tex/context/base/context-version.pdf differ diff --git a/tex/context/base/context-version.png b/tex/context/base/context-version.png index 6c3ff5231..3f0623a33 100644 Binary files a/tex/context/base/context-version.png and b/tex/context/base/context-version.png differ diff --git a/tex/context/base/font-otn.lua b/tex/context/base/font-otn.lua index 51b6e03a4..6ea35f139 100644 --- a/tex/context/base/font-otn.lua +++ b/tex/context/base/font-otn.lua @@ -387,16 +387,18 @@ end -- iteration this becomes a KAF-LAM-ALEF with a SHADDA on the second and a FATHA on the -- third component. -local function getcomponentindex(start) -- so we cannot remove components ! - local i = 0 - if start.subtype == ligature_code then - local comp = start.components - while comp do - i = i + getcomponentindex(comp) - comp = comp.next +local function getcomponentindex(start) + if start.id ~= glyph_code then + return 0 + elseif start.subtype == ligature_code then + local i = 0 + local components = start.components + while components do + i = i + getcomponentindex(components) + components = components.next end return i - elseif not marks[start.char] then + elseif not marks[start.char] then return 1 else return 0 diff --git a/tex/context/base/status-files.pdf b/tex/context/base/status-files.pdf index fa2ac8f1b..4b9d11360 100644 Binary files a/tex/context/base/status-files.pdf and b/tex/context/base/status-files.pdf differ diff --git a/tex/context/base/status-lua.pdf b/tex/context/base/status-lua.pdf index fefabbcc8..56417a2f8 100644 Binary files a/tex/context/base/status-lua.pdf and b/tex/context/base/status-lua.pdf differ diff --git a/tex/generic/context/luatex/luatex-fonts-merged.lua b/tex/generic/context/luatex/luatex-fonts-merged.lua index 37b52d9fc..c2719a495 100644 --- a/tex/generic/context/luatex/luatex-fonts-merged.lua +++ b/tex/generic/context/luatex/luatex-fonts-merged.lua @@ -1,6 +1,6 @@ -- merged file : luatex-fonts-merged.lua -- parent file : luatex-fonts.lua --- merge date : 10/06/12 14:55:25 +-- merge date : 10/06/12 15:31:31 do -- begin closure to overcome local limits and interference @@ -9206,16 +9206,18 @@ end -- iteration this becomes a KAF-LAM-ALEF with a SHADDA on the second and a FATHA on the -- third component. -local function getcomponentindex(start) -- so we cannot remove components ! - local i = 0 - if start.subtype == ligature_code then - local comp = start.components - while comp do - i = i + getcomponentindex(comp) - comp = comp.next +local function getcomponentindex(start) + if start.id ~= glyph_code then + return 0 + elseif start.subtype == ligature_code then + local i = 0 + local components = start.components + while components do + i = i + getcomponentindex(components) + components = components.next end return i - elseif not marks[start.char] then + elseif not marks[start.char] then return 1 else return 0 -- cgit v1.2.3