@remotion/google-fonts 4.0.339 → 4.0.341
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/LICENSE.md +7 -7
- package/dist/cjs/Amiri.js +13 -13
- package/dist/cjs/AmiriQuran.js +3 -3
- package/dist/cjs/Asimovian.d.ts +40 -0
- package/dist/cjs/Asimovian.js +31 -0
- package/dist/cjs/ChironGoRoundTC.d.ts +1074 -0
- package/dist/cjs/ChironGoRoundTC.js +1072 -0
- package/dist/cjs/ChironHeiHK.d.ts +19 -2
- package/dist/cjs/ChironHeiHK.js +1955 -1938
- package/dist/cjs/CossetteTexte.d.ts +42 -0
- package/dist/cjs/CossetteTexte.js +33 -0
- package/dist/cjs/CossetteTitre.d.ts +42 -0
- package/dist/cjs/CossetteTitre.js +33 -0
- package/dist/cjs/EpundaSans.d.ts +96 -0
- package/dist/cjs/EpundaSans.js +83 -0
- package/dist/cjs/EpundaSlab.d.ts +96 -0
- package/dist/cjs/EpundaSlab.js +83 -0
- package/dist/cjs/LibertinusKeyboard.d.ts +38 -0
- package/dist/cjs/LibertinusKeyboard.js +29 -0
- package/dist/cjs/LibertinusSerifDisplay.d.ts +48 -0
- package/dist/cjs/LibertinusSerifDisplay.js +47 -0
- package/dist/cjs/Matangi.js +22 -22
- package/dist/cjs/NotoSansBatak.js +4 -4
- package/dist/cjs/NotoSansBengali.js +28 -28
- package/dist/cjs/NotoSerifBengali.js +28 -28
- package/dist/cjs/NotoSerifDivesAkuru.js +4 -4
- package/dist/cjs/NotoSerifTangut.js +4 -4
- package/dist/cjs/ReemKufi.js +17 -17
- package/dist/cjs/Sirivennela.d.ts +38 -0
- package/dist/cjs/Sirivennela.js +29 -0
- package/dist/cjs/StoryScript.d.ts +40 -0
- package/dist/cjs/StoryScript.js +31 -0
- package/dist/cjs/TASAExplorer.d.ts +54 -0
- package/dist/cjs/TASAExplorer.js +45 -0
- package/dist/cjs/TASAOrbiter.d.ts +54 -0
- package/dist/cjs/TASAOrbiter.js +45 -0
- package/dist/cjs/TikTokSans.js +43 -43
- package/dist/cjs/Tirra.d.ts +65 -0
- package/dist/cjs/Tirra.js +56 -0
- package/dist/cjs/VendSans.d.ts +80 -0
- package/dist/cjs/VendSans.js +67 -0
- package/dist/cjs/index.js +70 -0
- package/dist/esm/42dotSans.mjs +794 -0
- package/dist/esm/Amiri.mjs +13 -13
- package/dist/esm/AmiriQuran.mjs +3 -3
- package/dist/esm/Asimovian.mjs +139 -0
- package/dist/esm/ChironGoRoundTC.mjs +1180 -0
- package/dist/esm/ChironHeiHK.mjs +1955 -1938
- package/dist/esm/CossetteTexte.mjs +141 -0
- package/dist/esm/CossetteTitre.mjs +141 -0
- package/dist/esm/EpundaSans.mjs +191 -0
- package/dist/esm/EpundaSlab.mjs +191 -0
- package/dist/esm/LibertinusKeyboard.mjs +137 -0
- package/dist/esm/LibertinusSerifDisplay.mjs +155 -0
- package/dist/esm/Linefont.mjs +127 -0
- package/dist/esm/Matangi.mjs +22 -22
- package/dist/esm/NotoSansBatak.mjs +4 -4
- package/dist/esm/NotoSansBengali.mjs +28 -28
- package/dist/esm/NotoSerifBengali.mjs +28 -28
- package/dist/esm/NotoSerifDivesAkuru.mjs +4 -4
- package/dist/esm/NotoSerifTangut.mjs +4 -4
- package/dist/esm/ReemKufi.mjs +17 -17
- package/dist/esm/Sirivennela.mjs +137 -0
- package/dist/esm/StoryScript.mjs +139 -0
- package/dist/esm/TASAExplorer.mjs +153 -0
- package/dist/esm/TASAOrbiter.mjs +153 -0
- package/dist/esm/TikTokSans.mjs +43 -43
- package/dist/esm/Tirra.mjs +164 -0
- package/dist/esm/VendSans.mjs +175 -0
- package/dist/esm/index.mjs +70 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +44 -2
|
@@ -110,7 +110,7 @@ var loadFonts = (meta, style, options) => {
|
|
|
110
110
|
var getInfo = () => ({
|
|
111
111
|
fontFamily: "Noto Serif Bengali",
|
|
112
112
|
importName: "NotoSerifBengali",
|
|
113
|
-
version: "
|
|
113
|
+
version: "v29",
|
|
114
114
|
url: "https://fonts.googleapis.com/css2?family=Noto+Serif+Bengali:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900",
|
|
115
115
|
unicodeRanges: {
|
|
116
116
|
bengali: "U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1",
|
|
@@ -120,49 +120,49 @@ var getInfo = () => ({
|
|
|
120
120
|
fonts: {
|
|
121
121
|
normal: {
|
|
122
122
|
"100": {
|
|
123
|
-
bengali: "https://fonts.gstatic.com/s/notoserifbengali/
|
|
124
|
-
"latin-ext": "https://fonts.gstatic.com/s/notoserifbengali/
|
|
125
|
-
latin: "https://fonts.gstatic.com/s/notoserifbengali/
|
|
123
|
+
bengali: "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKyg8JCJZ.woff2",
|
|
124
|
+
"latin-ext": "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKzQ8JCJZ.woff2",
|
|
125
|
+
latin: "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKzo8JA.woff2"
|
|
126
126
|
},
|
|
127
127
|
"200": {
|
|
128
|
-
bengali: "https://fonts.gstatic.com/s/notoserifbengali/
|
|
129
|
-
"latin-ext": "https://fonts.gstatic.com/s/notoserifbengali/
|
|
130
|
-
latin: "https://fonts.gstatic.com/s/notoserifbengali/
|
|
128
|
+
bengali: "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKyg8JCJZ.woff2",
|
|
129
|
+
"latin-ext": "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKzQ8JCJZ.woff2",
|
|
130
|
+
latin: "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKzo8JA.woff2"
|
|
131
131
|
},
|
|
132
132
|
"300": {
|
|
133
|
-
bengali: "https://fonts.gstatic.com/s/notoserifbengali/
|
|
134
|
-
"latin-ext": "https://fonts.gstatic.com/s/notoserifbengali/
|
|
135
|
-
latin: "https://fonts.gstatic.com/s/notoserifbengali/
|
|
133
|
+
bengali: "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKyg8JCJZ.woff2",
|
|
134
|
+
"latin-ext": "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKzQ8JCJZ.woff2",
|
|
135
|
+
latin: "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKzo8JA.woff2"
|
|
136
136
|
},
|
|
137
137
|
"400": {
|
|
138
|
-
bengali: "https://fonts.gstatic.com/s/notoserifbengali/
|
|
139
|
-
"latin-ext": "https://fonts.gstatic.com/s/notoserifbengali/
|
|
140
|
-
latin: "https://fonts.gstatic.com/s/notoserifbengali/
|
|
138
|
+
bengali: "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKyg8JCJZ.woff2",
|
|
139
|
+
"latin-ext": "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKzQ8JCJZ.woff2",
|
|
140
|
+
latin: "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKzo8JA.woff2"
|
|
141
141
|
},
|
|
142
142
|
"500": {
|
|
143
|
-
bengali: "https://fonts.gstatic.com/s/notoserifbengali/
|
|
144
|
-
"latin-ext": "https://fonts.gstatic.com/s/notoserifbengali/
|
|
145
|
-
latin: "https://fonts.gstatic.com/s/notoserifbengali/
|
|
143
|
+
bengali: "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKyg8JCJZ.woff2",
|
|
144
|
+
"latin-ext": "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKzQ8JCJZ.woff2",
|
|
145
|
+
latin: "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKzo8JA.woff2"
|
|
146
146
|
},
|
|
147
147
|
"600": {
|
|
148
|
-
bengali: "https://fonts.gstatic.com/s/notoserifbengali/
|
|
149
|
-
"latin-ext": "https://fonts.gstatic.com/s/notoserifbengali/
|
|
150
|
-
latin: "https://fonts.gstatic.com/s/notoserifbengali/
|
|
148
|
+
bengali: "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKyg8JCJZ.woff2",
|
|
149
|
+
"latin-ext": "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKzQ8JCJZ.woff2",
|
|
150
|
+
latin: "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKzo8JA.woff2"
|
|
151
151
|
},
|
|
152
152
|
"700": {
|
|
153
|
-
bengali: "https://fonts.gstatic.com/s/notoserifbengali/
|
|
154
|
-
"latin-ext": "https://fonts.gstatic.com/s/notoserifbengali/
|
|
155
|
-
latin: "https://fonts.gstatic.com/s/notoserifbengali/
|
|
153
|
+
bengali: "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKyg8JCJZ.woff2",
|
|
154
|
+
"latin-ext": "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKzQ8JCJZ.woff2",
|
|
155
|
+
latin: "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKzo8JA.woff2"
|
|
156
156
|
},
|
|
157
157
|
"800": {
|
|
158
|
-
bengali: "https://fonts.gstatic.com/s/notoserifbengali/
|
|
159
|
-
"latin-ext": "https://fonts.gstatic.com/s/notoserifbengali/
|
|
160
|
-
latin: "https://fonts.gstatic.com/s/notoserifbengali/
|
|
158
|
+
bengali: "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKyg8JCJZ.woff2",
|
|
159
|
+
"latin-ext": "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKzQ8JCJZ.woff2",
|
|
160
|
+
latin: "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKzo8JA.woff2"
|
|
161
161
|
},
|
|
162
162
|
"900": {
|
|
163
|
-
bengali: "https://fonts.gstatic.com/s/notoserifbengali/
|
|
164
|
-
"latin-ext": "https://fonts.gstatic.com/s/notoserifbengali/
|
|
165
|
-
latin: "https://fonts.gstatic.com/s/notoserifbengali/
|
|
163
|
+
bengali: "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKyg8JCJZ.woff2",
|
|
164
|
+
"latin-ext": "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKzQ8JCJZ.woff2",
|
|
165
|
+
latin: "https://fonts.gstatic.com/s/notoserifbengali/v29/hYkhPvggTvnzO14VSXltirUdnnkt1pwmWrprmO7RjE0a5BtdKzo8JA.woff2"
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
},
|
|
@@ -110,7 +110,7 @@ var loadFonts = (meta, style, options) => {
|
|
|
110
110
|
var getInfo = () => ({
|
|
111
111
|
fontFamily: "Noto Serif Dives Akuru",
|
|
112
112
|
importName: "NotoSerifDivesAkuru",
|
|
113
|
-
version: "
|
|
113
|
+
version: "v8",
|
|
114
114
|
url: "https://fonts.googleapis.com/css2?family=Noto+Serif+Dives+Akuru:ital,wght@0,400",
|
|
115
115
|
unicodeRanges: {
|
|
116
116
|
"dives-akuru": "U+11900-11906, U+11909, U+1190C-11913, U+11915-11916, U+11918-11935, U+11937-11938, U+1193B-11946, U+11950-11959",
|
|
@@ -120,9 +120,9 @@ var getInfo = () => ({
|
|
|
120
120
|
fonts: {
|
|
121
121
|
normal: {
|
|
122
122
|
"400": {
|
|
123
|
-
"dives-akuru": "https://fonts.gstatic.com/s/notoserifdivesakuru/
|
|
124
|
-
"latin-ext": "https://fonts.gstatic.com/s/notoserifdivesakuru/
|
|
125
|
-
latin: "https://fonts.gstatic.com/s/notoserifdivesakuru/
|
|
123
|
+
"dives-akuru": "https://fonts.gstatic.com/s/notoserifdivesakuru/v8/QldfNSVMqAsHtsJ_TnD3aT03sMgd57ibeeZT2-vj7ohECw.woff2",
|
|
124
|
+
"latin-ext": "https://fonts.gstatic.com/s/notoserifdivesakuru/v8/QldfNSVMqAsHtsJ_TnD3aT03sMgd57ibeeZT20nCy7V9.woff2",
|
|
125
|
+
latin: "https://fonts.gstatic.com/s/notoserifdivesakuru/v8/QldfNSVMqAsHtsJ_TnD3aT03sMgd57ibeeZT20fCyw.woff2"
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
},
|
|
@@ -110,7 +110,7 @@ var loadFonts = (meta, style, options) => {
|
|
|
110
110
|
var getInfo = () => ({
|
|
111
111
|
fontFamily: "Noto Serif Tangut",
|
|
112
112
|
importName: "NotoSerifTangut",
|
|
113
|
-
version: "
|
|
113
|
+
version: "v19",
|
|
114
114
|
url: "https://fonts.googleapis.com/css2?family=Noto+Serif+Tangut:ital,wght@0,400",
|
|
115
115
|
unicodeRanges: {
|
|
116
116
|
tangut: "U+2FF0-2FFF, U+31EF, U+16FE0, U+17000-187F7, U+18800-18AFF, U+18D00-18D08",
|
|
@@ -120,9 +120,9 @@ var getInfo = () => ({
|
|
|
120
120
|
fonts: {
|
|
121
121
|
normal: {
|
|
122
122
|
"400": {
|
|
123
|
-
tangut: "https://fonts.gstatic.com/s/notoseriftangut/
|
|
124
|
-
"latin-ext": "https://fonts.gstatic.com/s/notoseriftangut/
|
|
125
|
-
latin: "https://fonts.gstatic.com/s/notoseriftangut/
|
|
123
|
+
tangut: "https://fonts.gstatic.com/s/notoseriftangut/v19/xn76YGc72GKoTvER4Gn3b4m9Ern7El6wVu_A4b0.woff2",
|
|
124
|
+
"latin-ext": "https://fonts.gstatic.com/s/notoseriftangut/v19/xn76YGc72GKoTvER4Gn3b4m9Ern7El48d8r92A.woff2",
|
|
125
|
+
latin: "https://fonts.gstatic.com/s/notoseriftangut/v19/xn76YGc72GKoTvER4Gn3b4m9Ern7El4yd8o.woff2"
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
},
|
package/dist/esm/ReemKufi.mjs
CHANGED
|
@@ -110,7 +110,7 @@ var loadFonts = (meta, style, options) => {
|
|
|
110
110
|
var getInfo = () => ({
|
|
111
111
|
fontFamily: "Reem Kufi",
|
|
112
112
|
importName: "ReemKufi",
|
|
113
|
-
version: "
|
|
113
|
+
version: "v27",
|
|
114
114
|
url: "https://fonts.googleapis.com/css2?family=Reem+Kufi:ital,wght@0,400;0,500;0,600;0,700",
|
|
115
115
|
unicodeRanges: {
|
|
116
116
|
arabic: "U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1",
|
|
@@ -121,28 +121,28 @@ var getInfo = () => ({
|
|
|
121
121
|
fonts: {
|
|
122
122
|
normal: {
|
|
123
123
|
"400": {
|
|
124
|
-
arabic: "https://fonts.gstatic.com/s/reemkufi/
|
|
125
|
-
vietnamese: "https://fonts.gstatic.com/s/reemkufi/
|
|
126
|
-
"latin-ext": "https://fonts.gstatic.com/s/reemkufi/
|
|
127
|
-
latin: "https://fonts.gstatic.com/s/reemkufi/
|
|
124
|
+
arabic: "https://fonts.gstatic.com/s/reemkufi/v27/2sDcZGJLip7W2J7v7wQzbWW5O7w.woff2",
|
|
125
|
+
vietnamese: "https://fonts.gstatic.com/s/reemkufi/v27/2sDcZGJLip7W2J7v7wQzZ2W5O7w.woff2",
|
|
126
|
+
"latin-ext": "https://fonts.gstatic.com/s/reemkufi/v27/2sDcZGJLip7W2J7v7wQzZmW5O7w.woff2",
|
|
127
|
+
latin: "https://fonts.gstatic.com/s/reemkufi/v27/2sDcZGJLip7W2J7v7wQzaGW5.woff2"
|
|
128
128
|
},
|
|
129
129
|
"500": {
|
|
130
|
-
arabic: "https://fonts.gstatic.com/s/reemkufi/
|
|
131
|
-
vietnamese: "https://fonts.gstatic.com/s/reemkufi/
|
|
132
|
-
"latin-ext": "https://fonts.gstatic.com/s/reemkufi/
|
|
133
|
-
latin: "https://fonts.gstatic.com/s/reemkufi/
|
|
130
|
+
arabic: "https://fonts.gstatic.com/s/reemkufi/v27/2sDcZGJLip7W2J7v7wQzbWW5O7w.woff2",
|
|
131
|
+
vietnamese: "https://fonts.gstatic.com/s/reemkufi/v27/2sDcZGJLip7W2J7v7wQzZ2W5O7w.woff2",
|
|
132
|
+
"latin-ext": "https://fonts.gstatic.com/s/reemkufi/v27/2sDcZGJLip7W2J7v7wQzZmW5O7w.woff2",
|
|
133
|
+
latin: "https://fonts.gstatic.com/s/reemkufi/v27/2sDcZGJLip7W2J7v7wQzaGW5.woff2"
|
|
134
134
|
},
|
|
135
135
|
"600": {
|
|
136
|
-
arabic: "https://fonts.gstatic.com/s/reemkufi/
|
|
137
|
-
vietnamese: "https://fonts.gstatic.com/s/reemkufi/
|
|
138
|
-
"latin-ext": "https://fonts.gstatic.com/s/reemkufi/
|
|
139
|
-
latin: "https://fonts.gstatic.com/s/reemkufi/
|
|
136
|
+
arabic: "https://fonts.gstatic.com/s/reemkufi/v27/2sDcZGJLip7W2J7v7wQzbWW5O7w.woff2",
|
|
137
|
+
vietnamese: "https://fonts.gstatic.com/s/reemkufi/v27/2sDcZGJLip7W2J7v7wQzZ2W5O7w.woff2",
|
|
138
|
+
"latin-ext": "https://fonts.gstatic.com/s/reemkufi/v27/2sDcZGJLip7W2J7v7wQzZmW5O7w.woff2",
|
|
139
|
+
latin: "https://fonts.gstatic.com/s/reemkufi/v27/2sDcZGJLip7W2J7v7wQzaGW5.woff2"
|
|
140
140
|
},
|
|
141
141
|
"700": {
|
|
142
|
-
arabic: "https://fonts.gstatic.com/s/reemkufi/
|
|
143
|
-
vietnamese: "https://fonts.gstatic.com/s/reemkufi/
|
|
144
|
-
"latin-ext": "https://fonts.gstatic.com/s/reemkufi/
|
|
145
|
-
latin: "https://fonts.gstatic.com/s/reemkufi/
|
|
142
|
+
arabic: "https://fonts.gstatic.com/s/reemkufi/v27/2sDcZGJLip7W2J7v7wQzbWW5O7w.woff2",
|
|
143
|
+
vietnamese: "https://fonts.gstatic.com/s/reemkufi/v27/2sDcZGJLip7W2J7v7wQzZ2W5O7w.woff2",
|
|
144
|
+
"latin-ext": "https://fonts.gstatic.com/s/reemkufi/v27/2sDcZGJLip7W2J7v7wQzZmW5O7w.woff2",
|
|
145
|
+
latin: "https://fonts.gstatic.com/s/reemkufi/v27/2sDcZGJLip7W2J7v7wQzaGW5.woff2"
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
},
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
// src/base.ts
|
|
2
|
+
import { continueRender, delayRender } from "remotion";
|
|
3
|
+
import { NoReactInternals } from "remotion/no-react";
|
|
4
|
+
var loadedFonts = {};
|
|
5
|
+
var withResolvers = function() {
|
|
6
|
+
let resolve;
|
|
7
|
+
let reject;
|
|
8
|
+
const promise = new Promise((res, rej) => {
|
|
9
|
+
resolve = res;
|
|
10
|
+
reject = rej;
|
|
11
|
+
});
|
|
12
|
+
return { promise, resolve, reject };
|
|
13
|
+
};
|
|
14
|
+
var loadFontFaceOrTimeoutAfter20Seconds = (fontFace) => {
|
|
15
|
+
const timeout = withResolvers();
|
|
16
|
+
const int = setTimeout(() => {
|
|
17
|
+
timeout.reject(new Error("Timed out loading Google Font"));
|
|
18
|
+
}, 18000);
|
|
19
|
+
return Promise.race([
|
|
20
|
+
fontFace.load().then(() => {
|
|
21
|
+
clearTimeout(int);
|
|
22
|
+
}),
|
|
23
|
+
timeout.promise
|
|
24
|
+
]);
|
|
25
|
+
};
|
|
26
|
+
var loadFonts = (meta, style, options) => {
|
|
27
|
+
const weightsAndSubsetsAreSpecified = Array.isArray(options?.weights) && Array.isArray(options?.subsets) && options.weights.length > 0 && options.subsets.length > 0;
|
|
28
|
+
if (NoReactInternals.ENABLE_V5_BREAKING_CHANGES && !weightsAndSubsetsAreSpecified) {
|
|
29
|
+
throw new Error("Loading Google Fonts without specifying weights and subsets is not supported in Remotion v5. Please specify the weights and subsets you need.");
|
|
30
|
+
}
|
|
31
|
+
const promises = [];
|
|
32
|
+
const styles = style ? [style] : Object.keys(meta.fonts);
|
|
33
|
+
let fontsLoaded = 0;
|
|
34
|
+
for (const style2 of styles) {
|
|
35
|
+
if (typeof FontFace === "undefined") {
|
|
36
|
+
continue;
|
|
37
|
+
}
|
|
38
|
+
if (!meta.fonts[style2]) {
|
|
39
|
+
throw new Error(`The font ${meta.fontFamily} does not have a style ${style2}`);
|
|
40
|
+
}
|
|
41
|
+
const weights = options?.weights ?? Object.keys(meta.fonts[style2]);
|
|
42
|
+
for (const weight of weights) {
|
|
43
|
+
if (!meta.fonts[style2][weight]) {
|
|
44
|
+
throw new Error(`The font ${meta.fontFamily} does not have a weight ${weight} in style ${style2}`);
|
|
45
|
+
}
|
|
46
|
+
const subsets = options?.subsets ?? Object.keys(meta.fonts[style2][weight]);
|
|
47
|
+
for (const subset of subsets) {
|
|
48
|
+
let font = meta.fonts[style2]?.[weight]?.[subset];
|
|
49
|
+
if (!font) {
|
|
50
|
+
throw new Error(`weight: ${weight} subset: ${subset} is not available for '${meta.fontFamily}'`);
|
|
51
|
+
}
|
|
52
|
+
let fontKey = `${meta.fontFamily}-${style2}-${weight}-${subset}`;
|
|
53
|
+
const previousPromise = loadedFonts[fontKey];
|
|
54
|
+
if (previousPromise) {
|
|
55
|
+
promises.push(previousPromise);
|
|
56
|
+
continue;
|
|
57
|
+
}
|
|
58
|
+
const baseLabel = `Fetching ${meta.fontFamily} font ${JSON.stringify({
|
|
59
|
+
style: style2,
|
|
60
|
+
weight,
|
|
61
|
+
subset
|
|
62
|
+
})}`;
|
|
63
|
+
const label = weightsAndSubsetsAreSpecified ? baseLabel : `${baseLabel}. This might be caused by loading too many font variations. Read more: https://www.remotion.dev/docs/troubleshooting/font-loading-errors#render-timeout-when-loading-google-fonts`;
|
|
64
|
+
const handle = delayRender(label, { timeoutInMilliseconds: 60000 });
|
|
65
|
+
fontsLoaded++;
|
|
66
|
+
const fontFace = new FontFace(meta.fontFamily, `url(${font}) format('woff2')`, {
|
|
67
|
+
weight,
|
|
68
|
+
style: style2,
|
|
69
|
+
unicodeRange: meta.unicodeRanges[subset]
|
|
70
|
+
});
|
|
71
|
+
let attempts = 2;
|
|
72
|
+
const tryToLoad = () => {
|
|
73
|
+
if (fontFace.status === "loaded") {
|
|
74
|
+
continueRender(handle);
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
const promise = loadFontFaceOrTimeoutAfter20Seconds(fontFace).then(() => {
|
|
78
|
+
(options?.document ?? document).fonts.add(fontFace);
|
|
79
|
+
continueRender(handle);
|
|
80
|
+
}).catch((err) => {
|
|
81
|
+
loadedFonts[fontKey] = undefined;
|
|
82
|
+
if (attempts === 0) {
|
|
83
|
+
throw err;
|
|
84
|
+
} else {
|
|
85
|
+
attempts--;
|
|
86
|
+
tryToLoad();
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
loadedFonts[fontKey] = promise;
|
|
90
|
+
promises.push(promise);
|
|
91
|
+
};
|
|
92
|
+
tryToLoad();
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
if (fontsLoaded > 20) {
|
|
96
|
+
console.warn(`Made ${fontsLoaded} network requests to load fonts for ${meta.fontFamily}. Consider loading fewer weights and subsets by passing options to loadFont(). Disable this warning by passing "ignoreTooManyRequestsWarning: true" to "options".`);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
return {
|
|
100
|
+
fontFamily: meta.fontFamily,
|
|
101
|
+
fonts: meta.fonts,
|
|
102
|
+
unicodeRanges: meta.unicodeRanges,
|
|
103
|
+
waitUntilDone: () => Promise.all(promises).then(() => {
|
|
104
|
+
return;
|
|
105
|
+
})
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
// src/Sirivennela.ts
|
|
110
|
+
var getInfo = () => ({
|
|
111
|
+
fontFamily: "Sirivennela",
|
|
112
|
+
importName: "Sirivennela",
|
|
113
|
+
version: "v2",
|
|
114
|
+
url: "https://fonts.googleapis.com/css2?family=Sirivennela:ital,wght@0,400",
|
|
115
|
+
unicodeRanges: {
|
|
116
|
+
telugu: "U+0951-0952, U+0964-0965, U+0C00-0C7F, U+1CDA, U+1CF2, U+200C-200D, U+25CC",
|
|
117
|
+
latin: "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD"
|
|
118
|
+
},
|
|
119
|
+
fonts: {
|
|
120
|
+
normal: {
|
|
121
|
+
"400": {
|
|
122
|
+
telugu: "https://fonts.gstatic.com/s/sirivennela/v2/kmK5Zq0oHhbAYX-X6lgptj7DguBztg.woff2",
|
|
123
|
+
latin: "https://fonts.gstatic.com/s/sirivennela/v2/kmK5Zq0oHhbAYX-X6lgptj7fguA.woff2"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
subsets: ["latin", "telugu"]
|
|
128
|
+
});
|
|
129
|
+
var fontFamily = "Sirivennela";
|
|
130
|
+
var loadFont = (style, options) => {
|
|
131
|
+
return loadFonts(getInfo(), style, options);
|
|
132
|
+
};
|
|
133
|
+
export {
|
|
134
|
+
loadFont,
|
|
135
|
+
getInfo,
|
|
136
|
+
fontFamily
|
|
137
|
+
};
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
// src/base.ts
|
|
2
|
+
import { continueRender, delayRender } from "remotion";
|
|
3
|
+
import { NoReactInternals } from "remotion/no-react";
|
|
4
|
+
var loadedFonts = {};
|
|
5
|
+
var withResolvers = function() {
|
|
6
|
+
let resolve;
|
|
7
|
+
let reject;
|
|
8
|
+
const promise = new Promise((res, rej) => {
|
|
9
|
+
resolve = res;
|
|
10
|
+
reject = rej;
|
|
11
|
+
});
|
|
12
|
+
return { promise, resolve, reject };
|
|
13
|
+
};
|
|
14
|
+
var loadFontFaceOrTimeoutAfter20Seconds = (fontFace) => {
|
|
15
|
+
const timeout = withResolvers();
|
|
16
|
+
const int = setTimeout(() => {
|
|
17
|
+
timeout.reject(new Error("Timed out loading Google Font"));
|
|
18
|
+
}, 18000);
|
|
19
|
+
return Promise.race([
|
|
20
|
+
fontFace.load().then(() => {
|
|
21
|
+
clearTimeout(int);
|
|
22
|
+
}),
|
|
23
|
+
timeout.promise
|
|
24
|
+
]);
|
|
25
|
+
};
|
|
26
|
+
var loadFonts = (meta, style, options) => {
|
|
27
|
+
const weightsAndSubsetsAreSpecified = Array.isArray(options?.weights) && Array.isArray(options?.subsets) && options.weights.length > 0 && options.subsets.length > 0;
|
|
28
|
+
if (NoReactInternals.ENABLE_V5_BREAKING_CHANGES && !weightsAndSubsetsAreSpecified) {
|
|
29
|
+
throw new Error("Loading Google Fonts without specifying weights and subsets is not supported in Remotion v5. Please specify the weights and subsets you need.");
|
|
30
|
+
}
|
|
31
|
+
const promises = [];
|
|
32
|
+
const styles = style ? [style] : Object.keys(meta.fonts);
|
|
33
|
+
let fontsLoaded = 0;
|
|
34
|
+
for (const style2 of styles) {
|
|
35
|
+
if (typeof FontFace === "undefined") {
|
|
36
|
+
continue;
|
|
37
|
+
}
|
|
38
|
+
if (!meta.fonts[style2]) {
|
|
39
|
+
throw new Error(`The font ${meta.fontFamily} does not have a style ${style2}`);
|
|
40
|
+
}
|
|
41
|
+
const weights = options?.weights ?? Object.keys(meta.fonts[style2]);
|
|
42
|
+
for (const weight of weights) {
|
|
43
|
+
if (!meta.fonts[style2][weight]) {
|
|
44
|
+
throw new Error(`The font ${meta.fontFamily} does not have a weight ${weight} in style ${style2}`);
|
|
45
|
+
}
|
|
46
|
+
const subsets = options?.subsets ?? Object.keys(meta.fonts[style2][weight]);
|
|
47
|
+
for (const subset of subsets) {
|
|
48
|
+
let font = meta.fonts[style2]?.[weight]?.[subset];
|
|
49
|
+
if (!font) {
|
|
50
|
+
throw new Error(`weight: ${weight} subset: ${subset} is not available for '${meta.fontFamily}'`);
|
|
51
|
+
}
|
|
52
|
+
let fontKey = `${meta.fontFamily}-${style2}-${weight}-${subset}`;
|
|
53
|
+
const previousPromise = loadedFonts[fontKey];
|
|
54
|
+
if (previousPromise) {
|
|
55
|
+
promises.push(previousPromise);
|
|
56
|
+
continue;
|
|
57
|
+
}
|
|
58
|
+
const baseLabel = `Fetching ${meta.fontFamily} font ${JSON.stringify({
|
|
59
|
+
style: style2,
|
|
60
|
+
weight,
|
|
61
|
+
subset
|
|
62
|
+
})}`;
|
|
63
|
+
const label = weightsAndSubsetsAreSpecified ? baseLabel : `${baseLabel}. This might be caused by loading too many font variations. Read more: https://www.remotion.dev/docs/troubleshooting/font-loading-errors#render-timeout-when-loading-google-fonts`;
|
|
64
|
+
const handle = delayRender(label, { timeoutInMilliseconds: 60000 });
|
|
65
|
+
fontsLoaded++;
|
|
66
|
+
const fontFace = new FontFace(meta.fontFamily, `url(${font}) format('woff2')`, {
|
|
67
|
+
weight,
|
|
68
|
+
style: style2,
|
|
69
|
+
unicodeRange: meta.unicodeRanges[subset]
|
|
70
|
+
});
|
|
71
|
+
let attempts = 2;
|
|
72
|
+
const tryToLoad = () => {
|
|
73
|
+
if (fontFace.status === "loaded") {
|
|
74
|
+
continueRender(handle);
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
const promise = loadFontFaceOrTimeoutAfter20Seconds(fontFace).then(() => {
|
|
78
|
+
(options?.document ?? document).fonts.add(fontFace);
|
|
79
|
+
continueRender(handle);
|
|
80
|
+
}).catch((err) => {
|
|
81
|
+
loadedFonts[fontKey] = undefined;
|
|
82
|
+
if (attempts === 0) {
|
|
83
|
+
throw err;
|
|
84
|
+
} else {
|
|
85
|
+
attempts--;
|
|
86
|
+
tryToLoad();
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
loadedFonts[fontKey] = promise;
|
|
90
|
+
promises.push(promise);
|
|
91
|
+
};
|
|
92
|
+
tryToLoad();
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
if (fontsLoaded > 20) {
|
|
96
|
+
console.warn(`Made ${fontsLoaded} network requests to load fonts for ${meta.fontFamily}. Consider loading fewer weights and subsets by passing options to loadFont(). Disable this warning by passing "ignoreTooManyRequestsWarning: true" to "options".`);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
return {
|
|
100
|
+
fontFamily: meta.fontFamily,
|
|
101
|
+
fonts: meta.fonts,
|
|
102
|
+
unicodeRanges: meta.unicodeRanges,
|
|
103
|
+
waitUntilDone: () => Promise.all(promises).then(() => {
|
|
104
|
+
return;
|
|
105
|
+
})
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
// src/StoryScript.ts
|
|
110
|
+
var getInfo = () => ({
|
|
111
|
+
fontFamily: "Story Script",
|
|
112
|
+
importName: "StoryScript",
|
|
113
|
+
version: "v3",
|
|
114
|
+
url: "https://fonts.googleapis.com/css2?family=Story+Script:ital,wght@0,400",
|
|
115
|
+
unicodeRanges: {
|
|
116
|
+
vietnamese: "U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB",
|
|
117
|
+
"latin-ext": "U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF",
|
|
118
|
+
latin: "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD"
|
|
119
|
+
},
|
|
120
|
+
fonts: {
|
|
121
|
+
normal: {
|
|
122
|
+
"400": {
|
|
123
|
+
vietnamese: "https://fonts.gstatic.com/s/storyscript/v3/mem5YaSw02SQ0OlzDuR8IskOXehpOqc.woff2",
|
|
124
|
+
"latin-ext": "https://fonts.gstatic.com/s/storyscript/v3/mem5YaSw02SQ0OlzDuR8IskOXOhpOqc.woff2",
|
|
125
|
+
latin: "https://fonts.gstatic.com/s/storyscript/v3/mem5YaSw02SQ0OlzDuR8IskOUuhp.woff2"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
subsets: ["latin", "latin-ext", "vietnamese"]
|
|
130
|
+
});
|
|
131
|
+
var fontFamily = "Story Script";
|
|
132
|
+
var loadFont = (style, options) => {
|
|
133
|
+
return loadFonts(getInfo(), style, options);
|
|
134
|
+
};
|
|
135
|
+
export {
|
|
136
|
+
loadFont,
|
|
137
|
+
getInfo,
|
|
138
|
+
fontFamily
|
|
139
|
+
};
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
// src/base.ts
|
|
2
|
+
import { continueRender, delayRender } from "remotion";
|
|
3
|
+
import { NoReactInternals } from "remotion/no-react";
|
|
4
|
+
var loadedFonts = {};
|
|
5
|
+
var withResolvers = function() {
|
|
6
|
+
let resolve;
|
|
7
|
+
let reject;
|
|
8
|
+
const promise = new Promise((res, rej) => {
|
|
9
|
+
resolve = res;
|
|
10
|
+
reject = rej;
|
|
11
|
+
});
|
|
12
|
+
return { promise, resolve, reject };
|
|
13
|
+
};
|
|
14
|
+
var loadFontFaceOrTimeoutAfter20Seconds = (fontFace) => {
|
|
15
|
+
const timeout = withResolvers();
|
|
16
|
+
const int = setTimeout(() => {
|
|
17
|
+
timeout.reject(new Error("Timed out loading Google Font"));
|
|
18
|
+
}, 18000);
|
|
19
|
+
return Promise.race([
|
|
20
|
+
fontFace.load().then(() => {
|
|
21
|
+
clearTimeout(int);
|
|
22
|
+
}),
|
|
23
|
+
timeout.promise
|
|
24
|
+
]);
|
|
25
|
+
};
|
|
26
|
+
var loadFonts = (meta, style, options) => {
|
|
27
|
+
const weightsAndSubsetsAreSpecified = Array.isArray(options?.weights) && Array.isArray(options?.subsets) && options.weights.length > 0 && options.subsets.length > 0;
|
|
28
|
+
if (NoReactInternals.ENABLE_V5_BREAKING_CHANGES && !weightsAndSubsetsAreSpecified) {
|
|
29
|
+
throw new Error("Loading Google Fonts without specifying weights and subsets is not supported in Remotion v5. Please specify the weights and subsets you need.");
|
|
30
|
+
}
|
|
31
|
+
const promises = [];
|
|
32
|
+
const styles = style ? [style] : Object.keys(meta.fonts);
|
|
33
|
+
let fontsLoaded = 0;
|
|
34
|
+
for (const style2 of styles) {
|
|
35
|
+
if (typeof FontFace === "undefined") {
|
|
36
|
+
continue;
|
|
37
|
+
}
|
|
38
|
+
if (!meta.fonts[style2]) {
|
|
39
|
+
throw new Error(`The font ${meta.fontFamily} does not have a style ${style2}`);
|
|
40
|
+
}
|
|
41
|
+
const weights = options?.weights ?? Object.keys(meta.fonts[style2]);
|
|
42
|
+
for (const weight of weights) {
|
|
43
|
+
if (!meta.fonts[style2][weight]) {
|
|
44
|
+
throw new Error(`The font ${meta.fontFamily} does not have a weight ${weight} in style ${style2}`);
|
|
45
|
+
}
|
|
46
|
+
const subsets = options?.subsets ?? Object.keys(meta.fonts[style2][weight]);
|
|
47
|
+
for (const subset of subsets) {
|
|
48
|
+
let font = meta.fonts[style2]?.[weight]?.[subset];
|
|
49
|
+
if (!font) {
|
|
50
|
+
throw new Error(`weight: ${weight} subset: ${subset} is not available for '${meta.fontFamily}'`);
|
|
51
|
+
}
|
|
52
|
+
let fontKey = `${meta.fontFamily}-${style2}-${weight}-${subset}`;
|
|
53
|
+
const previousPromise = loadedFonts[fontKey];
|
|
54
|
+
if (previousPromise) {
|
|
55
|
+
promises.push(previousPromise);
|
|
56
|
+
continue;
|
|
57
|
+
}
|
|
58
|
+
const baseLabel = `Fetching ${meta.fontFamily} font ${JSON.stringify({
|
|
59
|
+
style: style2,
|
|
60
|
+
weight,
|
|
61
|
+
subset
|
|
62
|
+
})}`;
|
|
63
|
+
const label = weightsAndSubsetsAreSpecified ? baseLabel : `${baseLabel}. This might be caused by loading too many font variations. Read more: https://www.remotion.dev/docs/troubleshooting/font-loading-errors#render-timeout-when-loading-google-fonts`;
|
|
64
|
+
const handle = delayRender(label, { timeoutInMilliseconds: 60000 });
|
|
65
|
+
fontsLoaded++;
|
|
66
|
+
const fontFace = new FontFace(meta.fontFamily, `url(${font}) format('woff2')`, {
|
|
67
|
+
weight,
|
|
68
|
+
style: style2,
|
|
69
|
+
unicodeRange: meta.unicodeRanges[subset]
|
|
70
|
+
});
|
|
71
|
+
let attempts = 2;
|
|
72
|
+
const tryToLoad = () => {
|
|
73
|
+
if (fontFace.status === "loaded") {
|
|
74
|
+
continueRender(handle);
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
const promise = loadFontFaceOrTimeoutAfter20Seconds(fontFace).then(() => {
|
|
78
|
+
(options?.document ?? document).fonts.add(fontFace);
|
|
79
|
+
continueRender(handle);
|
|
80
|
+
}).catch((err) => {
|
|
81
|
+
loadedFonts[fontKey] = undefined;
|
|
82
|
+
if (attempts === 0) {
|
|
83
|
+
throw err;
|
|
84
|
+
} else {
|
|
85
|
+
attempts--;
|
|
86
|
+
tryToLoad();
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
loadedFonts[fontKey] = promise;
|
|
90
|
+
promises.push(promise);
|
|
91
|
+
};
|
|
92
|
+
tryToLoad();
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
if (fontsLoaded > 20) {
|
|
96
|
+
console.warn(`Made ${fontsLoaded} network requests to load fonts for ${meta.fontFamily}. Consider loading fewer weights and subsets by passing options to loadFont(). Disable this warning by passing "ignoreTooManyRequestsWarning: true" to "options".`);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
return {
|
|
100
|
+
fontFamily: meta.fontFamily,
|
|
101
|
+
fonts: meta.fonts,
|
|
102
|
+
unicodeRanges: meta.unicodeRanges,
|
|
103
|
+
waitUntilDone: () => Promise.all(promises).then(() => {
|
|
104
|
+
return;
|
|
105
|
+
})
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
// src/TASAExplorer.ts
|
|
110
|
+
var getInfo = () => ({
|
|
111
|
+
fontFamily: "TASA Explorer",
|
|
112
|
+
importName: "TASAExplorer",
|
|
113
|
+
version: "v2",
|
|
114
|
+
url: "https://fonts.googleapis.com/css2?family=TASA+Explorer:ital,wght@0,400;0,500;0,600;0,700;0,800",
|
|
115
|
+
unicodeRanges: {
|
|
116
|
+
"latin-ext": "U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF",
|
|
117
|
+
latin: "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD"
|
|
118
|
+
},
|
|
119
|
+
fonts: {
|
|
120
|
+
normal: {
|
|
121
|
+
"400": {
|
|
122
|
+
"latin-ext": "https://fonts.gstatic.com/s/tasaexplorer/v2/K2F3fZdAt8xjBmxMCPK8UO_SFyPSYFOM.woff2",
|
|
123
|
+
latin: "https://fonts.gstatic.com/s/tasaexplorer/v2/K2F3fZdAt8xjBmxMCPK8UO_SFy3SYA.woff2"
|
|
124
|
+
},
|
|
125
|
+
"500": {
|
|
126
|
+
"latin-ext": "https://fonts.gstatic.com/s/tasaexplorer/v2/K2F3fZdAt8xjBmxMCPK8UO_SFyPSYFOM.woff2",
|
|
127
|
+
latin: "https://fonts.gstatic.com/s/tasaexplorer/v2/K2F3fZdAt8xjBmxMCPK8UO_SFy3SYA.woff2"
|
|
128
|
+
},
|
|
129
|
+
"600": {
|
|
130
|
+
"latin-ext": "https://fonts.gstatic.com/s/tasaexplorer/v2/K2F3fZdAt8xjBmxMCPK8UO_SFyPSYFOM.woff2",
|
|
131
|
+
latin: "https://fonts.gstatic.com/s/tasaexplorer/v2/K2F3fZdAt8xjBmxMCPK8UO_SFy3SYA.woff2"
|
|
132
|
+
},
|
|
133
|
+
"700": {
|
|
134
|
+
"latin-ext": "https://fonts.gstatic.com/s/tasaexplorer/v2/K2F3fZdAt8xjBmxMCPK8UO_SFyPSYFOM.woff2",
|
|
135
|
+
latin: "https://fonts.gstatic.com/s/tasaexplorer/v2/K2F3fZdAt8xjBmxMCPK8UO_SFy3SYA.woff2"
|
|
136
|
+
},
|
|
137
|
+
"800": {
|
|
138
|
+
"latin-ext": "https://fonts.gstatic.com/s/tasaexplorer/v2/K2F3fZdAt8xjBmxMCPK8UO_SFyPSYFOM.woff2",
|
|
139
|
+
latin: "https://fonts.gstatic.com/s/tasaexplorer/v2/K2F3fZdAt8xjBmxMCPK8UO_SFy3SYA.woff2"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
subsets: ["latin", "latin-ext"]
|
|
144
|
+
});
|
|
145
|
+
var fontFamily = "TASA Explorer";
|
|
146
|
+
var loadFont = (style, options) => {
|
|
147
|
+
return loadFonts(getInfo(), style, options);
|
|
148
|
+
};
|
|
149
|
+
export {
|
|
150
|
+
loadFont,
|
|
151
|
+
getInfo,
|
|
152
|
+
fontFamily
|
|
153
|
+
};
|