HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

font-variant-ligatures

Description

The font-variant-ligatures property for CSS specifies ways of combining glyphs to produce more harmonized forms.

Syntax

CSS

font-variant-ligatures: value;

JS

object.style.fontVariantLigatures = "value";

Values

<'font-variant-ligatures'> = normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]
normal

Specifies that common default features are enabled.

none

Specifies that all types of ligatures and contextual forms covered by this property are explicitly disabled.

<common-lig-values> = [ common-ligatures | no-common-ligatures ]
common-ligatures

Enables display of common ligatures (OpenType features: liga, clig).

no-common-ligatures

Disables display of common ligatures (OpenType features: liga, clig).

<discretionary-lig-values> = [ discretionary-ligatures | no-discretionary-ligatures ]
discretionary-ligatures

Enables display of discretionary ligatures (OpenType feature: dlig).

no-discretionary-ligatures

Disables display of discretionary ligatures (OpenType feature: dlig).

<historical-lig-values> = [ historical-ligatures | no-historical-ligatures ]
historical-ligatures

Enables display of historical ligatures (OpenType feature: hlig).

no-historical-ligatures

Disables display of historical ligatures (OpenType feature: hlig).

<contextual-alt-values> = [ contextual | no-contextual ]
contextual

Enables display of contextual alternates (OpenType feature: calt).

no-contextual

Disables display of contextual alternates (OpenType feature: calt).

Initial

normal

Examples

1 · common-lig-values · common-ligatures

2 · common-lig-values · no-common-ligatures

3 · contextual-alt-values · contextual

4 · contextual-alt-values · no-contextual

5 · discretionary-lig-values · discretionary-ligatures

6 · discretionary-lig-values · no-discretionary-ligatures

7 · historical-lig-values · historical-ligatures

8 · historical-lig-values · no-historical-ligatures

9 · none

10 · normal

11 · JS