How to use an emoji font on a website?

前端 未结 3 985
后悔当初
后悔当初 2021-02-14 11:50

I\'ve downloaded Google\'s \"Noto Color Emoji\" font, but can\'t get it to work. I have no problems with fonts like \"Noto Sans Regular\". But with the \"Noto Color Emoji\" font

3条回答
  •  灰色年华
    2021-02-14 11:59

    Color fonts are quite new with several competing standards which are still evolving and being implemented in common text libs (Opentype 1.8 has just been released with another color twist).

    They are unlikely to work today except in the very latest preview browsers, and even then the level of support is likely to vary and depend on the underlying system, since browsers do use the system text libs (with various levels of overrides).

    Older software will just not recognize the Opentype extensions added to make those fonts possible.

    Lastly, Noto Color Emoji is pretty much a prototype, it is likely early versions are not quite conformant to what has been standardised later, and even if they are, the way the color font standards are used is still likely to evolve as font producers and font consumers gain maturity on the subject.

提交回复
热议问题