From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Wrp7U-0000qr-3R for mharc-grub-devel@gnu.org; Tue, 03 Jun 2014 09:51:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wrp7L-0000fP-4P for grub-devel@gnu.org; Tue, 03 Jun 2014 09:51:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wrp7A-0001YG-Cw for grub-devel@gnu.org; Tue, 03 Jun 2014 09:51:07 -0400 Received: from p3plsmtpa09-02.prod.phx3.secureserver.net ([173.201.193.231]:49004) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wrp79-0001Y8-Ug for grub-devel@gnu.org; Tue, 03 Jun 2014 09:50:56 -0400 Received: from [192.168.1.110] ([73.50.64.254]) by p3plsmtpa09-02.prod.phx3.secureserver.net with id 9pqt1o0045V8ETM01pqtY4; Tue, 03 Jun 2014 06:50:54 -0700 X-Sender: john@prpcompany.com Message-ID: <538DD2B4.90606@prpcompany.com> Date: Tue, 03 Jun 2014 09:50:44 -0400 From: John Hupp User-Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Size, scaling and cropping of terminal box background in grub 2.02~beta2-9 Content-Type: multipart/alternative; boundary="------------080702020009050208020301" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 173.201.193.231 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 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: Tue, 03 Jun 2014 13:51:14 -0000 This is a multi-part message in MIME format. --------------080702020009050208020301 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In Towheed Mohammed's Definitive Guide To Theming GRUB 2, written for the stable release, he wrote concerning the terminal box background image: The image is scaled to the screen's dimensions as set by the GRUB_GFXMODE variable. It is then cropped to fit within the center slice of the terminal window. ... The center slice is set to 70% of the screen size and is centered on the screen. The upper left corner of the image maps to the upper left corner of the slice. If that was true for the stable release, it is no longer true for the beta that shipped with Ubuntu 14.04 LTS. With the boot menu top = 20%, I would have expected the top of the menu to be covered (with 5% to spare), but the first menu item was still visible. And since my boot menu and progress bar both have left = 14% and width = 72%, I would have expected the term box NOT to cover the sides of those, but it did. The scaling and cropping information likewise seems not to apply. For instance, even after explicitly setting grub_gfxmode='1024x768', the resulting terminal box is not 70% of that size (e.g. 717x538), but something much less. As far as I can tell, the image is still centered, but can anyone supply current information on the size, scaling and cropping of the image? --------------080702020009050208020301 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit In Towheed Mohammed's Definitive Guide To Theming GRUB 2, written for the stable release, he wrote concerning the terminal box background image:
The image is scaled to the screen's dimensions as set by the GRUB_GFXMODE variable. It is then cropped to fit within the center slice of the terminal window.
...
The center slice is set to 70% of the screen size and is centered on the screen. The upper left corner of the image maps to the upper left corner of the slice.
If that was true for the stable release, it is no longer true for the beta that shipped with Ubuntu 14.04 LTS.

With the boot menu top = 20%, I would have expected the top of the menu to be covered (with 5% to spare), but the first menu item was still visible. And since my boot menu and progress bar both have left = 14% and width = 72%, I would have expected the term box NOT to cover the sides of those, but it did. The scaling and cropping information likewise seems not to apply. For instance, even after explicitly setting grub_gfxmode='1024x768', the resulting terminal box is not 70% of that size (e.g. 717x538), but something much less.

As far as I can tell, the image is still centered, but can anyone supply current information on the size, scaling and cropping of the image?
--------------080702020009050208020301--