Jump to content
We've recently updated our Privacy Statement, available here ×

PDF Arabic Font Italicizing problem.


goyal_1985

Recommended Posts

Hi, 

I have a report which has Arabic text. some of which is arabic. 

Using iReport 3.0.0, the non-italicized arabic text displays correctly with iReport font as "Sans Serif" and PDF font as arial and PDF-Encoding as "Unicode with Horizontal Writing", But when I change it to italics, the text is not displayed. (For italic text I tried with both arial.ttf and Ariali.ttf).

Using the latest iReport 4.0.2 also, I am facing the same problem. Here, I am using the PDF font as Helvetica-Oblique and encoding as CP1252, however, for non-italicized, it displayes the text, for italic text, it does not.

I tried with the "Fonts" and "unicode" demo, but whenever I made the text italic, it stops to be displayed.

Please help.

 

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Hi Sanda,

Thanks for replying, However, I have tried using the arabic fonts also. But using them, I am not even able to print the normal text. I am using arabic unicode fonts with pdf encoding as Unicode with Horizontal Writing. Could you please suggest some other solution?

 

Thanks,

Dishank

Link to comment
Share on other sites

  • 5 years later...

After all workarounds, i am able to fix this issue in Jasper ireport as follows


In Text Properties :


Font Name : Arial


Pdf Font Name : ../arialbd.ttf (ARIAL BOLD)


Pdf Embedded : true


Pdf Encoding : Identity-H


-------------------------------------------------------


In your Project META-INF folder


Create and Add reports folder containing arialbd.ttf(BOLD) files and fonts.xml


Outside META-INF folder, add jasper-extensions.properties file


So finally,  


jasper-extensions.properties --- Uses --- fonts.xml --- Uses --- true type font files   


jasper-extensions.properties file --> fonts.xml ---> arial.ttf 


 


Regards,


Satish M Hiremath


Bangalore, Karnataka, India


satishmhiremath@gmail.com


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...