Re: [iText-questions] how to position each chunk to precise coordinates

2008-06-02 Thread 1T3XT info
Iliadis Yannis wrote: > Sorry if my reply hasn't anything to do with your issue, but I've seen > this behavior of overlapping characters by open PDF's, that are created > with later versions of Acrobat, in Acrobat Viewer version 4. As you indicate this is a different issue, and maybe you should

Re: [iText-questions] how to position each chunk to precise coordinates

2008-06-02 Thread Iliadis Yannis
Sorry if my reply hasn't anything to do with your issue, but I've seen this behavior of overlapping characters by open PDF's, that are created with later versions of Acrobat, in Acrobat Viewer version 4. 2008/5/30 Cam Bazz <[EMAIL PROTECTED]>: > Hello, > > What I need to do is to define a point

Re: [iText-questions] how to position each chunk to precise coordinates

2008-05-30 Thread Cam Bazz
Hello, What I need to do is to define a point to place the character, then another that defines the width, and the font should not take more space then the width. Streching or compressing them is an option. I am experimenting a little now. what Happens right now is that for example -> (Informatio

Re: [iText-questions] how to position each chunk to precise coordinates

2008-05-30 Thread Bruno Lowagie
Cam Bazz wrote: > cb.setTextMatrix(x, y); > cb.showText(text); > > Of course I have set the font previously. > > Now how can I tell cb to put this text or glyph rather, with a given width? You used an instance of class BaseFont to set the font; for instance bf. You probably used an arbitrary fon

Re: [iText-questions] how to position each chunk to precise coordinates

2008-05-30 Thread Cam Bazz
Hello, Thanks a lot this was very helpful. I almost did what I want to do. Except font width. Here is how my data looks like. What I have done as illustrated in the example was: cb.setTextMatrix(x, y); cb.showText(text); Of course I have set the font previously. Now how can I tell cb t

Re: [iText-questions] how to position each chunk to precise coordinates

2008-05-29 Thread 1T3XT info
Cam Bazz wrote: > Hello, > > I am using custom software that calculates me the positions of each > letter - or glyph rather and gives me its font, fontsize, etc. > > How can I create a pdf document such that I control in which coordinates > the chunk will be placed? > > I have numbers such as

[iText-questions] how to position each chunk to precise coordinates

2008-05-29 Thread Cam Bazz
Hello, I am using custom software that calculates me the positions of each letter - or glyph rather and gives me its font, fontsize, etc. How can I create a pdf document such that I control in which coordinates the chunk will be placed? I have numbers such as 40.44 (with two decimal places) Bes