Re: RTL direction not getting applied automatically for arabic text in the Table of Contents section

Hi

I have same problem in persain language!
text in header and footer not displayed correctly.
the order of letters need to be in reverse .
it’s like Aspoes.PDF use different method for rendering text on normal sections of page compare with headrs and footers

Hi Mostafa,


Thanks for using our API.

Can you please share the code snippet and resultant PDF file being generated at your end, so that we can test the scenario in our environment. We are sorry for this inconvenience.

Hi, yes this is my code:

Note: Text in header is incorrect (marked by red arrow in picture)
second line (normal text) is correct (marked by green arrow in picture)

<?xml version="1.0" encoding="utf-8"?>

<Pdf xml:space=“preserve” TabStopPosition=“36” IsCoreFontUsed=“false” IsRTLSegmentMode=“true” xmlns=“Aspose.Pdf”
FontName=“tahoma” FontSize=“14” IsUnicode=“true” IsRightToLeft=“true”>
<Section Alignment=“Right” PageSize=“A4” PageMarginTop=“1.5cm” PageMarginLeft=“1.5cm” PageMarginRight=“1.5cm”
PageMarginBottom=“1.5cm”>
متن پارسی نمونه
متن پارسی نمونه

mkhadem61:
Hi, yes this is my code:
Note: Text in header is incorrect (marked by red arrow in picture)
second line (normal text) is correct (marked by green arrow in picture)

<?xml version="1.0" encoding="utf-8"?>

<Pdf xml:space=“preserve” TabStopPosition=“36” IsCoreFontUsed=“false” IsRTLSegmentMode=“true” xmlns=“Aspose.Pdf”
FontName=“tahoma” FontSize=“14” IsUnicode=“true” IsRightToLeft=“true”>
<Section Alignment=“Right” PageSize=“A4” PageMarginTop=“1.5cm” PageMarginLeft=“1.5cm” PageMarginRight=“1.5cm”
PageMarginBottom=“1.5cm”>
متن پارسی نمونه
متن پارسی نمونه
Hi Mostafa,

Thanks for sharing the information.

I have tested the scenario and I am able to
notice the same problem. For the sake of correction, I have logged this problem
as PDFNEWNET-37986 in our issue tracking system. We will further
look into the details of this problem and will keep you updated on the status
of correction. Please be patient and spare us little time. We are sorry for
this inconvenience.

Is there any progress or news about this problem?

Hi Mostafa,

Thanks for your inquiry. I am afraid we have recently noticed the issue and yet it is pending for investigation due to the issues already under investigation. We will notify you as soon as we made some significant progress towards issue resolution.

We are sorry for the inconvenience caused.

Best Regards,