Thanks Hans! That’s great indeed! I put on the wiki your code http://wiki.contextgarden.net/symbolset but could not explain where to find the information which tells us that the desired characters are \resolvedglyphdirect{bends}{n:char_7e} and \resolvedglyphdirect{bends}{n:char_7f}. Best regrads: OK
On 31 Aug 2017, at 21:12, Hans Hagen
wrote: On 8/31/2017 4:02 PM, Otared Kavian wrote:
Hi, Is there a way to get the dangerous bend sign (which exists in the Donald Knuth’s manfnt) in mkiv? The following (given by one of our gurus and dating back to sevral years) works fine in mkii, but I don’t know how to translate it in mkiv… %%% begin dangerous-bend.tex \loadmapfile [manfnt.map] \definefontsynonym [bends] [manfnt] \def\GetSym#1{\getglyph{bends}{\char#1}} \startsymbolset [Dangerous Bends] \definesymbol [dbend] [\GetSym{127}] \definesymbol [lhdbend] [\GetSym{126}] \stopsymbolset \setupsymbolset [Dangerous Bends] \setupbodyfont[manfnt] \starttext \symbol{dbend} \blank[big] \symbol{lhdbend} \stoptext %%% end dangerous-bend.tex Thanks in advance: OK \definefontsynonym [bends] [file:manfnt.afm]
\startsymbolset [Dangerous Bends] \definesymbol [dbend] [\resolvedglyphdirect{bends}{n:char_7e}] \definesymbol [lhdbend] [\resolvedglyphdirect{bends}{n:char_7f}] \stopsymbolset
\setupsymbolset [Dangerous Bends]
\starttext \symbol{dbend}\quad \symbol{lhdbend} \stoptext
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________