From adc43c3c243ed95215af6fe02d71e393c178da23 Mon Sep 17 00:00:00 2001 From: Context Git Mirror Bot Date: Thu, 19 Nov 2015 20:15:06 +0100 Subject: 2015-11-19 19:15:00 --- tex/context/base/font-ctx.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tex/context/base/font-ctx.lua') diff --git a/tex/context/base/font-ctx.lua b/tex/context/base/font-ctx.lua index a20174ef3..05a4fca3b 100644 --- a/tex/context/base/font-ctx.lua +++ b/tex/context/base/font-ctx.lua @@ -1961,9 +1961,11 @@ dimenfactors.pct = nil to scale virtual characters.

--ldx]]-- +-- in versions > 0.82 0 is supported as equivalent of self + function constructors.checkvirtualids(tfmdata) -- begin of experiment: we can use { "slot", 0, number } in virtual fonts - local fonts = tfmdata.fonts + local fonts = tfmdata.fonts local selfid = font.nextid() if fonts and #fonts > 0 then for i=1,#fonts do @@ -2212,7 +2214,7 @@ do local copy_node = nuts.copy local kern = nuts.pool.register(nuts.pool.kern()) - setattr(kern,attributes.private('fontkern'),1) -- we can have several, attributes are shared + setattr(kern,attributes.private('fontkern'),1) nodes.injections.installnewkern(function(k) local c = copy_node(kern) -- cgit v1.2.3