Error in Arabic character, can you help?

Posted by: asmapp30 on 23 February 2018, 9:11 am EST

    • Post Options:
    • Link

    Posted 23 February 2018, 9:11 am EST

    Hello Dear

    I have problem in Arabic character , the problem in ’ لا ’

    it is not connect with before character

    like this : هـ لا

    can you check the problem in the pdf library programming in last version

    thank you

  • Posted 26 February 2018, 1:53 am EST

    Hello,

    Thank you for reaching out to us. However, we would request you to elaborate on the requirement. Please share a screenshot of how the characters look at your end and how are they expected to look (the expected output). Also, which version of the controls are you using? Please confirm if you are using C1PDF.

    This will help us assist you at the earliest.

    Best Regards,

    Esha

  • Posted 1 March 2018, 2:00 pm EST

    Hello Ms. Esha

    I attached pdf file , you can check it , and the pdf library not support

    Arabic string Format Flags Right To Left

    thank you & best regards

  • Posted 1 March 2018, 2:01 pm EST

    this pdf file

  • Posted 1 March 2018, 2:04 pm EST

  • Posted 1 March 2018, 2:07 pm EST

  • Posted 5 March 2018, 3:23 am EST

    Hello,

    Thank you for sharing the images.

    We used C1Pdf to generate a pdf with Arabic text where strings are written using the DrawString method. It’s various overloads are mentioned in the documentation link below:

    http://help.grapecity.com/componentone/NetHelp/c1pdf/webframe.html#C1.C1Pdf.4~C1.C1Pdf.C1PdfDocument~DrawString.html

    On testing the same with builds 4.0.20173.286 and 4.0.20173.291, the results were all the same, wherein, the charcters “هـ لا” appear disconnected before writing to the pdf and after writing them to pdf as well.

    Also, for having strings with Right to Left layout, use the Alignment property of StringFormat class and set its value to “Far”.

     
    Dim sf As New StringFormat()
    sf.Alignment = StringAlignment.Far
    

    A sample showing the same has been attached for your reference.

    Let us know if this helps.

    Also, we could not find your pdf attached. Please share the same in a zip folder along with a stripped down sample showing the issue at your end, if it persists. You can also modify the attached sample and share it back. This will help us assist you further.

    Best Regards,

    EshaC1Pdf_Arabic.zip

  • Posted 5 March 2018, 2:40 pm EST

    Hello Ms. Esha

    you can check this file

    thank you

    pdf Doc.zip

  • Posted 6 March 2018, 12:28 am EST

    Hello,

    We could observe some disconnected characters like “هلا وغلا” in the pdf. However, to be able to observe the difference with the actual word and escalate it to the concerned team (if the issue exists), we would need you to share the code snippet that you have used to generate the pdf. This way, we will be able to differentiate between what is expected and what is observed.

    Also, we hope you have tried the sample shared above. Can you please share your observations from the same as well?

    Best Regards,

    Esha

  • Posted 6 March 2018, 2:21 pm EST

    Hello,

    Please check this project file , I put 2 files pdf library dll , last ver 2.0 & 4.0

    thank you

    TestPdf-File.zip

  • Posted 7 March 2018, 2:46 am EST

    Hello,

    Thank you for sharing the pdf files and the sample.

    We could observe a character which appears to be detached in v 2.0 but looks fine in v 4.0. It has been highlighted in the attached image. Please confirm if this is the issue with the character or there is another problem which is observed. This will help us have the correct information in order to assist you.

    We would like to bring to your notice that v2.0 of the products is in maintenance mode:

    https://www.grapecity.com/en/forums/winforms-edition/net-framework-20-support-n_5

    However, we will still try to get the issue fixed for you.

    Best Regards,

    Esha

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels