Skip to content

Commit 1ce833d

Browse files
committed
feat: Introduce build script and update font configuration to include new Google and offline fonts.
1 parent f32fb71 commit 1ce833d

File tree

7 files changed

+4
-22
lines changed

7 files changed

+4
-22
lines changed

fontkit.config.json

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,16 @@
44
],
55
"google": [
66
"Aleo:ital,wght@0,100..900;1,100..900",
7+
"Zen+Old+Mincho:wght@400;700",
78
"Fira+Code:wght@300..700",
8-
"STIX+Two+Text:ital,wght@0,400..700;1,400..700"
9+
"Noto+Serif+SC:wght@200..900"
910
],
1011
"offline": [
1112
{
12-
"file": "lmroman10-regular.otf",
13-
"family": "Latin Modern Roman",
13+
"file": "FZXSSJW.TTF",
14+
"family": "FZNewShuSong",
1415
"weight": "400",
1516
"style": "normal"
16-
},
17-
{
18-
"file": "lmroman10-bold.otf",
19-
"family": "Latin Modern Roman",
20-
"weight": "700",
21-
"style": "normal"
22-
},
23-
{
24-
"file": "lmroman10-italic.otf",
25-
"family": "Latin Modern Roman",
26-
"weight": "400",
27-
"style": "italic"
28-
},
29-
{
30-
"file": "lmroman10-bolditalic.otf",
31-
"family": "Latin Modern Roman",
32-
"weight": "700",
33-
"style": "italic"
3417
}
3518
]
3619
}

offline_fonts/FZXSSJW.TTF

3.12 MB
Binary file not shown.

offline_fonts/lmroman10-bold.otf

-94.3 KB
Binary file not shown.
-106 KB
Binary file not shown.

offline_fonts/lmroman10-italic.otf

-105 KB
Binary file not shown.
-93.2 KB
Binary file not shown.

scripts/build.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,6 @@ async function processTypekit(kits) {
313313
font-display: ${desc.display || 'auto'};
314314
src: url(${relativePath}) format('woff2');
315315
unicode-range: ${desc.unicodeRange || 'U+0-10FFFF'};
316-
font-feature-settings: ${desc.featureSettings || '"liga" 0'};
317316
}
318317
`;
319318
}

0 commit comments

Comments
 (0)