Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1EfkXy-00072K-H9 for mharc-grub-devel@gnu.org; Fri, 25 Nov 2005 15:51:54 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EfkXw-00071K-8S for grub-devel@gnu.org; Fri, 25 Nov 2005 15:51:52 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EfkXk-0006xQ-0p for grub-devel@gnu.org; Fri, 25 Nov 2005 15:51:51 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EfkXj-0006wq-8E for grub-devel@gnu.org; Fri, 25 Nov 2005 15:51:39 -0500 Received: from [212.85.152.101] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EfkXi-0000sX-Th for grub-devel@gnu.org; Fri, 25 Nov 2005 15:51:39 -0500 Received: from kotoba.storever.com (kotoba.oasis.nexedi.com [212.85.152.101]) by kotoba.storever.com (Postfix) with ESMTP id 0856E3C000E2D for ; Fri, 25 Nov 2005 21:38:56 +0100 (CET) Received: from ip6-localhost (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id E015C3C000E77 for ; Fri, 25 Nov 2005 21:38:55 +0100 (CET) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Fri, 25 Nov 2005 21:25:29 +0100 User-Agent: KMail/1.7.2 References: <435B72E9.6070603@nic.fi> <200511181206.49374.okuji@enbug.org> <43836C33.5090508@nic.fi> In-Reply-To: <43836C33.5090508@nic.fi> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200511252125.29459.okuji@enbug.org> X-Bogosity: No, tests=bogofilter, spamicity=0.500000, version=0.17.2 Subject: Re: Video subsystem draft 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: Fri, 25 Nov 2005 20:51:52 -0000 On Tuesday 22 November 2005 08:06 pm, Vesa J=C3=A4=C3=A4skel=C3=A4inen wrot= e: > I think it can be gzipped to fit more nicely :).. (and it seems to work > too). Compression might make the performance horrible, because PPF is very=20 optimized. > After something calls grub_error first read from font file fails, with > grub_file_read() =3D=3D -1. Now this causes font manager to drop font from > memory. If I disable feature that I can see that first character is > invalid and others come nicely. In case of "error: ..." first 'e' is > corrupt and rest is ok. I am not sure is this really issue in grub_error > itself but it is in sequence when problem shows up. > > I can't find problem in font manager, even the offset that is tries to > seek is within limits of the file (and correct) and there is enough > bytes left in file in order to successfully complete the read. > > I can send tarred version of grub2 with video subsystem if someone wants > to help on this one. I will continue to search for possible problems in > case I can pinpoint and fix it. I will check this myself later. > Is the font file using some standard format or can it's contents be > changed? Bitmap data for fonts could be placed in better order to more > easily to render it (currently I modify byte order before giving it to > glyph renderer). (My guess is that it is [P]upa [F]ont [F]ormat or file) If you want to improve it, feel free to do it. It is our own format. But I= =20 think the byte order was set conveniently. Okuji