No need to CC us in the message, we read the list, it won't help you to
get a quicker reply.
On 25/04/2011 8:29, Balajiprasad wrote:
Hi,
I have searched for the Font Directory & some example.
I have some doubts,
1)if we are trying to embed one font into PDF and that font is not
available in Windows->fonts directory. How can we add the font to PDF??.
Take a look at
http://api.itextpdf.com/com/itextpdf/text/FontFactory.html#register%28java.lang.String,%20java.lang.String%29
http://itextpdf.com/examples/iia.php?id=212 to see how to get your
registered font
2)Can you please send sample code for embed font into existing PDF.
Regards,
R.Balajiprasad
*From:*Balder [mailto:[email protected]]
*Sent:* Thursday, April 21, 2011 2:00 PM
*To:* [email protected]
*Subject:* Re: [iText-questions] How to Embed fonts in PDF
On 21/04/2011 10:20, Balajiprasad wrote:
Hi,
This chapter shows how to add individual fonts.
Dynamically we have more not embedded fonts. How to find it dynamically
You should look for the Font dictionar(y/ies) and see if the document
contains the font you need.
and embed the font into file?
and adding more fonts is like adding 1 font, but in a loop ...
Regards,
R.Balajiprasad
*From:*1T3XT BVBA [mailto:[email protected]]
*Sent:* Thursday, April 21, 2011 1:14 PM
*To:* 'Post all your questions about iText here'
*Subject:* Re: [iText-questions] How to Embed fonts in PDF
Op 21/04/2011 7:39, Balajiprasad schreef:
Hi,
I need to find out what fonts which are not embedded and want to Embed
those fonts into file.
How to do it programmatically(C#). Can you please give me sample code.
Go to http://affiliate.manning.com/idevaffiliate.php?id=223_212
Look at "Downloads" under "Resources" and download chapter 2.
Go to page 28 and look for the title "EMBEDDING FONTS".
This is a short into with some sample code.
For more info about fonts, go to chapter 11.
--
Kind Regards
Balder
------------------------------------------------------------------------
redlab-log <http://www.redlab.be/blog/>
@redlabbe <http://twitter.com/redlabbe>
--
Documentation is your friend !
@redlabbe <http://twitter.com/redlabbe>
redlab-log <http://www.redlab.be/blog>
------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been
demonstrated beyond question. Learn why your peers are replacing JEE
containers with lightweight application servers - and what you can gain
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php