Re: printing text



On Fri, May 13, 2005 at 12:24:23AM +0530, Abhishek Samuel wrote:
> On 5/12/05, Jody Goldberg <jody gnome org> wrote:
> > On Thu, May 12, 2005 at 05:27:25PM +0530, Abhishek Samuel wrote:
> > > I wanted to print a char * in a restricted column of a page. How can i do this?
> > 
> > I do not understand the question.
> > What is a 'restricted column of a page'
> 
> What i am wanting to do is divide a page into 2 columns. In the left
> column i have images and in  the right column i have text. So for an
> image in the left column some text must be printed in the right
> column. This text could be well over 500 words. So it needs to be
> printed in multiline and should remain in the right column.

That is application level logic.
You'll want to 
1) create a pangoLayout)
2) give that the desired width
3) render the layout in the position for the first column

dealing with pagation is also up to you.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]