Skip to content

Commit aff4ca0

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 44eb9a9 commit aff4ca0

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
@@ -154,15 +154,15 @@
154154
"version": "5.2.8",
155155
"weights": [400, 500, 600, 700],
156156
"styles": ["normal", "italic"],
157-
"subset": "latin",
157+
"subsets": ["latin", "latin-ext"],
158158
},
159159
{
160160
"family": "IBM Plex Mono",
161161
"package": "@fontsource/ibm-plex-mono",
162162
"version": "5.2.7",
163163
"weights": [400, 500, 600, 700],
164164
"styles": ["normal", "italic"],
165-
"subset": "latin",
165+
"subsets": ["latin", "latin-ext"],
166166
},
167167
]
168168

0 commit comments

Comments
 (0)