EFI NARROW GLYPH

From PhoenixWiki

Jump to: navigation, search

The EFI_NARROW_GLYPH has a preferred dimension (w x h) of 8 x 19 pixels.

Prototype

typedef struct {
  CHAR16 UnicodeWeight;
  UINT8  Attributes;
  UINT8  GlyphCol1[EFI_GLYPH_HEIGHT];
} EFI_NARROW_GLYPH;
#define EFI_GLYPH_HEIGHT 19
#define EFI_GLYPH_WIDTH  8

Members

Member Description
UnicodeWeight The Unicode representation of the glyph. The term weight is the technical term for a character value.
Attributes The data element containing the glyph definitions.
#define EFI_GLYPH_NON_SPACING 0x01
#define EFI_GLYPH_WIDE        0x02
EFI_GLYPH_NON_SPACING This symbol is to be printed "on top of" (OR’d with) the previous glyph before display.
EFI_GLYPH_WIDE This symbol uses 16x19 formats rather than 8x19.
GlyphCol1 The column major glyph representation of the character. Bits with values of one indicate that the corresponding pixel is to be on when normally displayed; those with zero are off.

Description

Glyphs are represented by two structures, one each for the two sizes of glyphs. The narrow glyph (EFI_NARROW_GLYPH) is the normal glyph used for text display.


Copyright (C) 2008 Phoenix Technologies Ltd. All Rights Reserved. Portions copyright (C) 2008 UEFI Forum, Inc. Used with permission.

Personal tools