Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes with "Unable to write GSUB: script latn has no default language system" #285

Closed
olberger opened this issue Jun 21, 2023 · 3 comments · Fixed by #286
Closed

Crashes with "Unable to write GSUB: script latn has no default language system" #285

olberger opened this issue Jun 21, 2023 · 3 comments · Fixed by #286

Comments

@olberger
Copy link

Hi.

Strangely, I have a crash with the following trace (see below), where I cannot get hints on google search either on "Unable to write GSUB" nor "script latn has no default language system" ... maybe the latn provides a hint... should be "latin" ? But I can't spot any culprit...

Any hints welcome.

Unable to find image 'astefanutti/decktape:3.8.0' locally
3.8.0: Pulling from astefanutti/decktape
Digest: sha256:b64970f202eabdf575a15597d8e0bcd95ce9a7d6c758d835ba61b40d5ac9a3e9
Status: Downloaded newer image for astefanutti/decktape:3.8.0
Loading page file:///COURSEROOT/index.html ...

Unable to load resource from URL: file:///COURSEROOT/reveal.js/lib/js/head.min.js
Failed to load resource: net::ERR_FILE_NOT_FOUND
Allow attribute will take precedence over 'allowfullscreen'.
Loading page finished with status: 200
Reveal JS plugin activated
Printing slide #/slide-org484a8e2 (93/93) ...
Error: Unable to write GSUB: script latn has no default language system.
    at fail (/decktape/node_modules/opentype.js/dist/opentype.js:919:12)
    at Object.argument (/decktape/node_modules/opentype.js/dist/opentype.js:926:10)
    at /decktape/node_modules/opentype.js/dist/opentype.js:2032:20
    at recordList (/decktape/node_modules/opentype.js/dist/opentype.js:1990:33)
    at new ScriptList (/decktape/node_modules/opentype.js/dist/opentype.js:2029:10)
    at Object.makeGsubTable [as make] (/decktape/node_modules/opentype.js/dist/opentype.js:6874:50)
    at Object.fontToSfntTable [as fontToTable] (/decktape/node_modules/opentype.js/dist/opentype.js:7220:27)
    at Font.toTables (/decktape/node_modules/opentype.js/dist/opentype.js:13545:18)
    at Font.toArrayBuffer (/decktape/node_modules/opentype.js/dist/opentype.js:13559:27)
    at file:///decktape/decktape.js:400:73
@olberger
Copy link
Author

This appeared in 3.8.0 image and didn't occur with 3.7.0, FWIW.

@bast
Copy link

bast commented Jun 22, 2023

I observe this as well but it seems to be duplicate with #284

@astefanutti
Copy link
Owner

It should be fixed in 3.9.0 release.

Thanks a lot for the report!

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

Successfully merging a pull request may close this issue.

3 participants