Adding simplistic font rendering for HTML5 and Flash