[NTG-context] cm unicode font: missing tounicode of oldstyle nums

Ulrike Fischer news3 at nililand.de
Sun Oct 27 18:04:25 CET 2019


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/



More information about the ntg-context mailing list