W3C home > Mailing lists > Public > www-amaya-dev@w3.org > November 2002

Re: font checking problem

From: Irene Vatton <irene.vatton@inrialpes.fr>
Date: Wed, 27 Nov 2002 10:05:05 +0100
To: ymnk@jcraft.com (Atsuhiko Yamanaka)
Cc: www-amaya-dev@w3.org
Message-Id: <20021127100505.7ff2050b.irene.vatton@inrialpes.fr>

On Wed, 27 Nov 2002 10:48:07 +0900
ymnk@jcraft.com (Atsuhiko Yamanaka) wrote:

> 
> Hi,
> 
> Thanks to nice fontconfig system, I can display multi-byte (in my case, 
> Japanese) characters on Gtk-Amaya, but Gtk-Amaya and xfs eat up many CPU time.
> 
> It seems that, whenever calculating character-width for each characters by
> calling BoxCharacterWidth(in thotlib/dialogue/font.c),
> XListFonts is called(in IsXLFDPatterneAFont of thotlib/dialogue/fontconfig.c)
> and such frequent XListFonts calling has caused this problem.
> How about calling IsXLFDPatterneAFont only one time for each XLFD?
> I will post a patch.
> 
> Thanks,
> --
> ymnk

Thanks for your contribution that we'll integrate it as soon as possible.
-- 
     Irene.
Received on Wednesday, 27 November 2002 04:05:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:25:48 UTC