All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Hupp <grub-dev@prpcompany.com>
To: grub-devel@gnu.org
Subject: Size, scaling and cropping of terminal box background in grub 2.02~beta2-9
Date: Tue, 03 Jun 2014 09:50:44 -0400	[thread overview]
Message-ID: <538DD2B4.90606@prpcompany.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1295 bytes --]

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?

[-- Attachment #2: Type: text/html, Size: 1597 bytes --]

                 reply	other threads:[~2014-06-03 13:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=538DD2B4.90606@prpcompany.com \
    --to=grub-dev@prpcompany.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.