Re: Distinct performance issues with Japanese only on win32 systems
- From: Fredrik Corneliusson <fredrik corneliusson gmail com>
- To: Tor Lillqvist <tml iki fi>
- Cc: gtk-i18n-list <gtk-i18n-list gnome org>
- Subject: Re: Distinct performance issues with Japanese only on win32 systems
- Date: Mon, 12 Apr 2010 16:59:00 +0200
Hi Tor,
I think its "pango_win32_get_hfont" in pangowin32.c.
static HFONT pango_win32_get_hfont (PangoFont *font);
I removed the static and defined it as external to be able to call it
from basic-win32.c.
Unfortunately calling the "pango_win32_get_hfont" in
"itemize_shape_and_place" function seems to severely break the
rendering.
I do not understand the code well enough to know if I can get hfont in
another way (and when) to not break the rendering.
Does anyone have any hints?
/Fredrik
On Sun, Apr 11, 2010 at 9:36 PM, Tor Lillqvist <tml iki fi> wrote:
> I am not sure I would trust basing the hash on the
> pango_font_description_hash() value. I would prefer to use the
> specific HFONT for each run of glyphs from one physical font. I'm too
> lazy to look up right now how in the basic-win32.c code one can find
> that information...
>
> --tml
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]