From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Dpukm-0006eW-Dn for mharc-grub-devel@gnu.org; Tue, 05 Jul 2005 17:14:52 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dpukg-0006c4-FR for grub-devel@gnu.org; Tue, 05 Jul 2005 17:14:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dpuka-0006YY-UI for grub-devel@gnu.org; Tue, 05 Jul 2005 17:14:42 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dpuka-0006YV-Qv for grub-devel@gnu.org; Tue, 05 Jul 2005 17:14:40 -0400 Received: from [217.12.11.34] (helo=smtp003.mail.ukl.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1DpuFK-0005GP-0y for grub-devel@gnu.org; Tue, 05 Jul 2005 16:42:22 -0400 Received: (qmail 26506 invoked from network); 5 Jul 2005 20:36:04 -0000 Received: from unknown (HELO ?192.168.0.2?) (subdino2004@83.194.39.81 with plain) by smtp003.mail.ukl.yahoo.com with SMTP; 5 Jul 2005 20:36:03 -0000 Message-ID: <42CAEF33.7030201@yahoo.fr> Date: Tue, 05 Jul 2005 22:36:03 +0200 From: Vincent Pelletier User-Agent: Debian Thunderbird 1.0.2 (X11/20050602) X-Accept-Language: en-us, en MIME-Version: 1.0 To: The development of GRUB 2 References: <42C84FF8.8020102@yahoo.fr> <200507050042.25708.okuji@enbug.org> In-Reply-To: <200507050042.25708.okuji@enbug.org> X-Enigmail-Version: 0.91.0.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] Small unicode problem fix in normal/menu.c 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: Tue, 05 Jul 2005 21:14:49 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yoshinori K. Okuji wrote: > You can check in this patch, but this is not the right thing to do. So I prefer not checking it in. I had the idea to start a Unicode debate on how to handle this. My first idea would be : unsigned int grub_putcode(...); unsigned int grub_putchar(...); Ignoring the return value would make those function act as they do now. Reading it would give the number of char actualy displayed on screen. 0 = Unicode char incomplete (for putchar only, for putcode might be "invalid Unicode" if applies) 1 = one char written 2 = a char as wide as 2 "usual chars" (I think I read somewhere it exists) (and so on) I was also wondering about the font format. Does any editor exists ? Or is it taken from an existing format ? I'm dying to see Japanese chars on grub menu while playing the tetris theme :] . Vincent Pelletier -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCyu8zFEQoKRQyjtURAiSiAJ98YnZTCJhAFs0nJPj94PNu0tEDCgCgjvmt cal3c1Ca97j3+ARVBoL9vrg= =6pce -----END PGP SIGNATURE----- ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com