[NTG-context] copyfont and font features

Ulrike Fischer news3 at nililand.de
Wed Nov 16 18:17:24 CET 2016


This comes from a tex.sx question
https://tex.stackexchange.com/questions/338942/cancellation-of-color-fontspec-font-settings-while-defining-microtype-context/

The primitive \copyfont looses with open type fonts all font
features:

\starttext

\font\testa={Arial:mode=node;script=latn;language=DFLT;+tlig;+smcp;}
{\testa abc -- }  normal

\copyfont\testb\testa

{\testb abc -- } normal

\stoptext

As one can see \testb has neither ligatures nor it is in small caps.
Is this a bug or to be expected?

If the second: Is there in the fontloader a replacement which can be
used to copy fonts?


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



More information about the ntg-context mailing list