【发布时间】:2019-09-16 01:11:22
【问题描述】:
在通过 maven 创建的 Spring-boot Java 项目中尝试将 Glyphicons 与 Algular 一起使用时,图标不显示,并且可以在控制台中看到以下错误:
Failed to decode downloaded font: <URL> ..
OTS parsing error: Failed to convert WOFF 2.0 font to SFNT
OTS parsing error: incorrect file size in WOFF header
OTS parsing error: incorrect entrySelector for table directory
这里有一些解决方案,但没有一个考虑 Spring-Boot Maven 场景。
【问题讨论】:
-
也检查一下 - 不同的过滤排除配置 - github.com/google/material-design-icons/issues/908
标签: angularjs maven spring-boot glyphicons