Closed weihao closed 2 years ago
这个是什么软件?你知道如何修复吗?
我跑了一下测试发现只有这个 error,不过我不清楚如何修复,因为 bdf 生成 ttf 是使用工具 https://github.com/kreativekorp/bitsnpicas 来完成的,请问这个 error 会对使用造成什么困扰吗?
这个错误会让浏览器报错,字体失效
OTS parsing error: OS/2: Failed to parse table
get a font that isn't broken. The error is pretty clear: you're trying to load a font that has errors in it, and browsers won't let you use a font with errors in it, because errors can be used for zero-day exploits that browser makers can't know about. Get a woff2 (or older woff) version of your font (yes, that different extension is an important difference), and things should work (because you won't be able to woff convert a broken font either). – Mike 'Pomax' Kamermans Dec 6 '18 at 23:10
是否和你转换字体的方式有关? 我在 https://zpix.vercel.app/ 上使用 https://github.com/SolidZORO/zpix-pixel-font/blob/master/website/zpix.woff2 似乎没发现这个问题。
确实,我用了demo里的字体显示正常了。
你是怎么转换的呢?
thx!
closing the issue.