TerminalFont.FromDosFont Method
Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.Control.dll (version 7.0.9119)
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. |