Hi,

In the perspective of fancyfying context I made an alternative rendering for missing glyphs (and in the process also made the visualization italic and bold aware which is of course feature creepifying).

\replacemissingcharacters

\startbuffer
    \startlines[before=,after=]
        \strut {\tf test \char 12345\ test \char 12346\ test}
        \strut {\bf test \char 12345\ test \char 12346\ test}
        \strut {\it test \char 12345\ test \char 12346\ test}
        \strut {\bi test \char 12345\ test \char 12346\ test}
        \strut {test ὀ ρ φ α ν ῖ ο ς test}
    \stoplines
\stopbuffer

\starttext
    \startTEXpage[offset=2pt,strut=no]
        \getbuffer
        \switchtobodyfont[pagella]
        \getbuffer
        \switchtobodyfont[dejavu]
        \getbuffer
    \stopTEXpage
\stoptext

This is dedicated to Jano who wants to be able to search and these are proper glyphs (so one can search, assuming a sane viewer).

It also fits the "new mechanisms should reduce code" bill,

Hans



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

Reply via email to