Skip to content

Commit a3be255

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 4a69ea7 commit a3be255

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/conf.py

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

0 commit comments

Comments
 (0)