Glypht
  • Documentation
  • Discussions
  • GitHub
Navigation
  • Documentation
    • @glypht/bundler-utils
      • NodeType
      • CSSSpan
      • CSSOutput
      • FeatureMetadata
      • FamilyInfo
      • SubsetAxisSetting
      • ExportedFont
      • CharacterSetSettings
      • FamilySubsetSettings
      • FamilySettings
      • ExportFontsSettings
      • featureMetadata
      • sortFontsIntoFamilies
      • exportedFontsToCSS
      • exportFonts
      • parseUnicodeRanges
      • parseRanges
      • formatUnicodeRanges
    • @glypht/cli
      • GlyphtConfig
      • build
    • @glypht/core
      • AxisValueFormat
      • AxisValueFlags
      • WoffCompressionContext
      • GlyphtContext
      • CompressOptions
      • DecompressOptions
      • LoadFontsOptions
      • AxisInfo
      • SubsetAxisInfo
      • StyleValue
      • FeatureInfo
      • NamedInstance
      • StyleKey
      • StyleValues
      • SfntVersion
      • DesignAxisRecord
      • AxisValueSingle
      • AxisValueRange
      • AxisValueLinked
      • AxisValueMultiple
      • AxisValue
      • StyleAttributes
      • SubsettedFont
      • SubsetInfo
      • SubsetAxisSetting
      • SubsetSettings
      • FontRef
      • SubsetName
      • SUBSET_NAMES
    • Comparison with other tools
    • Web app

AxisInfo

Information about a font's variation axis.

type AxisInfo = {
    tag: string;
    name: string | null;
    min: number;
    defaultValue: number;
    max: number;
}
  • Defined in font-types.ts:7
Index

Properties

tag name min defaultValue max

Properties

tag

tag: string

The axis' tag name, a four-character string (e.g. "wght", "wdth").

  • Defined in font-types.ts:9

name

name: string | null

The axis' human-readable name, if provided in the font file.

  • Defined in font-types.ts:11

min

min: number

The axis' minimum value.

  • Defined in font-types.ts:13

defaultValue

defaultValue: number

The axis' default value.

  • Defined in font-types.ts:15

max

max: number

The axis' maximum value.

  • Defined in font-types.ts:17