neha.pateliya25 Posted September 19, 2016 Share Posted September 19, 2016 Hindi HALANT Letters(Half Letter) are not printing correctly when creating pdf using Java.eg : रक्त is printing as रक् त , हिन्दी is printing as हिन् दी. I am setting JRProperties for pdf fonts: JRProperties.setProperty("net.sf.jasperreports.default.pdf.font.name", JASPER_PDF_FONT_FILE); JRProperties.setProperty("net.sf.jasperreports.default.pdf.encoding","Identity-H"); JRProperties.setProperty("net.sf.jasperreports.default.pdf.embedded","true"); Before passing string in parameters , parsing it using IndicLigaturizer public static String TEST = "रक्त हिन्दी महेंद्र"; IndicLigaturizer g = new DevanagariLigaturizer(); String processed = g.process(TEST);But Letters are not printing as passed in parameters Link to comment Share on other sites More sharing options...
yogeshpaliyal Posted December 5, 2018 Share Posted December 5, 2018 this worked IndicLigaturizer hindi = new DevanagariLigaturizer();String result = hindi.process(string);[/code] 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