Answer the question
In order to leave comments, you need to log in
TypeError: Font is not a constructor?
let Font = canvas.Font;
let CoreSansE = new Font('CoreSansE-25ExtraLight', __dirname + '/base/fonts/CoreSansE-25ExtraLight.otf');
I catch an error - TypeError: Font is not a constructor
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question