be smarter about handling wide characters in the canvas