Optical Size
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://fontfyi.com/iframe/glossary/optical-size/" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://fontfyi.com/glossary/optical-size/
Add a dynamic SVG badge to your README or docs.
[](https://fontfyi.com/glossary/optical-size/)
Use the native HTML custom element.
Adjusting letterform details based on the intended display size. Small text needs more spacing and heavier strokes; large text can be more refined.
Optical sizing refers to adjusting letterform details based on the size at which type will be displayed. This is one of the oldest concepts in typography — punchcutters and type designers have always known that a letterform that works well at 72pt needs to be redrawn to work at 8pt. The features that look refined at large sizes (thin hairlines, tight spacing, fine contrast) become invisible or illegible at small sizes.
The traditional solution:
Historically, typefaces were drawn separately for different size ranges — "display," "text," and "caption" cuts of the same design. The display cut might have high stroke contrast and delicate serifs; the caption cut would have heavier stems, slightly wider proportions, and more open letterforms to survive small reproduction.
Optical sizing with variable fonts:
The opsz axis in variable fonts automates this process. As the type gets smaller, the font interpolates toward a "text" design; as it gets larger, it interpolates toward a "display" design:
/* Automatic optical sizing (recommended) */
body {
font-optical-sizing: auto;
}
/* Manual control via font-variation-settings */
h1 {
font-size: 4rem;
font-variation-settings: "opsz" 64; /* 64pt optical size */
}
small {
font-size: 0.75rem;
font-variation-settings: "opsz" 12; /* 12pt optical size */
}
CSS optical sizing property:
/* Enable (default): browser uses font-size to set opsz axis */
.text { font-optical-sizing: auto; }
/* Disable: fixed opsz value, ignores font-size */
.logo { font-optical-sizing: none; }
With font-optical-sizing: auto, the browser automatically maps the computed font-size to the opsz axis range, so you get the right optical cut without manual intervention.
Source Serif 4 from Google Fonts is a well-executed example of a variable font with a robust optical size axis — compare the letterforms at 12px and 72px and you'll see measurably different contrast ratios and serif details. Fraunces also has a prominent opsz axis with dramatic design variation across its range.
Optical size is most impactful for serif typefaces where the thin hairlines in display cuts would become invisible at small sizes. For sans-serifs with low stroke contrast, the opsz axis typically adjusts spacing, x-height, and apertures — subtler changes, but still meaningful for legibility.
相关术语
相关工具
展示此概念的字体
了解更多
可变字体将整个字族打包进一个文件。学习字重、字宽、倾斜及自定义轴的 CSS 写法——附交互式示例。
字体选择标题需要个性。以下是最适合标题的 Google Fonts——大胆、独特,并针对大字号进行了优化。
字体评测Playfair Display 为网页带来了高对比度与编辑级的优雅气质。它是奢侈品牌、编辑类网站和吸睛标题的首选衬线体。
字体评测Google Fonts 上两款最佳衬线体——一款现代且富有戏剧感,另一款经典而精致。何时选用哪一款。