My apologies for not running gtk-demo to check before offering the
patch!
I'm not going to be able to look into it more for a while, so
reverting may be the right choice at this time.
David E Hollingsworth
___
gtk-i18n-list mailing list
gtk
A few weeks ago I reported a performance issue regarding the use of
Uniscribe in the win32 basic shaper.
It turns out that the issue was with the use of Uniscribe's
SCRIPT_CACHE. Despite the name, this value is for caching
per-font-plus-size values, not per-script values. See:
http://msdn.mi
=?gbk?B?zfXQ8bni?= writes:
> It is used when I scroll the text. If I frequently call
> "pango_layout_get_line", is the efficiency very low ?
You probably want to be using pango_layout_get_line_readonly() unless
you're modifying the contents. Otherwise it has to recalculate the
extents each tim
"Ricchetti, Andrea" writes:
> I've made some test, and I've found that the correct width and
> height value are these from
>
> cairo_image_surface_create (CA_GetFormat(), _TextBoxWidth, _TextBoxHeight);
Perhaps someone else knows what you mean. I'm not sure that I
understand.
It sounds like y
pango_layout_get_size() returns the logical (layout) size. It sounds
like you want the ink size (which pixels will be touched when
rendered). To get the exact ink bounds, call
pango_layout_get_extents(), passing in a non-null ink_rect and a null
logical_rect. pango_layout_get_pixel_extents() is
Tor Lillqvist writes:
> Hmm, is this the time it takes to process the entire document through
> Pango? Or just one screenful? I,.e, is the time proportional to the
> length of the document?
It's proportional to the length. The real test is the C code I
referred to in the previous message. The
Hello,
I have investigated this more. It does not appear to be a
configuration issue, nor specific to the particular code I was using.
The problem appears to be the way that Pango is using Uniscribe.
If you run gedit for win32 and load a moderate-length (120kB) Japanese
document, it takes seve
(msys/mingw)
I would appreciate it if someone else would try compiling
pango-win-test1.c to see if they have similar results.
Thank you for any suggestions on how to proceed,
David E Hollingsworth
d...@curl.com
--
"I've just found the silverw