Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to change existing pdf font encoding (multi language) dynamically

 
vamshiambati krishna
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

i am using itext
i want to change existing pdf template with some dynamic strings of differen languages and create a pdf with that changes to existing pdf, but i am not able to change the encoding to that data , can any ony tell me how to change the encoding to existing pdf using itext

here i am adding the code



[Nitesh: Added code tags. Please UseCodeTags while posting code.]
[ November 18, 2008: Message edited by: Nitesh Kant ]
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

I can't quite tell from the code what you're trying to do, but there's not much that can be done to a PDF once it has been generated. In particular, you can't go back and change text or fonts in it. PDF is not meant to be editable in general, and iText makes no attempt to help with that.
 
Megan James
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


i try to get the pdf text to java string , but the above code doesnt help me .
could any one help me to proceed future.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic