Vixen
dd8b0a81
csharp
public sealed class FontView

A font asset, open for editing: coverage, the glyphs, and the fallback chain.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

The panel is FontView.vxml; this file is the accessibility modifier, the glyph page it draws beside, the four records its lists key on, and the two elements that exist only so that markup can write an intrinsic tag's own Text.

⚠ Shape 2 is closed, so the field rows are ported too. The ledger's row for this panel read "port the readouts, keep the field rows", which was written before change: existed. Every one of the five editable fields is a [UiProperty] — NumericInput.Number and CheckBox.IsChecked — so all five are an ordinary binding one way and a change: handler the other, and nothing in this panel is imperative but the glyph page and the picker's options.

Fields and properties (8)

  • protected override string TagName
  • protected override bool AcceptsFocus

    Whether the focus can rest on this kind of control at all.

  • public FontAtlasView Atlas

    The glyph page.

  • public UiElement Side

    The column beside it.

  • public UiElement Facts

    The face's own facts and the atlas settings.

  • public UiElement Chain

    The fallback chain.

  • public UiElement Blocks

    How much of each block the chain covers.

  • public Select BlockChooser

    Which block the page is showing.

Methods (4)

  • protected override void OnCreated()
  • protected override void OnRemoved()
  • public void Show(FontDocument font)

    Shows a font.

  • public void Reload(FontDocument font)

    Rebuilds everything from the document.

Used by (2)

  • FontEditorFactoryVixen.Editor.AssetEditors
  • FontViewTestsVixen.Editor.AssetEditors.Tests