X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FConsole%2FGraphicsConsoleDxe%2FLaffStd.c;h=70715527adde260810ff2d2ea17bf5fc3816d8f6;hp=d91f91fd89034a0ead94b72b9267300c5cf05119;hb=9d510e61fceee7b92955ef9a3c20343752d8ce3f;hpb=95276127e373f2e2fb2a208ff77267422a197d9f diff --git a/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/LaffStd.c b/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/LaffStd.c index d91f91fd89..70715527ad 100644 --- a/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/LaffStd.c +++ b/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/LaffStd.c @@ -1,33 +1,16 @@ -/*++ +/** @file + Narrow font Data definition for GraphicsConsole driver. -Copyright (c) 2006, Intel Corporation -All rights reserved. This program and the accompanying materials -are licensed and made available under the terms and conditions of the BSD License -which accompanies this distribution. The full text of the license may be found at -http://opensource.org/licenses/bsd-license.php - -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
+SPDX-License-Identifier: BSD-2-Clause-Patent -Module Name: +**/ - LaffStd.c - -Abstract: - - -Revision History - ---*/ +#include "GraphicsConsole.h" -// -// Include common header file for this module. -// -#include "CommonHeader.h" -#include "GraphicsConsole.h" -EFI_NARROW_GLYPH UsStdNarrowGlyphData[] = { +EFI_NARROW_GLYPH gUsStdNarrowGlyphData[] = { // // Unicode glyphs from 0x20 to 0x7e are the same as ASCII characters 0x20 to 0x7e // @@ -283,13 +266,6 @@ EFI_NARROW_GLYPH UsStdNarrowGlyphData[] = { { 0x0000, 0x00, {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}} //EOL }; -UINTN -ReturnNarrowFontSize ( - VOID - ) -{ - // - // I need the size of this outside of this file, so here is a stub function to do that for me - // - return sizeof (UsStdNarrowGlyphData); -} +// Get available Unicode glyphs narrow fonts(8*19 pixels) size. +UINT32 mNarrowFontSize = sizeof (gUsStdNarrowGlyphData); +