<font-face-src>

已弃用: 不再推荐使用该特性。虽然一些浏览器仍然支持它,但也许已从相关的 web 标准中移除,也许正准备移除或出于兼容性而保留。请尽量不要使用该特性,并更新现有的代码;参见本页面底部的兼容性表格以指导你作出决定。请注意,该特性随时可能无法正常工作。

<font-face-src> SVG 元素对应于 CSS src 规则中的 @font-face 描述符。它是 <font-face-name><font-face-uri> 的容器,前者指向本地安装的字体副本,后者则使用远程定义的字体。

使用上下文

类别字体元素
允许的内容一个或多个下列元素,顺序不限:
<font-face-name><font-face-uri>

DOM 接口

此元素实现了 SVGFontFaceSrcElement 接口。

规范

Specification
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
# FontFaceSrcElement

浏览器兼容性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
font-face-src
Deprecated

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
Deprecated. Not for use in new websites.

参见