RangeError: Offset is outside the bounds of the DataView
Closed this issue · 13 comments
c9n commented
c9n commented
Here u r. http://pan.baidu.com/s/1kT1PruB
c9n commented
text=`curl localhost:4000 | html-to-text` && fontmin -t '$text' ~/Downloads/test.ttf
# error read glyf coordinates:4477598
命令行碰到了上述错误,难道是字体解析的问题么
test.ttf 就是网盘里的字体
c9n commented
c9n commented
把 MAX_NUMBER_OF_COORDINATES
改大之后,使用命令行操作就会碰到如下提示了:
Offset is outside the bounds of the DataView
sweatyc commented
仍然存在這問題,但我可以先用fontmin CLI生成一個較大的字庫後,再拉到fontmin-app就可以了
> fontmin myfont.ttf > myfont-raw.ttf