Hi Bruno, when I test it with the Amiri font I get the same result, and Amiri contains a glyph for the ^^^^200d character.
(I would have prepared a minimal plain TeX example with Amiri but I don't know neither how to load an OpenType font in plain TeX nor how to change writing direction) > Le 25 mars 2021 à 10:58, Bruno Le Floch <blfla...@gmail.com> a écrit : > > Hello Yannis, > > On 3/25/21 10:41 AM, Yannis Haralambous wrote: >> This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2021) (preloaded >> format=plain) >> restricted \write18 enabled. >> (./test.tex >> Underfull \hbox (badness 10000) in paragraph at lines 6--6 >> *[] \tenrm blabla* >> [1] ) >> (see the transcript file for additional information) >> Output written on test.xdv (1 page, 236 bytes). >> Transcript written on test.log. >> >> which means that the pattern has not been applied. > > When running essentially your code, I get a missing character message. So the > issue here is simply that the box ends up reading "blabla", so the patterns > involving ^^^^200D are not relevant. Naively I would expect the pattern to > work > correctly if your font has this character. > > Missing character: There is no <U+200D> in font cmr10! > > Best regards, > Bruno <http://www.imt-atlantique.fr/> Yannis HARALAMBOUS Professor Computer Science Department UMR CNRS 6285 Lab-STICC <http://perso.telecom-bretagne.eu/yannisharalambous/> <https://twitter.com/y_haralambous> <https://www.linkedin.com/in/yannis-haralambous-5529073?trk=hp-identity-name>Technopôle Brest-Iroise CS 83818 29238 Brest Cedex 3, France Une école de l'IMT <http://www.imt.fr/> ...il n'était pas loin de se comparer à celui qui, jadis, avait donné le feu aux humains et auquel d'ailleurs il trouverait un jour un nom, il se le promettait. (Pierre Davy)