@remotion/google-fonts 4.0.450 → 4.0.452
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/BJCree.d.ts +1 -1
- package/dist/cjs/BJCree.js +12 -12
- package/dist/cjs/index.js +1 -1
- package/dist/esm/BJCree.mjs +12 -12
- package/dist/esm/index.mjs +1 -1
- package/package.json +2 -2
package/dist/cjs/BJCree.d.ts
CHANGED
package/dist/cjs/BJCree.js
CHANGED
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.loadFont = exports.fontFamily = exports.getInfo = void 0;
|
|
4
4
|
const base_1 = require("./base");
|
|
5
5
|
const getInfo = () => ({
|
|
6
|
-
fontFamily: '
|
|
6
|
+
fontFamily: 'BJCree',
|
|
7
7
|
importName: 'BJCree',
|
|
8
|
-
version: '
|
|
9
|
-
url: 'https://fonts.googleapis.com/css2?family=
|
|
8
|
+
version: 'v3',
|
|
9
|
+
url: 'https://fonts.googleapis.com/css2?family=BJCree:ital,wght@0,400;0,500;0,600;0,700',
|
|
10
10
|
unicodeRanges: {
|
|
11
11
|
'canadian-aboriginal': 'U+02C7, U+02D8-02D9, U+02DB, U+0307, U+1400-167F, U+18B0-18F5, U+25CC, U+11AB0-11ABF',
|
|
12
12
|
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',
|
|
@@ -14,27 +14,27 @@ const getInfo = () => ({
|
|
|
14
14
|
fonts: {
|
|
15
15
|
normal: {
|
|
16
16
|
'400': {
|
|
17
|
-
'canadian-aboriginal': 'https://fonts.gstatic.com/s/bjcree/
|
|
18
|
-
latin: 'https://fonts.gstatic.com/s/bjcree/
|
|
17
|
+
'canadian-aboriginal': 'https://fonts.gstatic.com/s/bjcree/v3/QldPNTVAjTwa8_QKFDmUcXg.woff2',
|
|
18
|
+
latin: 'https://fonts.gstatic.com/s/bjcree/v3/QldPNTVAjTwa8_QKOzmU.woff2',
|
|
19
19
|
},
|
|
20
20
|
'500': {
|
|
21
|
-
'canadian-aboriginal': 'https://fonts.gstatic.com/s/bjcree/
|
|
22
|
-
latin: 'https://fonts.gstatic.com/s/bjcree/
|
|
21
|
+
'canadian-aboriginal': 'https://fonts.gstatic.com/s/bjcree/v3/QldMNTVAjTwa8_QCyBqBYVlb_qw.woff2',
|
|
22
|
+
latin: 'https://fonts.gstatic.com/s/bjcree/v3/QldMNTVAjTwa8_QCyBqBTllb.woff2',
|
|
23
23
|
},
|
|
24
24
|
'600': {
|
|
25
|
-
'canadian-aboriginal': 'https://fonts.gstatic.com/s/bjcree/
|
|
26
|
-
latin: 'https://fonts.gstatic.com/s/bjcree/
|
|
25
|
+
'canadian-aboriginal': 'https://fonts.gstatic.com/s/bjcree/v3/QldMNTVAjTwa8_QC5B2BYVlb_qw.woff2',
|
|
26
|
+
latin: 'https://fonts.gstatic.com/s/bjcree/v3/QldMNTVAjTwa8_QC5B2BTllb.woff2',
|
|
27
27
|
},
|
|
28
28
|
'700': {
|
|
29
|
-
'canadian-aboriginal': 'https://fonts.gstatic.com/s/bjcree/
|
|
30
|
-
latin: 'https://fonts.gstatic.com/s/bjcree/
|
|
29
|
+
'canadian-aboriginal': 'https://fonts.gstatic.com/s/bjcree/v3/QldMNTVAjTwa8_QCgByBYVlb_qw.woff2',
|
|
30
|
+
latin: 'https://fonts.gstatic.com/s/bjcree/v3/QldMNTVAjTwa8_QCgByBTllb.woff2',
|
|
31
31
|
},
|
|
32
32
|
},
|
|
33
33
|
},
|
|
34
34
|
subsets: ['canadian-aboriginal', 'latin'],
|
|
35
35
|
});
|
|
36
36
|
exports.getInfo = getInfo;
|
|
37
|
-
exports.fontFamily = '
|
|
37
|
+
exports.fontFamily = 'BJCree';
|
|
38
38
|
const loadFont = (style, options) => {
|
|
39
39
|
return (0, base_1.loadFonts)((0, exports.getInfo)(), style, options);
|
|
40
40
|
};
|
package/dist/cjs/index.js
CHANGED
|
@@ -788,7 +788,7 @@ const getAvailableFonts = () => [
|
|
|
788
788
|
load: () => Promise.resolve().then(() => __importStar(require('./BIZUDPMincho'))),
|
|
789
789
|
},
|
|
790
790
|
{
|
|
791
|
-
fontFamily: '
|
|
791
|
+
fontFamily: 'BJCree',
|
|
792
792
|
importName: 'BJCree',
|
|
793
793
|
load: () => Promise.resolve().then(() => __importStar(require('./BJCree'))),
|
|
794
794
|
},
|
package/dist/esm/BJCree.mjs
CHANGED
|
@@ -108,10 +108,10 @@ var loadFonts = (meta, style, options) => {
|
|
|
108
108
|
|
|
109
109
|
// src/BJCree.ts
|
|
110
110
|
var getInfo = () => ({
|
|
111
|
-
fontFamily: "
|
|
111
|
+
fontFamily: "BJCree",
|
|
112
112
|
importName: "BJCree",
|
|
113
|
-
version: "
|
|
114
|
-
url: "https://fonts.googleapis.com/css2?family=
|
|
113
|
+
version: "v3",
|
|
114
|
+
url: "https://fonts.googleapis.com/css2?family=BJCree:ital,wght@0,400;0,500;0,600;0,700",
|
|
115
115
|
unicodeRanges: {
|
|
116
116
|
"canadian-aboriginal": "U+02C7, U+02D8-02D9, U+02DB, U+0307, U+1400-167F, U+18B0-18F5, U+25CC, U+11AB0-11ABF",
|
|
117
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"
|
|
@@ -119,26 +119,26 @@ var getInfo = () => ({
|
|
|
119
119
|
fonts: {
|
|
120
120
|
normal: {
|
|
121
121
|
"400": {
|
|
122
|
-
"canadian-aboriginal": "https://fonts.gstatic.com/s/bjcree/
|
|
123
|
-
latin: "https://fonts.gstatic.com/s/bjcree/
|
|
122
|
+
"canadian-aboriginal": "https://fonts.gstatic.com/s/bjcree/v3/QldPNTVAjTwa8_QKFDmUcXg.woff2",
|
|
123
|
+
latin: "https://fonts.gstatic.com/s/bjcree/v3/QldPNTVAjTwa8_QKOzmU.woff2"
|
|
124
124
|
},
|
|
125
125
|
"500": {
|
|
126
|
-
"canadian-aboriginal": "https://fonts.gstatic.com/s/bjcree/
|
|
127
|
-
latin: "https://fonts.gstatic.com/s/bjcree/
|
|
126
|
+
"canadian-aboriginal": "https://fonts.gstatic.com/s/bjcree/v3/QldMNTVAjTwa8_QCyBqBYVlb_qw.woff2",
|
|
127
|
+
latin: "https://fonts.gstatic.com/s/bjcree/v3/QldMNTVAjTwa8_QCyBqBTllb.woff2"
|
|
128
128
|
},
|
|
129
129
|
"600": {
|
|
130
|
-
"canadian-aboriginal": "https://fonts.gstatic.com/s/bjcree/
|
|
131
|
-
latin: "https://fonts.gstatic.com/s/bjcree/
|
|
130
|
+
"canadian-aboriginal": "https://fonts.gstatic.com/s/bjcree/v3/QldMNTVAjTwa8_QC5B2BYVlb_qw.woff2",
|
|
131
|
+
latin: "https://fonts.gstatic.com/s/bjcree/v3/QldMNTVAjTwa8_QC5B2BTllb.woff2"
|
|
132
132
|
},
|
|
133
133
|
"700": {
|
|
134
|
-
"canadian-aboriginal": "https://fonts.gstatic.com/s/bjcree/
|
|
135
|
-
latin: "https://fonts.gstatic.com/s/bjcree/
|
|
134
|
+
"canadian-aboriginal": "https://fonts.gstatic.com/s/bjcree/v3/QldMNTVAjTwa8_QCgByBYVlb_qw.woff2",
|
|
135
|
+
latin: "https://fonts.gstatic.com/s/bjcree/v3/QldMNTVAjTwa8_QCgByBTllb.woff2"
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
},
|
|
139
139
|
subsets: ["canadian-aboriginal", "latin"]
|
|
140
140
|
});
|
|
141
|
-
var fontFamily = "
|
|
141
|
+
var fontFamily = "BJCree";
|
|
142
142
|
var loadFont = (style, options) => {
|
|
143
143
|
return loadFonts(getInfo(), style, options);
|
|
144
144
|
};
|
package/dist/esm/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/google-fonts"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/google-fonts",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.452",
|
|
7
7
|
"description": "Use Google Fonts in Remotion",
|
|
8
8
|
"main": "dist/cjs/index.js",
|
|
9
9
|
"module": "dist/esm/index.mjs",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"remotion": "4.0.
|
|
18
|
+
"remotion": "4.0.452"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/css-font-loading-module": "0.0.14",
|