[NTG-context] Ligature color is not reliable

Jan Tosovsky j.tosovsky at email.cz
Mon Apr 11 21:06:15 CEST 2016


On 2016-04-09 Jan Tosovsky wrote:
> 
> for an illustration I wanted to colorize all ligatures, but the
> following method is not reliable for three character ligatures 
> - which ends up black.
> 
> While tested with Palatino, it can be simulated even with 
> a default font (however there are missing ffi and ffl ligatures).
> 
> \definefontfamily[palatino][rm][Palatino Linotype]
> [features={default, quality}]
> \setupbodyfont[palatino]
> 
> \starttext
> Je{\red ff}, the o{\red ffi}ce on the {\red fi}rst {\red fl}oor 
> is o{\red ffl}ine.
> \stoptext
> 
> What is happening here?
> 

Any idea how to properly colorize those ligatures?

Thanks, Jan



More information about the ntg-context mailing list