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 -----------------------------------------------------------------