ajtruckle wrote:Hi
I have followed your tutorial (with the free library) to fill in a Arabic PDF form with Arabic content.
When I open the saved PDF in Foxit PDF reader, the field content looks like question marks. If I click each field, I then see the Arabic.
What am I doing wrong?
Andrew
Your question is from 10 years ago, but the problem is still the same today!
Luckily, there's a very simple solution:
Just change the font color or the background fill of the form field.
For example, instead of using RGB(0, 0, 0) for black, try RGB(0, 0, 1) — it will still look black, but it forces proper rendering, and the Arabic text will show up right away without needing to click the field.
That's it!