Re: Possible Pango 1.4 ideas



On Wed, 2003-01-22 at 22:08, Joaquín Cuenca Abela wrote:

> Btw, Damon, if you're planning to do a DTP, would you be interested in
> sharing some code with AbiWord?  a DTP and a wordprocessor don't have
> exactly the same requeriments, what we should be close enough to be able
> to share some code here and there. 
>
> If you're interested, did you have any thoughts on what data structure
> do you want to use for your app?  a gap buffer (I hope not...)?  a
> btree?  a piece table?
> 
> If you choose the last one, I've worked on a little redesign of the
> current abiword piece table (check
> http://e98cuenc.free.fr/wordprocessor/piecetable.html).  I'm still
> optimizing it, but I think that it can yield good performance results. 

I doubt I'll get around to writing the DTP app until next year at least,
since I want to do this Pango work and then work on a printable canvas
widget/component and help sort out gnome-print.

I haven't thought about the data structure too much yet. I was thinking
of cannibalizing GtkTextView (as that already does all the PangoLayout
stuff) and using GtkTextBuffer initially, and then using something else
if that isn't scalable. But I'll have a look at your code. I'd be
interested in how it compares to GtkTextBuffer in terms of features,
speed & scalability.

Damon




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