aui / font-spider

Smart webfont compression and format conversion tool
http://font-spider.org
MIT License
5.02k stars 402 forks source link

华康字体DFWaWaW5H处理失败 #51

Open jShi-git opened 9 years ago

jShi-git commented 9 years ago

Error: Repeat unicode, glyph index: 1 at Object.error.raise (/usr/local/lib/node_modules/font-spider/node_modules/fontmin/node_modules/fonteditor-core/node/ttf/error.js:28:13) at /usr/local/lib/node_modules/font-spider/node_modules/fontmin/node_modules/fonteditor-core/node/ttf/ttfwriter.js:93:27 at Array.forEach (native) at /usr/local/lib/node_modules/font-spider/node_modules/fontmin/node_modules/fonteditor-core/node/ttf/ttfwriter.js:91:26 at Array.forEach (native) at TTFWriter.resolve (/usr/local/lib/node_modules/font-spider/node_modules/fontmin/node_modules/fonteditor-core/node/ttf/ttfwriter.js:87:14) at TTFWriter.write (/usr/local/lib/node_modules/font-spider/node_modules/fontmin/node_modules/fonteditor-core/node/ttf/ttfwriter.js:217:13) at minifyTtf (/usr/local/lib/node_modules/font-spider/node_modules/fontmin/plugins/glyph.js:120:29) at Through2._transform (/usr/local/lib/node_modules/font-spider/node_modules/fontmin/plugins/glyph.js:171:27) at Through2.Transform._read (/usr/local/lib/node_modules/font-spider/node_modules/fontmin/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:184:10)

yvonne-z120 commented 6 years ago

求怎么解决

aui commented 6 years ago

font-spider 使用了 fontmin 进行字体压缩,它对一些厂商字体支持不好

yvonne-z120 commented 6 years ago

font-spider 使用了 fontmin 进行字体压缩,它对一些厂商字体支持不好 了解

freekoy commented 5 years ago

遇到相似的问题 不过字体是汉仪的

Error: Repeat unicode, glyph index: 1
    at Object.error.raise (C:\Users\Administrator\AppData\Roaming\npm\node_modules\font-spider\node_modules\fonteditor-core\ttf\error.js:28:13)
    at C:\Users\Administrator\AppData\Roaming\npm\node_modules\font-spider\node_modules\fonteditor-core\ttf\ttfwriter.js:93:27
    at Array.forEach (<anonymous>)
    at C:\Users\Administrator\AppData\Roaming\npm\node_modules\font-spider\node_modules\fonteditor-core\ttf\ttfwriter.js:91:26
    at Array.forEach (<anonymous>)
    at TTFWriter.resolve (C:\Users\Administrator\AppData\Roaming\npm\node_modules\font-spider\node_modules\fonteditor-core\ttf\ttfwriter.js:87:14)
    at TTFWriter.write (C:\Users\Administrator\AppData\Roaming\npm\node_modules\font-spider\node_modules\fonteditor-core\ttf\ttfwriter.js:217:13)
    at minifyTtf (C:\Users\Administrator\AppData\Roaming\npm\node_modules\font-spider\node_modules\fontmin\plugins\glyph.js:97:29)
    at Through2._transform (C:\Users\Administrator\AppData\Roaming\npm\node_modules\font-spider\node_modules\fontmin\plugins\glyph.js:153:27)
    at Through2.Transform._read (C:\Users\Administrator\AppData\Roaming\npm\node_modules\font-spider\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:159:10)