getStringWidth() not working with chinese/japanese characters

probably related to: