Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Fri Apr 11, 2025 8:00 am

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!

SAHER_NAJI
 
Posts: 1
Joined: Fri Apr 11, 2025 7:54 am

Mon Apr 14, 2025 9:47 am

Hello,

Thank you for your letter and the solution you provided. We will refer to your solution and further investigate the solution. Thanks again.

Sincerely,
William
E-iceblue support team
User avatar

William.Zhang
 
Posts: 732
Joined: Mon Dec 27, 2021 2:23 am

Return to Spire.PDF