@font-face not embedding on mobile Safari (iPhone/iPad)

后端 未结 6 1390
不知归路
不知归路 2020-12-09 10:48

I\'m embedding fonts on a mobile website using @font-face (css from FontSquirrel). When I preview in desktop Safari or Chrome, the fonts embed fine, but they do

6条回答
  •  情歌与酒
    2020-12-09 10:59

    This has already been solved, but I had a similar problem here:

    @font-face not working in mobile Webkit

    For me, all the IDs on the SVG fonts were correct; it was the FontSquirrel syntax that was wonky. Using the updated FontSpring bulletproof syntax fixed the issue for me, and seems to work entirely cross-browser.

提交回复
热议问题