From: eric_tian Date: Tue, 26 May 2009 10:01:46 +0000 (+0000) Subject: sync the StrToImage flag of UGA to consistent with GOP X-Git-Tag: edk2-stable201903~17884 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=392b3cf8b5cd118559d70ac8a3a7bd702506c082 sync the StrToImage flag of UGA to consistent with GOP git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8388 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Library/UefiLib/UefiLibPrint.c b/MdePkg/Library/UefiLib/UefiLibPrint.c index 9c80d01a55..62ac61155a 100644 --- a/MdePkg/Library/UefiLib/UefiLibPrint.c +++ b/MdePkg/Library/UefiLib/UefiLibPrint.c @@ -464,7 +464,9 @@ InternalPrintGraphic ( // Status = HiiFont->StringToImage ( HiiFont, - EFI_HII_IGNORE_IF_NO_GLYPH, + EFI_HII_IGNORE_IF_NO_GLYPH | EFI_HII_OUT_FLAG_CLIP | + EFI_HII_OUT_FLAG_CLIP_CLEAN_X | EFI_HII_OUT_FLAG_CLIP_CLEAN_Y | + EFI_HII_IGNORE_LINE_BREAK, Buffer, &FontInfo, &Blt,