PyPDF2 fill Arabic is not visible while English is fine

Question:

I am trying to fill a PDF with Arabic and English. English is fine but Arabic is not visible after writing. It’s showing on click.

I am translating the English into Arabic text using Google API.

I have also tried appearance functionality, fillpdf, PyPDF2 and pdfrw libraries.

No luck.

Asked By: Mazhar Ali

||

Answers:

The issue was resolved after adding the proper font for Arabic text. The Ubuntu Doc viewer was not showing the text but in Adobe reader its just perfect.

Answered By: Mazhar Ali
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.