kriegerd Posted April 26, 2007 Share Posted April 26, 2007 Hello everyone, I have a report with styled text. When I used the jasper viewer everything is ok. But when I export it to pdf, only one underline is exported. I have only bold text here and there and it's not exported. Can anyone tell me why?I'm using JasperReports 1.3.2. Thanx in advance Link to comment Share on other sites More sharing options...
Teodor Danciu Posted April 26, 2007 Share Posted April 26, 2007 Hi, When exporting to PDF, you need to use the pdfFontName attribute to specify a different font file for bold.Or, you could supply font mappings at export time using the FONT_MAP attribute.Check both the /demo/samples/fonts and the /demo/samples/styledtext samples provided with the project. I hope this helps.Teodor 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