Skip to content

Commit 5f3e5f1

Browse files
committed
docs(conf): add latin-ext subset for IBM Plex Sans and Mono
why: Accented characters (ñ, ř, ž, ö) in contributor names, docstrings, and code comments fell back to system fonts. latin-ext covers U+0100-02FF and extended Latin ranges used across European languages. what: - Change "subset": "latin" to "subsets": ["latin", "latin-ext"] for both IBM Plex Sans and IBM Plex Mono - Total font files: 32 (2 fonts × 2 subsets × 4 weights × 2 styles) - Zero performance cost for ASCII-only pages: unicode-range descriptors tell the browser to skip latin-ext downloads when no extended chars appear on the page
1 parent 903d5b4 commit 5f3e5f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,15 +159,15 @@
159159
"version": "5.2.8",
160160
"weights": [400, 500, 600, 700],
161161
"styles": ["normal", "italic"],
162-
"subset": "latin",
162+
"subsets": ["latin", "latin-ext"],
163163
},
164164
{
165165
"family": "IBM Plex Mono",
166166
"package": "@fontsource/ibm-plex-mono",
167167
"version": "5.2.7",
168168
"weights": [400, 500, 600, 700],
169169
"styles": ["normal", "italic"],
170-
"subset": "latin",
170+
"subsets": ["latin", "latin-ext"],
171171
},
172172
]
173173

0 commit comments

Comments
 (0)