Hi,
Thanks, Willi, for the idea, but I cannot get it to work. My version of
the script
\starttext
\definefontsynonym[Wingdings][Wingdings.ttf]
\definesymbol[box][\getglyph{Wingdings}{\char113}]
%\def\Check%
% {{\tfa\symbol[box]}}
\symbol[box]
\stoptext
gives the following error (I have Wingdings.ttf in my Windows/Fonts folder):
!define font : forced type ttf of Wingdings not found
!define font : font with name Wingdings is not found
!define font : unknown font Wingdings, loading aborted
! Font \thedefinedfont=Wingdings.ttf at 12pt not loadable: metric data
not found or bad.
<to be read again>
\relax
\symbolicsizedfont ...cale \scaledfontsize \relax
\thedefinedfont
\getglyph #1#2->{\symbolicfont {#1}
\doifnumberelse {#2}\char \donothing #2}
\dodosymbol ...bol \csname \??ss :#1:#2\endcsname
\relax }\relax
\donormalsymbol ...bol \redosymbol \currentsymbol
\fi \fi
<to be read again>
\stoptext
l.8 \stoptext
?
The approach to using symbols could be done along the following line:
\definefontsynonym[Dingbats][uzdr]
\definesymbol[box][\getglyph{Dingbats}{\char113}]
\def\Check%
{{\tfa\symbol[box]}}
--
Best Regards,
Vyatcheslav Yatskovsky
___________________________________________________________________________________
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
___________________________________________________________________________________