Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arabic Text Not Appearing in Generated PDF #938

Open
HectorSponsor opened this issue Aug 4, 2023 · 2 comments
Open

Arabic Text Not Appearing in Generated PDF #938

HectorSponsor opened this issue Aug 4, 2023 · 2 comments
Labels

Comments

@HectorSponsor
Copy link

I am experiencing a problem when trying to add Arabic text to the PDF. Even following the example on the link below, I only get blank space on the generated PDF.

https://github.com/LibrePDF/OpenPDF/blob/bff6520a368fe0a35b443740a36cba108f4ed1a4/pdf-toolbox/src/test/java/com/lowagie/examples/fonts/styles/RightToLeft.java

ColumnText and PdfTable didn't work to show the Arabic text. It's important to note that I used the same font as in the example (as well as other fonts) and the Arabic text was in its Unicode escape characters.

Environment:

  • OS: Windows 11
  • Used Fonts: Roboto, Times, Helvetica
  • Java 8
  • Openpdf version 1.3.30

Please let me know if there's any other information required to investigate and address this issue. Thank you.

@andreasrosdal
Copy link
Contributor

أهلا ومرحبا. نرحب بطلبات السحب.

@asturio
Copy link
Member

asturio commented Feb 23, 2024

A minimal code example will be appreciated. Does it work with simple Paragraphs and Phrases?

Pull requests are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants