Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NDFrD-0006Eb-Fa for mharc-grub-devel@gnu.org; Wed, 25 Nov 2009 06:16:23 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDFrB-0006EJ-JE for grub-devel@gnu.org; Wed, 25 Nov 2009 06:16:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDFr8-0006DZ-E4 for grub-devel@gnu.org; Wed, 25 Nov 2009 06:16:19 -0500 Received: from [199.232.76.173] (port=41512 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDFr8-0006DW-5H for grub-devel@gnu.org; Wed, 25 Nov 2009 06:16:18 -0500 Received: from fg-out-1718.google.com ([72.14.220.154]:56727) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NDFr7-00078f-TS for grub-devel@gnu.org; Wed, 25 Nov 2009 06:16:18 -0500 Received: by fg-out-1718.google.com with SMTP id e21so1524002fga.12 for ; Wed, 25 Nov 2009 03:16:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to :content-type:content-transfer-encoding; bh=vRZaAGVvGMQWVCjx8B382zIaEB3JJbwnoG/JqwpEdLo=; b=bhk5oSF16Yy3F2/t+BKnEmZb0YSEoJlTdMDfVpV10geZ3Nv3GEkWg7G/Cd8kBOF4ug CId+IWGgleq/U4IbduotpCuaFqXtJfIQhgS7FNiZBWfl6h6WeaNTcwrETw89y9+Ojl3z NakSLnqFvHNtgHEVuUy4iWfhq6Sq+0FWZ8w70= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=kg1UUqUVurq7skhQsBukzb2rZEhxanj3f3xVMeALYyp1DX+OTucvJp+gXRIlwpKwwL KndOwOFuA0buEofOU86meevyVDfbA/WGLW4piaH9DzYnAEYRis6puLcf2HCBYGC1g11c uiAHxGkQMzZvkV15GAJp9yBOSVlcfqsbS5RAc= MIME-Version: 1.0 Sender: hramrach@gmail.com Received: by 10.239.182.153 with SMTP id q25mr873907hbg.138.1259147777115; Wed, 25 Nov 2009 03:16:17 -0800 (PST) In-Reply-To: <20091124232059.GA5332@thorin> References: <20091124121027.GA317@thorin> <20091124173555.GA32105@thorin> <20091124110646.42f051d6@svelte> <4B0C3762.9000700@gmail.com> <20091124232059.GA5332@thorin> From: Michal Suchanek Date: Wed, 25 Nov 2009 12:15:57 +0100 X-Google-Sender-Auth: 683eed03db810126 Message-ID: To: The development of GNU GRUB 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, 2) Subject: Re: fonts for gfxmenu, help needed X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 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: Wed, 25 Nov 2009 11:16:22 -0000 2009/11/25 Robert Millan : > On Tue, Nov 24, 2009 at 08:43:30PM +0100, Vladimir '=CF=86-coder/phcoder'= Serbinenko wrote: >> I identified number of fonts as one of the reason of gfxmenu needing >> important amount of time to load. I prefer to have few nice looking free >> fonts with reasonable unicode coverage (we'll need it because of >> gettext) and load only ones really needed >> [...] >> > I think that true bitmap fonts will look much, much better than >> > converted outline fonts, but perhaps if we added an 8-bit alpha channe= l >> > to the font format and grub-mkfont could do anti-aliasing during the >> > conversion process; then I think we could make use of all the free >> > outline fonts >> I'm ok wth doing any kind of preprocessing in grub-mkfont but grub2 has >> to remain simple in order to ensure reasonable performance even on slow >> system (curren't it's not the case and more work is needed for >> optimising it) > > I understand there's a lot of room for improvement, but it'd be interesti= ng to > start providing a basic set of fonts so that we get the ball rolling and > theme authors can beging doing their artist work. > > Has someone obtained a working multi-size setup with grub-mkfont + unifon= t? > Currently I just know that the default ascii.pf2 works (but doesn't have = any > single-size theme that would play well with it). > Does grub-mkfont support writing .pf2 files from any font? IIRC there was a glyph searching optimization committed into Grub which uses binary search instead of linear search. This requires either that font glyphs are sorted by Unicode codepoint (which they supposedly are in unifont) or that grub-mkfont sorts them while creating the .pf2 file. Thanks Michal