fixes drawStringAsShapes() and getStringAsPoints() 

for extended utf-8 characters.

closes #2093