]> git.proxmox.com Git - mirror_edk2.git/commitdiff
sync the StrToImage flag of UGA to consistent with GOP
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 26 May 2009 10:01:46 +0000 (10:01 +0000)
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 26 May 2009 10:01:46 +0000 (10:01 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8388 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/UefiLib/UefiLibPrint.c

index 9c80d01a55de78f76422f7dd04e4060eb8206423..62ac61155a828fb52eb4f10c271f8a49392bab51 100644 (file)
@@ -464,7 +464,9 @@ InternalPrintGraphic (
     //\r
     Status = HiiFont->StringToImage (\r
                          HiiFont,\r
-                         EFI_HII_IGNORE_IF_NO_GLYPH,\r
+                         EFI_HII_IGNORE_IF_NO_GLYPH | EFI_HII_OUT_FLAG_CLIP |\r
+                         EFI_HII_OUT_FLAG_CLIP_CLEAN_X | EFI_HII_OUT_FLAG_CLIP_CLEAN_Y |\r
+                         EFI_HII_IGNORE_LINE_BREAK,\r
                          Buffer,\r
                          &FontInfo,\r
                          &Blt,\r