Skip to content

Commit 8561fdd

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 22a7ed1 commit 8561fdd

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
@@ -138,15 +138,15 @@
138138
"version": "5.2.8",
139139
"weights": [400, 500, 600, 700],
140140
"styles": ["normal", "italic"],
141-
"subset": "latin",
141+
"subsets": ["latin", "latin-ext"],
142142
},
143143
{
144144
"family": "IBM Plex Mono",
145145
"package": "@fontsource/ibm-plex-mono",
146146
"version": "5.2.7",
147147
"weights": [400, 500, 600, 700],
148148
"styles": ["normal", "italic"],
149-
"subset": "latin",
149+
"subsets": ["latin", "latin-ext"],
150150
},
151151
]
152152

0 commit comments

Comments
 (0)