From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LW5Ki-0003Og-QW for mharc-grub-devel@gnu.org; Sun, 08 Feb 2009 03:48:08 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LW5Kh-0003OH-9y for grub-devel@gnu.org; Sun, 08 Feb 2009 03:48:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LW5Ke-0003N2-AM for grub-devel@gnu.org; Sun, 08 Feb 2009 03:48:06 -0500 Received: from [199.232.76.173] (port=48694 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LW5Ke-0003Mw-3s for grub-devel@gnu.org; Sun, 08 Feb 2009 03:48:04 -0500 Received: from gateway01.websitewelcome.com ([69.93.126.19]:45029) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LW5Kd-0007pn-Jk for grub-devel@gnu.org; Sun, 08 Feb 2009 03:48:03 -0500 Received: (qmail 894 invoked from network); 8 Feb 2009 09:11:40 -0000 Received: from gator297.hostgator.com (74.53.228.114) by gateway01.websitewelcome.com with SMTP; 8 Feb 2009 09:11:40 -0000 Received: from [67.185.177.95] (port=49765 helo=localhost) by gator297.hostgator.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1LW5KB-0003ff-Ob; Sun, 08 Feb 2009 02:47:36 -0600 Date: Sun, 8 Feb 2009 00:47:37 -0800 From: Colin D Bennett To: The development of GRUB 2 Message-ID: <20090208004737.2b0aec6d@gibibit.com> In-Reply-To: <20090207212636.GB6343@thorin> References: <20090121211706.GA4175@pina.cat> <497795B8.7040705@nic.fi> <20090121214847.GA4916@pina.cat> <49779CDC.5030801@nic.fi> <20090207212636.GB6343@thorin> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/UKw.1ZijP7W+qk5le/xPvwU"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator297.hostgator.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gibibit.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: rmh@aybabtu.com Subject: Re: unicode font slowness (Re: gettext patch (beta)) X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2009 08:48:07 -0000 --Sig_/UKw.1ZijP7W+qk5le/xPvwU Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, 7 Feb 2009 22:26:36 +0100 Robert Millan wrote: > On Thu, Jan 22, 2009 at 12:08:28AM +0200, Vesa J=C3=A4=C3=A4skel=C3=A4ine= n wrote: > >=20 > > Are you using gfxterm ? If yes, then your font is missing =C3=AD. Try t= o load > > unifont.bf2 or unicode.bf2. I think debian defaults to ascii.bf2 which > > may not include that glyph. >=20 > Actually, it's us who default to ascii: >=20 > 2008-07-23 Robert Millan >=20 > [...] >=20 > * util/update-grub_lib.in (font_path): Prefer ascii.pff over comp= lete > fonts, because the latter are too slow. >=20 > before this change, using the complete fonts was incredibly slow in things > like QEMU or VirtualBox. >=20 > Perhaps there's some way in which this can be optimized, so we can go bac= k to > using the complete set by default? I'm optimizing the font rendering now for fonts with many characters. It was using a linear search (gasp!!) for finding the glyph each time it is requested. I just never got around to using the proper data structure, but I will have this done soon. I made a text rendering benchmark and added it to 'videotest bench' so I can objectively measure the improvement achieved. The improvement could be significant. I'll report more later. Regards, Colin --Sig_/UKw.1ZijP7W+qk5le/xPvwU Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkmOnC4ACgkQokx8fzcGbYev2gCeMbbjxKpO+vZvaZwqLCl58bba hhIAn3YefXNtgFDdllqqpexb64gckJ62 =P1k6 -----END PGP SIGNATURE----- --Sig_/UKw.1ZijP7W+qk5le/xPvwU--