Matt DeVillier has uploaded this change for review. ( https://review.coreboot.org/c/edk2/+/58784 )
Change subject: MdeModulePkg/BootLogoLib: Center logo 38.2% from top of screen ......................................................................
MdeModulePkg/BootLogoLib: Center logo 38.2% from top of screen
Use Microsoft's recommended positioning [1] for the boot logo.
We recommend that the logo is placed with its center at 38.2% from the screen's top edge. This positioning is based on the golden ratio's visual aesthetics and matches the Windows 10 design proportions.
[1]: https://docs.microsoft.com/en-us/windows-hardware/drivers/bringup/boot-scree...
Signed-off-by: Matt DeVillier matt.devillier@gmail.com Change-Id: Ia357e59626dc8bec0827763e803ac0c8939f0acf --- M MdeModulePkg/Library/BootLogoLib/BootLogoLib.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/edk2 refs/changes/84/58784/1
diff --git a/MdeModulePkg/Library/BootLogoLib/BootLogoLib.c b/MdeModulePkg/Library/BootLogoLib/BootLogoLib.c index 134660f..76255b6 100644 --- a/MdeModulePkg/Library/BootLogoLib/BootLogoLib.c +++ b/MdeModulePkg/Library/BootLogoLib/BootLogoLib.c @@ -175,7 +175,7 @@ break; case EdkiiPlatformLogoDisplayAttributeCenter: DestX = (SizeOfX - Image.Width) / 2; - DestY = (SizeOfY - Image.Height) / 2; + DestY = (SizeOfY * 382) / 1000 - Image.Height / 2; break; case EdkiiPlatformLogoDisplayAttributeCenterRight: DestX = SizeOfX - Image.Width;