Image fails to generate when height omitted and font-size set.
Closed this issue · 1 comments
chejazi commented
Version of the library
5.2.0
Version of node
14.16.1
Describe the bug
generate("text", { fontSize: '18px', ...})
errors when customHeight
is omitted from the configuration object but a fontSize
is included.
The error returned is IndexSizeError: The source height is 0.
chejazi commented