Report print differs from preview when RTL characters are used

2 posts, 0 answers
  1. Rehan
    Rehan avatar
    1 posts
    Member since:
    Dec 2017

    Posted 22 Jan Link to this post

    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

     

  2. Neli
    Admin
    Neli avatar
    299 posts

    Posted 27 Jan Link to this post

    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
Back to Top