Draw font formatted string to an HTML5 canvas