Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!
  • 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 chunk font width difference between capital and small letter

 
Ranch Hand
Posts: 88
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am design an application , where I am giving a textarea where user can write his/her own free text and my application convert that to pdf , for this i am using itext and chunk feature.

Design like:

Hello all <bold> I am NEW to ITEXT</bold> : Oscar
thank you all this is my text...................... : Oman

But when my pdf prints both lines are not coming as given in html text area.When i zoom in the pdf file I can clearly see capital letter of first line is consuming more space as compared to small letter next line.

How to fix this can anyone help me on this?
 
Trailboss
Posts: 23755
IntelliJ IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not sure why this is in the ranch office forum?
reply
    Bookmark Topic Watch Topic
  • New Topic