Skip to content
This repository was archived by the owner on Jun 4, 2022. It is now read-only.

Could not convert Source Han Serif to TTF #46

Closed
nicholaelaw opened this issue May 12, 2017 · 1 comment
Closed

Could not convert Source Han Serif to TTF #46

nicholaelaw opened this issue May 12, 2017 · 1 comment

Comments

@nicholaelaw
Copy link

nicholaelaw commented May 12, 2017

While doing

otfccdump.exe NotoSansMonoCJKsc-Bold.otf | otfcc-c2q | otfccbuild.exe -o NotoSansMonoCJKsc-Bold.ttf

worked for Source Han Sans / Noto Sans CJK, it fails at the new Source Han Serif fonts:

otfccdump.exe NotoSerifCJKsc-Black.otf | otfcc-c2q | otfccbuild.exe -o NotoSerifCJKsc-Black.ttf
<...>\npm\node_modules\otfcc-c2q\c2q_cli.js:7
process.stdin.on('data', function (buf) { glyfsource += buf.toString(); });
                                                            ^

RangeError: Invalid string length
    at Socket.<anonymous> (<...>\npm\node_modules\otfcc-c2q\c2q_cli.js:7:61)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at readableAddChunk (_stream_readable.js:176:18)
    at Socket.Readable.push (_stream_readable.js:134:10)
    at Pipe.onread (net.js:547:20)
otfccbuild : Parse into JSON : [ERROR] Cannot parse JSON file "(null)". Exit.
@be5invis
Copy link
Contributor

Duplicate of caryll/otfcc-cubic2quad#3. Closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants