Some more work on the lexer, it can match syntax strings now for drawing the font then replacing e.g. the syntax of "integral" by its drawing. The latest source, v0.1.9 is here :
sf.net/projects/mathapp/files/
sf.net/projects/mathapp/files/