ErShubhamB

Results comments of ErShubhamB

> @ShubhamOrbio > And where did you added the font? I added the font in my project folder after including jspdf script. ``` ```

> @ErShubhamB > > ok you use font-family, but not setting that the text should be bold by doing e.g. font-weight: bold? Font-weight bold is also not working out. Output...

Ok so after spending few hours I can print Japanese text using .text method here. something like this: ``` var doc = new jsPDF('p', 'mm', 'a4'); doc.setFont('MouhitsuBold', 'bold'); // set...

By far this is the best solution I have got. ``` var doc = new jsPDF('p', 'mm', 'a5'); doc.addHTML(document.getElementById('target-div'),0,15 ,function () { doc.save('sample.pdf'); }); ``` Please let me know if...

> yeah, using fromHTML should defiitly result in garbage. can you help me with a better solution please so that I can convert my div to pdf which is in...

> till now you did not supply me with a jsfiddle or so. So how can I help you? Sorry my bad. Fiddle URL: [https://jsfiddle.net/Ershubham93/6vn9wufq/2/#&togetherjs=ACVVlRbLD9](url)