jsPDF-AutoTable icon indicating copy to clipboard operation
jsPDF-AutoTable copied to clipboard

custom font faces

Open gadamshetty opened this issue 10 years ago • 1 comments

custom fonts are not working for me, I tried the following

var doc = new jsPDF('p', 'pt'); doc.setFont("roboto"); --> name of the font face from my css file i defined for google roboto font doc.autoTable(columns, data);

The pdf still generates with default fonts. Appreciate your thoughts,

gadamshetty avatar Nov 08 '16 03:11 gadamshetty

Cross posting http://stackoverflow.com/q/40478179/827047

simonbengtsson avatar Nov 08 '16 10:11 simonbengtsson