PDFExport does not pass special characters to pdf using shadow DOM

1 Answer 48 Views
Drawing PDF Processing
Vladislav
Top achievements
Rank 2
Iron
Iron
Vladislav asked on 09 Feb 2024, 10:12 AM

Hello.

I am trying to use export to PDF. Unfortunately, the resulting pdf contains incorrect characters. I know, I saw the posts:

PDFExport .save does not pass special characters to pdf in KendoReact | Telerik Forums

React Drawing Component & Unicode and Embedded Fonts - KendoReact Docs & Demos (telerik.com)

 

But. I tried it and it works correctly. But if I used shadow DOM (I need this approach), then the pdf is incorrect. I tried adding styles via the approach:

document.createElement('style');

style.innerHTML = styles;

shadowRoot.appendChild(style).

 

But it doesn't work.


Can you help me?

Well thank you.

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 13 Feb 2024, 08:11 AM

Hi Vladislav,

The KendoReact does not officially support shadow DOM, but in general, if the styles and the font-face are loaded correctly and applied to the elements that will be exported, the PDF export should be able to use them during the export. Could you please share an example reproducing the issue, so we can test and debug it locally?

 

Regards,
Konstantin Dikov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!

Tags
Drawing PDF Processing
Asked by
Vladislav
Top achievements
Rank 2
Iron
Iron
Answers by
Konstantin Dikov
Telerik team
Share this question
or