Hi Eric!
Hi Sebastian,
Only some remarks about my experiences. I'm only using Gtk 2.0 and Pango 1.0, I'll update to see if it makes a difference.
Startup time is a bit difficult to measure, since the disk cache state etc. may influence this. What I found out:
... As I said before, in my tests I always started with a dry run to make sure the libraries and files were loaded or buffered in RAM. The time differences between the first run and subsequent runs was very small in avarage, but could vary a lot. Also, as I said, startup time is slightly longer but still acceptable. If this was the only drawback with gtk2, I would be fine with it.
I've found no difference in drawing time, but this has only played a bit time in dillo1 (at least for text). I've not configured anything for Pango, and from what I see on the screen, anti-aliasing (which may take much time) is turned off.
How do I turn off anti-aliasing? I'd like to try it again if you think this may speed-up redraws.
What *does* take far more time is the initial rendering, while rewrapping is exactly as fast as before. This (and also that Pango is only used for drawing, and determing the size of fonts and words) lets me assume that Dw_page_shape_glyphs is not very efficient. I've tried to track down this with gprof, but somehow the profile does not give me much clues. Perhaps it is worth to optimize this code. (The comparison is a bit unfair because of the different grades of matureness :-)
I did't try rewrapping (changing the window's size), only scrolling down and up by one full page. I can try to rewrap and scroll line by line if you want. What is the purpose of Dw_page_shape_glyphs? Best, EG
Hi,
How do I turn off anti-aliasing? I'd like to try it again if you think this may speed-up redraws.
add something like this in your ~/.fonts.conf <match target="font"> <test qual="any" name="size" compare="more"> <int>7</int> </test> <test qual="any" name="size" compare="less"> <int>10</int> </test> <edit name="antialias" mode="assign"> <bool>false</bool> </edit> </match> This will turnoff AA for sizes between 7 and 10 points Cheers -- Melvin Hadasht
participants (2)
-
Eric Gaudet
-
Melvin Hadasht