Class ExtendedMetadata
KernSmith-specific metadata for generation settings that are not part of the standard BMFont format.
public sealed class ExtendedMetadata
- Inheritance
-
ExtendedMetadata
- Inherited Members
Properties
AdvanceAdjustY
Global vertical advance adjustment (Hiero pad.advance.y), if non-zero. BMFont has no per-glyph yadvance field, so this is surfaced here so it round-trips; a standard BMFont file without this field reads back as null.
public float? AdvanceAdjustY { get; init; }
Property Value
ColorFont
True if color font rendering (COLR/CPAL) was enabled during generation.
public bool? ColorFont { get; init; }
Property Value
- bool?
FallbackCharacter
Unicode codepoint of the fallback character for missing glyphs, if configured.
public int? FallbackCharacter { get; init; }
Property Value
- int?
GeneratorVersion
KernSmith library version that generated this font.
public required string GeneratorVersion { get; init; }
Property Value
GradientBottomColor
Gradient bottom/end color as hex RGB (e.g. "DC143C"), if gradient was used.
public string? GradientBottomColor { get; init; }
Property Value
GradientTopColor
Gradient top/start color as hex RGB (e.g. "FFD700"), if gradient was used.
public string? GradientTopColor { get; init; }
Property Value
OutlineThickness
Outline thickness, if outline post-processor was used.
public float? OutlineThickness { get; init; }
Property Value
SdfSpread
SDF spread value, if SDF mode was used.
public int? SdfSpread { get; init; }
Property Value
- int?
ShadowColor
Shadow color as hex RGB (e.g. "000000"), if shadow was used.
public string? ShadowColor { get; init; }
Property Value
ShadowOffsetX
Shadow X offset, if shadow post-processor was used.
public int? ShadowOffsetX { get; init; }
Property Value
- int?
ShadowOffsetY
Shadow Y offset, if shadow post-processor was used.
public int? ShadowOffsetY { get; init; }
Property Value
- int?
SuperSampleLevel
Super sampling level, if super sampling was used.
public int? SuperSampleLevel { get; init; }
Property Value
- int?
VariationAxes
Variable font axis values used during generation.
public IReadOnlyDictionary<string, float>? VariationAxes { get; init; }