font-spider icon indicating copy to clipboard operation
font-spider copied to clipboard

check sum out of bound

Open Greendelwold opened this issue 4 years ago • 4 comments

字體

@font-face {
  font-family: 'f';
  src: url('../fonts/f webfont.eot');
  src: url('../fonts/f webfont.eot?#font-spider') format('embedded-opentype'), 
       url('../fonts/f webfont.woff2') format('woff2'), 
       url('../fonts/f webfont.woff') format('woff'), 
       url('../fonts/f webfont.ttf') format('truetype'), 
       url('../fonts/f webfont.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}
.test {
  font-size: 5vw;
  font-family: f;  
}

run font-spider ./*.html后報錯 image

Greendelwold avatar Jul 26 '19 09:07 Greendelwold

我也碰到了,是权限问题 mac上执行 sudo chmod -R 777 文件夹

Klchan-me avatar Feb 06 '20 03:02 Klchan-me

我也碰到了,是权限问题mac上执行sudo chmod -R 777文件夹

为什么我输入执行之后,依旧报错呢?

hsqblog avatar Mar 14 '20 05:03 hsqblog

我也遇到这个问题,你们怎么解决的呢

mvpyb avatar Aug 25 '20 10:08 mvpyb

https://github.com/aui/font-spider/blob/c1547c4da8c38e0625145be5c4826b444ce28997/src/compressor/index.js#L141

-            text: webFont.chars || '#' // 传入任意字符避免 [email protected] BUG
+            text: webFont.chars + '#' || '#' // 传入任意字符避免 [email protected] BUG

这样改一下,应该就可以了

suziwen avatar Dec 22 '20 02:12 suziwen