On 5/14/2021 1:49 AM, Jairo A. del Rio wrote:
In ConTeXt LMTX this works just fine (try mtxrun --generate and context --make first):

\definefontfeature[Emoji][default][sbix=yes]

\starttext

\definedfont[file:NotoColorEmoji.ttf*Emoji]\char"1F91D

\stoptext

However, when one tries to convert it with ImageMagick the following happens:

    **** Error reading a content stream. The page may be incomplete.
                Output may be incorrect.
    **** Error: Ignoring spurious ET operator.
                Output may be incorrect.
    **** Error: File did not complete the page properly and may be damaged.
                Output may be incorrect.


Only SVG fonts don't trigger this error in LMTX.


I confirm ConTeXt MkIV is having issues with emoji fonts. It seems that GraphicsMagick is not properly generating images as it complains about an improper header.
my experiences with graphicmagick and such conversions are bad, one can also get pdf with missing objects and so ... when you have a version that works, best stick to that before updating (or keep it around)

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to