This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

font-synthesis

Summary

This value specifies whether the user agent is allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces.

Overview table

Initial value
weight style
Applies to
all elements
Inherited
Yes
Media
visual
Computed value
as specified
Animatable
No
CSS Object Model Property
font
Percentages
N/A

Syntax

Values

none
user agent is not allowed to synthesize bold or oblique font when not available.
weight
user agent is only allowed to synthesize bold font when not available but not oblique.
style
user agent is only allowed to synthesize oblique font when not available but not bold.
weight style
user agent is allowed to synthesize both bold and oblique.

See also

Related articles

CSS Font

Fonts

Text