Workaround for text metrics in CocoonJS.

We can only estimate the descent and ascent of a font.