From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NDGCY-0005Nq-Fz for mharc-grub-devel@gnu.org; Wed, 25 Nov 2009 06:38:26 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDGCV-0005Mh-Uw for grub-devel@gnu.org; Wed, 25 Nov 2009 06:38:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDGCR-0005KO-0G for grub-devel@gnu.org; Wed, 25 Nov 2009 06:38:23 -0500 Received: from [199.232.76.173] (port=54649 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDGCQ-0005KI-OR for grub-devel@gnu.org; Wed, 25 Nov 2009 06:38:18 -0500 Received: from mail-fx0-f213.google.com ([209.85.220.213]:56116) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NDGCQ-0000kQ-9C for grub-devel@gnu.org; Wed, 25 Nov 2009 06:38:18 -0500 Received: by fxm5 with SMTP id 5so8261755fxm.8 for ; Wed, 25 Nov 2009 03:38:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=czBvwuv3PJB7Ll3YQ8w+8MIVAL7wl+gki7/Qk7xdsb0=; b=IwpJKRlU6EFS/D2iJZuQ8/TnCreTdgIOqEwRHS4cED4aYBu14BqTAW4X7JbthZLIhP odMMr44nB1jcOnz4akLv84g908FZJ99MmQihlwsmC0PVbvyIcbttqHCmlLA/CnbKF4uL fX3N5Iu2GoadCSpytbMlkBdCfiEEWnaXgng28= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=F8AEIvJ+nsvwgVQIxd9f9NjajdSBBdT26OPAOk9Xkm1O0g7q2Pn0F6DY+Uv59y6mjY 1FrDUnpPfOGNQMMeCe+UjDz/r3OFh/oe0r4hbLMocTucd5sYJtiSyfXI+GuL9G9fFOUW ACPR514egTmtGUyTY2COBWjfFBQvp22HaUtYY= Received: by 10.87.40.9 with SMTP id s9mr6584329fgj.11.1259149097394; Wed, 25 Nov 2009 03:38:17 -0800 (PST) Received: from debian.bg45.phnet (hg-public-dock-165-dhcp.ethz.ch [82.130.80.165]) by mx.google.com with ESMTPS id e11sm15546265fga.29.2009.11.25.03.38.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 25 Nov 2009 03:38:16 -0800 (PST) Message-ID: <4B0D1727.7030706@gmail.com> Date: Wed, 25 Nov 2009 12:38:15 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: The development of GNU GRUB References: <20091124121027.GA317@thorin> <20091124173555.GA32105@thorin> <20091124110646.42f051d6@svelte> <4B0C3762.9000700@gmail.com> <20091124232059.GA5332@thorin> In-Reply-To: X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig2E38A28FEEEF43A9963846BF" 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:38:24 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2E38A28FEEEF43A9963846BF Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Michal Suchanek wrote: > 2009/11/25 Robert Millan : > =20 >> On Tue, Nov 24, 2009 at 08:43:30PM +0100, Vladimir '=CF=86-coder/phcod= er' Serbinenko wrote: >> =20 >>> 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 f= ree >>> fonts with reasonable unicode coverage (we'll need it because of >>> gettext) and load only ones really needed >>> [...] >>> =20 >>>> I think that true bitmap fonts will look much, much better than >>>> converted outline fonts, but perhaps if we added an 8-bit alpha chan= nel >>>> 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 >>>> =20 >>> I'm ok wth doing any kind of preprocessing in grub-mkfont but grub2 h= as >>> to remain simple in order to ensure reasonable performance even on sl= ow >>> system (curren't it's not the case and more work is needed for >>> optimising it) >>> =20 >> I understand there's a lot of room for improvement, but it'd be intere= sting to >> start providing a basic set of fonts so that we get the ball rolling a= nd >> theme authors can beging doing their artist work. >> >> Has someone obtained a working multi-size setup with grub-mkfont + uni= font? >> Currently I just know that the default ascii.pf2 works (but doesn't ha= ve any >> single-size theme that would play well with it). >> >> =20 > > 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. > > =20 grub-mkfont should sort ranges, it's clearly a bug. Patch to fix grub-mkfont is welcome (you can use qsort to sort them) > Thanks > > Michal > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > =20 --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig2E38A28FEEEF43A9963846BF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iF4EAREKAAYFAksNFycACgkQNak7dOguQgl8DQD/RRCQia7E0VkSOF7Kg+qaG6+K rNHZn0lVt9iy2w+Sjk0BAMK1kecuw8bXuV08pa9ae5yF19KwYZPodjDSLpu2FJYL =rPmh -----END PGP SIGNATURE----- --------------enig2E38A28FEEEF43A9963846BF--