Hi

i have generated two pdf pages 

1) pdf_acrobat.pdf created by acrobat reader from selecting abode pdf from
the java print dialog.  http://old.nabble.com/file/p28140188/pdf_acrobat.pdf
pdf_acrobat.pdf  http://old.nabble.com/file/p28140188/pdf_itext.pdf
pdf_itext.pdf 

could you please review the both pdf?

Thanks 
Dorairaj


1T3XT info wrote:
> 
> dorairaj wrote:
>> Would you suggest a better way to handle the font encoding with iText? I
>> wouldn't be embedding fonts as Unicode that were only used to print ANSI
>> characters. 
> 
> No, I'd keep everything as is, because it works well as is.
> 
> If you do want it to work differently, it's up to you to rewrite the 
> setFont() and drawString() methods in PdfGraphics2D.
> 
> You'll find out that setFont() (and the private method 
> getCachedBaseFont()) select a font that is independent of the 
> drawString() method. (This is inherent to Java's Graphics2D interface.)
> 
> What are you going to do? Are you going to change the drawString() 
> method so that it selects another font based on the contents of the 
> String s?
> 
> I'm not saying that's impossible, it's just that I'm not convinced it's 
> wise to do so.
> -- 
> This answer is provided by 1T3XT BVBA
> http://www.1t3xt.com/ - http://www.1t3xt.info
> 
> ------------------------------------------------------------------------------
> 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.itextpdf.com/book/
> 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/
> 
> 

-- 
View this message in context: 
http://old.nabble.com/how-to-choose-unicode-support-Font-from-java.awt.Font-to-com.itextpdf.text.pdf.BaseFont-tp28092144p28140188.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
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.itextpdf.com/book/
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/

Reply via email to