Re: [iText-questions] Paragraphs and Chunks and Graphics2D

2005-05-17 Thread Nederhof M.J.
Dear Bruno, Thanks very much for your help. > Nederhof M.J. wrote: > >Some advice would be appreciated with the following problem. > > > >1) I have a method that generates Egyptian hieroglyphs written to > >Graphics2D, in such a way that no pixelization results. I

[iText-questions] Paragraphs and Chunks and Graphics2D

2005-05-17 Thread Nederhof M.J.
Some advice would be appreciated with the following problem. 1) I have a method that generates Egyptian hieroglyphs written to Graphics2D, in such a way that no pixelization results. I.e. I write curves, not pixels. This has been applied to PdfGraphics2D as well, which works fine provided I know t

Re: [iText-questions] set leading

2005-03-02 Thread Nederhof M.J.
My 2 cents. Last week Paulo advised me to use ColumnText, because setFirstLineIndent wouldn't work otherwise. So, instead of adding Paragraphs to a document, I now add (addElement) them to a ColumnText. Since then I noticed that a whole lot of other things started to work that didn't before. One

[iText-questions] setFirstLineIndent

2005-02-25 Thread Nederhof M.J.
Under "The Paragraph object" the tutorial claims this method "need no further explanation". Yet the below doesn't do what one would expect. All first lines of the paragraphs have equal indentation, i.e. presumably no indentation. Bug or feature? Thanks, Mark-Jan ==

[iText-questions] placement of text within button

2005-02-21 Thread Nederhof M.J.
I need a small button that closely fits around a short string. However, it seems such text is placed too low, by about the descent of the string. This is illustrated by the output of the program below. There is plenty of space above "b", but the "p" extends to below the button. Thanks in advanc

[iText-questions] ascent that is negative

2005-02-16 Thread Nederhof M.J.
In the code below, a small negative number is returned as the ascent of a string, which looks suspect to me. Is this a bug or a feature? Second question: I was actually trying to compute not the ascent of a string, but the ascent of a font, like in AWT. Is there such a concept with BaseFonts? T

[iText-questions] Graphics2D and custom fonts

2005-01-24 Thread Nederhof M.J.
I wish to use Java's Graphics2D to write Egyptian hieroglyphic text to a PDF file. (Because of the intricacies of this particular writing system, and because of the design of existing software, I see no straightforward way to avoid using Graphics2D.) I use iText to get from Graphics2D t