tjahfe Posted April 14, 2014 Share Posted April 14, 2014 Hi,I have managed to generate a report in Arial Unicode MS with bold simulation using Jasper Font Extesion.The following is my Jasper Font Extension configuration: jasperreports_extension.properties:net.sf.jasperreports.extension.registry.factory.fonts=net.sf.jasperreports.engine.fonts.SimpleFontExtensionsRegistryFactorynet.sf.jasperreports.extension.simple.font.families.ireportfamily1379581299032=fonts/fontsfamily1379581299032.xml[/code] fontsfamily1379581299032.xml:<?xml version="1.0" encoding="UTF-8"?><fontFamilies> <fontFamily name="Arial"> <normal><![CDATA[fonts/arial.ttf]]></normal> <bold><![CDATA[fonts/arialbd.ttf]]></bold> <italic><![CDATA[fonts/ariali.ttf]]></italic> <boldItalic><![CDATA[fonts/arialbi.ttf]]></boldItalic> <pdfEncoding><![CDATA[identity-H]]></pdfEncoding> <pdfEmbedded><![CDATA[true]]></pdfEmbedded> </fontFamily> <fontFamily name="Arial Unicode MS"> <normal><![CDATA[fonts/ARIALUNI.TTF]]></normal> <pdfEncoding><![CDATA[identity-H]]></pdfEncoding> <pdfEmbedded><![CDATA[true]]></pdfEmbedded> </fontFamily></fontFamilies>[/code] However, I have a problem with text-wrapping when bold is set to 'true'.Text often gets wrapped to the next line too early, and sometimes creating unnecessary whitespace as per screenshot below. Could anyone please help? 1 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