arcgis for js api导入eclipse svg文件错误

来源:互联网 发布:ubuntu 分区大小 编辑:程序博客网 时间:2024/06/15 22:33

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 起个名字

0 0
原创粉丝点击