Support UTF8 text in Graphic
Some changes in code