font-synthesis property CSS Reference



Definition and Usage

This property controls whether user agents are allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces. If 'weight' is not specified, user agents must not synthesize bold faces and if 'style' is not specified user agents must not synthesize italic faces. A value of 'none' disallows all synthetic faces.

Name: font-synthesis
Value: none | [ weight || style ]
Initial: weight style
Applies to: all elements
Inherited: yes
Percentages: N/A
Media: visual
Computed value: as specified
Animatable: no

Syntax

font-synthesis : none | [ weight || style ]

Examples

*:lang(ar) { font-synthesis: none; }

Relative articles