I still don't see what is your problem. You can add Chunks to a Phrase and
each Chunk can have a different font, size and color.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Matthew Pullen [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, March 15, 2002 17:33
> To:   [EMAIL PROTECTED]
> Subject:      RE: [iText-questions] Re: Formatting issues, looking for
> fresh ideas
> 
> I don't think I was very clear the other day.  What I am trying to do
> doesn't really have anything to do with HTML, I just used HTML for an
> example.
> 
> Lets say I have 4 tags that I am parsing for: (trying very hard to make
> them not look like html)
> <BOLD> <DLOB>
> <ITALICS><SCILATI>
> 
> and I have a string
> <BOLD>This is a test<DLOB> of the emergency broadcasting system. If this
> had been a <ITALICS>real emergency<SCILATI> instructions on how to format
> the text would have followed
> 
> 
> I would like to render this text in something that has a bounded left,
> right and bottom, so that the text grows up from the bottom of the bounded
> area.  I have accomplished this using a PdfPTable.  However, I can't get
> the text to render, where I parse out the appriate formatter marker, and
> change the font.  When I render to a cell, it uses the same font
> throughout the cell.  What I would like to do is render it as one block of
> text, and simply change the font appropriately.  The mention of HTML in my
> first email was purely about the tags I am going to parse though and base
> formatting decisions upon.  I don't want to use HTML or any libs for it,
> but wanted to give something for a theoretical example that everyone
> already understood.
> 
> Thanks again for your responses,
> 
> Matthew

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to