Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread luigi scarso
On Thu, Nov 22, 2018 at 4:15 PM Ulrike Fischer wrote: > Am Thu, 22 Nov 2018 14:46:57 +0100 schrieb luigi scarso: > > >> > >> A palette entry index value of 0x is a special case indicating > >> that the text foreground color (defined by a higher-level client) > >> should be used and

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread Ulrike Fischer
Am Thu, 22 Nov 2018 14:46:57 +0100 schrieb luigi scarso: >> >> A palette entry index value of 0x is a special case indicating >> that the text foreground color (defined by a higher-level client) >> should be used and shall not be treated as actual index into CPAL >> ColorRecord array. >>

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread Hans Hagen
On 11/22/2018 2:12 PM, Ulrike Fischer wrote: A palette entry index value of 0x is a special case indicating that the text foreground color (defined by a higher-level client) should be used and shall not be treated as actual index into CPAL ColorRecord array. unrelated ... 0x

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread luigi scarso
On Thu, Nov 22, 2018 at 2:13 PM Ulrike Fischer wrote: > Am Thu, 22 Nov 2018 13:50:08 +0100 schrieb Hans Hagen: > > >> When I use this definitions I still get partly blue glyphs with this > >> preamble. Don't you get them? > > > well, i don't know what to expect > > Khaled mentioned this link

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread Ulrike Fischer
Am Thu, 22 Nov 2018 13:50:08 +0100 schrieb Hans Hagen: >> When I use this definitions I still get partly blue glyphs with this >> preamble. Don't you get them? > well, i don't know what to expect Khaled mentioned this link which shows how (harfbuzz-based) browsers like firefox interpret the

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread Hans Hagen
On 11/21/2018 9:04 PM, Ulrike Fischer wrote: Am Wed, 21 Nov 2018 20:37:29 +0100 schrieb luigi scarso: \definefontfeature[quran][mode=node,language=dflt,script=arab, init=yes,medi=yes,fina=yes,isol=yes, ccmp=yes,locl=yes,calt=yes, liga=yes,clig=yes,dlig=yes,rlig=yes,

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-21 Thread Ulrike Fischer
Am Wed, 21 Nov 2018 20:37:29 +0100 schrieb luigi scarso: > \definefontfeature[quran][mode=node,language=dflt,script=arab, > init=yes,medi=yes,fina=yes,isol=yes, >ccmp=yes,locl=yes,calt=yes, >liga=yes,clig=yes,dlig=yes,rlig=yes, >mark=yes,mkmk=yes,kern=yes,curs=yes, >

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-21 Thread luigi scarso
On Wed, Nov 21, 2018 at 7:04 PM Ulrike Fischer wrote: > Am Wed, 21 Nov 2018 18:46:44 +0100 schrieb Hans Hagen: > > > I'm not sure what yoy mwan with 0x as that's intercepted > > With this example (font from > https://github.com/alif-type/amiri/blob/master/AmiriQuranColored.ttf) > > a part of

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-21 Thread Ulrike Fischer
Am Wed, 21 Nov 2018 18:46:44 +0100 schrieb Hans Hagen: > I'm not sure what yoy mwan with 0x as that's intercepted With this example (font from https://github.com/alif-type/amiri/blob/master/AmiriQuranColored.ttf) a part of the glyphs are in blue. Khaled claims that this is wrong, that the

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-21 Thread Hans Hagen
On 11/21/2018 1:37 PM, Ulrike Fischer wrote: Am Wed, 21 Nov 2018 13:01:47 +0100 schrieb Ulrike Fischer: Khaled wrote that "is that [the code] uses the last palette color A bit too much deleted. It should say "it is a bug that ..." in context use the context interface (which uses a

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-21 Thread Ulrike Fischer
Am Wed, 21 Nov 2018 13:01:47 +0100 schrieb Ulrike Fischer: > Khaled wrote that "is that [the code] uses the last palette color A bit too much deleted. It should say "it is a bug that ..." -- Ulrike Fischer http://www.troubleshooting-tex.de/

[NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-21 Thread Ulrike Fischer
I tried to register a demo colorpalette: \starttext \directlua{fonts.handlers.otf.registerpalette("demo", { { g=1 }, %accents { b=1 }, %06dd { r=0.5, g=0.5, b=0.5 }, %unused? { g = 0.5, b=0, r=1 }, } )} blub \stoptext and got the error font-ocl.lua:76: attempt to call a nil value (field