This is a migrated thread and some comments may be shown as answers.

Report print differs from preview when RTL characters are used

1 Answer 337 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rehan
Top achievements
Rank 1
Rehan asked on 22 Jan 2020, 02:35 PM

Hello,
I am having some trouble with regards to a string in htmlTextBox. The string includes a combination of both English and Arabic substrings. In my database I have a separate column for storing English and separate column for storing Arabic. I am retrieving both columns as a single value using the following query
ItemDescriptionEN + '<br/>' + ItemDescriptionAR as [ItemDescription]
Most of the time it works fine, but sometimes, when the [ItemDescription] has numeric digits, it displays the value just fine during the Preview in report viewer, but disturbs the arrangement of RTL letters when exporting to PDF or directly printing from printer.

Kindly find the attached pictures:

1- Preview.PNG: (Shows everything is fine.)

2- After Export or print.PNG. (Disturbs the string when exported as PDF or if sent direct to printer for printing)

 

Kindly recommend any alternate report control to handle the '<br/>' in the description, or provide a solution to this problem.

Thanks

 

1 Answer, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 27 Jan 2020, 11:41 AM

Hello Rehan,

I was able to reproduce the described behavior and I made some tests in order to avoid it. Because at this point I cannot suggest any workaround, I logged the issue as a bug in our Feedback portal- RTL text is not exported to PDF/ printed correctly when it contains strings and digits.

An option is to export to the Tif export format where the document is exported correctly. Note that basically, RTL (Right to Left) is not supported in the HtmlTextBox and this is one of the known limitations related to this report item.

Can you confirm that the issue is reproducible on your side when you are trying to print/ export to PDF from HTML5-based report viewer? 

Regards,
Neli
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Rehan
Top achievements
Rank 1
Answers by
Neli
Telerik team
Share this question
or