font creation problem
srl295 opened this issue · comments
Steven R. Loomis commented
Font.create returns null/undefined here:
Lines 448 to 451 in 2e78896
Printing slide #66 ( 66/132) ...TypeError: Cannot convert undefined or null to object
at Function.entries (<anonymous>)
at fontMetadataKey (/Users/srl295/src/srl295-slides/node_modules/decktape/decktape.js:462:19)
at parseFont (/Users/srl295/src/srl295-slides/node_modules/decktape/decktape.js:426:77)
at Array.forEach (<anonymous>)
at parseResources (/Users/srl295/src/srl295-slides/node_modules/decktape/decktape.js:387:45)
at printSlide (/Users/srl295/src/srl295-slides/node_modules/decktape/decktape.js:378:3)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
It's slide 66 of this
Steven R. Loomis commented
char in question is a monospace snowman ☃
Steven R. Loomis commented
Markdown:
Hello, World☃
### `Hello, World☃`
Steven R. Loomis commented
Huh… making it a non monospace snowman 'fixed' it:
### `Hello, World`☃
Hello, World
☃
Antonin Stefanutti commented
It should be fixed with c4914a4, that’s available in the latest 3.4.0 release.