Correct measureText

set `font` of `__ctx` before `measureText`.