Do you want to use custom fonts with your jspdf 1.5.3 implementation If so, then follow the simple steps laid out in this tutorial. Is it possible to include custom fonts in jspdf With the basic library, if i console log 'doc.getfontlist()' i get Courier, helvetica, times, courier, helvetica, times but, say i want to use. To add an otf font to jspdf, you first need to convert the font into a base64 format
Custom fonts require registration using addfont(), which accepts three parameters Font file data (base64 or url), font family name, and style
WATCH