Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello everyone,
I create a JRXML file using JasperSoft Studio V7, after that I create a job Talend V6.5 to call this file in the component tJasperOutPut.
There is how the component is configured:
The Job run successfully, the file PDF is generated, but the styles of text fields and labels are not applied (Styles are applied in the HTML output thou).
Thanks in advance for your help ^^
Regards, Charaf
Hi Sabrina,
Sorry for not closing this issue, I have resolved the problem.
For people encountering the same issue, this is how I proceeded:
On JasperSoft Studio:
- Go to Windows --> Preferences --> Jaspersoft Studio --> Fonts
- Click: Add From Path
- Choose the folder containing fonts (Ex: C:/Windows/fonts)
- Click: Finish
- Once the Font List is loaded : Select the desired font (by double clicking)
- check the box: "Embed this font in PDF document"
- Click: Finish
- Click: "Export" to export the font as a .Jar file
On Talend:
- Add the component tLibraryLoad
- in Library field: choose the Jar File exported from Jasper.
I add pics for a field from the generated PDF before and after the resolution.
Best regards
Charaf
Hello,
What does your actual result look like? Could you please give us a sample of your generated PDF file?
Best regards
Sabrina
Hi Sabrina,
Sorry for not closing this issue, I have resolved the problem.
For people encountering the same issue, this is how I proceeded:
On JasperSoft Studio:
- Go to Windows --> Preferences --> Jaspersoft Studio --> Fonts
- Click: Add From Path
- Choose the folder containing fonts (Ex: C:/Windows/fonts)
- Click: Finish
- Once the Font List is loaded : Select the desired font (by double clicking)
- check the box: "Embed this font in PDF document"
- Click: Finish
- Click: "Export" to export the font as a .Jar file
On Talend:
- Add the component tLibraryLoad
- in Library field: choose the Jar File exported from Jasper.
I add pics for a field from the generated PDF before and after the resolution.
Best regards
Charaf
Hello Charaf,
Thanks for your feedback and sharing your solution with us on forum.
Best regards
Sabrina