From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LImhe-0006k9-IU for mharc-grub-devel@gnu.org; Fri, 02 Jan 2009 11:16:50 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LImhc-0006fg-Dd for grub-devel@gnu.org; Fri, 02 Jan 2009 11:16:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LImhb-0006ds-3E for grub-devel@gnu.org; Fri, 02 Jan 2009 11:16:47 -0500 Received: from [199.232.76.173] (port=34725 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LImha-0006dd-WC for grub-devel@gnu.org; Fri, 02 Jan 2009 11:16:47 -0500 Received: from mta-out.inet.fi ([195.156.147.13]:50767 helo=jenni2.inet.fi) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LImha-0004nZ-G5 for grub-devel@gnu.org; Fri, 02 Jan 2009 11:16:46 -0500 Received: from [192.168.1.102] (84.248.105.254) by jenni2.inet.fi (8.5.014) id 48FC5A88033EDCB5 for grub-devel@gnu.org; Fri, 2 Jan 2009 18:16:45 +0200 Message-ID: <495E3DEA.80308@nic.fi> Date: Fri, 02 Jan 2009 18:16:42 +0200 From: =?UTF-8?B?VmVzYSBKw6TDpHNrZWzDpGluZW4=?= User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: The development of GRUB 2 References: <494F8FC0.8050107@nic.fi> In-Reply-To: <494F8FC0.8050107@nic.fi> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: Quoted-Printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: incoming font engine update 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, 02 Jan 2009 16:16:48 -0000 Vesa J=C3=A4=C3=A4skel=C3=A4inen wrote: > Hi All, >=20 > I am about to integrate Colin's new Font Engine with additional changes > to gfxterm. >=20 > This means that current font tool chain will be obsolete and there will > be new font commands to load fonts and so on. These will be detailed in > more detail in later emails about the change. Side effects will be that > font file format will change thus invaliding old fonts and it will > affect font sizes too. Principal idea is to convert BDF fonts to GRUB 2 > fonts. Normally used GNU Unifont is already provided in BDF form. >=20 > This will open the needed path for GRUB 2 Graphical Menu developed by > Colin. There are sill some patches that will need attention, but > basically almost all ground work is after that ready. >=20 > Next I will do some cleanup for the patch and try to commit it withing > couple of days. Couple of days went and now patch finally went in. I have updated gfxterm part of the wiki to match new font enngine: http://grub.enbug.org/gfxterm As a temporary workaround Java is being used to convert fonts. This means that it would be wise to have Java SDK & VM installed when executing make. During build process it looks for /usr/src/unifont.bdf and if found converts it automatically to ascii.pf2 and unicode.pf2 (Previously those were ascii.pff and unicode.pff). loadfont command can be used to load PF2 fonts. lsfonts command can be used to list loaded fonts. However there is a slight incompleteness in unifont.bdf that does not feature name nor point size. And we get "Unknown -1" as a output for default unifont.bdf font. You are also free to experiment with other BDF fonts. gfxterm has been updated to try make every font terminal compatible. It looks for every ASCII font found and then determines default font width from there and uses it to determine glyph spacing. When graphical menu is integrated in there font spacing will be what ever is configured in glyphs.