Progressive enhancement for font-face detection