@remotion/google-fonts 4.0.327 → 4.0.330

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.
@@ -0,0 +1,72 @@
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-ext': string;
10
+ greek: string;
11
+ vietnamese: string;
12
+ 'latin-ext': string;
13
+ latin: string;
14
+ };
15
+ fonts: {
16
+ italic: {
17
+ '400': {
18
+ 'cyrillic-ext': string;
19
+ cyrillic: string;
20
+ 'greek-ext': string;
21
+ greek: string;
22
+ vietnamese: string;
23
+ 'latin-ext': string;
24
+ latin: string;
25
+ };
26
+ };
27
+ normal: {
28
+ '400': {
29
+ 'cyrillic-ext': string;
30
+ cyrillic: string;
31
+ 'greek-ext': string;
32
+ greek: string;
33
+ vietnamese: string;
34
+ 'latin-ext': string;
35
+ latin: string;
36
+ };
37
+ '700': {
38
+ 'cyrillic-ext': string;
39
+ cyrillic: string;
40
+ 'greek-ext': string;
41
+ greek: string;
42
+ vietnamese: string;
43
+ 'latin-ext': string;
44
+ latin: string;
45
+ };
46
+ };
47
+ };
48
+ subsets: string[];
49
+ };
50
+ export declare const fontFamily: "Libertinus Sans";
51
+ type Variants = {
52
+ italic: {
53
+ weights: '400';
54
+ subsets: 'cyrillic' | 'cyrillic-ext' | 'greek' | 'greek-ext' | 'latin' | 'latin-ext' | 'vietnamese';
55
+ };
56
+ normal: {
57
+ weights: '400' | '700';
58
+ subsets: 'cyrillic' | 'cyrillic-ext' | 'greek' | 'greek-ext' | 'latin' | 'latin-ext' | 'vietnamese';
59
+ };
60
+ };
61
+ export declare const loadFont: <T extends keyof Variants>(style?: T, options?: {
62
+ weights?: Variants[T]["weights"][];
63
+ subsets?: Variants[T]["subsets"][];
64
+ document?: Document;
65
+ ignoreTooManyRequestsWarning?: boolean;
66
+ }) => {
67
+ fontFamily: import("./base").FontInfo["fontFamily"];
68
+ fonts: import("./base").FontInfo["fonts"];
69
+ unicodeRanges: import("./base").FontInfo["unicodeRanges"];
70
+ waitUntilDone: () => Promise<undefined>;
71
+ };
72
+ export {};
@@ -0,0 +1,67 @@
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: 'Libertinus Sans',
7
+ importName: 'LibertinusSans',
8
+ version: 'v1',
9
+ url: 'https://fonts.googleapis.com/css2?family=Libertinus+Sans:ital,wght@0,400;0,700;1,400',
10
+ unicodeRanges: {
11
+ 'cyrillic-ext': 'U+0460-052F, U+1C80-1C8A, 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-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF',
15
+ 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',
16
+ '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',
17
+ 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',
18
+ },
19
+ fonts: {
20
+ italic: {
21
+ '400': {
22
+ 'cyrillic-ext': 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Jr0-a6k7ZLbw_dle4knJh2cq8jOfb1dRUYw.woff2',
23
+ cyrillic: 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Jr0-a6k7ZLbw_dle4knJh2cq8jOfS1dRUYw.woff2',
24
+ 'greek-ext': 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Jr0-a6k7ZLbw_dle4knJh2cq8jOfa1dRUYw.woff2',
25
+ greek: 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Jr0-a6k7ZLbw_dle4knJh2cq8jOfV1dRUYw.woff2',
26
+ vietnamese: 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Jr0-a6k7ZLbw_dle4knJh2cq8jOfZ1dRUYw.woff2',
27
+ 'latin-ext': 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Jr0-a6k7ZLbw_dle4knJh2cq8jOfY1dRUYw.woff2',
28
+ latin: 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Jr0-a6k7ZLbw_dle4knJh2cq8jOfW1dQ.woff2',
29
+ },
30
+ },
31
+ normal: {
32
+ '400': {
33
+ 'cyrillic-ext': 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Lr0-a6k7ZLbw_dle4knJh2cq8hNfUzdA.woff2',
34
+ cyrillic: 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Lr0-a6k7ZLbw_dle4knJh2cq8jdfUzdA.woff2',
35
+ 'greek-ext': 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Lr0-a6k7ZLbw_dle4knJh2cq8hdfUzdA.woff2',
36
+ greek: 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Lr0-a6k7ZLbw_dle4knJh2cq8itfUzdA.woff2',
37
+ vietnamese: 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Lr0-a6k7ZLbw_dle4knJh2cq8htfUzdA.woff2',
38
+ 'latin-ext': 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Lr0-a6k7ZLbw_dle4knJh2cq8h9fUzdA.woff2',
39
+ latin: 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Lr0-a6k7ZLbw_dle4knJh2cq8idfU.woff2',
40
+ },
41
+ '700': {
42
+ 'cyrillic-ext': 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Or0-a6k7ZLbw_dle4knJh2cq0MvLB__FpWik.woff2',
43
+ cyrillic: 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Or0-a6k7ZLbw_dle4knJh2cq0MvLB9vFpWik.woff2',
44
+ 'greek-ext': 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Or0-a6k7ZLbw_dle4knJh2cq0MvLB_vFpWik.woff2',
45
+ greek: 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Or0-a6k7ZLbw_dle4knJh2cq0MvLB8fFpWik.woff2',
46
+ vietnamese: 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Or0-a6k7ZLbw_dle4knJh2cq0MvLB_fFpWik.woff2',
47
+ 'latin-ext': 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Or0-a6k7ZLbw_dle4knJh2cq0MvLB_PFpWik.woff2',
48
+ latin: 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Or0-a6k7ZLbw_dle4knJh2cq0MvLB8vFp.woff2',
49
+ },
50
+ },
51
+ },
52
+ subsets: [
53
+ 'cyrillic',
54
+ 'cyrillic-ext',
55
+ 'greek',
56
+ 'greek-ext',
57
+ 'latin',
58
+ 'latin-ext',
59
+ 'vietnamese',
60
+ ],
61
+ });
62
+ exports.getInfo = getInfo;
63
+ exports.fontFamily = 'Libertinus Sans';
64
+ const loadFont = (style, options) => {
65
+ return (0, base_1.loadFonts)((0, exports.getInfo)(), style, options);
66
+ };
67
+ exports.loadFont = loadFont;
@@ -0,0 +1,106 @@
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-ext': string;
10
+ greek: string;
11
+ hebrew: string;
12
+ vietnamese: string;
13
+ 'latin-ext': string;
14
+ latin: string;
15
+ };
16
+ fonts: {
17
+ italic: {
18
+ '400': {
19
+ 'cyrillic-ext': string;
20
+ cyrillic: string;
21
+ 'greek-ext': string;
22
+ greek: string;
23
+ hebrew: string;
24
+ vietnamese: string;
25
+ 'latin-ext': string;
26
+ latin: string;
27
+ };
28
+ '600': {
29
+ 'cyrillic-ext': string;
30
+ cyrillic: string;
31
+ 'greek-ext': string;
32
+ greek: string;
33
+ hebrew: string;
34
+ vietnamese: string;
35
+ 'latin-ext': string;
36
+ latin: string;
37
+ };
38
+ '700': {
39
+ 'cyrillic-ext': string;
40
+ cyrillic: string;
41
+ 'greek-ext': string;
42
+ greek: string;
43
+ hebrew: string;
44
+ vietnamese: string;
45
+ 'latin-ext': string;
46
+ latin: string;
47
+ };
48
+ };
49
+ normal: {
50
+ '400': {
51
+ 'cyrillic-ext': string;
52
+ cyrillic: string;
53
+ 'greek-ext': string;
54
+ greek: string;
55
+ hebrew: string;
56
+ vietnamese: string;
57
+ 'latin-ext': string;
58
+ latin: string;
59
+ };
60
+ '600': {
61
+ 'cyrillic-ext': string;
62
+ cyrillic: string;
63
+ 'greek-ext': string;
64
+ greek: string;
65
+ hebrew: string;
66
+ vietnamese: string;
67
+ 'latin-ext': string;
68
+ latin: string;
69
+ };
70
+ '700': {
71
+ 'cyrillic-ext': string;
72
+ cyrillic: string;
73
+ 'greek-ext': string;
74
+ greek: string;
75
+ hebrew: string;
76
+ vietnamese: string;
77
+ 'latin-ext': string;
78
+ latin: string;
79
+ };
80
+ };
81
+ };
82
+ subsets: string[];
83
+ };
84
+ export declare const fontFamily: "Libertinus Serif";
85
+ type Variants = {
86
+ italic: {
87
+ weights: '400' | '600' | '700';
88
+ subsets: 'cyrillic' | 'cyrillic-ext' | 'greek' | 'greek-ext' | 'hebrew' | 'latin' | 'latin-ext' | 'vietnamese';
89
+ };
90
+ normal: {
91
+ weights: '400' | '600' | '700';
92
+ subsets: 'cyrillic' | 'cyrillic-ext' | 'greek' | 'greek-ext' | 'hebrew' | 'latin' | 'latin-ext' | 'vietnamese';
93
+ };
94
+ };
95
+ export declare const loadFont: <T extends keyof Variants>(style?: T, options?: {
96
+ weights?: Variants[T]["weights"][];
97
+ subsets?: Variants[T]["subsets"][];
98
+ document?: Document;
99
+ ignoreTooManyRequestsWarning?: boolean;
100
+ }) => {
101
+ fontFamily: import("./base").FontInfo["fontFamily"];
102
+ fonts: import("./base").FontInfo["fonts"];
103
+ unicodeRanges: import("./base").FontInfo["unicodeRanges"];
104
+ waitUntilDone: () => Promise<undefined>;
105
+ };
106
+ export {};
@@ -0,0 +1,102 @@
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: 'Libertinus Serif',
7
+ importName: 'LibertinusSerif',
8
+ version: 'v1',
9
+ url: 'https://fonts.googleapis.com/css2?family=Libertinus+Serif:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700',
10
+ unicodeRanges: {
11
+ 'cyrillic-ext': 'U+0460-052F, U+1C80-1C8A, 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-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF',
15
+ hebrew: 'U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F',
16
+ 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',
17
+ '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',
18
+ 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',
19
+ },
20
+ fonts: {
21
+ italic: {
22
+ '400': {
23
+ 'cyrillic-ext': 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpiK4bw7KinajYBg0RTTwCLF5Ber6s_XlvMNaU.woff2',
24
+ cyrillic: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpiK4bw7KinajYBg0RTTwCLF5Ber6s_V1vMNaU.woff2',
25
+ 'greek-ext': 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpiK4bw7KinajYBg0RTTwCLF5Ber6s_X1vMNaU.woff2',
26
+ greek: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpiK4bw7KinajYBg0RTTwCLF5Ber6s_UFvMNaU.woff2',
27
+ hebrew: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpiK4bw7KinajYBg0RTTwCLF5Ber6s_UVvMNaU.woff2',
28
+ vietnamese: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpiK4bw7KinajYBg0RTTwCLF5Ber6s_XFvMNaU.woff2',
29
+ 'latin-ext': 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpiK4bw7KinajYBg0RTTwCLF5Ber6s_XVvMNaU.woff2',
30
+ latin: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpiK4bw7KinajYBg0RTTwCLF5Ber6s_U1vM.woff2',
31
+ },
32
+ '600': {
33
+ 'cyrillic-ext': 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s3jH_ZB4RVoew.woff2',
34
+ cyrillic: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s3jH_ZDoRVoew.woff2',
35
+ 'greek-ext': 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s3jH_ZBoRVoew.woff2',
36
+ greek: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s3jH_ZCYRVoew.woff2',
37
+ hebrew: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s3jH_ZCIRVoew.woff2',
38
+ vietnamese: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s3jH_ZBYRVoew.woff2',
39
+ 'latin-ext': 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s3jH_ZBIRVoew.woff2',
40
+ latin: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s3jH_ZCoRV.woff2',
41
+ },
42
+ '700': {
43
+ 'cyrillic-ext': 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s36H7ZB4RVoew.woff2',
44
+ cyrillic: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s36H7ZDoRVoew.woff2',
45
+ 'greek-ext': 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s36H7ZBoRVoew.woff2',
46
+ greek: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s36H7ZCYRVoew.woff2',
47
+ hebrew: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s36H7ZCIRVoew.woff2',
48
+ vietnamese: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s36H7ZBYRVoew.woff2',
49
+ 'latin-ext': 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s36H7ZBIRVoew.woff2',
50
+ latin: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s36H7ZCoRV.woff2',
51
+ },
52
+ },
53
+ normal: {
54
+ '400': {
55
+ 'cyrillic-ext': 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpkK4bw7KinajYBg0RTTwCLF5Ber6MPUUPI.woff2',
56
+ cyrillic: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpkK4bw7KinajYBg0RTTwCLF5Ber6oPUUPI.woff2',
57
+ 'greek-ext': 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpkK4bw7KinajYBg0RTTwCLF5Ber6IPUUPI.woff2',
58
+ greek: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpkK4bw7KinajYBg0RTTwCLF5Ber60PUUPI.woff2',
59
+ hebrew: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpkK4bw7KinajYBg0RTTwCLF5Ber6wPUUPI.woff2',
60
+ vietnamese: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpkK4bw7KinajYBg0RTTwCLF5Ber6EPUUPI.woff2',
61
+ 'latin-ext': 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpkK4bw7KinajYBg0RTTwCLF5Ber6APUUPI.woff2',
62
+ latin: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpkK4bw7KinajYBg0RTTwCLF5Ber64PUQ.woff2',
63
+ },
64
+ '600': {
65
+ 'cyrillic-ext': 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5Bep3ErRHHpCJxR.woff2',
66
+ cyrillic: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5Bep3ErRHjpCJxR.woff2',
67
+ 'greek-ext': 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5Bep3ErRHDpCJxR.woff2',
68
+ greek: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5Bep3ErRH_pCJxR.woff2',
69
+ hebrew: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5Bep3ErRH7pCJxR.woff2',
70
+ vietnamese: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5Bep3ErRHPpCJxR.woff2',
71
+ 'latin-ext': 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5Bep3ErRHLpCJxR.woff2',
72
+ latin: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5Bep3ErRHzpCA.woff2',
73
+ },
74
+ '700': {
75
+ 'cyrillic-ext': 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5BepxUqRHHpCJxR.woff2',
76
+ cyrillic: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5BepxUqRHjpCJxR.woff2',
77
+ 'greek-ext': 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5BepxUqRHDpCJxR.woff2',
78
+ greek: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5BepxUqRH_pCJxR.woff2',
79
+ hebrew: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5BepxUqRH7pCJxR.woff2',
80
+ vietnamese: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5BepxUqRHPpCJxR.woff2',
81
+ 'latin-ext': 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5BepxUqRHLpCJxR.woff2',
82
+ latin: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5BepxUqRHzpCA.woff2',
83
+ },
84
+ },
85
+ },
86
+ subsets: [
87
+ 'cyrillic',
88
+ 'cyrillic-ext',
89
+ 'greek',
90
+ 'greek-ext',
91
+ 'hebrew',
92
+ 'latin',
93
+ 'latin-ext',
94
+ 'vietnamese',
95
+ ],
96
+ });
97
+ exports.getInfo = getInfo;
98
+ exports.fontFamily = 'Libertinus Serif';
99
+ const loadFont = (style, options) => {
100
+ return (0, base_1.loadFonts)((0, exports.getInfo)(), style, options);
101
+ };
102
+ exports.loadFont = loadFont;
@@ -0,0 +1,58 @@
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
+ '200': {
13
+ 'latin-ext': string;
14
+ latin: string;
15
+ };
16
+ '300': {
17
+ 'latin-ext': string;
18
+ latin: string;
19
+ };
20
+ '400': {
21
+ 'latin-ext': string;
22
+ latin: string;
23
+ };
24
+ '500': {
25
+ 'latin-ext': string;
26
+ latin: string;
27
+ };
28
+ '600': {
29
+ 'latin-ext': string;
30
+ latin: string;
31
+ };
32
+ '700': {
33
+ 'latin-ext': string;
34
+ latin: string;
35
+ };
36
+ };
37
+ };
38
+ subsets: string[];
39
+ };
40
+ export declare const fontFamily: "Mozilla Headline";
41
+ type Variants = {
42
+ normal: {
43
+ weights: '200' | '300' | '400' | '500' | '600' | '700';
44
+ subsets: 'latin' | 'latin-ext';
45
+ };
46
+ };
47
+ export declare const loadFont: <T extends keyof Variants>(style?: T, options?: {
48
+ weights?: Variants[T]["weights"][];
49
+ subsets?: Variants[T]["subsets"][];
50
+ document?: Document;
51
+ ignoreTooManyRequestsWarning?: boolean;
52
+ }) => {
53
+ fontFamily: import("./base").FontInfo["fontFamily"];
54
+ fonts: import("./base").FontInfo["fonts"];
55
+ unicodeRanges: import("./base").FontInfo["unicodeRanges"];
56
+ waitUntilDone: () => Promise<undefined>;
57
+ };
58
+ export {};
@@ -0,0 +1,49 @@
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: 'Mozilla Headline',
7
+ importName: 'MozillaHeadline',
8
+ version: 'v1',
9
+ url: 'https://fonts.googleapis.com/css2?family=Mozilla+Headline:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700',
10
+ unicodeRanges: {
11
+ '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',
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',
13
+ },
14
+ fonts: {
15
+ normal: {
16
+ '200': {
17
+ 'latin-ext': 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHDYMVmJQ.woff2',
18
+ latin: 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHNYMU.woff2',
19
+ },
20
+ '300': {
21
+ 'latin-ext': 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHDYMVmJQ.woff2',
22
+ latin: 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHNYMU.woff2',
23
+ },
24
+ '400': {
25
+ 'latin-ext': 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHDYMVmJQ.woff2',
26
+ latin: 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHNYMU.woff2',
27
+ },
28
+ '500': {
29
+ 'latin-ext': 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHDYMVmJQ.woff2',
30
+ latin: 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHNYMU.woff2',
31
+ },
32
+ '600': {
33
+ 'latin-ext': 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHDYMVmJQ.woff2',
34
+ latin: 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHNYMU.woff2',
35
+ },
36
+ '700': {
37
+ 'latin-ext': 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHDYMVmJQ.woff2',
38
+ latin: 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHNYMU.woff2',
39
+ },
40
+ },
41
+ },
42
+ subsets: ['latin', 'latin-ext'],
43
+ });
44
+ exports.getInfo = getInfo;
45
+ exports.fontFamily = 'Mozilla Headline';
46
+ const loadFont = (style, options) => {
47
+ return (0, base_1.loadFonts)((0, exports.getInfo)(), style, options);
48
+ };
49
+ exports.loadFont = loadFont;
@@ -0,0 +1,58 @@
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
+ '200': {
13
+ 'latin-ext': string;
14
+ latin: string;
15
+ };
16
+ '300': {
17
+ 'latin-ext': string;
18
+ latin: string;
19
+ };
20
+ '400': {
21
+ 'latin-ext': string;
22
+ latin: string;
23
+ };
24
+ '500': {
25
+ 'latin-ext': string;
26
+ latin: string;
27
+ };
28
+ '600': {
29
+ 'latin-ext': string;
30
+ latin: string;
31
+ };
32
+ '700': {
33
+ 'latin-ext': string;
34
+ latin: string;
35
+ };
36
+ };
37
+ };
38
+ subsets: string[];
39
+ };
40
+ export declare const fontFamily: "Mozilla Text";
41
+ type Variants = {
42
+ normal: {
43
+ weights: '200' | '300' | '400' | '500' | '600' | '700';
44
+ subsets: 'latin' | 'latin-ext';
45
+ };
46
+ };
47
+ export declare const loadFont: <T extends keyof Variants>(style?: T, options?: {
48
+ weights?: Variants[T]["weights"][];
49
+ subsets?: Variants[T]["subsets"][];
50
+ document?: Document;
51
+ ignoreTooManyRequestsWarning?: boolean;
52
+ }) => {
53
+ fontFamily: import("./base").FontInfo["fontFamily"];
54
+ fonts: import("./base").FontInfo["fonts"];
55
+ unicodeRanges: import("./base").FontInfo["unicodeRanges"];
56
+ waitUntilDone: () => Promise<undefined>;
57
+ };
58
+ export {};
@@ -0,0 +1,49 @@
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: 'Mozilla Text',
7
+ importName: 'MozillaText',
8
+ version: 'v1',
9
+ url: 'https://fonts.googleapis.com/css2?family=Mozilla+Text:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700',
10
+ unicodeRanges: {
11
+ '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',
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',
13
+ },
14
+ fonts: {
15
+ normal: {
16
+ '200': {
17
+ 'latin-ext': 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD4RNKuCc.woff2',
18
+ latin: 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD7xNK.woff2',
19
+ },
20
+ '300': {
21
+ 'latin-ext': 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD4RNKuCc.woff2',
22
+ latin: 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD7xNK.woff2',
23
+ },
24
+ '400': {
25
+ 'latin-ext': 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD4RNKuCc.woff2',
26
+ latin: 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD7xNK.woff2',
27
+ },
28
+ '500': {
29
+ 'latin-ext': 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD4RNKuCc.woff2',
30
+ latin: 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD7xNK.woff2',
31
+ },
32
+ '600': {
33
+ 'latin-ext': 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD4RNKuCc.woff2',
34
+ latin: 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD7xNK.woff2',
35
+ },
36
+ '700': {
37
+ 'latin-ext': 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD4RNKuCc.woff2',
38
+ latin: 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD7xNK.woff2',
39
+ },
40
+ },
41
+ },
42
+ subsets: ['latin', 'latin-ext'],
43
+ });
44
+ exports.getInfo = getInfo;
45
+ exports.fontFamily = 'Mozilla Text';
46
+ const loadFont = (style, options) => {
47
+ return (0, base_1.loadFonts)((0, exports.getInfo)(), style, options);
48
+ };
49
+ exports.loadFont = loadFont;