Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

TerminalFont.FromDosFont Method

Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.Control.dll (version 7.0.9147)

FromDosFont(Byte[])

Creates a font from a DOS raster font.

Declaration
public static TerminalFont FromDosFont(byte[] font)
Parameters
Type Name Description
Byte[] font

Raw DOS raster font data - either 4KB for 256 8x16 characters or 2KB for 256 8x8 characters.

Returns
Type Description
TerminalFont

DOS terminal font.

FromDosFont(Byte[], Boolean)

Creates a font from a DOS raster font.

Declaration
public static TerminalFont FromDosFont(byte[] font, bool spacing)
Parameters
Type Name Description
Byte[] font

Raw DOS raster font data - either 4KB for 256 8x16 characters or 2KB for 256 8x8 characters.

Boolean spacing

Add additional empty columns to each character, in the same way VGA does in 720x480 resolution.

Returns
Type Description
TerminalFont

DOS terminal font.

In This Article
  • FromDosFont(Byte[])
  • FromDosFont(Byte[], Boolean)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies