Jump to content
Changes to the Jaspersoft community edition download ×

satishmhiremath

Members
  • Posts

    17
  • Joined

  • Last visited

satishmhiremath's Achievements

Apprentice

Apprentice (3/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. After all workarounds, i am able to fix this issue in Jasper ireport as follows In Text Properties of jrxml: Font Name : Arial Pdf Font Name : ../arial.ttf Pdf Embedded : true Pdf Encoding : Identity-H ------------------------------------------------------- In your Project META-INF folder Create and Add reports folder containing arial.ttf files and font.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 The syntactical contents of Font.xml: <?xml version="1.0" encoding="UTF-8"?> <fontFamilies> <fontFamily name="Arial"> <normal><![CDATA[META-INF/reports/fonts/arial.ttf]]></normal> <bold><![CDATA[META-INF/reports/fonts/arialbd.ttf]]></bold> <italic><![CDATA[META-INF/reports/fonts/ariali.ttf]]></italic> <boldItalic><![CDATA[META-INF/reports/fonts/arialbi.ttf]]></boldItalic> <pdfEmbedded><![CDATA[true]]></pdfEmbedded> </fontFamily> </fontFamilies> jasper-extensions.properties : net.sf.jasperreports.extension.registry.factory.fonts=net.sf.jasperreports.engine.fonts.SimpleFontExtensionsRegistryFactory net.sf.jasperreports.extension.simple.font.families.myfamily=META-INF/fonts.xml Regards, Satish M Hiremath
  2. Use the below expression in the image Expression of jasper report IDE on image properties of the jrxml and the relative image path getClass().getResource("META-INF/resources/webjars/EquityBankTools/themes/default/images/Logo.png").openStream() Satish M Hiremath satishmhiremath@gmail.com
  3. Use the below expression in the image Expression of jasper report IDE on image properties of the jrxml and the relative image path getClass().getResource("META-INF/resources/webjars/EquityBankTools/themes/default/images/Logo.png").openStream() Satish M Hiremath satishmhiremath@gmail.com
  4. After all workarounds, i am able to fix this issue in Jasper ireport as follows In Text Properties of jrxml: Font Name : Arial Pdf Font Name : ../arial.ttf Pdf Embedded : true Pdf Encoding : Identity-H ------------------------------------------------------- In your Project META-INF folder Create and Add reports folder containing arial.ttf files and font.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 The syntactical contents of Font.xml: <?xml version="1.0" encoding="UTF-8"?> <fontFamilies> <fontFamily name="Arial"> <normal><![CDATA[META-INF/reports/fonts/arial.ttf]]></normal> <bold><![CDATA[META-INF/reports/fonts/arialbd.ttf]]></bold> <italic><![CDATA[META-INF/reports/fonts/ariali.ttf]]></italic> <boldItalic><![CDATA[META-INF/reports/fonts/arialbi.ttf]]></boldItalic> <pdfEmbedded><![CDATA[true]]></pdfEmbedded> </fontFamily> </fontFamilies> jasper-extensions.properties : net.sf.jasperreports.extension.registry.factory.fonts=net.sf.jasperreports.engine.fonts.SimpleFontExtensionsRegistryFactory net.sf.jasperreports.extension.simple.font.families.myfamily=META-INF/fonts.xml Regards, Satish M Hiremath
  5. After all workarounds, i am able to fix this issue in Jasper ireport as follows In Text Properties of jrxml: Font Name : Arial Pdf Font Name : ../arial.ttf Pdf Embedded : true Pdf Encoding : Identity-H ------------------------------------------------------- In your Project META-INF folder Create and Add reports folder containing arial.ttf files and font.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 The syntactical contents of Font.xml: <?xml version="1.0" encoding="UTF-8"?> <fontFamilies> <fontFamily name="Arial"> <normal><![CDATA[META-INF/reports/fonts/arial.ttf]]></normal> <bold><![CDATA[META-INF/reports/fonts/arialbd.ttf]]></bold> <italic><![CDATA[META-INF/reports/fonts/ariali.ttf]]></italic> <boldItalic><![CDATA[META-INF/reports/fonts/arialbi.ttf]]></boldItalic> <pdfEmbedded><![CDATA[true]]></pdfEmbedded> </fontFamily> </fontFamilies> jasper-extensions.properties : net.sf.jasperreports.extension.registry.factory.fonts=net.sf.jasperreports.engine.fonts.SimpleFontExtensionsRegistryFactory net.sf.jasperreports.extension.simple.font.families.myfamily=META-INF/fonts.xml Regards, Satish M Hiremath
  6. Error 500: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is net.sf.jasperreports.engine.JRException: Byte data not found at : ..//reports//images//xyz.gif The above error is fixed by using the imageExpression getClass().getResource("META-INF/resources/......../themes/default/images/xyz.png").openStream()
  7. Error 500: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is net.sf.jasperreports.engine.JRException: Byte data not found at : ..//reports//images//xyz.gif The above error is fixed by using the imageExpression getClass().getResource("META-INF/resources/......../themes/default/images/xyz.png").openStream()
  8. Error 500: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is net.sf.jasperreports.engine.JRException: Byte data not found at : ..//reports//images//adib-logo.gif The above error is fixed by using the imageExpression getClass().getResource("META-INF/resources/webjars/RBLTools/themes/default/images/RBL-LOGO.png").openStream()
  9. 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
  10. After all workarounds, i am able to fix this issue in Jasper ireport as follows In Text Properties : Font Name : Arial Pdf Font Name : ../arial.ttf Pdf Embedded : true Pdf Encoding : Identity-H ------------------------------------------------------- In your Project META-INF folder Create and Add reports folder containing arial.ttf files and font.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
  11. After all workarounds, i am able to fix this issue in Jasper ireport as follows In Text Properties : Font Name : Arial Pdf Font Name : ../arial.ttf Pdf Embedded : true Pdf Encoding : Identity-H ------------------------------------------------------- In your Project META-INF folder Create and Add reports folder containing arial.ttf files and font.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
  12. After all workarounds, i am able to fix this issue in Jasper ireport as follows In Text Properties : Font Name : Arial Pdf Font Name : ../arial.ttf Pdf Embedded : true Pdf Encoding : Identity-H ------------------------------------------------------- In your Project META-INF folder Create and Add reports folder containing arial.ttf files and font.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
  13. After all workarounds, i am able to fix this issue in Jasper ireport as follows In Text Properties of jrxml: Font Name : Arial Pdf Font Name : ../arial.ttf Pdf Embedded : true Pdf Encoding : Identity-H ------------------------------------------------------- In your Project META-INF folder Create and Add reports folder containing arial.ttf files and font.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 The syntactical contents of Font.xml: <?xml version="1.0" encoding="UTF-8"?> <fontFamilies><fontFamily name="Arial"> <normal><![CDATA[META-INF/reports/fonts/arial.ttf]]></normal> <bold><![CDATA[META-INF/reports/fonts/arialbd.ttf]]></bold> <italic><![CDATA[META-INF/reports/fonts/ariali.ttf]]></italic> <boldItalic><![CDATA[META-INF/reports/fonts/arialbi.ttf]]></boldItalic> <pdfEmbedded><![CDATA[true]]></pdfEmbedded> </fontFamily></fontFamilies>jasper-extensions.properties : net.sf.jasperreports.extension.registry.factory.fonts=net.sf.jasperreports.engine.fonts.SimpleFontExtensionsRegistryFactorynet.sf.jasperreports.extension.simple.font.families.myfamily=META-INF/fonts.xml Regards, Satish M Hiremath
  14. As tried the suggestions given below, but they are not working in Jasper Studio and the pdf output has same issue
  15. Hi Team, As I tried using unicode with properties as UTF-8, Font Name DejaVu Sans, pdfEmbedded=true, pdf encoding=cp1256(Arabic) , installing Dejavu Sans.ttf file as below for displaying Arabic text in Jasper tool as text field expression ($F{state.locale}.equalsIgnoreCase("AR") || $F{state.locale}.equalsIgnoreCase("ar-EG")) ? "\u0627\u0633\u0645 \u0627\u0644\u0645\u0646\u062A\u062C" :"Product Name" But the result in pdf is not displaying in arabic. It displays the same Hadcoded Unicode \u0627\u0633\u0645 \u0627\u0644\u0645\u0646\u062A\u062C or ????????? Kindly do the needfull to display Arabic text fonts ASAP. Regards, Satish M Hiremath
×
×
  • Create New...