arcgis_js_api\library\3.12\3.12\esri\dijit\font\popup.svg 和
arcgis_js_api\library\3.12\3.12\esri\dijit\font\search.svg font-face错误
方法:
去svg网站找了个font-face的例子覆盖原来的
原内容分别是:
<font-face font-family="popup" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
<font-face font-family="fontello" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
修改后的内容分别是:
<font-face font-family="popup" font-weight="400" font-style="normal" units-per-em="1000" ascent="850" descent="-150">
<font-face-src>
<font-face-name name="Super Sans Bold"/>
</font-face-src>
</font-face>
<font-face font-family="fontello" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150">
<font-face-src>
<font-face-name name="Super Sans Bold"/>
</font-face-src>
</font-face>
Ok没错误了 添加这个东西没太搞清楚是干什么的,请大神帮忙解答。
我猜可能是给font-face 起个名字
解决ArcGIS JS API中font-face错误的方法
本文介绍了解决在使用ArcGIS JS API时遇到的font-face错误的步骤,包括从SVG网站获取示例并修改代码。通过替换原有font-face属性,问题得以解决。解释了修改内容背后的原理,并提供了可能的用途。
2354

被折叠的 条评论
为什么被折叠?



