windows-nt/Source/XPSP1/NT/base/ntsetup/textmode/spddlang/fe/fefont.h

50 lines
652 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
//
// size of the byte aligned DIB bitmap
//
#define CJ_DIB8_SCAN(cx) ((((cx) + 7) & ~7) >> 3)
#define CJ_DIB8( cx, cy ) (CJ_DIB8_SCAN(cx) * (cy))
//
// Public functions in jpnfont.c
//
BOOLEAN
FEDbcsFontInitGlyphs(
IN PCWSTR BootDevicePath,
IN PCWSTR DirectoryOnBootDevice,
IN PVOID BootFontImage,
IN ULONG BootFontImageLength
);
VOID
FEDbcsFontFreeGlyphs(
VOID
);
PBYTE
DbcsFontGetDbcsFontChar(
USHORT Word
);
PBYTE
DbcsFontGetSbcsFontChar(
UCHAR Char
);
PBYTE
DbcsFontGetGraphicsChar(
UCHAR Char
);
BOOLEAN
DbcsFontIsGraphicsChar(
UCHAR Char
);
BOOLEAN
DbcsFontIsDBCSLeadByte(
IN UCHAR c
);