From b9c8d8bd154e42963d16ff4e821fb8ac6b5c4f69 Mon Sep 17 00:00:00 2001 From: mdkinney Date: Fri, 8 May 2009 23:48:32 +0000 Subject: Clarify clipping behavior of PrintXY() and AsciiPrintXY(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8271 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Library/UefiLib.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'MdePkg/Include') diff --git a/MdePkg/Include/Library/UefiLib.h b/MdePkg/Include/Library/UefiLib.h index 401695293a..fd93dcc719 100644 --- a/MdePkg/Include/Library/UefiLib.h +++ b/MdePkg/Include/Library/UefiLib.h @@ -1074,8 +1074,9 @@ AsciiErrorPrint ( This function prints a formatted Unicode string to the graphics console device specified by ConsoleOutputHandle in EFI_SYSTEM_TABLE and returns the number of - Unicode characters printed. If the length of the formatted Unicode string is - greater than PcdUefiLibMaxPrintBufferSize, then only the first + Unicode characters displayed, not including partial characters that may be clipped + by the right edge of the display. If the length of the formatted Unicode string is + greater than PcdUefiLibMaxPrintBufferSize, then at most the first PcdUefiLibMaxPrintBufferSize characters are printed. The EFI_HII_FONT_PROTOCOL is used to convert the string to a bitmap using the glyphs registered with the HII database. No wrapping is performed, so any portions of the string the fall @@ -1123,8 +1124,9 @@ PrintXY ( This function prints a formatted ASCII string to the graphics console device specified by ConsoleOutputHandle in EFI_SYSTEM_TABLE and returns the number of - ASCII characters printed. If the length of the formatted ASCII string is - greater than PcdUefiLibMaxPrintBufferSize, then only the first + ASCII characters displayed, not including partial characters that may be clipped + by the right edge of the display. If the length of the formatted ASCII string is + greater than PcdUefiLibMaxPrintBufferSize, then at most the first PcdUefiLibMaxPrintBufferSize characters are printed. The EFI_HII_FONT_PROTOCOL is used to convert the string to a bitmap using the glyphs registered with the HII database. No wrapping is performed, so any portions of the string the fall -- cgit v1.2.3