• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

iText PDF generation- Russian characters not visible

 
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All
My application generates PDF in 14 European languages(Hungarian, Slovakian, Russian etc). While it works fine for other languages, the Russian one doesn't. I display certain static content, which i pick up from a properties file(i store the data after running it through the nativetoAcsii tool of the JDK). I tried debugg it and found that the reading from prop file is fine as i could see it in the HashMap. I downloaded the cyrillic font from net but even that doesn't help. Is it that we should embed the font while generating the PDF?
Adobe site says that if a PDF has characters which are not present in the system, we can get the latest update and it should work. Or, fonts should be embedded in the PDF itself.

If someone has used iText to generate PDFs in Russian language, I would love to hear from them about how they managed it.

Thanks

Jhakda
 
Uh oh, we're definitely being carded. Here, show him this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic