ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ulrike Fischer <news3@nililand.de>
To: ntg-context@ntg.nl
Subject: cm unicode font: missing tounicode of oldstyle nums
Date: Sun, 27 Oct 2019 18:04:25 +0100	[thread overview]
Message-ID: <ub4diqbty3la.dlg@nililand.de> (raw)

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/

___________________________________________________________________________________
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	other threads:[~2019-10-27 17:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-27 17:04 Ulrike Fischer [this message]
2019-10-27 17:46 ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ub4diqbty3la.dlg@nililand.de \
    --to=news3@nililand.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).