Type tester standalone props

PropertyTypeDescription
family-name

string Required

Font family name (must have been already uploaded to your Fontdue admin)

style-name

string Required

The name of the style from the family to display.

font-size

string

Initial font size in pixels.

line-height

string

Line-height as a proportional value where 1 == font-size.

content

string

The initial content to display.

features

string

Comma-separated list of opentype feature codes to expose as options to users. (e.g. ss01,ss02,ss03)

autofit

string

See the autofit option for fontdue-type-testers widget above.