Cannot read property 'widthOfString' of null when print pdf support utf8

Cannot read property 'widthOfString' of null when print pdf support utf8

ahmed45316ahmed45316 Posts: 3Questions: 1Answers: 0
edited May 2020 in Free community support

{
extend: 'pdfHtml5',
title: screenName,
text: 'PDF',
className: "btn btn-success btn-sm pull-right text-primary",
charset: "utf-8",
bom: true,
customize: function (doc) {
doc.defaultStyle =
{
font: 'alef'
};
}
}

Answers

  • ahmed45316ahmed45316 Posts: 3Questions: 1Answers: 0

    When export PDF I am using PDF make to support UTF8
    but this error appear to me

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

  • ahmed45316ahmed45316 Posts: 3Questions: 1Answers: 0

    Thanks @colin I Solved this problem

  • art_ARTart_ART Posts: 1Questions: 0Answers: 0

    @ahmed45316 Hi, Im facing the same issue. Can you share the solution ?

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    @art_ART If you can link to a test case, we're happy to take a look,

    Colin

Sign In or Register to comment.