Class DosCp866AsciiFont
DOS CodePage 866 font. Uncovered in the depths of Alexandru's prehistoric archives. Original source unknown.
Implements
Inherited Members
Namespace: Sharpie.Font
Assembly: sharpie.dll
Syntax
[PublicAPI]
public sealed class DosCp866AsciiFont : AsciiFont, IAsciiFont
Properties
FullWidth
Gets the DOS CodePage 866 font.
Declaration
public static IAsciiFont FullWidth { get; }
Property Value
| Type | Description |
|---|---|
| IAsciiFont |
Methods
GetGlyphs(ReadOnlySpan<Rune>, Style)
Tries to get a drawing for a given list of chars.
Declaration
public override IDrawable GetGlyphs(ReadOnlySpan<Rune> chars, Style style)
Parameters
| Type | Name | Description |
|---|---|---|
| ReadOnlySpan<Rune> | chars | The characters. |
| Style | style | The style to apply to the glyphs. |
Returns
| Type | Description |
|---|---|
| IDrawable | The output glyphs. |
Overrides
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | Thrown if |
HasGlyph(Rune)
Checks if the font contains a given glyph.
Declaration
public override bool HasGlyph(Rune @char)
Parameters
| Type | Name | Description |
|---|---|---|
| Rune | char | The character. |
Returns
| Type | Description |
|---|---|
| bool |
|