Crystal Reports do not show spaces in Arabic text when exported to PDF

Version 1

    Verified Product Versions

    Service Desk 7.6Service Desk 7.7.xService Desk 7.8.xService Desk 2016.xAsset Manager 2016.x

    Problem:

    When reports are been exported via Crystal Reports into PDF, spaces in Arabic text can be replaced by strange characters.

    This can look like the following, where the spaces are been replaced by ً.

     

    In the PDF this then looks like the following

    178216_2016-05-31_12-24-09.png

     

     

    Cause:

    When viewing Arabic text in a PDF generated from crystal reports, sometimes all the spaces in the text get replaced by a diacritic ( ً, َ, ُ, ...).

     

    This is caused by using diacritics after the last letter of the word in the text itself. crystal report replaces all spaces in that font type with the first diacritic in that text. i.e. if a paragraph has a font type of tahoma and contains the diacritic ( ً ), then all the spaces in the paragraph will be replaced by that diacritic.

     

    Solution / Workaround:

    This is an known Crystal Reports issue when exporting into PDF and has not been fixed so far.

    This is been logged with SAP as a known limitation 1926379 - SAP BusinessObjects BI Right-to-Left (RTL) Support. The document has been attached to this article.

     

    So the only solution is to not use diacritics at all.