Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Tfvip-0006US-UQ for mharc-grub-devel@gnu.org; Tue, 04 Dec 2012 11:51:51 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tfvii-0006U2-Ee for grub-devel@gnu.org; Tue, 04 Dec 2012 11:51:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tfvih-0006dq-8o for grub-devel@gnu.org; Tue, 04 Dec 2012 11:51:44 -0500 Received: from collab.rosalab.ru ([217.199.216.181]:36722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tfvig-0006cW-WA for grub-devel@gnu.org; Tue, 04 Dec 2012 11:51:43 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by collab.rosalab.ru (Postfix) with ESMTP id 241C729C2C2 for ; Tue, 4 Dec 2012 20:51:40 +0400 (MSK) X-Virus-Scanned: amavisd-new at rosalab.ru Received: from collab.rosalab.ru ([127.0.0.1]) by localhost (collab.rosalab.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BhSFrEv+dLqC for ; Tue, 4 Dec 2012 20:51:39 +0400 (MSK) Received: from icedphoenix.localnet (unknown [10.168.1.56]) by collab.rosalab.ru (Postfix) with ESMTPSA id 8422629C2B6 for ; Tue, 4 Dec 2012 20:51:39 +0400 (MSK) From: Vladimir Testov To: grub-devel@gnu.org Subject: Bug found and fixed. Patch is attached to the letter. Date: Tue, 04 Dec 2012 20:51:38 +0400 Message-ID: <35653092.JOf9b5DjjV@icedphoenix> User-Agent: KMail/4.8.5 (Linux/3.2.0-33-generic; KDE/4.8.5; x86_64; ; ) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart2207340.WMmLRsM7Da" Content-Transfer-Encoding: 7Bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 217.199.216.181 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 16:51:50 -0000 --nextPart2207340.WMmLRsM7Da Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hello! I was playing with grub-mkfont utility, trying to make console font with selected size (10 actually). And there were too much space between strings. (Also, I had to keep utf-8 symbols that are not ascii) So I faced that -c\--asce option of grub-mkfont does not work at all. This patch fixes the problem. Now `grub-mkconfig -s 10 -c 9 -d 2 -a -o ... ...` makes the font I need. Hope it will be useful. And hope it will be added to upstream (as well as my previous patch). -- With best regards, _______________________________ Vladimir Testov, ROSA Laboratory. www.rosalab.ru --nextPart2207340.WMmLRsM7Da Content-Disposition: attachment; filename="grub2-mkfont-fix.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="grub2-mkfont-fix.patch" diff -Naur grub-2.00/util/grub-mkfont.c grub-new/util/grub-mkfont.c --- grub-2.00/util/grub-mkfont.c 2012-03-10 16:17:57.000000000 +0400 +++ grub-new/util/grub-mkfont.c 2012-12-04 18:00:35.463252107 +0400 @@ -1101,7 +1101,7 @@ arguments->font_info.desc = strtoul (arg, NULL, 0); break; - case 'e': + case 'c': arguments->font_info.asce = strtoul (arg, NULL, 0); break; --nextPart2207340.WMmLRsM7Da--