Skip to content

Commit 268c867

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 76243ed commit 268c867

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
@@ -144,15 +144,15 @@
144144
"version": "5.2.8",
145145
"weights": [400, 500, 600, 700],
146146
"styles": ["normal", "italic"],
147-
"subset": "latin",
147+
"subsets": ["latin", "latin-ext"],
148148
},
149149
{
150150
"family": "IBM Plex Mono",
151151
"package": "@fontsource/ibm-plex-mono",
152152
"version": "5.2.7",
153153
"weights": [400, 500, 600, 700],
154154
"styles": ["normal", "italic"],
155-
"subset": "latin",
155+
"subsets": ["latin", "latin-ext"],
156156
},
157157
]
158158

0 commit comments

Comments
 (0)