>y guess is there should be a fontmap somewhere that >maps latex symbols to the glyphs to be printed and >this info should be read sometime after the call to >Cursor::macroModeClose(). Latex has an elaborate >font-map setup for this.
Have a look at lib\symbols. There you see, for example: # # symbols generated from fontmath.ltx # #symbol font charid charid-in-fallback-Xsymbol-font alpha cmm 174 97 mathord x And GuiFontLoader.cpp. Vincent