drawbuffer: Parse utf-8 when measuring text