ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Achim Jander <achim@jander.de>
To: ntg-context@ntg.nl
Subject: Arrows in symbol font
Date: Tue, 28 Dec 2010 16:13:54 +0100	[thread overview]
Message-ID: <4D19FEB2.40209@jander.de> (raw)

Hi all,
I tried to insert an right arrow in my text via
  \definefontsynonym[Symbol][symbol.ttf]
   \definesymbol[test_ae][\getglyph{Symbol}{\char"AE}]
\starttext
  Test ae: \symbol[test_ae]\par
  \stoptext
where AE was the codepoint Windows Char Table gave me. But in the pdf 
there was a Diamond-Sign, which should reside at codepoint A8. So I 
tested a litte more and finally found the arrow at
\definesymbol[rarr][\getglyph{Symbol}{\char"C6}]
On the arrow-side i am happy now, but confused how that happens. I did 
some analysis of the font, it includes 2 cmaps, one type 0 cmap which 
declares (converted to xml for analysis):
<map code="0xae" name="arrowright"/>
  and a type 4 cmap which has
<map code="0xf0ae" name="arrowright"/>
  So I would expect one of this codes to be working (in fact, both 
codepoints work eg in Word). But \char"AE gives the diamond and 
\char"F0AE gives nothing at all.
Can anyone give me some enlightment?

Thanks,
Achim
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


             reply	other threads:[~2010-12-28 15:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-28 15:13 Achim Jander [this message]
2010-12-28 17:32 ` Wolfgang Schuster
2010-12-29  7:23   ` Achim Jander

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=4D19FEB2.40209@jander.de \
    --to=achim@jander.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).