- Mark Del Villan
- PowerBuilder
- Tuesday, 31 May 2022 07:32 PM UTC
Hi,
I'm just wondering if anyone is able to make Right to Left text (such as Hebrew or Arabic) appear properly when using NativePDF/PDFLIB option, and could possibly offer me some advice on how I may do so.
Basically, I have a short Hebrew phrase that displays as expected in a Datawindow, however, when I save that DW to PDF, the text in the resulting PDF is reversed. I've tried using different DW Properties, PDF Formats, Fonts, BIDI Control Characters, but can't seem to figure it out.
I've included a picture of the behavior below, but if you are interested in seeing it for yourself just let me know and I'll send the sample app.
Thanks for reading!
Mark
EDIT: I forgot to mention, I've tried this in the latest releases of PB 2017, 2019, and 2021 and always have the same result.
EDIT2: We are currently inverting the position of the visual Datawindow controls (all are computed columns) and inserting the appropriate control characters programmatically, so, to be clear, we just need the PDF to abide by the same directionality that the DW does.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.