Finished character rendering part.

Tested with chinese and latin characters.