• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

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

 
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 ]
 
Rancher
Posts: 43011
76
  • 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.
 
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.
 
There's a city wid manhunt for this tiny ad:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!