Selva_ms7 Posted November 21, 2019 Share Posted November 21, 2019 I'm having Field A and Field B . I want to combine both A & B as single string and different properties for printing those fieldlikeA - Arial Normal B - Arial Italics Bold Is there any possibility that i can get this ? Thanks in advance,Selva Link to comment Share on other sites More sharing options...
C-Box Posted November 22, 2019 Share Posted November 22, 2019 You could use the simple HTML Syntax for that purpose.just concat both fields like this: $F{FieldA} + "<b><i>" + $F{FieldB} + "</i></b>"[/code]then set the Markup-language property at the textfield to HTML and check the preview. (be aware that there is no bold settings at the textfield itself.... otherwise FieldA would be bold as well of course ;-)hth + regardsC-Box Link to comment Share on other sites More sharing options...
Selva_ms7 Posted November 22, 2019 Author Share Posted November 22, 2019 i have used that one in jaspersoft tool it's working fine but when it's converting into pdf where it's showing as normal text i have used Courier New Font Link to comment Share on other sites More sharing options...
Solution C-Box Posted November 22, 2019 Solution Share Posted November 22, 2019 When you use Arial for the textfield font you will have to create a FontExtension for Arial to embedd this one also in the generated PDF file. (I guess your "courier workaround "doesn't look as wanted!?!? ;-) ) hth again + regardsC-Box 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