All of lore.kernel.org
 help / color / mirror / Atom feed
* Size, scaling and cropping of terminal box background in grub 2.02~beta2-9
@ 2014-06-03 13:50 John Hupp
  0 siblings, 0 replies; only message in thread
From: John Hupp @ 2014-06-03 13:50 UTC (permalink / raw)
  To: grub-devel

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-03 13:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-03 13:50 Size, scaling and cropping of terminal box background in grub 2.02~beta2-9 John Hupp

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.