27 Oct
2019
27 Oct
'19
5:04 p.m.
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? And how can one declare mappings for really unusual names? -- Ulrike Fischer https://www.troubleshooting-tex.de/