OpenType
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/opentype/" 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/opentype/
Add a dynamic SVG badge to your README or docs.
[](https://fontfyi.com/glossary/opentype/)
Use the native HTML custom element.
A font format developed by Microsoft and Adobe supporting advanced typographic features like ligatures, alternates, and variable axes.
OpenType is a font format specification developed jointly by Microsoft and Adobe in the late 1990s, building on and superseding the earlier TrueType and Type 1 formats. It became the dominant font format for print and digital publishing, and today virtually all professional typefaces are distributed as OpenType files with the .otf or .ttf extension.
OpenType's most significant contribution beyond its predecessor formats is an extensive system of typographic features — discrete capabilities that enable sophisticated typographic refinement. These features are accessed via standardized four-letter tags and can be enabled in CSS using font-feature-settings or the higher-level font-variant-* properties.
/* High-level font-variant properties (preferred approach) */
.refined-typography {
/* Small capitals */
font-variant-caps: small-caps;
/* Oldstyle figures for body text */
font-variant-numeric: oldstyle-nums;
/* Ligatures */
font-variant-ligatures: common-ligatures discretionary-ligatures;
/* Proportional vs tabular nums */
font-variant-numeric: proportional-nums;
}
/* Low-level font-feature-settings for precise control */
.data-table {
font-feature-settings:
"tnum" 1, /* Tabular numbers — equal-width for alignment */
"lnum" 1, /* Lining figures — same height as capitals */
"kern" 1; /* Kerning */
}
.editorial-body {
font-feature-settings:
"onum" 1, /* Old-style figures — varied height, more readable in text */
"liga" 1, /* Standard ligatures (fi, fl, ff) */
"kern" 1;
}
/* Stylistic alternates */
.alternate-style {
font-feature-settings: "ss01" 1, "ss02" 1; /* Stylistic set 1 and 2 */
}
/* Contextual alternates — automatically adjust based on surrounding chars */
.contextual {
font-feature-settings: "calt" 1; /* Usually on by default */
}
Common OpenType features include: liga (standard ligatures like fi, fl), onum (old-style or text figures), lnum (lining figures), tnum (tabular/monospaced figures), sups and subs (superscript and subscript), smcp (small capitals), swsh (swash alternates), frac (diagonal fractions), and the ss01-ss20 stylistic sets which expose typeface-specific alternates.
Not every OpenType feature is available in every font. A font must explicitly include the feature data for CSS to activate it — requesting an unavailable feature simply has no effect. Google Fonts typefaces like EB Garamond include extensive OpenType features including swash alternates and old-style figures, while simpler display fonts may only contain the basics. The best way to discover what a font supports is to check its specimen on the type foundry's website or use a tool like Wakamai Fondue (wakamaifondue.com).
المصطلحات ذات الصلة
خطوط توضح هذا المفهوم
اعرف المزيد
خط شعارك يوصل شخصية العلامة التجارية قبل أن يقرأ أحد كلمة واحدة. أفضل خطوط Google Fonts للشعارات والعلامات النصية وهوية العلامة التجارية.
مراجعات الخطوطيستهدف كل من IBM Plex Sans وInter تصميم الواجهات الاحترافي، لكن بفلسفات تصميم مختلفة. مقارنة مفصّلة للاستخدام المؤسسي.
مراجعات الخطوطيهدف خط Source Sans 3 من Adobe وخط Inter من Rasmus Andersson كلاهما إلى التميز في الواجهات. كيف يختلفان وأيهما تختار لواجهتك.
مراجعات الخطوطيضيف Space Grotesk شخصية غريبة إلى فئة Sans الهندسية. لماذا يُعد هذا الخط المميز مثاليًا عندما تريد نظافة دون عمومية.