[NTG-context] conflict between colored emoji and save/restore
Ulrike Fischer
news3 at nililand.de
Wed May 6 15:11:24 CEST 2020
When using a colored emoji font directly after a save/restore pair
in context mkiv following text gets lost:
\pdfvariable compresslevel=0
\font\fontB={file:seguiemj.ttf:mode=node;+colr;}
\starttext
\pdfextension save\relax
\pdfextension restore\relax
{\fontB \char"2603} xxxx %xxxx is not there
\stoptext
The problem is that the coordinate transformation from the restore
ends inside the emoji code:
/Span << /ActualText <feff2603> >> BDC
q
0.000 g
1 0 0 1 -70.867 -714.33967 cm %<----
BT
(Such an save/restore part is e.g. inserted with a scaled graphics:
\externalfigure[tinypicture.pdf][width=1cm])
--
Ulrike Fischer
http://www.troubleshooting-tex.de/
More information about the ntg-context
mailing list