我正在尝试在我的网站上使用自定义字体,该字体不会在iOS上显示,但会在所有其他浏览器上显示。
我尝试向其中添加正确的(format)
类型,但仍然无法正常工作
@font-face {
font-family: "Gidole"
src: url('fonts/Gidole-Regular.otf')
src: url('fonts/Gidole-Regular.eot') format('embedded-opentype'),
url('fonts/Gidole-Regular.ttf') format('truetype'),
url('fonts/Gidole-Regular.woff') format('woff'),
url('fonts/Gidole-Regular.woff2') format('woff2'),
url('fonts/Gidole-Regular.svg') format('svg');
}
我希望字体在iOS上正确显示,但它仍显示默认字体。