Hi
Thanks for your prompt reply ..
I went through the PDF Reference document for Text i.e Chapter 5.
I found that in the font dictionary for streams there are 3
different lengths that needs to be specified for fixed content and encrypted
contents for type 1 fonts.
But I have no clue as to how to find these lengths using iText.
If you could please point me to the right direction it would be very
helpful.
Thanks
Arindam
On Mon, Mar 15, 2010 at 1:03 PM, 1T3XT info <[email protected]> wrote:
> Arindam Ray wrote:
> > Hi,
> > I am trying to embed otf and pfm fonts in existing PDF files.
> > I followed the example as given in EmbedFontPostFacto
> >
> > Though the example works perfectly for ttf files.
>
> Correct, the example assumes you're using a TTF font.
> That's why it's an "example", not the full solution.
>
> > In case of otf/pfm the
> > font file is getting embedded but while opening the
> > PDF it gives an error message "Cannot extract the embedded font CMR10
> > Some characters maynot be displayed properly"
> >
> > Any help regarding this issue would be most appreciated.
>
> If you want to know the difference between embedding a
> TTF font post facto and embedding a Type 1 font, you can
> find all the information you need in the PDF reference.
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions:
> http://www.1t3xt.info/examples/
> You can also search the keywords list:
> http://1t3xt.info/tutorials/keywords/
>
--
ARINDAM RAY
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/