• 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
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Problem while displaying check mark in pdf using itext api

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am trying to display a cross mark if a particular field is having no and a check mark if it contains yes,I am able to display
the cross mark but i am unable to display the check mark(it is appearing blank) please help I think the unicode value I am using is wrong, below is my code:-


The table in which I am adding this cell is a normal table not a pdfptable .If you have some other modifications to suggest then please suggest

Thanks,
Dilip
 
Dilip Mallik
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ulf ar you on leave.. atleast you help...,I always get your response for my queries

Thanks,
Dilip
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does the Helvetica font have that character?
 
Dilip Mallik
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ulf,

Thanks for your response, actually I am new to this api.If you can tell me what all things I need to consider for a charcter to appear in pdf then also I can crack this . And about your question ,actually I referred a journal it says
it is wingding font and some says it is "ZAPFDINGBATS". I am confused I tried both in place of "HELVETICA" but the problem still persists.

Thanks
Dilp
 
Ulf Dittmer
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

If you can tell me what all things I need to consider for a charcter to appear in pdf then also I can crack this.


What have you tried? If you're looking for a tutorial on iText, then there's plenty of good material on the iText web site, like this page about font selection. ShowSomeEffort
 
Dilip Mallik
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ulf,

Thanks for the link.the problem is solved
reply
    Bookmark Topic Watch Topic
  • New Topic