This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem while displaying check mark in pdf using itext api  RSS feed

 
Dilip Mallik
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Hi Ulf ar you on leave.. atleast you help...,I always get your response for my queries

Thanks,
Dilip
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does the Helvetica font have that character?
 
Dilip Mallik
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • 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: 42972
73
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Hi Ulf,

Thanks for the link.the problem is solved
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!