Hi! Just some remarks: - The performance by this patch is indeed not acceptable, so don't be afraid that it gets, *in* *this* *form*, into the main trunk. - However, the patch is immature, so is may still be improved to gain a reasonable performance (and I'm quite certain that the problems may be fixed). I'm in no way familiar with Pango, so someone else may look at it. The main issues are: - It is worth to examine the drawing times more, I found only slight differences. OTOH, Pango configuration seems to be a difficult problem. Certainly, informations about Pango configuration will be displayed in the splash page. - The low speed of page build, and the memory usage: The patch uses PangoGlyphString, while a previous version used PangoLayout. Maybe PangoLayout may faster, this should be tested. As I already wrote, I'm not familiar with Pango, I should look at it soon, but someone with Pango experiences may give some clues. At least, with Pango, TMTOWTDI. On Tue, Oct 14, Jorge Arellano Cid wrote:
I don't know FLTK :(, but here is a list with some preliminary concerns (AFAIK):
* Does it provide C bindings, or is for C++ only? * Does it have a table widget or similar to GTK+'s layout?
GtkLayout is mainly there to overcome the limited size of X windows. When I started to develop Dw, I first tried to get a similar result by writing anything myself, but finally gave it up. Look at the Gtk+ documentation, GtkLayout does some weird things which may not be possible with FLTK. On Tue, Oct 14, Madis Janson wrote:
On Tue, 14 Oct 2003, Eric Gaudet wrote:
Please back your opinions with links, docs, facts or with whatever helps better to understand the point. Maybe a single email can show there's no way to do it, or maybe not!
Two applications I used to run regularly when they were on gtk1.2 were ported to gtk2.0: pan and edonkey2000-gtk.
I'm not using them anymore, because their rendering became painfully slow: scrolling the lists down takes several seconds to refresh on my 300MMX laptop.
I had similar experience with xchat 1.x (based on gtk1.2) and 2.x (gtk2) - text scrolling in 2.x version was noticably slow, when i used it on 200MHz pentium. Even new irc messages caused visible redraw when old messages were scrolled up by 1 line.
Can these problems be fixed with another Pango configuration? On Wed, 15 Oct 2003, Eric Gaudet wrote:
What is the purpose of Dw_page_shape_glyphs?
At least, it is called, whenever a new word is added to the page, and it somehow determines the size of the word. Sebastian