Re: [iText-questions] Ploblem with superscript and subscript

2010-05-06 Thread dorairaj
Yes we had an issue with ArialNarrow for small fonts size and itext team has suggested us to go for drawString method instead of TextLayout, but still we faced the same problem in thermal printers, but when we set the encoding to false for encoding type WINANSI, then the print quality has improv

Re: [iText-questions] Ploblem with superscript and subscript

2010-05-06 Thread Bruno Lowagie
dorairaj wrote: > > It is not like that, we are exploring different possibilites before deciding > on particular approach. As we were able to get Superscript and Subscript > with textlayout but issue is with print quality. So either we require > support for any of the one(PdfGraphics2D or TextLayo

Re: [iText-questions] Ploblem with superscript and subscript

2010-05-05 Thread dorairaj
It is not like that, we are exploring different possibilites before deciding on particular approach. As we were able to get Superscript and Subscript with textlayout but issue is with print quality. So either we require support for any of the one(PdfGraphics2D or TextLayout with better quality).

Re: [iText-questions] Ploblem with superscript and subscript

2010-05-05 Thread 1T3XT info
dorairaj wrote: > > Since it is not sure whether we can get the > solution, I interpret this response as "we are only interested in getting support for free". If this interpretation is correct, this conversation is closed as far as I'm concerned. -- This answer is provided by 1T3XT BVBA http:/

Re: [iText-questions] Ploblem with superscript and subscript

2010-05-05 Thread Klas Lindbäck
I found your thread on http://forums.sun.com/thread.jspa?threadID=5436285. If you are still following the track outlined in that thread I suggest the following: Creating a derived Font using a suitable AffineTransform object to modify the vertical position should work. /Klas dorairaj skrev 20:

Re: [iText-questions] Ploblem with superscript and subscript

2010-05-05 Thread dorairaj
Thank you for the reply. Since it is not sure whether we can get the solution, i have one more question, why TextLayout.draw() will draw the text with poor quality in itext, and when i use the same TextLayout.draw() in java and printing from java the print quality is good. if we could resolve t

Re: [iText-questions] Ploblem with superscript and subscript

2010-05-05 Thread 1T3XT info
dorairaj wrote: > Since you have the solution for the issue we are facing, could you please > let us know the procedure on how to proceed further for support, I didn't say I had "THE" solution. I only looked at PdfGraphics2D and saw that superscript/subscript isn't supported. I know where I could

Re: [iText-questions] Ploblem with superscript and subscript

2010-05-05 Thread dorairaj
Thanks for the reply and regarding spanning the mailist from two different mail id, it was not done intentionally by me, sorry for Inconvenience caused. Since you have the solution for the issue we are facing, could you please let us know the procedure on how to proceed further for support, I will

Re: [iText-questions] Ploblem with superscript and subscript

2010-05-05 Thread 1T3XT info
dorairaj wrote: > > Thanks for the reply, > > my question is : > when adding the Surperscript and subscript Attributes to AttributedString > then > drawing AttributedCharacterIterator from AttributedString is not working > properly , but i can achieve it by TextLayout by using PdfGraphics2D >

Re: [iText-questions] Ploblem with superscript and subscript

2010-05-05 Thread dorairaj
Thanks for the reply, my question is : when adding the Surperscript and subscript Attributes to AttributedString then drawing AttributedCharacterIterator from AttributedString is not working properly , but i can achieve it by TextLayout by using PdfGraphics2D Object. i should not use Chunks

Re: [iText-questions] Ploblem with superscript and subscript

2010-05-05 Thread Klas Lindbäck
I asked google using the search phrase: itext superscript I then chose the top link from the real result and got the following suggestion: setTextRise: public Chunk */setTextRise/*(float rise)is used to sets the text displacement relative to the baseline. Positive values rise the text, nega

Re: [iText-questions] Ploblem with superscript and subscript

2010-05-04 Thread dorairaj
Do you mean to say there is no support for Superscript and Subscript in PDFGraphics2D. I there any other option other than using textlayout, since using textlayout the pdf printing quality is poor. Thanks Dorairaj 1T3XT info wrote: > > dorairaj wrote: >> >> Hi there, >> >> Can any one sugg

Re: [iText-questions] Ploblem with superscript and subscript

2010-05-04 Thread 1T3XT info
dorairaj wrote: > > Hi there, > > Can any one suggest me? Apparently not. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -- ___ iText-

Re: [iText-questions] Ploblem with superscript and subscript

2010-05-04 Thread dorairaj
Hi there, Can any one suggest me? Thanks Dorairaj M -- View this message in context: http://old.nabble.com/Ploblem-with-superscript-and-subscript-tp28426091p28445060.html Sent from the iText - General mailing list archive at Nabble.com.

Re: [iText-questions] Ploblem with superscript and subscript

2010-05-03 Thread dorairaj
Hi All, I have seen the PdfGraphics2D source doAttributes() is setting only font related attributes but not Superscript and subscript attributes. Can any one Pls let me know how can i set superscript and subscript attributes to PdfGraphics2D Object. Thanks Dorairaj M -- View this mess

[iText-questions] Ploblem with superscript and subscript

2010-05-02 Thread dorairaj
Hi All, I am drawing text to pdf page using the AttributedString. when adding the Surperscript and subscript Attributes to AttributedString then drawing aAttributedCharacterIterator from AttributedString is not working properly , but i can achieve it by TextLayout can any one pls let me know wh