Re: [iText-questions] Problem in drawing text with fonts using itext jar

2010-03-07 Thread dorairaj
I have attached pdf doc print_acr.pdf is the one which is selected adobe pdf from the java printing while priter dialog and the one print_itext.pdfgenerated by the itext jar. http://old.nabble.com/file/p27809845/print_acr.pdf print_acr.pdf http://old.nabble.com/file/p27809845/print_itext.pdf

Re: [iText-questions] Problem in drawing text with fonts using itext jar

2010-03-07 Thread Leonard Rosenthol
The only difference that I see if that the iText version has everything described in RGB while the Acrobat one is described in Gray. The Acrobat versions is therefore more correct and smaller - so I would expect it to print better than the RGB one. -Original Message- From: dorairaj

Re: [iText-questions] Problem in drawing text with fonts using itext jar

2010-03-07 Thread 1T3XT info
Leonard Rosenthol wrote: The only difference that I see if that the iText version has everything described in RGB while the Acrobat one is described in Gray. The Acrobat versions is therefore more correct and smaller - so I would expect it to print better than the RGB one. Look closer:

Re: [iText-questions] Problem in drawing text with fonts using itext jar

2010-03-07 Thread Leonard Rosenthol
Didn't notice that - yes, you are correct. -Original Message- From: 1T3XT info [mailto:i...@1t3xt.info] Sent: Monday, March 08, 2010 2:52 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Problem in drawing text with fonts using itext jar Leonard Rosenthol

[iText-questions] Font caching during import

2010-03-07 Thread Gylfi Ingvason
Gents, We're using PdfSmartCopy to concatenate documents, and one thing that is becoming a serious problem for us is that imported Font and FontDescriptor objects are being replicated on page import. Only FontFile stream objects are cached and re-referenced. Specifically, we are concatenating

Re: [iText-questions] Problem in drawing text with fonts using itext jar

2010-03-07 Thread dorairaj
Hi, Thanks for your information, wt us said is correct, i have drawn the Med ID as string using drawString() and the rest of the text drawn as TextLayout.draw() using graphi2D object. now i have identified the issue and fixed that by changing the font in DefaltFontMapper class is there any