ravikasabe03gmail.com Posted September 6, 2016 Share Posted September 6, 2016 Sir/Mam,I used font extension to Use Marathi Font .When Pdf Export That time Marathi text meaning will change.I checked property of pdf that time Marathi font also embeded.Please give me answer .its very urgent.Thanks Link to comment Share on other sites More sharing options...
ajay_1311 Posted September 6, 2016 Share Posted September 6, 2016 1) Ensure Font Embeded option2) Check another new font and export in pdf. This may be font file corrupted. Else check below link to create font jar and keep on path=>http://community.jaspersoft.com/wiki/how-embed-fonts-jasperreport-ireport-generated-pdf-file -- Ajay Patil Link to comment Share on other sites More sharing options...
ravikasabe03gmail.com Posted September 6, 2016 Author Share Posted September 6, 2016 thanks for giving replay,,Exactly problem isMy marathi text on report is UNICODE.Internally run properly but when export that time marathi text not display.if i used font extension like (Arial Unicode MS,SHREE LIPI,etc) then Exported pdf file display marathi text but meaning is diffrent.and if i used eternally other tool like DoPDF Converter then pdf Show right Text. below i add jrxml source code also<?xml version="1.0" encoding="UTF-8"?><!-- Created with Jaspersoft Studio version 6.0.3.final using JasperReports Library version 6.0.3 --><!-- 2016-09-06T14:33:45 --><jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Blank_A4" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="a7252b9b-b7ba-46a4-a796-1a93d6093d59"><property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/><queryString><![CDATA[]]></queryString><background><band splitType="Stretch"/></background><title><band height="79" splitType="Stretch"/></title><pageHeader><band height="35" splitType="Stretch"/></pageHeader><columnHeader><band height="110" splitType="Stretch"><staticText><reportElement x="20" y="10" width="510" height="100" uuid="793f8b25-606b-4305-911f-499aec1f1e05"><property name="local_mesure_unitheight" value="pixel"/><property name="com.jaspersoft.studio.unit.height" value="px"/></reportElement><textElement><font fontName="Arial Unicode MS" size="24" isPdfEmbedded="false"/></textElement><text><![CDATA[गंगासदन सोसायटी समोर आकाश जनरल स्टोअर्स]]></text></staticText></band></columnHeader><detail><band height="125" splitType="Stretch"/></detail><columnFooter><band height="45" splitType="Stretch"/></columnFooter><pageFooter><band height="54" splitType="Stretch"/></pageFooter><summary><band height="42" splitType="Stretch"/></summary></jasperReport> Link to comment Share on other sites More sharing options...
ajay_1311 Posted September 6, 2016 Share Posted September 6, 2016 Hello,Check Sample below - is working fineChanges in advanced properties=> PDF =><textElement markup="none"><font fontName="Arial Unicode MS" size="24" pdfFontName="C:/WINDOWS/fonts/ARIALUNI.TTF" pdfEncoding="Identity-H" isPdfEmbedded="true"/></textElement><text><![CDATA[गंगासदन सोसायटी समोर आकाश जनरल स्टोअर्स]]></text> <?xml version="1.0" encoding="UTF-8"?><!-- Created with Jaspersoft Studio version 6.3.0.final using JasperReports Library version 6.0.2 --><!-- 2016-09-06T15:44:57 --><jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Blank_A4" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="a7252b9b-b7ba-46a4-a796-1a93d6093d59"><property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/><queryString><![CDATA[]]></queryString><background><band splitType="Stretch"/></background><title><band height="79" splitType="Stretch"/></title><pageHeader><band height="35" splitType="Stretch"/></pageHeader><columnHeader><band height="302" splitType="Stretch"><staticText><reportElement x="20" y="10" width="510" height="60" uuid="793f8b25-606b-4305-911f-499aec1f1e05"><property name="local_mesure_unitheight" value="pixel"/><property name="com.jaspersoft.studio.unit.height" value="px"/></reportElement><textElement markup="none"><font fontName="Arial Unicode MS" size="24" pdfFontName="C:/WINDOWS/fonts/ARIALUNI.TTF" pdfEncoding="Identity-H" isPdfEmbedded="true"/></textElement><text><![CDATA[गंगासदन सोसायटी समोर आकाश जनरल स्टोअर्स]]></text></staticText><textField><reportElement x="20" y="90" width="540" height="60" forecolor="#002AFC" uuid="58e99388-7e5b-4f5e-b724-c5e56861fdd4"/><textElement markup="html"><font fontName="Arial Unicode MS" size="24" pdfFontName="C:/WINDOWS/fonts/ARIALUNI.TTF" pdfEncoding="Identity-H" isPdfEmbedded="true"/></textElement><textFieldExpression><![CDATA["<b>गंगासदन सोसायटी समोर आकाश जनरल स्टोअर्स</b>"]]></textFieldExpression></textField><textField><reportElement x="20" y="150" width="100" height="30" uuid="be1ab8d6-254f-4978-b800-ef24642bd0f3"/><textElement><font fontName="Arial Unicode MS" size="20" pdfFontName="C:/WINDOWS/fonts/ARIALUNI.TTF" pdfEncoding="Identity-V" isPdfEmbedded="true"/></textElement><textFieldExpression><![CDATA["अजय"]]></textFieldExpression></textField></band></columnHeader><detail><band height="125" splitType="Stretch"/></detail><columnFooter><band height="45" splitType="Stretch"/></columnFooter><pageFooter><band height="54" splitType="Stretch"/></pageFooter><summary><band height="42" splitType="Stretch"/></summary></jasperReport> Nahi zal tar sang.. Link to comment Share on other sites More sharing options...
ravikasabe03gmail.com Posted September 6, 2016 Author Share Posted September 6, 2016 thanks for replay.....but not working,,,,,,,,,,,,,,Marathi text display in exported pdf but marathi text meaning is diffrent Link to comment Share on other sites More sharing options...
ravikasabe03gmail.com Posted September 6, 2016 Author Share Posted September 6, 2016 internal execution work fineafter exporting pdf image is below Link to comment Share on other sites More sharing options...
ajay_1311 Posted September 6, 2016 Share Posted September 6, 2016 As blank pdf issue resolved.For the mismatch in word check by changing unicode text or changing font file. try some more unicode texts etc and let know. Link to comment Share on other sites More sharing options...
ajay_1311 Posted September 6, 2016 Share Posted September 6, 2016 This is working fine as I added the Arial Unicode MS(C:/WINDOWS/fonts/ARIALUNI.TTF) file inWindows => Preferences => Jaspersoft Studio => Fonts Link to comment Share on other sites More sharing options...
ravikasabe03gmail.com Posted September 7, 2016 Author Share Posted September 7, 2016 but in my pc not working properly,,,,,can you give me all properties pdf exporting needed???,,which encoding you used(UTF-8,UTF-16) Link to comment Share on other sites More sharing options...
ravikasabe03gmail.com Posted September 7, 2016 Author Share Posted September 7, 2016 I tried as u told but not working yet.I think system specification(application) or encoding miss match thats why pdf dont show proper text or any setting is needed to set in jasper studio,,So can u give screen shots of jasper studio/window/jasperstudio/pdfExport and jasper studio/window/jasperstudio/propertiesMy system specification is- Windows 7,JasperSoft Studio 6.0.3.final ,Adodbe reader 11,etc... Link to comment Share on other sites More sharing options...
nitingaur20992 Posted September 19, 2016 Share Posted September 19, 2016 I'm generating a jasper report in pdf with oriya language from my jsp page, it is working fine when i export it from jasper studio IDE but when i inoke .jasper file from my jsp application the oriya fonts are not displaying neither it throwing any error.I sucessfully installed fonts from Font Extension and included font.jar in JVM library.Please suggest any possible steps im skipping during this pdf generation, as per from my knowledge the fonts are embeedded with in pdf when internally exported but its not embedded when exportinf from JRPdfExporter.Below is screenshot for IDE export and JSP export./sites/default/files/images/jspExport_Oriya(1).jpg/sites/default/files/images/JasperExport_Oriya.jpg Link to comment Share on other sites More sharing options...
meenashah.np Posted January 22, 2017 Share Posted January 22, 2017 ravikasabe03 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now