coderef

font-synthesis-positionLimited availability

The font-synthesis-position CSS property sets whether or not the browser should synthesize subscript and superscript typefaces when they're missing from the font.

Not yet supported in all major browsers — check the table and provide a fallback.

Browser support

DesktopChrome
✕Not supportedup to 155
Current: 155
Edge
✕Not supportedup to 154
Current: 154
Firefox
1–117Not supported
118+Supportedsince Sep 26, 2023
Current: 157
Safari
✕Not supportedup to 27
Current: 27
MobileChrome Android
✕Not supportedup to 155
Current: 155
Firefox Android
4–117Not supported
118+Supportedsince Sep 26, 2023
Current: 157
Safari iOS
✕Not supportedup to 27
Current: 27

How to use

Not supported in Chrome, Edge, Safari, Chrome Android, Safari iOS. Use feature detection below and provide a fallback (or a polyfill) for those browsers.

Example

Full syntax and examples are on MDN: font-synthesis-position.

Feature detection

CSS · check before using
@supports (font-synthesis-position: initial) {
  /* styles that rely on font-synthesis-position */
}

/* or in JavaScript */
if (CSS.supports("font-synthesis-position", "initial")) {
  // use it
}

Sub-features

Support for each part of the feature (3). The overall table above shows when the whole feature works.

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
font-synthesis-position✕✕118✕✕118✕
font-synthesis-position.auto✕✕118✕✕118✕
font-synthesis-position.none✕✕118✕✕118✕