@remotion/google-fonts 4.0.87 → 4.0.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/AROneSans.cjs +12 -12
- package/dist/cjs/AROneSans.js +12 -12
- package/dist/cjs/ArimaMadurai.d.ts +82 -0
- package/dist/cjs/ArimaMadurai.js +74 -0
- package/dist/cjs/CodaCaption.d.ts +36 -0
- package/dist/cjs/CodaCaption.js +28 -0
- package/dist/cjs/FredokaOne.d.ts +34 -0
- package/dist/cjs/FredokaOne.js +26 -0
- package/dist/cjs/Gabarito.cjs +12 -12
- package/dist/cjs/Gabarito.js +12 -12
- package/dist/cjs/GentiumBookBasic.d.ts +54 -0
- package/dist/cjs/GentiumBookBasic.js +42 -0
- package/dist/cjs/Kantumruy.d.ts +40 -0
- package/dist/cjs/Kantumruy.js +32 -0
- package/dist/cjs/MeriendaOne.d.ts +34 -0
- package/dist/cjs/MeriendaOne.js +26 -0
- package/dist/cjs/Narnoor.cjs +7 -3
- package/dist/cjs/Narnoor.d.ts +4 -0
- package/dist/cjs/Narnoor.js +7 -3
- package/dist/cjs/NotoSansCham.cjs +27 -27
- package/dist/cjs/NotoSansCham.js +27 -27
- package/dist/cjs/NotoSansGujarati.cjs +47 -27
- package/dist/cjs/NotoSansGujarati.d.ts +20 -0
- package/dist/cjs/NotoSansGujarati.js +47 -27
- package/dist/cjs/NotoSerifDogra.cjs +3 -3
- package/dist/cjs/NotoSerifDogra.js +3 -3
- package/dist/cjs/NotoSerifGeorgian.cjs +27 -27
- package/dist/cjs/NotoSerifGeorgian.js +27 -27
- package/dist/cjs/NotoSerifGujarati.cjs +47 -27
- package/dist/cjs/NotoSerifGujarati.d.ts +20 -0
- package/dist/cjs/NotoSerifGujarati.js +47 -27
- package/dist/cjs/NotoSerifNyiakengPuachueHmong.d.ts +43 -0
- package/dist/cjs/NotoSerifNyiakengPuachueHmong.js +35 -0
- package/dist/cjs/Onest.cjs +36 -36
- package/dist/cjs/Onest.js +36 -36
- package/dist/cjs/RuslanDisplay.cjs +3 -3
- package/dist/cjs/RuslanDisplay.js +3 -3
- package/dist/cjs/SourceSansPro.d.ts +151 -0
- package/dist/cjs/SourceSansPro.js +139 -0
- package/dist/cjs/SourceSerifPro.d.ts +138 -0
- package/dist/cjs/SourceSerifPro.js +126 -0
- package/dist/esm/AROneSans.mjs +12 -12
- package/dist/esm/ArimaMadurai.d.ts +82 -0
- package/dist/esm/CodaCaption.d.ts +36 -0
- package/dist/esm/FredokaOne.d.ts +34 -0
- package/dist/esm/Gabarito.mjs +12 -12
- package/dist/esm/GentiumBookBasic.d.ts +54 -0
- package/dist/esm/Kantumruy.d.ts +40 -0
- package/dist/esm/MeriendaOne.d.ts +34 -0
- package/dist/esm/Narnoor.d.ts +4 -0
- package/dist/esm/Narnoor.mjs +7 -3
- package/dist/esm/NotoSansCham.mjs +27 -27
- package/dist/esm/NotoSansGujarati.d.ts +20 -0
- package/dist/esm/NotoSansGujarati.mjs +47 -27
- package/dist/esm/NotoSerifDogra.mjs +3 -3
- package/dist/esm/NotoSerifGeorgian.mjs +27 -27
- package/dist/esm/NotoSerifGujarati.d.ts +20 -0
- package/dist/esm/NotoSerifGujarati.mjs +47 -27
- package/dist/esm/NotoSerifNyiakengPuachueHmong.d.ts +43 -0
- package/dist/esm/Onest.mjs +36 -36
- package/dist/esm/RuslanDisplay.mjs +3 -3
- package/dist/esm/SourceSansPro.d.ts +151 -0
- package/dist/esm/SourceSerifPro.d.ts +138 -0
- package/dist/tsconfig-esm.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.loadFont = exports.fontFamily = exports.getInfo = void 0;
|
|
4
|
+
const base_1 = require("./base");
|
|
5
|
+
const getInfo = () => ({
|
|
6
|
+
"fontFamily": "Source Sans Pro",
|
|
7
|
+
"importName": "SourceSansPro",
|
|
8
|
+
"version": "v21",
|
|
9
|
+
"url": "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900",
|
|
10
|
+
"unicodeRanges": {
|
|
11
|
+
"cyrillic-ext": "U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F",
|
|
12
|
+
"cyrillic": "U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116",
|
|
13
|
+
"greek-ext": "U+1F00-1FFF",
|
|
14
|
+
"greek": "U+0370-03FF",
|
|
15
|
+
"vietnamese": "U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB",
|
|
16
|
+
"latin-ext": "U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF",
|
|
17
|
+
"latin": "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD"
|
|
18
|
+
},
|
|
19
|
+
"fonts": {
|
|
20
|
+
"italic": {
|
|
21
|
+
"200": {
|
|
22
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdh18Smxg.woff2",
|
|
23
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdo18Smxg.woff2",
|
|
24
|
+
"greek-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdg18Smxg.woff2",
|
|
25
|
+
"greek": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdv18Smxg.woff2",
|
|
26
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdj18Smxg.woff2",
|
|
27
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdi18Smxg.woff2",
|
|
28
|
+
"latin": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSds18Q.woff2"
|
|
29
|
+
},
|
|
30
|
+
"300": {
|
|
31
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkidh18Smxg.woff2",
|
|
32
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkido18Smxg.woff2",
|
|
33
|
+
"greek-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkidg18Smxg.woff2",
|
|
34
|
+
"greek": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkidv18Smxg.woff2",
|
|
35
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkidj18Smxg.woff2",
|
|
36
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkidi18Smxg.woff2",
|
|
37
|
+
"latin": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkids18Q.woff2"
|
|
38
|
+
},
|
|
39
|
+
"400": {
|
|
40
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7qsDJT9g.woff2",
|
|
41
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7jsDJT9g.woff2",
|
|
42
|
+
"greek-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7rsDJT9g.woff2",
|
|
43
|
+
"greek": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7ksDJT9g.woff2",
|
|
44
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7osDJT9g.woff2",
|
|
45
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7psDJT9g.woff2",
|
|
46
|
+
"latin": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7nsDI.woff2"
|
|
47
|
+
},
|
|
48
|
+
"600": {
|
|
49
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdh18Smxg.woff2",
|
|
50
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdo18Smxg.woff2",
|
|
51
|
+
"greek-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdg18Smxg.woff2",
|
|
52
|
+
"greek": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdv18Smxg.woff2",
|
|
53
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdj18Smxg.woff2",
|
|
54
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdi18Smxg.woff2",
|
|
55
|
+
"latin": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCds18Q.woff2"
|
|
56
|
+
},
|
|
57
|
+
"700": {
|
|
58
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdh18Smxg.woff2",
|
|
59
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdo18Smxg.woff2",
|
|
60
|
+
"greek-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdg18Smxg.woff2",
|
|
61
|
+
"greek": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdv18Smxg.woff2",
|
|
62
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdj18Smxg.woff2",
|
|
63
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdi18Smxg.woff2",
|
|
64
|
+
"latin": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSds18Q.woff2"
|
|
65
|
+
},
|
|
66
|
+
"900": {
|
|
67
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklydh18Smxg.woff2",
|
|
68
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklydo18Smxg.woff2",
|
|
69
|
+
"greek-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklydg18Smxg.woff2",
|
|
70
|
+
"greek": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklydv18Smxg.woff2",
|
|
71
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklydj18Smxg.woff2",
|
|
72
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklydi18Smxg.woff2",
|
|
73
|
+
"latin": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklyds18Q.woff2"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"normal": {
|
|
77
|
+
"200": {
|
|
78
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wmhduz8A.woff2",
|
|
79
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wkxduz8A.woff2",
|
|
80
|
+
"greek-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wmxduz8A.woff2",
|
|
81
|
+
"greek": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wlBduz8A.woff2",
|
|
82
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wmBduz8A.woff2",
|
|
83
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wmRduz8A.woff2",
|
|
84
|
+
"latin": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wlxdu.woff2"
|
|
85
|
+
},
|
|
86
|
+
"300": {
|
|
87
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmhduz8A.woff2",
|
|
88
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwkxduz8A.woff2",
|
|
89
|
+
"greek-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmxduz8A.woff2",
|
|
90
|
+
"greek": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlBduz8A.woff2",
|
|
91
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmBduz8A.woff2",
|
|
92
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmRduz8A.woff2",
|
|
93
|
+
"latin": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdu.woff2"
|
|
94
|
+
},
|
|
95
|
+
"400": {
|
|
96
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNa7lqDY.woff2",
|
|
97
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xK3dSBYKcSV-LCoeQqfX1RYOo3qPK7lqDY.woff2",
|
|
98
|
+
"greek-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNK7lqDY.woff2",
|
|
99
|
+
"greek": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xK3dSBYKcSV-LCoeQqfX1RYOo3qO67lqDY.woff2",
|
|
100
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xK3dSBYKcSV-LCoeQqfX1RYOo3qN67lqDY.woff2",
|
|
101
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNq7lqDY.woff2",
|
|
102
|
+
"latin": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7l.woff2"
|
|
103
|
+
},
|
|
104
|
+
"600": {
|
|
105
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmhduz8A.woff2",
|
|
106
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwkxduz8A.woff2",
|
|
107
|
+
"greek-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmxduz8A.woff2",
|
|
108
|
+
"greek": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlBduz8A.woff2",
|
|
109
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmBduz8A.woff2",
|
|
110
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmRduz8A.woff2",
|
|
111
|
+
"latin": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdu.woff2"
|
|
112
|
+
},
|
|
113
|
+
"700": {
|
|
114
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwmhduz8A.woff2",
|
|
115
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwkxduz8A.woff2",
|
|
116
|
+
"greek-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwmxduz8A.woff2",
|
|
117
|
+
"greek": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlBduz8A.woff2",
|
|
118
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwmBduz8A.woff2",
|
|
119
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwmRduz8A.woff2",
|
|
120
|
+
"latin": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdu.woff2"
|
|
121
|
+
},
|
|
122
|
+
"900": {
|
|
123
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwmhduz8A.woff2",
|
|
124
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwkxduz8A.woff2",
|
|
125
|
+
"greek-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwmxduz8A.woff2",
|
|
126
|
+
"greek": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwlBduz8A.woff2",
|
|
127
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwmBduz8A.woff2",
|
|
128
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwmRduz8A.woff2",
|
|
129
|
+
"latin": "https://fonts.gstatic.com/s/sourcesanspro/v21/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwlxdu.woff2"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
exports.getInfo = getInfo;
|
|
135
|
+
exports.fontFamily = (0, exports.getInfo)().fontFamily;
|
|
136
|
+
const loadFont = (style, options) => {
|
|
137
|
+
return (0, base_1.loadFonts)((0, exports.getInfo)(), style, options);
|
|
138
|
+
};
|
|
139
|
+
exports.loadFont = loadFont;
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
export declare const getInfo: () => {
|
|
2
|
+
fontFamily: string;
|
|
3
|
+
importName: string;
|
|
4
|
+
version: string;
|
|
5
|
+
url: string;
|
|
6
|
+
unicodeRanges: {
|
|
7
|
+
"cyrillic-ext": string;
|
|
8
|
+
cyrillic: string;
|
|
9
|
+
greek: string;
|
|
10
|
+
vietnamese: string;
|
|
11
|
+
"latin-ext": string;
|
|
12
|
+
latin: string;
|
|
13
|
+
};
|
|
14
|
+
fonts: {
|
|
15
|
+
italic: {
|
|
16
|
+
"200": {
|
|
17
|
+
"cyrillic-ext": string;
|
|
18
|
+
cyrillic: string;
|
|
19
|
+
greek: string;
|
|
20
|
+
vietnamese: string;
|
|
21
|
+
"latin-ext": string;
|
|
22
|
+
latin: string;
|
|
23
|
+
};
|
|
24
|
+
"300": {
|
|
25
|
+
"cyrillic-ext": string;
|
|
26
|
+
cyrillic: string;
|
|
27
|
+
greek: string;
|
|
28
|
+
vietnamese: string;
|
|
29
|
+
"latin-ext": string;
|
|
30
|
+
latin: string;
|
|
31
|
+
};
|
|
32
|
+
"400": {
|
|
33
|
+
"cyrillic-ext": string;
|
|
34
|
+
cyrillic: string;
|
|
35
|
+
greek: string;
|
|
36
|
+
vietnamese: string;
|
|
37
|
+
"latin-ext": string;
|
|
38
|
+
latin: string;
|
|
39
|
+
};
|
|
40
|
+
"600": {
|
|
41
|
+
"cyrillic-ext": string;
|
|
42
|
+
cyrillic: string;
|
|
43
|
+
greek: string;
|
|
44
|
+
vietnamese: string;
|
|
45
|
+
"latin-ext": string;
|
|
46
|
+
latin: string;
|
|
47
|
+
};
|
|
48
|
+
"700": {
|
|
49
|
+
"cyrillic-ext": string;
|
|
50
|
+
cyrillic: string;
|
|
51
|
+
greek: string;
|
|
52
|
+
vietnamese: string;
|
|
53
|
+
"latin-ext": string;
|
|
54
|
+
latin: string;
|
|
55
|
+
};
|
|
56
|
+
"900": {
|
|
57
|
+
"cyrillic-ext": string;
|
|
58
|
+
cyrillic: string;
|
|
59
|
+
greek: string;
|
|
60
|
+
vietnamese: string;
|
|
61
|
+
"latin-ext": string;
|
|
62
|
+
latin: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
normal: {
|
|
66
|
+
"200": {
|
|
67
|
+
"cyrillic-ext": string;
|
|
68
|
+
cyrillic: string;
|
|
69
|
+
greek: string;
|
|
70
|
+
vietnamese: string;
|
|
71
|
+
"latin-ext": string;
|
|
72
|
+
latin: string;
|
|
73
|
+
};
|
|
74
|
+
"300": {
|
|
75
|
+
"cyrillic-ext": string;
|
|
76
|
+
cyrillic: string;
|
|
77
|
+
greek: string;
|
|
78
|
+
vietnamese: string;
|
|
79
|
+
"latin-ext": string;
|
|
80
|
+
latin: string;
|
|
81
|
+
};
|
|
82
|
+
"400": {
|
|
83
|
+
"cyrillic-ext": string;
|
|
84
|
+
cyrillic: string;
|
|
85
|
+
greek: string;
|
|
86
|
+
vietnamese: string;
|
|
87
|
+
"latin-ext": string;
|
|
88
|
+
latin: string;
|
|
89
|
+
};
|
|
90
|
+
"600": {
|
|
91
|
+
"cyrillic-ext": string;
|
|
92
|
+
cyrillic: string;
|
|
93
|
+
greek: string;
|
|
94
|
+
vietnamese: string;
|
|
95
|
+
"latin-ext": string;
|
|
96
|
+
latin: string;
|
|
97
|
+
};
|
|
98
|
+
"700": {
|
|
99
|
+
"cyrillic-ext": string;
|
|
100
|
+
cyrillic: string;
|
|
101
|
+
greek: string;
|
|
102
|
+
vietnamese: string;
|
|
103
|
+
"latin-ext": string;
|
|
104
|
+
latin: string;
|
|
105
|
+
};
|
|
106
|
+
"900": {
|
|
107
|
+
"cyrillic-ext": string;
|
|
108
|
+
cyrillic: string;
|
|
109
|
+
greek: string;
|
|
110
|
+
vietnamese: string;
|
|
111
|
+
"latin-ext": string;
|
|
112
|
+
latin: string;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
export declare const fontFamily: string;
|
|
118
|
+
type Variants = {
|
|
119
|
+
italic: {
|
|
120
|
+
weights: '200' | '300' | '400' | '600' | '700' | '900';
|
|
121
|
+
subsets: 'cyrillic' | 'cyrillic-ext' | 'greek' | 'latin' | 'latin-ext' | 'vietnamese';
|
|
122
|
+
};
|
|
123
|
+
normal: {
|
|
124
|
+
weights: '200' | '300' | '400' | '600' | '700' | '900';
|
|
125
|
+
subsets: 'cyrillic' | 'cyrillic-ext' | 'greek' | 'latin' | 'latin-ext' | 'vietnamese';
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
export declare const loadFont: <T extends keyof Variants>(style?: T | undefined, options?: {
|
|
129
|
+
weights?: Variants[T]["weights"][] | undefined;
|
|
130
|
+
subsets?: Variants[T]["subsets"][] | undefined;
|
|
131
|
+
document?: Document | undefined;
|
|
132
|
+
} | undefined) => {
|
|
133
|
+
fontFamily: string;
|
|
134
|
+
fonts: Record<string, Record<string, Record<string, string>>>;
|
|
135
|
+
unicodeRanges: Record<string, string>;
|
|
136
|
+
waitUntilDone: () => Promise<undefined>;
|
|
137
|
+
};
|
|
138
|
+
export {};
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.loadFont = exports.fontFamily = exports.getInfo = void 0;
|
|
4
|
+
const base_1 = require("./base");
|
|
5
|
+
const getInfo = () => ({
|
|
6
|
+
"fontFamily": "Source Serif Pro",
|
|
7
|
+
"importName": "SourceSerifPro",
|
|
8
|
+
"version": "v15",
|
|
9
|
+
"url": "https://fonts.googleapis.com/css2?family=Source+Serif+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900",
|
|
10
|
+
"unicodeRanges": {
|
|
11
|
+
"cyrillic-ext": "U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F",
|
|
12
|
+
"cyrillic": "U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116",
|
|
13
|
+
"greek": "U+0370-03FF",
|
|
14
|
+
"vietnamese": "U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB",
|
|
15
|
+
"latin-ext": "U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF",
|
|
16
|
+
"latin": "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD"
|
|
17
|
+
},
|
|
18
|
+
"fonts": {
|
|
19
|
+
"italic": {
|
|
20
|
+
"200": {
|
|
21
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGbSqay60rRrI.woff2",
|
|
22
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGbSqawq0rRrI.woff2",
|
|
23
|
+
"greek": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGbSqaxa0rRrI.woff2",
|
|
24
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGbSqaya0rRrI.woff2",
|
|
25
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGbSqayK0rRrI.woff2",
|
|
26
|
+
"latin": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGbSqaxq0r.woff2"
|
|
27
|
+
},
|
|
28
|
+
"300": {
|
|
29
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGCSmay60rRrI.woff2",
|
|
30
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGCSmawq0rRrI.woff2",
|
|
31
|
+
"greek": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGCSmaxa0rRrI.woff2",
|
|
32
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGCSmaya0rRrI.woff2",
|
|
33
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGCSmayK0rRrI.woff2",
|
|
34
|
+
"latin": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGCSmaxq0r.woff2"
|
|
35
|
+
},
|
|
36
|
+
"400": {
|
|
37
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIWzD-0qpwxpaWvjeD0X88SAOeauXEOrwuP-Yw.woff2",
|
|
38
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIWzD-0qpwxpaWvjeD0X88SAOeauXEOpguP-Yw.woff2",
|
|
39
|
+
"greek": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIWzD-0qpwxpaWvjeD0X88SAOeauXEOoQuP-Yw.woff2",
|
|
40
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIWzD-0qpwxpaWvjeD0X88SAOeauXEOrQuP-Yw.woff2",
|
|
41
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIWzD-0qpwxpaWvjeD0X88SAOeauXEOrAuP-Yw.woff2",
|
|
42
|
+
"latin": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIWzD-0qpwxpaWvjeD0X88SAOeauXEOoguP.woff2"
|
|
43
|
+
},
|
|
44
|
+
"600": {
|
|
45
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGfS-ay60rRrI.woff2",
|
|
46
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGfS-awq0rRrI.woff2",
|
|
47
|
+
"greek": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGfS-axa0rRrI.woff2",
|
|
48
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGfS-aya0rRrI.woff2",
|
|
49
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGfS-ayK0rRrI.woff2",
|
|
50
|
+
"latin": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGfS-axq0r.woff2"
|
|
51
|
+
},
|
|
52
|
+
"700": {
|
|
53
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGGS6ay60rRrI.woff2",
|
|
54
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGGS6awq0rRrI.woff2",
|
|
55
|
+
"greek": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGGS6axa0rRrI.woff2",
|
|
56
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGGS6aya0rRrI.woff2",
|
|
57
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGGS6ayK0rRrI.woff2",
|
|
58
|
+
"latin": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGGS6axq0r.woff2"
|
|
59
|
+
},
|
|
60
|
+
"900": {
|
|
61
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGISyay60rRrI.woff2",
|
|
62
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGISyawq0rRrI.woff2",
|
|
63
|
+
"greek": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGISyaxa0rRrI.woff2",
|
|
64
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGISyaya0rRrI.woff2",
|
|
65
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGISyayK0rRrI.woff2",
|
|
66
|
+
"latin": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGISyaxq0r.woff2"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"normal": {
|
|
70
|
+
"200": {
|
|
71
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasbsftSGqxLUv.woff2",
|
|
72
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasbsftSiqxLUv.woff2",
|
|
73
|
+
"greek": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasbsftS-qxLUv.woff2",
|
|
74
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasbsftSOqxLUv.woff2",
|
|
75
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasbsftSKqxLUv.woff2",
|
|
76
|
+
"latin": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasbsftSyqxA.woff2"
|
|
77
|
+
},
|
|
78
|
+
"300": {
|
|
79
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasd8ctSGqxLUv.woff2",
|
|
80
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasd8ctSiqxLUv.woff2",
|
|
81
|
+
"greek": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasd8ctS-qxLUv.woff2",
|
|
82
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasd8ctSOqxLUv.woff2",
|
|
83
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasd8ctSKqxLUv.woff2",
|
|
84
|
+
"latin": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasd8ctSyqxA.woff2"
|
|
85
|
+
},
|
|
86
|
+
"400": {
|
|
87
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIQzD-0qpwxpaWvjeD0X88SAOeauXk-oBOL.woff2",
|
|
88
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIQzD-0qpwxpaWvjeD0X88SAOeauXA-oBOL.woff2",
|
|
89
|
+
"greek": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIQzD-0qpwxpaWvjeD0X88SAOeauXc-oBOL.woff2",
|
|
90
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIQzD-0qpwxpaWvjeD0X88SAOeauXs-oBOL.woff2",
|
|
91
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIQzD-0qpwxpaWvjeD0X88SAOeauXo-oBOL.woff2",
|
|
92
|
+
"latin": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIQzD-0qpwxpaWvjeD0X88SAOeauXQ-oA.woff2"
|
|
93
|
+
},
|
|
94
|
+
"600": {
|
|
95
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasasatSGqxLUv.woff2",
|
|
96
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasasatSiqxLUv.woff2",
|
|
97
|
+
"greek": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasasatS-qxLUv.woff2",
|
|
98
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasasatSOqxLUv.woff2",
|
|
99
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasasatSKqxLUv.woff2",
|
|
100
|
+
"latin": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasasatSyqxA.woff2"
|
|
101
|
+
},
|
|
102
|
+
"700": {
|
|
103
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasc8btSGqxLUv.woff2",
|
|
104
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasc8btSiqxLUv.woff2",
|
|
105
|
+
"greek": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasc8btS-qxLUv.woff2",
|
|
106
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasc8btSOqxLUv.woff2",
|
|
107
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasc8btSKqxLUv.woff2",
|
|
108
|
+
"latin": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasc8btSyqxA.woff2"
|
|
109
|
+
},
|
|
110
|
+
"900": {
|
|
111
|
+
"cyrillic-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasfcZtSGqxLUv.woff2",
|
|
112
|
+
"cyrillic": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasfcZtSiqxLUv.woff2",
|
|
113
|
+
"greek": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasfcZtS-qxLUv.woff2",
|
|
114
|
+
"vietnamese": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasfcZtSOqxLUv.woff2",
|
|
115
|
+
"latin-ext": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasfcZtSKqxLUv.woff2",
|
|
116
|
+
"latin": "https://fonts.gstatic.com/s/sourceserifpro/v15/neIXzD-0qpwxpaWvjeD0X88SAOeasfcZtSyqxA.woff2"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
exports.getInfo = getInfo;
|
|
122
|
+
exports.fontFamily = (0, exports.getInfo)().fontFamily;
|
|
123
|
+
const loadFont = (style, options) => {
|
|
124
|
+
return (0, base_1.loadFonts)((0, exports.getInfo)(), style, options);
|
|
125
|
+
};
|
|
126
|
+
exports.loadFont = loadFont;
|
package/dist/esm/AROneSans.mjs
CHANGED
|
@@ -14,24 +14,24 @@ const getInfo = () => ({
|
|
|
14
14
|
"fonts": {
|
|
15
15
|
"normal": {
|
|
16
16
|
"400": {
|
|
17
|
-
"vietnamese": "https://fonts.gstatic.com/s/aronesans/
|
|
18
|
-
"latin-ext": "https://fonts.gstatic.com/s/aronesans/
|
|
19
|
-
"latin": "https://fonts.gstatic.com/s/aronesans/
|
|
17
|
+
"vietnamese": "https://fonts.gstatic.com/s/aronesans/v4/TUZjzwhrmbFp0Srr_tH6fv6RcUejHO_u7GF5aXfF-mVhJI4.woff2",
|
|
18
|
+
"latin-ext": "https://fonts.gstatic.com/s/aronesans/v4/TUZjzwhrmbFp0Srr_tH6fv6RcUejHO_u7GF5aXfF-2VhJI4.woff2",
|
|
19
|
+
"latin": "https://fonts.gstatic.com/s/aronesans/v4/TUZjzwhrmbFp0Srr_tH6fv6RcUejHO_u7GF5aXfF9WVh.woff2"
|
|
20
20
|
},
|
|
21
21
|
"500": {
|
|
22
|
-
"vietnamese": "https://fonts.gstatic.com/s/aronesans/
|
|
23
|
-
"latin-ext": "https://fonts.gstatic.com/s/aronesans/
|
|
24
|
-
"latin": "https://fonts.gstatic.com/s/aronesans/
|
|
22
|
+
"vietnamese": "https://fonts.gstatic.com/s/aronesans/v4/TUZjzwhrmbFp0Srr_tH6fv6RcUejHO_u7GF5aXfF-mVhJI4.woff2",
|
|
23
|
+
"latin-ext": "https://fonts.gstatic.com/s/aronesans/v4/TUZjzwhrmbFp0Srr_tH6fv6RcUejHO_u7GF5aXfF-2VhJI4.woff2",
|
|
24
|
+
"latin": "https://fonts.gstatic.com/s/aronesans/v4/TUZjzwhrmbFp0Srr_tH6fv6RcUejHO_u7GF5aXfF9WVh.woff2"
|
|
25
25
|
},
|
|
26
26
|
"600": {
|
|
27
|
-
"vietnamese": "https://fonts.gstatic.com/s/aronesans/
|
|
28
|
-
"latin-ext": "https://fonts.gstatic.com/s/aronesans/
|
|
29
|
-
"latin": "https://fonts.gstatic.com/s/aronesans/
|
|
27
|
+
"vietnamese": "https://fonts.gstatic.com/s/aronesans/v4/TUZjzwhrmbFp0Srr_tH6fv6RcUejHO_u7GF5aXfF-mVhJI4.woff2",
|
|
28
|
+
"latin-ext": "https://fonts.gstatic.com/s/aronesans/v4/TUZjzwhrmbFp0Srr_tH6fv6RcUejHO_u7GF5aXfF-2VhJI4.woff2",
|
|
29
|
+
"latin": "https://fonts.gstatic.com/s/aronesans/v4/TUZjzwhrmbFp0Srr_tH6fv6RcUejHO_u7GF5aXfF9WVh.woff2"
|
|
30
30
|
},
|
|
31
31
|
"700": {
|
|
32
|
-
"vietnamese": "https://fonts.gstatic.com/s/aronesans/
|
|
33
|
-
"latin-ext": "https://fonts.gstatic.com/s/aronesans/
|
|
34
|
-
"latin": "https://fonts.gstatic.com/s/aronesans/
|
|
32
|
+
"vietnamese": "https://fonts.gstatic.com/s/aronesans/v4/TUZjzwhrmbFp0Srr_tH6fv6RcUejHO_u7GF5aXfF-mVhJI4.woff2",
|
|
33
|
+
"latin-ext": "https://fonts.gstatic.com/s/aronesans/v4/TUZjzwhrmbFp0Srr_tH6fv6RcUejHO_u7GF5aXfF-2VhJI4.woff2",
|
|
34
|
+
"latin": "https://fonts.gstatic.com/s/aronesans/v4/TUZjzwhrmbFp0Srr_tH6fv6RcUejHO_u7GF5aXfF9WVh.woff2"
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
export declare const getInfo: () => {
|
|
2
|
+
fontFamily: string;
|
|
3
|
+
importName: string;
|
|
4
|
+
version: string;
|
|
5
|
+
url: string;
|
|
6
|
+
unicodeRanges: {
|
|
7
|
+
tamil: string;
|
|
8
|
+
vietnamese: string;
|
|
9
|
+
"latin-ext": string;
|
|
10
|
+
latin: string;
|
|
11
|
+
};
|
|
12
|
+
fonts: {
|
|
13
|
+
normal: {
|
|
14
|
+
"100": {
|
|
15
|
+
tamil: string;
|
|
16
|
+
vietnamese: string;
|
|
17
|
+
"latin-ext": string;
|
|
18
|
+
latin: string;
|
|
19
|
+
};
|
|
20
|
+
"200": {
|
|
21
|
+
tamil: string;
|
|
22
|
+
vietnamese: string;
|
|
23
|
+
"latin-ext": string;
|
|
24
|
+
latin: string;
|
|
25
|
+
};
|
|
26
|
+
"300": {
|
|
27
|
+
tamil: string;
|
|
28
|
+
vietnamese: string;
|
|
29
|
+
"latin-ext": string;
|
|
30
|
+
latin: string;
|
|
31
|
+
};
|
|
32
|
+
"400": {
|
|
33
|
+
tamil: string;
|
|
34
|
+
vietnamese: string;
|
|
35
|
+
"latin-ext": string;
|
|
36
|
+
latin: string;
|
|
37
|
+
};
|
|
38
|
+
"500": {
|
|
39
|
+
tamil: string;
|
|
40
|
+
vietnamese: string;
|
|
41
|
+
"latin-ext": string;
|
|
42
|
+
latin: string;
|
|
43
|
+
};
|
|
44
|
+
"700": {
|
|
45
|
+
tamil: string;
|
|
46
|
+
vietnamese: string;
|
|
47
|
+
"latin-ext": string;
|
|
48
|
+
latin: string;
|
|
49
|
+
};
|
|
50
|
+
"800": {
|
|
51
|
+
tamil: string;
|
|
52
|
+
vietnamese: string;
|
|
53
|
+
"latin-ext": string;
|
|
54
|
+
latin: string;
|
|
55
|
+
};
|
|
56
|
+
"900": {
|
|
57
|
+
tamil: string;
|
|
58
|
+
vietnamese: string;
|
|
59
|
+
"latin-ext": string;
|
|
60
|
+
latin: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
export declare const fontFamily: string;
|
|
66
|
+
type Variants = {
|
|
67
|
+
normal: {
|
|
68
|
+
weights: '100' | '200' | '300' | '400' | '500' | '700' | '800' | '900';
|
|
69
|
+
subsets: 'latin' | 'latin-ext' | 'tamil' | 'vietnamese';
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
export declare const loadFont: <T extends "normal">(style?: T | undefined, options?: {
|
|
73
|
+
weights?: Variants[T]["weights"][] | undefined;
|
|
74
|
+
subsets?: Variants[T]["subsets"][] | undefined;
|
|
75
|
+
document?: Document | undefined;
|
|
76
|
+
} | undefined) => {
|
|
77
|
+
fontFamily: string;
|
|
78
|
+
fonts: Record<string, Record<string, Record<string, string>>>;
|
|
79
|
+
unicodeRanges: Record<string, string>;
|
|
80
|
+
waitUntilDone: () => Promise<undefined>;
|
|
81
|
+
};
|
|
82
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare const getInfo: () => {
|
|
2
|
+
fontFamily: string;
|
|
3
|
+
importName: string;
|
|
4
|
+
version: string;
|
|
5
|
+
url: string;
|
|
6
|
+
unicodeRanges: {
|
|
7
|
+
"latin-ext": string;
|
|
8
|
+
latin: string;
|
|
9
|
+
};
|
|
10
|
+
fonts: {
|
|
11
|
+
normal: {
|
|
12
|
+
"800": {
|
|
13
|
+
"latin-ext": string;
|
|
14
|
+
latin: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export declare const fontFamily: string;
|
|
20
|
+
type Variants = {
|
|
21
|
+
normal: {
|
|
22
|
+
weights: '800';
|
|
23
|
+
subsets: 'latin' | 'latin-ext';
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export declare const loadFont: <T extends "normal">(style?: T | undefined, options?: {
|
|
27
|
+
weights?: Variants[T]["weights"][] | undefined;
|
|
28
|
+
subsets?: Variants[T]["subsets"][] | undefined;
|
|
29
|
+
document?: Document | undefined;
|
|
30
|
+
} | undefined) => {
|
|
31
|
+
fontFamily: string;
|
|
32
|
+
fonts: Record<string, Record<string, Record<string, string>>>;
|
|
33
|
+
unicodeRanges: Record<string, string>;
|
|
34
|
+
waitUntilDone: () => Promise<undefined>;
|
|
35
|
+
};
|
|
36
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare const getInfo: () => {
|
|
2
|
+
fontFamily: string;
|
|
3
|
+
importName: string;
|
|
4
|
+
version: string;
|
|
5
|
+
url: string;
|
|
6
|
+
unicodeRanges: {
|
|
7
|
+
latin: string;
|
|
8
|
+
};
|
|
9
|
+
fonts: {
|
|
10
|
+
normal: {
|
|
11
|
+
"400": {
|
|
12
|
+
latin: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export declare const fontFamily: string;
|
|
18
|
+
type Variants = {
|
|
19
|
+
normal: {
|
|
20
|
+
weights: '400';
|
|
21
|
+
subsets: 'latin';
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export declare const loadFont: <T extends "normal">(style?: T | undefined, options?: {
|
|
25
|
+
weights?: Variants[T]["weights"][] | undefined;
|
|
26
|
+
subsets?: Variants[T]["subsets"][] | undefined;
|
|
27
|
+
document?: Document | undefined;
|
|
28
|
+
} | undefined) => {
|
|
29
|
+
fontFamily: string;
|
|
30
|
+
fonts: Record<string, Record<string, Record<string, string>>>;
|
|
31
|
+
unicodeRanges: Record<string, string>;
|
|
32
|
+
waitUntilDone: () => Promise<undefined>;
|
|
33
|
+
};
|
|
34
|
+
export {};
|