CSS font-synthesis Property
Description
The font-synthesis property controls whether the user agent is allowed to create (synthesize) missing font faces such as bold or italic when the chosen font family does not include them. When a page requests a weight or slope that the active font file doesn’t contain, the UA can either pick a fallback font that has the requested face or algorithmically generate a synthetic bold/italic from the available face. font-synthesis tells the UA which kinds of synthesis are permitted so authors can influence whether the browser should fake a style or prefer fallback fonts.
Synthesis is performed in two common ways: a weight synthesis that thickens glyph strokes to approximate bold, and a slant/oblique synthesis that skewes glyph outlines to approximate italic. These algorithmic transformations can produce visual and metric differences compared with real font instances — stroke contrast, spacing and alignment may change, glyph hinting can be less accurate, and line-height or text flow can be affected. That means allowing synthesis can be useful for maintaining a consistent font-family choice without triggering fallback substitution, but it can also produce less refined typography than using a proper bold or italic font file.
This property interacts directly with properties that request particular faces, such as font-weight and font-style. When those properties ask for a weight or style the font lacks, the browser consults font-synthesis to decide whether to synthesize or to use an alternative. It also connects with font selection and fallback behavior driven by font-family: authors who prefer exact typographic fidelity can disable synthesis so missing faces force fallback fonts (or expose the absence), while authors who prioritize staying on the same family can allow synthesis to avoid sudden family changes. Consider accessibility and legibility implications when permitting synthesis — synthetic styles may not provide the same emphasis or readability as true font instances, and they can affect layout and rendering performance.
Definition
- Initial value
- weight style
- Applies to
- All elements
- Inherited
- Yes
- Computed value
- As specified
- Animatable
- No
- JavaScript syntax
- object.style.fontSynthesis
Interactive Demo
This font does not include bold, italic, small-caps, and subscript or superscript variants.
中文排版通常不运用粗体或斜体常不运用。
Syntax
font-synthesis: none | [ weight || style ]
Values
- noneBrowser is not allowed to synthesize bold or oblique font when not available.
- weightBrowser is only allowed to synthesize bold font when not available but not oblique.
- styleBrowser is only allowed to synthesize oblique font when not available but not bold.
- weight styleBrowser is allowed to synthesize both bold and oblique.
Example
Browser Support
The following information will show you the current browser support for the CSS font-synthesis property. Hover over a browser icon to see the version that first introduced support for this CSS property.
This property is supported by all modern browsers.
Desktop
Tablets & Mobile
Last updated by CSSPortal on: 1st January 2026
