What are cons to use Cufon? Is sIFR still good option? @font-face doesn't make the letters smooth like they look with cufon or sIFR

后端 未结 3 1885
我寻月下人不归
我寻月下人不归 2021-01-19 17:04

What are cons to use Cufon? in term of Web Standards, Accessibility and Performance.

I think if we need smooth text than sIFR is still best with screen reader compat

3条回答
  •  被撕碎了的回忆
    2021-01-19 17:12

    The best solution is to use @font-face. There are already fail-safe solutions for @font-face. sIFR and Cufon:

    1. make it hard or even not possible to select/copy text
    2. stop working when js is disabled

    Look at the Fontsquirrel's font-face generator for a fail-safe solution.

    The jagged corners are mostly caused by the operating systems font API. If you really do need to have smooth cornered fonts, instead of relying on js/flash, I'd suggest generating images on server side and with proper alt tags.

提交回复
热议问题