On 10/27/2019 6:04 PM, Ulrike Fischer wrote:
cmunrm.otf uses "unstandard" names for the glyphs of the old style numbers, e.g. oneoldstyle.
This means that the glyphs don't get a tounicode mapping:
\starttext \pdfvariable compresslevel=0 \font\test={file:cmunrm.otf:mode=node;script=latn;language=DFLT;+onum;}\test abc123 \stoptext
gives
6 beginbfchar <0042> <0061> <0043> <0062> <0044> <0063> <0874> <FFFD> <0875> <FFFD> <0876> <FFFD> endbfchar
The names are in glyphtounicode.tex, which contains e.g. \pdfglyphtounicode{oneoldstyle}{0031}
So it doesn't looks as if they were completly unusual. Would it be possible to add tounicode mappings for these name? I saw the message on the list. It has to do with the fact that the font has these glyphs in the private unicode area. There were two ways to deal with this case so I added both catches. No beta posted yet.
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 -----------------------------------------------------------------