Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Nfotp-0003rP-Vs for mharc-grub-devel@gnu.org; Fri, 12 Feb 2010 01:21:10 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nfotn-0003qT-65 for grub-devel@gnu.org; Fri, 12 Feb 2010 01:21:07 -0500 Received: from [140.186.70.92] (port=38268 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nfotm-0003qD-6N for grub-devel@gnu.org; Fri, 12 Feb 2010 01:21:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nfotl-0005pq-GI for grub-devel@gnu.org; Fri, 12 Feb 2010 01:21:06 -0500 Received: from mail-fx0-f215.google.com ([209.85.220.215]:37132) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nfotl-0005pi-Bm for grub-devel@gnu.org; Fri, 12 Feb 2010 01:21:05 -0500 Received: by fxm7 with SMTP id 7so2215443fxm.8 for ; Thu, 11 Feb 2010 22:21:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=pHVX2zr5kdJJXQKPilD/gyEC3fjdyV3b+7Rfqxp6c0g=; b=H41gslKGnbS67l1MRvb9JwjErhrWE3jTXC0ceQWgDR7lEhntJjOsv7csTxV2Kv3e+W +hKi1gG1U7cKyJl/YCFlrsssDzYqmCclCvu+qQlTO7Bz5KLPeE9CzSI0dmYY/3XbgNaF gn0XbU6UJdFGRfEHIKBwAyXcV3NMjQDIU6Hu0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=BeZGXH+yQdlLhwKF40VMkbzSBM9zcG21jemh14B5yWIcP0VUf0EoHU/JZzWTyOcsg7 1SZSTawEkny1cdF1uqub9fktPsRn445NQZR6MPQy0GlL13BEnECMuqPF1Gza28PS7LnP wyv3TsKAIF8ThFyQzY53rD2BwaVjqx/PAPrNw= MIME-Version: 1.0 Received: by 10.239.183.146 with SMTP id u18mr97038hbg.174.1265955663661; Thu, 11 Feb 2010 22:21:03 -0800 (PST) In-Reply-To: References: <4B585690.8090602@gmail.com> <1264160815.29881.61.camel@EK> <4B5EB1A5.5040200@gmail.com> <1264500247.3195.22.camel@EK> Date: Fri, 12 Feb 2010 00:21:03 -0600 Message-ID: <2e59e6971002112221u656186c5u564acee1d4e0f092@mail.gmail.com> From: "richardvoigt@gmail.com" To: The development of GNU GRUB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Antialiased fonts patch. 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: Fri, 12 Feb 2010 06:21:07 -0000 On Thu, Feb 11, 2010 at 7:30 AM, Michal Suchanek wrot= e: > On 26 January 2010 11:04, Evgeny Kolesnikov wrote: >> Hi, >> >>> At first I was completely against antialiasing support because of >>> performance impact. But it being optional decreases the later. However >>> there is one problem: your patch relies on text_layer to be RGBA8888 >>> which was a mistake. RGBA8888 for text layer is vastly inefficient >>> especially on 16-bit framebuffer and CPUs with small cache. I had plans >>> to switch it to indexed color. Do you really need 8bits and 4 aren't >>> enough? >> >> I use 8-bit in order to give GRUB ability to look and feel exactly >> as other parts of OS, so yes, 8 bits are required. If one can't allow > > Grub will never look and feel exactly as the OS unless you import > GTK/QT, its themes, freetype, ... > >> this for his system - he can use 1-bit fonts. I don't really care about >> such situation just because other parts of desktop on such a system will >> be awful too. > > In fact I think that 4bit antialiasing should suffice. 16 tones of the > same color should be more than enough for most cases. Still I am not > sure that it will make the rendering really faster than 8bit AA. By antialiasing it seems that you mean alpha channel. Has anyone considered instead supersampling in the x-direction? This also results in anti-aliased text but in addition yields more accurate kerning and on LCD displays can be used for sub-pixel rendering. I'd say 8x supersampling, but since LCD displays have three components (R,G,B) 6x might be better. > > Only testing on various =C2=A0real hardware can possibly answer the > question if and when one of the methods is faster. I would even expect > that none is overall faster and that system exist where either is. > > Thanks > > Michal > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel >