Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1O1NNm-0000n4-D8 for mharc-grub-devel@gnu.org; Mon, 12 Apr 2010 13:25:10 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O1NNk-0000mC-E8 for grub-devel@gnu.org; Mon, 12 Apr 2010 13:25:08 -0400 Received: from [140.186.70.92] (port=59317 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O1NNc-0000jt-Sp for grub-devel@gnu.org; Mon, 12 Apr 2010 13:25:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O1NNU-0007Zg-K3 for grub-devel@gnu.org; Mon, 12 Apr 2010 13:25:00 -0400 Received: from mail-ew0-f223.google.com ([209.85.219.223]:45472) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1NNU-0007ZG-EK for grub-devel@gnu.org; Mon, 12 Apr 2010 13:24:52 -0400 Received: by ewy23 with SMTP id 23so2333890ewy.14 for ; Mon, 12 Apr 2010 10:24:51 -0700 (PDT) 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:received:message-id :subject:to:content-type; bh=wRCZnfK+me60+en3/1ax+i0S9pIiWff9qlZ7tJhHaXA=; b=ik7oKEJGqs4LzhmRbH0YgTlM12IK9vZHBjE8l3rRfrJYyP0OTH8a4RsDOgsFWixTjP rk9MA1Evndd6PNNeN4MMxs4/nOIrdni9nDoOQbBC0jeG2rIWS2tXOdh2y8UwC4Pq9Lb+ DhdzYuRiAhXgfOgE0wCKxhLDAXtBeQORgkPcg= 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; b=Ae60EEozuR9k0QmC1975uBM00efxtHlP3QPGl525RcFL3NH5pyBsA81GC6aLEYeQco OKq5tX+QTlvJnG+JZSdewiGQtXDPjkywUU5v/wS9neMc96KP64Oa24wFIUuPc1ntHu+z 8TK2tHvsa1ZYqRamrOGkTrAZZjTwCSbMcUUIw= MIME-Version: 1.0 Sender: hramrach@gmail.com Received: by 10.239.182.198 with HTTP; Mon, 12 Apr 2010 10:24:31 -0700 (PDT) In-Reply-To: References: <1267019540.8797.9.camel@EK> <4BB65231.10205@gmail.com> <1270446606.2581.41.camel@EK> <4BBF69BF.1060105@gmail.com> <20100409125638.7fd2bd84@svelte> <4BC2CC6C.9050205@gmail.com> <20100412072409.4d09d67d@svelte> From: Michal Suchanek Date: Mon, 12 Apr 2010 19:24:31 +0200 X-Google-Sender-Auth: c51ac3f5d55d90da Received: by 10.239.191.194 with SMTP id c2mr343207hbi.169.1271093091186; Mon, 12 Apr 2010 10:24:51 -0700 (PDT) Message-ID: To: The development of GNU GRUB Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [PATCH] Font antialiasing v2 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: Mon, 12 Apr 2010 17:25:08 -0000 On 12 April 2010 17:50, Szymon Janc wrote: > On Mon, 12 Apr 2010 07:24:09 -0700 Colin D Bennett wrote > >> > This issue should be handled at compress time by choosing to compress >> > by blocks of desired size. This way font layer doesn't need to care >> > anymore. >> >> But can you randomly seek to an block transparently and read it that >> way? > > Maybe not fully randomly, but jumping by blocks will be quite fast even if file > was seeked backward when one must start from begining of file(at least with > xz). I don't know if jumping block backward is available in gzip, probably not. > > If block size would be chosen wisely it should be possible to buffer block > (uncompressed) data and there should be quite a big chance that data locality > will minimize need for jumping (and decompression). Everything fully You can also buffer the block offsets so that you can seek in the part of the file you have seen already. Thanks Michal