1. Sami Hassan
  2. PowerBuilder
  3. Monday, 7 August 2023 05:29 AM UTC

save PDF object and export DW as native PDF not support Arabic 

I tried all encoding 

also marked packaging custom font option  

it seems not support right to left languages 

Image

Sami Hassan Accepted Answer Pending Moderation
  1. Monday, 7 August 2023 08:22 AM UTC
  2. PowerBuilder
  3. # 1

PDFdocument lpdf_doc
PDFpage lpdf_page
PDFtext lpdf_text

lpdf_doc = create PDFdocument
lpdf_page = create PDFpage
lpdf_text = create PDFtext

lpdf_text.backcolor.rgb = rgb(255,0,0)
lpdf_text.textcolor.rgb = rgb(0,255,0)
lpdf_text.font.fontsize = 38
lpdf_text.content = "الشارقة"

lpdf_page.addcontent( lpdf_text)

lpdf_doc.addpage( lpdf_page)
lpdf_doc.save( "C:\appeon\textlink.pdf")

 

 

 

the code I used to generate 

Comment
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Monday, 7 August 2023 07:11 AM UTC
  2. PowerBuilder
  3. # 2

There's an old bug reported for pb 2017 and 2019 of reversing the text when saving as pdf:

https://www.appeon.com/standardsupport/search/view?id=5397

could this be your case?

Comment
  1. Sami Hassan
  2. Monday, 7 August 2023 07:20 AM UTC
same case plus save PDFObject giving same issue

I'm using latest PB version 2022 R2 but still have the same
  1. Helpful
  1. Miguel Leeuwe
  2. Monday, 7 August 2023 07:23 AM UTC
I'd recommend creating a bug report on https://www.appeon.com/standardsupport/newbug

referencing also the https://www.appeon.com/standardsupport/search/view?id=5397

Not sure why this hasn't been solved yet !

  1. Helpful
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Monday, 7 August 2023 07:02 AM UTC
  2. PowerBuilder
  3. # 3

Which version of powerbuilder (and build no.) are you using?

Comment
  1. Sami Hassan
  2. Monday, 7 August 2023 07:05 AM UTC
2022 R2 2819

also same for 2022 all builds
  1. Helpful 1
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.