From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64830 Path: news.gmane.org!not-for-mail From: Achim Jander Newsgroups: gmane.comp.tex.context Subject: Arrows in symbol font Date: Tue, 28 Dec 2010 16:13:54 +0100 Message-ID: <4D19FEB2.40209@jander.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1293549286 5294 80.91.229.12 (28 Dec 2010 15:14:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 28 Dec 2010 15:14:46 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 28 16:14:42 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PXbG5-0006Sk-Vl for gctc-ntg-context-518@m.gmane.org; Tue, 28 Dec 2010 16:14:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 45597CA932; Tue, 28 Dec 2010 16:14:41 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id f4hCY2PHySQS; Tue, 28 Dec 2010 16:14:38 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 60BF0CA924; Tue, 28 Dec 2010 16:14:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 68697CA924 for ; Tue, 28 Dec 2010 16:14:37 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id g2et44fjilra for ; Tue, 28 Dec 2010 16:14:26 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 2A8E7CA91D for ; Tue, 28 Dec 2010 16:14:26 +0100 (CET) Original-Received: from p15188155.pureserver.info (p15188155.pureserver.info [212.227.83.96]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oBSFEPw9011493 for ; Tue, 28 Dec 2010 16:14:25 +0100 Original-Received: (qmail 21241 invoked from network); 28 Dec 2010 16:14:24 +0100 Original-Received: from krlh-5f724a4a.pool.mediaways.net (HELO ?192.168.1.43?) (95.114.74.74) by p15188155.pureserver.info with SMTP; 28 Dec 2010 16:14:24 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1.16) Gecko/20101125 Thunderbird/3.0.11 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.83.96; country=DE; region=01; city=Karlsruhe; latitude=49.0047; longitude=8.3858; http://maps.google.com/maps?q=49.0047,8.3858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eDMDep8a - b255032204d7 - 20101228 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:64830 Archived-At: 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): and a type 4 cmap which has 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 ___________________________________________________________________________________