Texts in Arabic or Hebrew Not Exporting Correctly in Grid PDF Export
Environment
Product | Kendo UI for Angular PDF Export |
Description
When exporting a Kendo UI for Angular Grid with texts in Arabic or Hebrew to a PDF file, the text does not render correctly. The language direction and character placement are incorrect, causing the text to display in a left-to-right (LTR) format instead of the correct right-to-left (RTL) format.
Cause
The Kendo UI for Angular Grid PDF Export does not natively support RTL languages such as Arabic or Hebrew. This limitation causes the output to render the text in a left-to-right (LTR) format, which is incorrect for RTL languages.
Solution
To work around this limitation, you can implement the window print functionality in your Angular application. This approach allows you to print the Grid data with Arabic and Hebrew text correctly rendered, bypassing the current limitation in the PDF Export component.
Refer to the official Kendo UI for Angular documentation for instructions on how to configure the Grid for printing.
Hit the Print Grid
button, and the browser will open a print dialog. For Chromium-based browsers and Firefox, you can select Save as PDF in the top right corner from the Destination dropdown. For Safari, select the Save as PDF option from the PDF dropdown in the bottom left corner.