/** @file\r
The file provides services to retrieve font information.\r
- \r
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials are licensed and made available under \r
-the terms and conditions of the BSD License that accompanies this distribution. \r
+\r
+Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials are licensed and made available under\r
+the terms and conditions of the BSD License that accompanies this distribution.\r
The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php. \r
- \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+http://opensource.org/licenses/bsd-license.php.\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
**/\r
\r
\r
///\r
/// EFI_HII_OUT_FLAGS.\r
-/// \r
+///\r
typedef UINT32 EFI_HII_OUT_FLAGS;\r
\r
#define EFI_HII_OUT_FLAG_CLIP 0x00000001\r
UINTN StartIndex;\r
///\r
/// The index of the last character in the string which is displayed on the line.\r
- /// If this is the same as StartIndex, then no characters are displayed. \r
+ /// If this is the same as StartIndex, then no characters are displayed.\r
///\r
UINTN EndIndex;\r
UINTN LineHeight; ///< The height of the line, in pixels.\r
UINTN LineWidth; ///< The width of the text on the line, in pixels.\r
- \r
+\r
///\r
/// The font baseline offset in pixels from the bottom of the row, or 0 if none.\r
///\r
\r
//\r
// EFI_FONT_INFO\r
-// \r
+//\r
typedef struct {\r
EFI_HII_FONT_STYLE FontStyle;\r
UINT16 FontSize; ///< character cell height in pixels\r
EFI_GRAPHICS_OUTPUT_BLT_PIXEL ForegroundColor;\r
EFI_GRAPHICS_OUTPUT_BLT_PIXEL BackgroundColor;\r
EFI_FONT_INFO_MASK FontInfoMask;\r
- EFI_FONT_INFO FontInfo; \r
+ EFI_FONT_INFO FontInfo;\r
} EFI_FONT_DISPLAY_INFO;\r
\r
/**\r
\r
@param Flags Describes how the string is to be drawn.\r
\r
- @param String Points to the null-terminated string to be \r
+ @param String Points to the null-terminated string to be\r
\r
@param StringInfo Points to the string output information,\r
including the color and font. If NULL, then\r
overlap.\r
\r
@retval EFI_SUCCESS The string was successfully updated.\r
- \r
+\r
@retval EFI_OUT_OF_RESOURCES Unable to allocate an output buffer for RowInfoArray or Blt.\r
- \r
+\r
@retval EFI_INVALID_PARAMETER The String or Blt was NULL.\r
\r
@retval EFI_INVALID_PARAMETER Flags were invalid combination.\r
\r
@param Flags Describes how the string is to be drawn.\r
\r
- @param PackageList \r
+ @param PackageList\r
The package list in the HII database to\r
search for the specified string.\r
\r
Width was NULL.\r
@retval EFI_INVALID_PARAMETER The Blt or PackageList was NULL.\r
@retval EFI_INVALID_PARAMETER Flags were invalid combination.\r
- @retval EFI_NOT_FOUND The specified PackageList is not in the Database, \r
- or the stringid is not in the specified PackageList. \r
+ @retval EFI_NOT_FOUND The specified PackageList is not in the Database,\r
+ or the stringid is not in the specified PackageList.\r
\r
**/\r
typedef\r
to NULL if there are no more matching fonts.\r
\r
@param StringInfoIn Upon entry, points to the font to return\r
- information about. If NULL, then the information \r
+ information about. If NULL, then the information\r
about the system default font will be returned.\r
\r
@param StringInfoOut Upon return, contains the matching font's information.\r
If NULL, then no information is returned. This buffer\r
is allocated with a call to the Boot Service AllocatePool().\r
- It is the caller's responsibility to call the Boot \r
+ It is the caller's responsibility to call the Boot\r
Service FreePool() when the caller no longer requires\r
the contents of StringInfoOut.\r
\r
@param String Points to the string which will be tested to\r
determine if all characters are available. If\r
NULL, then any font is acceptable.\r
- \r
+\r
@retval EFI_SUCCESS Matching font returned successfully.\r
- \r
+\r
@retval EFI_NOT_FOUND No matching font was found.\r
\r
@retval EFI_OUT_OF_RESOURCES There were insufficient resources to complete the request.\r
- \r
+\r
**/\r
typedef\r
EFI_STATUS\r