ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* conflict between colored emoji and save/restore
@ 2020-05-06 13:11 Ulrike Fischer
  0 siblings, 0 replies; only message in thread
From: Ulrike Fischer @ 2020-05-06 13:11 UTC (permalink / raw)
  To: ntg-context

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/

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-06 13:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-06 13:11 conflict between colored emoji and save/restore Ulrike Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).