Correct measureText

set `font` of `__ctx` before `measureText`.
Merge pull request #1 from KoKuToru/fix2

Correct measureText