Jump to content

European font inside Asian one


blaguman

Recommended Posts

Hello,

my question is simple. I have some text fields printed in a pdf in an asian language (Traditionnal Chinese for example), and I would like the Latin characters to be printed in "Arial" for instance.

Is it possible to make a mix between two fonts and let Jasper know when to print which one ?

Is my question clear ? I'm french so my english may not be perfect... :)

 

Thank you very much for your response.

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Do you have Latin and Chinese characters in the same text field?

If so, one solution is to set the text field as styled text and to enclose Latin characters into <style fontName="Arial">..</style> sections.  If your text fields are dynamical, you'd have to write a utility method that preprocesses the text and introduces <style> sections around Latin characters.

Regards,

Lucian

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...