mirror of https://github.com/acidanthera/audk.git
update the file description of PrintXY and AsciiPrintXY. and also refine the implementation to return the number of actual printed characters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8373 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
d9e63d93d5
commit
57b201b843
|
@ -527,10 +527,12 @@ Error:
|
||||||
Unicode characters displayed, not including partial characters that may be clipped
|
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
|
by the right edge of the display. If the length of the formatted Unicode string is
|
||||||
greater than PcdUefiLibMaxPrintBufferSize, then at most the first
|
greater than PcdUefiLibMaxPrintBufferSize, then at most the first
|
||||||
PcdUefiLibMaxPrintBufferSize characters are printed. The EFI_HII_FONT_PROTOCOL
|
PcdUefiLibMaxPrintBufferSize characters are printed.The EFI_HII_FONT_PROTOCOL
|
||||||
is used to convert the string to a bitmap using the glyphs registered with the
|
StringToImage() service is used to convert the string to a bitmap using the glyphs
|
||||||
HII database. No wrapping is performed, so any portions of the string the fall
|
registered with the HII database. No wrapping is performed, so any portions of the
|
||||||
outside the active display region will not be displayed.
|
string the fall outside the active display region will not be displayed. Please see
|
||||||
|
Section 27.2.6 of the UEFI Specification for a description of the supported string
|
||||||
|
format including the set of control codes supported by the StringToImage() service.
|
||||||
|
|
||||||
If a graphics console device is not associated with the ConsoleOutputHandle
|
If a graphics console device is not associated with the ConsoleOutputHandle
|
||||||
defined in the EFI_SYSTEM_TABLE then no string is printed, and 0 is returned.
|
defined in the EFI_SYSTEM_TABLE then no string is printed, and 0 is returned.
|
||||||
|
@ -602,10 +604,12 @@ PrintXY (
|
||||||
ASCII characters displayed, not including partial characters that may be clipped
|
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
|
by the right edge of the display. If the length of the formatted ASCII string is
|
||||||
greater than PcdUefiLibMaxPrintBufferSize, then at most the first
|
greater than PcdUefiLibMaxPrintBufferSize, then at most the first
|
||||||
PcdUefiLibMaxPrintBufferSize characters are printed. The EFI_HII_FONT_PROTOCOL
|
PcdUefiLibMaxPrintBufferSize characters are printed.The EFI_HII_FONT_PROTOCOL
|
||||||
is used to convert the string to a bitmap using the glyphs registered with the
|
StringToImage() service is used to convert the string to a bitmap using the glyphs
|
||||||
HII database. No wrapping is performed, so any portions of the string the fall
|
registered with the HII database. No wrapping is performed, so any portions of the
|
||||||
outside the active display region will not be displayed.
|
string the fall outside the active display region will not be displayed. Please see
|
||||||
|
Section 27.2.6 of the UEFI Specification for a description of the supported string
|
||||||
|
format including the set of control codes supported by the StringToImage() service.
|
||||||
|
|
||||||
If a graphics console device is not associated with the ConsoleOutputHandle
|
If a graphics console device is not associated with the ConsoleOutputHandle
|
||||||
defined in the EFI_SYSTEM_TABLE then no string is printed, and 0 is returned.
|
defined in the EFI_SYSTEM_TABLE then no string is printed, and 0 is returned.
|
||||||
|
|
Loading…
Reference in New Issue