hebrew and english problem

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

hebrew and english problem

assafbe
hello
i'm creating a PDF that have text that includes hebrew and english
this is the code:
            Dim tableComment As New PdfPTable(2)
            tableComment.SetWidths(sglTblHdWidths)
            tableComment.DefaultCell.NoWrap = False
            tableComment.RunDirection = PdfWriter.RUN_DIRECTION_RTL
            Dim textComment As New Paragraph(New Phrase("הערה", font))
            textComment.Alignment = HorizontalAlignment.Right
            Dim textComment2 As New Paragraph(New Phrase(wordArr(20), font))
            tableComment.AddCell(textComment)
            tableComment.AddCell(textComment2)

it's working fine displaying the text in the PDF but the problem is when i copy the text to InDesign for example, the hebrew and the english get mixed
can i prevent this?

thanks
Assaf
Loading...