CKTIS / CSS
font-synthesis-weight — controlling synthetic bold
The font-synthesis-weight property permits or blocks synthetic bold when a font family lacks a bold face.
Version: CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
Syntax
font-synthesis-weight: auto | none;font-synthesis-weight accepts auto (the initial value, synthesis allowed) or none (synthesis forbidden). It is inherited.
It does not select weight: font-weight does that. Setting none does not block genuine bold faces. Variable-font axes are not synthesis.
The example compares both settings. The paragraphs may look identical when a suitable face exists. Check computed values, not just appearance. The font-synthesis shorthand can overwrite this property.
Examples
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<title>font-synthesis-weight</title>
<style>
body { font-family: serif; }
.sample { font-weight: 700; }
.allowed { font-synthesis-weight: auto; }
.blocked { font-synthesis-weight: none; }
</style>
<p class="sample allowed">Bold synthesis allowed</p>
<p class="sample blocked">Bold synthesis blocked</p>
</html>Result
Expected computed font-synthesis-weight values: auto for .allowed; none for .blocked. The paragraphs may look identical.
The displayed code and declared result were verified in an isolated environment using the method recorded in the verification evidence for this exact version.