Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Font linking for a unicode string  RSS feed

Peter Hsu
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

I am using a pdf generating library. It requires me to provide a font whenever I am printing a string in the pdf document. The problem is that the string that will be printed is the user input from a textbox and I may have to select different font for different language input.

I have found some information about font linking here

but I am not sure if there is a java way of doing this. Does anyone know how?

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!