Handle different font rendering in CocoonJS.