[NTG-context] Missing font features in page header if \feature[-] is used in header text

Joseph Canedo josephcanedo at gmail.com
Sun Apr 14 18:20:41 CEST 2019


Dear list,

With latest ConTeXt beta (13-04-2019) I notice that font features seem ignored in page header rendering. (missing kern between Ps in « Psalme » and different Th in « Thimothee ».

Anything I am doing wrong ?
Rendering is fine if \headerok is used.
 
Any help would be appreciated.
 
Thanks
Best regards
 
Joseph

\definefontfeature[base][mode=node, liga=yes, dlig=yes, hlig=yes, kern=yes]
\definefontfeature[xvicentury][]
 
\definefontfamily[mainfont][serif][EBGaramond][features=base]
 
\setupbodyfont[mainfont, 9pt]
 
\showfontkerns
 
\def\wrongheader{First book {\feature[-][xvicentury]v} Psalme De David. Thimothee.} %% \feature[-] seems to cause problems in header
\def\headerok{First book v Psalme De David. Thimothee.}
 
\setupheadertexts[\wrongheader] %% kern/ligatures missing <---
% \setupheadertexts[\headerok] %% kern/ligatures ok <---
 
\starttext
 
\wrongheader %% all ok in main text
 
\headerok
 
\stoptext
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190414/fbc9309a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mwe_header.pdf
Type: application/pdf
Size: 8341 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190414/fbc9309a/attachment-0001.pdf>


More information about the ntg-context mailing list