fonteditor-core reports "Error: check sum out of bound"
See original GitHub issueI’m trying to use this plugin in a vuejs application with a minimal webpack config:
new FontminPlugin({
autodetect: true,
glyphs: [],
}),
When the webpack rule is triggered however, I’m getting the following error:
ERROR Error: check sum out of bound
Error: check sum out of bound
at checkSumArrayBuffer (/opt/src/Frontend/node_modules/fonteditor-core/ttf/util/checkSum.js:13:15)
at checkSum (/opt/src/Frontend/node_modules/fonteditor-core/ttf/util/checkSum.js:80:16)
at /opt/src/Frontend/node_modules/fonteditor-core/ttf/ttfwriter.js:185:26
at Array.forEach (<anonymous>)
at TTFWriter.write (/opt/src/Frontend/node_modules/fonteditor-core/ttf/ttfwriter.js:174:24)
at TTFWriter.write (/opt/src/Frontend/node_modules/fonteditor-core/ttf/ttfwriter.js:231:24)
at minifyTtf (/opt/src/Frontend/node_modules/fontmin/plugins/glyph.js:97:29)
at Through2._transform (/opt/src/Frontend/node_modules/fontmin/plugins/glyph.js:153:27)
at Through2.Transform._read (/opt/src/Frontend/node_modules/fontmin/node_modules/readable-stream/lib/_stream_transform.js:159:10)
at Through2.Transform._write (/opt/src/Frontend/node_modules/fontmin/node_modules/readable-stream/lib/_stream_transform.js:147:83)
at doWrite (/opt/src/Frontend/node_modules/fontmin/node_modules/readable-stream/lib/_stream_writable.js:313:64)
at writeOrBuffer (/opt/src/Frontend/node_modules/fontmin/node_modules/readable-stream/lib/_stream_writable.js:302:5)
at Through2.Writable.write (/opt/src/Frontend/node_modules/fontmin/node_modules/readable-stream/lib/_stream_writable.js:241:11)
at PassThrough.ondata (/opt/src/Frontend/node_modules/readable-stream/lib/_stream_readable.js:619:20)
at PassThrough.emit (events.js:315:20)
at PassThrough.Readable.read (/opt/src/Frontend/node_modules/readable-stream/lib/_stream_readable.js:469:26)
Note that I’m using fontmin in version 2.7.0 as I’m dependent on webpack 4 due to other modules in the project.
Is there anything I’m missing? I couldn’t find reports on similar issues.
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
IJ32755: CHECKSUM ERROR ON NETWORK I/O ... - IBM
When reconnect happens in the middle of a write operation, the below error may be reported:
Read more >Java sum puzzle, stuck with out of bounds error that I can't find
My entire program is below and can be run as soon as you paste it (main method is written with the current test...
Read more >How to use DBRPR to scan for known blocks checksum error ...
After confirmation, DBRPR will then scan and report/fix all blocks checksum for known issues in the Type II Area or block range provided....
Read more >Checksum failed for nightly channel #524 - rust-lang/rustup
I just moved from multirust to rustup and experience the following problem when installing nightly: $> rustup update nightly info: syncing ...
Read more >checksum error - Oracle Communities
Hi all.. APEX version: 3.2 I have a report which has a "link" that redirects the user to a specific page(with "page access...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks a lot for working on this! I can confirm that the error is gone with 3.0.1, and the result is correct when glyps are manually specified. However, the auto-detection still doesn’t work for me.
No exception is being thrown, but from what I can see, the glyphs that are generated in the reduced file don’t match the ones in the input. I’ve checked the generated woff file with FontDrop, and while the number of glyphs seem to match, their codes don’t.
Bot sure if I’m holding it right tho. Which tools would you recommend to check?