On Sun, 13 Feb 2022, Jairo A. del Rio via ntg-context wrote: > Hi, list! I've tested the Harfbuzz plugin in ConTeXt and it works nicely > for most cases. However, color doesn't seem to work. Is this intended? I > know this plugin won't be supported, but I'll be fine with pointers to > solve this issue. Thanks in advance. > > \usemodule[fonts-plugins] > \definefontfeature[harf] > [mode=plug, > features=harfbuzz, > shaper=native] > %Just to test Harfbuzz is actually working > \definefontfeature[devaA][harf] > [language=dflt, > script=deva] > \definefontfeature[devaB][default] > [script=deva] > \definefontfeature[colored][harf] > [language=dflt,script=arab, > colr=yes] %doesn't do anything
Wouldn't you also have to enable the colored feature somewhere? > \starttext > {\righttoleft\definedfont[file:AmiriQuranColored.ttf*colored]\input{khatt-ar}} > > {\definedfont[file:Lohit-Devanagari.ttf*devaA]\getbuffer[hindi]} > \blank[line] > {\definedfont[file:Lohit-Devanagari.ttf*devaB]\getbuffer[hindi]} > \stoptext Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________