Welcome to the JavaScript feedback portal. We’re happy you’re here! If you have feedback on how to improve the JavaScript, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

2
Votes

Issue can be replicated with this demo: https://stackblitz.com/edit/fi8hrx

--> PDF export fails and following error appears to browser console:

pdf-page-template-element.js:642 Uncaught (in promise) Error: ArgumentOutOfRangeException:index, The character is not supported by the font.

    at e.items (pdf-page-template-element.js:642:12)

    at i.getCharWidthInternal (pdf-page-template-element.js:642:12)

    at i.getLineWidth (pdf-page-template-element.js:642:12)

    at e.getLineWidth (pdf-page-template-element.js:642:12)

    at e.layoutLine (pdf-page-template-element.js:642:12)

    at e.doLayout (pdf-page-template-element.js:642:12)

    at e.layout (pdf-page-template-element.js:642:12)

    at e.measureHeight (pdf-page-template-element.js:642:12)

    at e.get [as height] (pdf-page-template-element.js:642:12)

    at t.measureHeight (pdf-page-template-element.js:642:12)


Replicated both with Chrome and Firefox, and Windows 11 Enterprise 23H2, OS build 22631.3593, Experience Windows Feature Experience Pack 1000.22700.1003.0


Failing pivot table configuration:

{

  allowPdfExport: true,

  enableVirtualization: true,

  dataSourceSettings: {

    dataSource: [

      {

        b: '€',

        a: 1,

      },

    ],

    columns: [

      {

        name: 'b',

      },

    ],

    values: [

      {

        name: 'a',

      },

    ],

  },

}