Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Oscar Montgomery   on Mar 07 In Java Category.

  
Question Answered By: Mercedes Andrews   on Mar 07

copy this lines into jrxml file:


<reportFont name="titr" isDefault="false" fontName="SansSerif" size="10" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="./fonts/tahomabd.ttf" pdfEncoding="Identity-H" isPdfEmbedded="true"/>
<reportFont name="matn" isDefault="false" fontName="Serif" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="./fonts/times.ttf" pdfEncoding="Identity-H" isPdfEmbedded="true"/>

then copy tahomabd.ttf and times.ttf (for example) into fonts directory in your project.

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Problem with Farsi fields in PDFs generated by JASPER Or get search suggestion and latest updates.


Tagged: