@remotion/google-fonts 4.0.543 → 4.0.544

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,96 @@
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
+ '100': {
13
+ 'latin-ext': string;
14
+ latin: string;
15
+ };
16
+ '200': {
17
+ 'latin-ext': string;
18
+ latin: string;
19
+ };
20
+ '300': {
21
+ 'latin-ext': string;
22
+ latin: string;
23
+ };
24
+ '400': {
25
+ 'latin-ext': string;
26
+ latin: string;
27
+ };
28
+ '500': {
29
+ 'latin-ext': string;
30
+ latin: string;
31
+ };
32
+ '600': {
33
+ 'latin-ext': string;
34
+ latin: string;
35
+ };
36
+ '700': {
37
+ 'latin-ext': string;
38
+ latin: string;
39
+ };
40
+ };
41
+ };
42
+ subsets: string[];
43
+ variable: {
44
+ axes: {
45
+ wght: {
46
+ min: number;
47
+ max: number;
48
+ };
49
+ };
50
+ fontFaces: {
51
+ style: string;
52
+ weight: string;
53
+ stretch: null;
54
+ subset: string;
55
+ unicodeRange: string;
56
+ src: string;
57
+ }[];
58
+ url: string;
59
+ };
60
+ };
61
+ export declare const fontFamily: 'Agrave Pro';
62
+ type Variants = {
63
+ normal: {
64
+ weights: '100' | '200' | '300' | '400' | '500' | '600' | '700';
65
+ subsets: 'latin' | 'latin-ext';
66
+ };
67
+ };
68
+ export declare const loadFont: <T extends keyof Variants>(style?: T, options?: {
69
+ weights?: Variants[T]['weights'][];
70
+ subsets?: Variants[T]['subsets'][];
71
+ document?: Document;
72
+ ignoreTooManyRequestsWarning?: boolean;
73
+ }) => {
74
+ fontFamily: import("./base").FontInfo['fontFamily'];
75
+ fonts: import("./base").FontInfo['fonts'];
76
+ unicodeRanges: import("./base").FontInfo['unicodeRanges'];
77
+ waitUntilDone: () => Promise<undefined>;
78
+ };
79
+ type VariableVariants = {
80
+ normal: {
81
+ subsets: 'latin' | 'latin-ext';
82
+ };
83
+ };
84
+ export declare const loadVariableFont: <T extends keyof VariableVariants>(style: T, options: {
85
+ subsets: VariableVariants[T]['subsets'][];
86
+ document?: Document;
87
+ ignoreTooManyRequestsWarning?: boolean;
88
+ }) => {
89
+ fontFamily: import("./base").FontInfo['fontFamily'];
90
+ axes: Record<string, {
91
+ min: number;
92
+ max: number;
93
+ }>;
94
+ waitUntilDone: () => Promise<undefined>;
95
+ };
96
+ export {};
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.loadVariableFont = exports.loadFont = exports.fontFamily = exports.getInfo = void 0;
4
+ const base_1 = require("./base");
5
+ const getInfo = () => ({
6
+ fontFamily: 'Agrave Pro',
7
+ importName: 'AgravePro',
8
+ version: 'v1',
9
+ url: 'https://fonts.googleapis.com/css2?family=Agrave+Pro:ital,wght@0,100;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-20C4, 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
+ '100': {
17
+ 'latin-ext': 'https://fonts.gstatic.com/s/agravepro/v1/q5uCsoe7JuBj6YLv6lsHEx18hLxR.woff2',
18
+ latin: 'https://fonts.gstatic.com/s/agravepro/v1/q5uCsoe7JuBj6YLv6lsHExN8hA.woff2',
19
+ },
20
+ '200': {
21
+ 'latin-ext': 'https://fonts.gstatic.com/s/agravepro/v1/q5uCsoe7JuBj6YLv6lsHEx18hLxR.woff2',
22
+ latin: 'https://fonts.gstatic.com/s/agravepro/v1/q5uCsoe7JuBj6YLv6lsHExN8hA.woff2',
23
+ },
24
+ '300': {
25
+ 'latin-ext': 'https://fonts.gstatic.com/s/agravepro/v1/q5uCsoe7JuBj6YLv6lsHEx18hLxR.woff2',
26
+ latin: 'https://fonts.gstatic.com/s/agravepro/v1/q5uCsoe7JuBj6YLv6lsHExN8hA.woff2',
27
+ },
28
+ '400': {
29
+ 'latin-ext': 'https://fonts.gstatic.com/s/agravepro/v1/q5uCsoe7JuBj6YLv6lsHEx18hLxR.woff2',
30
+ latin: 'https://fonts.gstatic.com/s/agravepro/v1/q5uCsoe7JuBj6YLv6lsHExN8hA.woff2',
31
+ },
32
+ '500': {
33
+ 'latin-ext': 'https://fonts.gstatic.com/s/agravepro/v1/q5uCsoe7JuBj6YLv6lsHEx18hLxR.woff2',
34
+ latin: 'https://fonts.gstatic.com/s/agravepro/v1/q5uCsoe7JuBj6YLv6lsHExN8hA.woff2',
35
+ },
36
+ '600': {
37
+ 'latin-ext': 'https://fonts.gstatic.com/s/agravepro/v1/q5uCsoe7JuBj6YLv6lsHEx18hLxR.woff2',
38
+ latin: 'https://fonts.gstatic.com/s/agravepro/v1/q5uCsoe7JuBj6YLv6lsHExN8hA.woff2',
39
+ },
40
+ '700': {
41
+ 'latin-ext': 'https://fonts.gstatic.com/s/agravepro/v1/q5uCsoe7JuBj6YLv6lsHEx18hLxR.woff2',
42
+ latin: 'https://fonts.gstatic.com/s/agravepro/v1/q5uCsoe7JuBj6YLv6lsHExN8hA.woff2',
43
+ },
44
+ },
45
+ },
46
+ subsets: ['latin', 'latin-ext'],
47
+ variable: {
48
+ axes: {
49
+ wght: {
50
+ min: 100,
51
+ max: 700,
52
+ },
53
+ },
54
+ fontFaces: [
55
+ {
56
+ style: 'normal',
57
+ weight: '100 700',
58
+ stretch: null,
59
+ subset: 'latin-ext',
60
+ unicodeRange: '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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF',
61
+ src: 'https://fonts.gstatic.com/s/agravepro/v1/q5uCsoe7JuBj6YLv6lsHEx18hLxR.woff2',
62
+ },
63
+ {
64
+ style: 'normal',
65
+ weight: '100 700',
66
+ stretch: null,
67
+ subset: 'latin',
68
+ unicodeRange: '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',
69
+ src: 'https://fonts.gstatic.com/s/agravepro/v1/q5uCsoe7JuBj6YLv6lsHExN8hA.woff2',
70
+ },
71
+ ],
72
+ url: 'https://fonts.googleapis.com/css2?family=Agrave+Pro:wght@100..700',
73
+ },
74
+ });
75
+ exports.getInfo = getInfo;
76
+ exports.fontFamily = 'Agrave Pro';
77
+ const loadFont = (style, options) => {
78
+ return (0, base_1.loadFonts)((0, exports.getInfo)(), style, options);
79
+ };
80
+ exports.loadFont = loadFont;
81
+ const loadVariableFont = (style, options) => {
82
+ return (0, base_1.loadVariableFonts)((0, exports.getInfo)(), style, options);
83
+ };
84
+ exports.loadVariableFont = loadVariableFont;
@@ -15,56 +15,56 @@ const getInfo = () => ({
15
15
  fonts: {
16
16
  italic: {
17
17
  '400': {
18
- vietnamese: 'https://fonts.gstatic.com/l/font?kit=Hhy1U5Qi9-SuOEhPe4LtAIxwRrn9L22O2yYBRmdffLPv1xUOFTpekHz7NypoQP8&skey=1bdf72fc9d6f1987&v=v26',
19
- 'latin-ext': 'https://fonts.gstatic.com/l/font?kit=Hhy1U5Qi9-SuOEhPe4LtAIxwRrn9L22O2yYBRmdffLPv1xUOFTpekHz7NyppQP8&skey=1bdf72fc9d6f1987&v=v26',
20
- latin: 'https://fonts.gstatic.com/l/font?kit=Hhy1U5Qi9-SuOEhPe4LtAIxwRrn9L22O2yYBRmdffLPv1xUOFTpekHz7NypnQP8&skey=1bdf72fc9d6f1987&v=v26',
18
+ vietnamese: 'https://fonts.gstatic.com/s/andadapro/v26/HhyTU5Qi9-SuOEhPe4LtAIxaRZEMx_E.woff2',
19
+ 'latin-ext': 'https://fonts.gstatic.com/s/andadapro/v26/HhyTU5Qi9-SuOEhPe4LtAIxaRJEMx_E.woff2',
20
+ latin: 'https://fonts.gstatic.com/s/andadapro/v26/HhyTU5Qi9-SuOEhPe4LtAIxaSpEM.woff2',
21
21
  },
22
22
  '500': {
23
- vietnamese: 'https://fonts.gstatic.com/l/font?kit=Hhy1U5Qi9-SuOEhPe4LtAIxwRrn9L22O2yYBRmdffLPv1xUOFTpekHz7NypoQP8&skey=1bdf72fc9d6f1987&v=v26',
24
- 'latin-ext': 'https://fonts.gstatic.com/l/font?kit=Hhy1U5Qi9-SuOEhPe4LtAIxwRrn9L22O2yYBRmdffLPv1xUOFTpekHz7NyppQP8&skey=1bdf72fc9d6f1987&v=v26',
25
- latin: 'https://fonts.gstatic.com/l/font?kit=Hhy1U5Qi9-SuOEhPe4LtAIxwRrn9L22O2yYBRmdffLPv1xUOFTpekHz7NypnQP8&skey=1bdf72fc9d6f1987&v=v26',
23
+ vietnamese: 'https://fonts.gstatic.com/s/andadapro/v26/HhyTU5Qi9-SuOEhPe4LtAIxaRZEMx_E.woff2',
24
+ 'latin-ext': 'https://fonts.gstatic.com/s/andadapro/v26/HhyTU5Qi9-SuOEhPe4LtAIxaRJEMx_E.woff2',
25
+ latin: 'https://fonts.gstatic.com/s/andadapro/v26/HhyTU5Qi9-SuOEhPe4LtAIxaSpEM.woff2',
26
26
  },
27
27
  '600': {
28
- vietnamese: 'https://fonts.gstatic.com/l/font?kit=Hhy1U5Qi9-SuOEhPe4LtAIxwRrn9L22O2yYBRmdffLPv1xUOFTpekHz7NypoQP8&skey=1bdf72fc9d6f1987&v=v26',
29
- 'latin-ext': 'https://fonts.gstatic.com/l/font?kit=Hhy1U5Qi9-SuOEhPe4LtAIxwRrn9L22O2yYBRmdffLPv1xUOFTpekHz7NyppQP8&skey=1bdf72fc9d6f1987&v=v26',
30
- latin: 'https://fonts.gstatic.com/l/font?kit=Hhy1U5Qi9-SuOEhPe4LtAIxwRrn9L22O2yYBRmdffLPv1xUOFTpekHz7NypnQP8&skey=1bdf72fc9d6f1987&v=v26',
28
+ vietnamese: 'https://fonts.gstatic.com/s/andadapro/v26/HhyTU5Qi9-SuOEhPe4LtAIxaRZEMx_E.woff2',
29
+ 'latin-ext': 'https://fonts.gstatic.com/s/andadapro/v26/HhyTU5Qi9-SuOEhPe4LtAIxaRJEMx_E.woff2',
30
+ latin: 'https://fonts.gstatic.com/s/andadapro/v26/HhyTU5Qi9-SuOEhPe4LtAIxaSpEM.woff2',
31
31
  },
32
32
  '700': {
33
- vietnamese: 'https://fonts.gstatic.com/l/font?kit=Hhy1U5Qi9-SuOEhPe4LtAIxwRrn9L22O2yYBRmdffLPv1xUOFTpekHz7NypoQP8&skey=1bdf72fc9d6f1987&v=v26',
34
- 'latin-ext': 'https://fonts.gstatic.com/l/font?kit=Hhy1U5Qi9-SuOEhPe4LtAIxwRrn9L22O2yYBRmdffLPv1xUOFTpekHz7NyppQP8&skey=1bdf72fc9d6f1987&v=v26',
35
- latin: 'https://fonts.gstatic.com/l/font?kit=Hhy1U5Qi9-SuOEhPe4LtAIxwRrn9L22O2yYBRmdffLPv1xUOFTpekHz7NypnQP8&skey=1bdf72fc9d6f1987&v=v26',
33
+ vietnamese: 'https://fonts.gstatic.com/s/andadapro/v26/HhyTU5Qi9-SuOEhPe4LtAIxaRZEMx_E.woff2',
34
+ 'latin-ext': 'https://fonts.gstatic.com/s/andadapro/v26/HhyTU5Qi9-SuOEhPe4LtAIxaRJEMx_E.woff2',
35
+ latin: 'https://fonts.gstatic.com/s/andadapro/v26/HhyTU5Qi9-SuOEhPe4LtAIxaSpEM.woff2',
36
36
  },
37
37
  '800': {
38
- vietnamese: 'https://fonts.gstatic.com/l/font?kit=Hhy1U5Qi9-SuOEhPe4LtAIxwRrn9L22O2yYBRmdffLPv1xUOFTpekHz7NypoQP8&skey=1bdf72fc9d6f1987&v=v26',
39
- 'latin-ext': 'https://fonts.gstatic.com/l/font?kit=Hhy1U5Qi9-SuOEhPe4LtAIxwRrn9L22O2yYBRmdffLPv1xUOFTpekHz7NyppQP8&skey=1bdf72fc9d6f1987&v=v26',
40
- latin: 'https://fonts.gstatic.com/l/font?kit=Hhy1U5Qi9-SuOEhPe4LtAIxwRrn9L22O2yYBRmdffLPv1xUOFTpekHz7NypnQP8&skey=1bdf72fc9d6f1987&v=v26',
38
+ vietnamese: 'https://fonts.gstatic.com/s/andadapro/v26/HhyTU5Qi9-SuOEhPe4LtAIxaRZEMx_E.woff2',
39
+ 'latin-ext': 'https://fonts.gstatic.com/s/andadapro/v26/HhyTU5Qi9-SuOEhPe4LtAIxaRJEMx_E.woff2',
40
+ latin: 'https://fonts.gstatic.com/s/andadapro/v26/HhyTU5Qi9-SuOEhPe4LtAIxaSpEM.woff2',
41
41
  },
42
42
  },
43
43
  normal: {
44
44
  '400': {
45
- vietnamese: 'https://fonts.gstatic.com/l/font?kit=Hhy7U5Qi9-SuOEhPe4LtKoVCuWGURPcg3DPJBe0XNkw3vn6Uuz1L2Dijexpl&skey=9a9f01fa040d2fe1&v=v26',
46
- 'latin-ext': 'https://fonts.gstatic.com/l/font?kit=Hhy7U5Qi9-SuOEhPe4LtKoVCuWGURPcg3DPJBe0XNkw3vn6Uuz1L2Dijehpl&skey=9a9f01fa040d2fe1&v=v26',
47
- latin: 'https://fonts.gstatic.com/l/font?kit=Hhy7U5Qi9-SuOEhPe4LtKoVCuWGURPcg3DPJBe0XNkw3vn6Uuz1L2DijdBpl&skey=9a9f01fa040d2fe1&v=v26',
45
+ vietnamese: 'https://fonts.gstatic.com/s/andadapro/v26/HhyRU5Qi9-SuOEhPe4LtAIZqSIkI.woff2',
46
+ 'latin-ext': 'https://fonts.gstatic.com/s/andadapro/v26/HhyRU5Qi9-SuOEhPe4LtAIdqSIkI.woff2',
47
+ latin: 'https://fonts.gstatic.com/s/andadapro/v26/HhyRU5Qi9-SuOEhPe4LtAIlqSA.woff2',
48
48
  },
49
49
  '500': {
50
- vietnamese: 'https://fonts.gstatic.com/l/font?kit=Hhy7U5Qi9-SuOEhPe4LtKoVCuWGURPcg3DPJBe0XNkw3vn6Uuz1L2Dijexpl&skey=9a9f01fa040d2fe1&v=v26',
51
- 'latin-ext': 'https://fonts.gstatic.com/l/font?kit=Hhy7U5Qi9-SuOEhPe4LtKoVCuWGURPcg3DPJBe0XNkw3vn6Uuz1L2Dijehpl&skey=9a9f01fa040d2fe1&v=v26',
52
- latin: 'https://fonts.gstatic.com/l/font?kit=Hhy7U5Qi9-SuOEhPe4LtKoVCuWGURPcg3DPJBe0XNkw3vn6Uuz1L2DijdBpl&skey=9a9f01fa040d2fe1&v=v26',
50
+ vietnamese: 'https://fonts.gstatic.com/s/andadapro/v26/HhyRU5Qi9-SuOEhPe4LtAIZqSIkI.woff2',
51
+ 'latin-ext': 'https://fonts.gstatic.com/s/andadapro/v26/HhyRU5Qi9-SuOEhPe4LtAIdqSIkI.woff2',
52
+ latin: 'https://fonts.gstatic.com/s/andadapro/v26/HhyRU5Qi9-SuOEhPe4LtAIlqSA.woff2',
53
53
  },
54
54
  '600': {
55
- vietnamese: 'https://fonts.gstatic.com/l/font?kit=Hhy7U5Qi9-SuOEhPe4LtKoVCuWGURPcg3DPJBe0XNkw3vn6Uuz1L2Dijexpl&skey=9a9f01fa040d2fe1&v=v26',
56
- 'latin-ext': 'https://fonts.gstatic.com/l/font?kit=Hhy7U5Qi9-SuOEhPe4LtKoVCuWGURPcg3DPJBe0XNkw3vn6Uuz1L2Dijehpl&skey=9a9f01fa040d2fe1&v=v26',
57
- latin: 'https://fonts.gstatic.com/l/font?kit=Hhy7U5Qi9-SuOEhPe4LtKoVCuWGURPcg3DPJBe0XNkw3vn6Uuz1L2DijdBpl&skey=9a9f01fa040d2fe1&v=v26',
55
+ vietnamese: 'https://fonts.gstatic.com/s/andadapro/v26/HhyRU5Qi9-SuOEhPe4LtAIZqSIkI.woff2',
56
+ 'latin-ext': 'https://fonts.gstatic.com/s/andadapro/v26/HhyRU5Qi9-SuOEhPe4LtAIdqSIkI.woff2',
57
+ latin: 'https://fonts.gstatic.com/s/andadapro/v26/HhyRU5Qi9-SuOEhPe4LtAIlqSA.woff2',
58
58
  },
59
59
  '700': {
60
- vietnamese: 'https://fonts.gstatic.com/l/font?kit=Hhy7U5Qi9-SuOEhPe4LtKoVCuWGURPcg3DPJBe0XNkw3vn6Uuz1L2Dijexpl&skey=9a9f01fa040d2fe1&v=v26',
61
- 'latin-ext': 'https://fonts.gstatic.com/l/font?kit=Hhy7U5Qi9-SuOEhPe4LtKoVCuWGURPcg3DPJBe0XNkw3vn6Uuz1L2Dijehpl&skey=9a9f01fa040d2fe1&v=v26',
62
- latin: 'https://fonts.gstatic.com/l/font?kit=Hhy7U5Qi9-SuOEhPe4LtKoVCuWGURPcg3DPJBe0XNkw3vn6Uuz1L2DijdBpl&skey=9a9f01fa040d2fe1&v=v26',
60
+ vietnamese: 'https://fonts.gstatic.com/s/andadapro/v26/HhyRU5Qi9-SuOEhPe4LtAIZqSIkI.woff2',
61
+ 'latin-ext': 'https://fonts.gstatic.com/s/andadapro/v26/HhyRU5Qi9-SuOEhPe4LtAIdqSIkI.woff2',
62
+ latin: 'https://fonts.gstatic.com/s/andadapro/v26/HhyRU5Qi9-SuOEhPe4LtAIlqSA.woff2',
63
63
  },
64
64
  '800': {
65
- vietnamese: 'https://fonts.gstatic.com/l/font?kit=Hhy7U5Qi9-SuOEhPe4LtKoVCuWGURPcg3DPJBe0XNkw3vn6Uuz1L2Dijexpl&skey=9a9f01fa040d2fe1&v=v26',
66
- 'latin-ext': 'https://fonts.gstatic.com/l/font?kit=Hhy7U5Qi9-SuOEhPe4LtKoVCuWGURPcg3DPJBe0XNkw3vn6Uuz1L2Dijehpl&skey=9a9f01fa040d2fe1&v=v26',
67
- latin: 'https://fonts.gstatic.com/l/font?kit=Hhy7U5Qi9-SuOEhPe4LtKoVCuWGURPcg3DPJBe0XNkw3vn6Uuz1L2DijdBpl&skey=9a9f01fa040d2fe1&v=v26',
65
+ vietnamese: 'https://fonts.gstatic.com/s/andadapro/v26/HhyRU5Qi9-SuOEhPe4LtAIZqSIkI.woff2',
66
+ 'latin-ext': 'https://fonts.gstatic.com/s/andadapro/v26/HhyRU5Qi9-SuOEhPe4LtAIdqSIkI.woff2',
67
+ latin: 'https://fonts.gstatic.com/s/andadapro/v26/HhyRU5Qi9-SuOEhPe4LtAIlqSA.woff2',
68
68
  },
69
69
  },
70
70
  },
@@ -0,0 +1,113 @@
1
+ export declare const getInfo: () => {
2
+ fontFamily: string;
3
+ importName: string;
4
+ version: string;
5
+ url: string;
6
+ unicodeRanges: {
7
+ arabic: string;
8
+ 'latin-ext': string;
9
+ latin: string;
10
+ };
11
+ fonts: {
12
+ normal: {
13
+ '100': {
14
+ arabic: string;
15
+ 'latin-ext': string;
16
+ latin: string;
17
+ };
18
+ '200': {
19
+ arabic: string;
20
+ 'latin-ext': string;
21
+ latin: string;
22
+ };
23
+ '300': {
24
+ arabic: string;
25
+ 'latin-ext': string;
26
+ latin: string;
27
+ };
28
+ '400': {
29
+ arabic: string;
30
+ 'latin-ext': string;
31
+ latin: string;
32
+ };
33
+ '500': {
34
+ arabic: string;
35
+ 'latin-ext': string;
36
+ latin: string;
37
+ };
38
+ '600': {
39
+ arabic: string;
40
+ 'latin-ext': string;
41
+ latin: string;
42
+ };
43
+ '700': {
44
+ arabic: string;
45
+ 'latin-ext': string;
46
+ latin: string;
47
+ };
48
+ '800': {
49
+ arabic: string;
50
+ 'latin-ext': string;
51
+ latin: string;
52
+ };
53
+ };
54
+ };
55
+ subsets: string[];
56
+ variable: {
57
+ axes: {
58
+ wdth: {
59
+ min: number;
60
+ max: number;
61
+ };
62
+ wght: {
63
+ min: number;
64
+ max: number;
65
+ };
66
+ };
67
+ fontFaces: {
68
+ style: string;
69
+ weight: string;
70
+ stretch: string;
71
+ subset: string;
72
+ unicodeRange: string;
73
+ src: string;
74
+ }[];
75
+ url: string;
76
+ };
77
+ };
78
+ export declare const fontFamily: 'Firjar';
79
+ type Variants = {
80
+ normal: {
81
+ weights: '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800';
82
+ subsets: 'arabic' | 'latin' | 'latin-ext';
83
+ };
84
+ };
85
+ export declare const loadFont: <T extends keyof Variants>(style?: T, options?: {
86
+ weights?: Variants[T]['weights'][];
87
+ subsets?: Variants[T]['subsets'][];
88
+ document?: Document;
89
+ ignoreTooManyRequestsWarning?: boolean;
90
+ }) => {
91
+ fontFamily: import("./base").FontInfo['fontFamily'];
92
+ fonts: import("./base").FontInfo['fonts'];
93
+ unicodeRanges: import("./base").FontInfo['unicodeRanges'];
94
+ waitUntilDone: () => Promise<undefined>;
95
+ };
96
+ type VariableVariants = {
97
+ normal: {
98
+ subsets: 'arabic' | 'latin' | 'latin-ext';
99
+ };
100
+ };
101
+ export declare const loadVariableFont: <T extends keyof VariableVariants>(style: T, options: {
102
+ subsets: VariableVariants[T]['subsets'][];
103
+ document?: Document;
104
+ ignoreTooManyRequestsWarning?: boolean;
105
+ }) => {
106
+ fontFamily: import("./base").FontInfo['fontFamily'];
107
+ axes: Record<string, {
108
+ min: number;
109
+ max: number;
110
+ }>;
111
+ waitUntilDone: () => Promise<undefined>;
112
+ };
113
+ export {};
@@ -0,0 +1,109 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.loadVariableFont = exports.loadFont = exports.fontFamily = exports.getInfo = void 0;
4
+ const base_1 = require("./base");
5
+ const getInfo = () => ({
6
+ fontFamily: 'Firjar',
7
+ importName: 'Firjar',
8
+ version: 'v1',
9
+ url: 'https://fonts.googleapis.com/css2?family=Firjar:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800',
10
+ unicodeRanges: {
11
+ arabic: 'U+0600-06FF, U+0750-077F, U+0870-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-10EC7, U+10EC9-10EEE, U+10EF0-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',
12
+ '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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF',
13
+ 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
+ },
15
+ fonts: {
16
+ normal: {
17
+ '100': {
18
+ arabic: 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibBWL4hhe.woff2',
19
+ 'latin-ext': 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibB6L4hhe.woff2',
20
+ latin: 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibBCL4g.woff2',
21
+ },
22
+ '200': {
23
+ arabic: 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibBWL4hhe.woff2',
24
+ 'latin-ext': 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibB6L4hhe.woff2',
25
+ latin: 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibBCL4g.woff2',
26
+ },
27
+ '300': {
28
+ arabic: 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibBWL4hhe.woff2',
29
+ 'latin-ext': 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibB6L4hhe.woff2',
30
+ latin: 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibBCL4g.woff2',
31
+ },
32
+ '400': {
33
+ arabic: 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibBWL4hhe.woff2',
34
+ 'latin-ext': 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibB6L4hhe.woff2',
35
+ latin: 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibBCL4g.woff2',
36
+ },
37
+ '500': {
38
+ arabic: 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibBWL4hhe.woff2',
39
+ 'latin-ext': 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibB6L4hhe.woff2',
40
+ latin: 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibBCL4g.woff2',
41
+ },
42
+ '600': {
43
+ arabic: 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibBWL4hhe.woff2',
44
+ 'latin-ext': 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibB6L4hhe.woff2',
45
+ latin: 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibBCL4g.woff2',
46
+ },
47
+ '700': {
48
+ arabic: 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibBWL4hhe.woff2',
49
+ 'latin-ext': 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibB6L4hhe.woff2',
50
+ latin: 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibBCL4g.woff2',
51
+ },
52
+ '800': {
53
+ arabic: 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibBWL4hhe.woff2',
54
+ 'latin-ext': 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibB6L4hhe.woff2',
55
+ latin: 'https://fonts.gstatic.com/s/firjar/v1/zOLg4pnEn71A-obA6b9jAVX_vPVGiCKibBCL4g.woff2',
56
+ },
57
+ },
58
+ },
59
+ subsets: ['arabic', 'latin', 'latin-ext'],
60
+ variable: {
61
+ axes: {
62
+ wdth: {
63
+ min: 75,
64
+ max: 125,
65
+ },
66
+ wght: {
67
+ min: 100,
68
+ max: 800,
69
+ },
70
+ },
71
+ fontFaces: [
72
+ {
73
+ style: 'normal',
74
+ weight: '100 800',
75
+ stretch: '75% 125%',
76
+ subset: 'arabic',
77
+ unicodeRange: 'U+0600-06FF, U+0750-077F, U+0870-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-10EC7, U+10EC9-10EEE, U+10EF0-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',
78
+ src: 'https://fonts.gstatic.com/s/firjar/v1/zOL94pnEn71A-obq4JeO0cU.woff2',
79
+ },
80
+ {
81
+ style: 'normal',
82
+ weight: '100 800',
83
+ stretch: '75% 125%',
84
+ subset: 'latin-ext',
85
+ unicodeRange: '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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF',
86
+ src: 'https://fonts.gstatic.com/s/firjar/v1/zOL94pnEn71A-obq65eO0cU.woff2',
87
+ },
88
+ {
89
+ style: 'normal',
90
+ weight: '100 800',
91
+ stretch: '75% 125%',
92
+ subset: 'latin',
93
+ unicodeRange: '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',
94
+ src: 'https://fonts.gstatic.com/s/firjar/v1/zOL94pnEn71A-obq5ZeO.woff2',
95
+ },
96
+ ],
97
+ url: 'https://fonts.googleapis.com/css2?family=Firjar:wdth,wght@75..125,100..800',
98
+ },
99
+ });
100
+ exports.getInfo = getInfo;
101
+ exports.fontFamily = 'Firjar';
102
+ const loadFont = (style, options) => {
103
+ return (0, base_1.loadFonts)((0, exports.getInfo)(), style, options);
104
+ };
105
+ exports.loadFont = loadFont;
106
+ const loadVariableFont = (style, options) => {
107
+ return (0, base_1.loadVariableFonts)((0, exports.getInfo)(), style, options);
108
+ };
109
+ exports.loadVariableFont = loadVariableFont;
@@ -6,6 +6,7 @@ export declare const getInfo: () => {
6
6
  unicodeRanges: {
7
7
  'cyrillic-ext': string;
8
8
  cyrillic: string;
9
+ symbols2: string;
9
10
  vietnamese: string;
10
11
  'latin-ext': string;
11
12
  latin: string;
@@ -15,6 +16,7 @@ export declare const getInfo: () => {
15
16
  '100': {
16
17
  'cyrillic-ext': string;
17
18
  cyrillic: string;
19
+ symbols2: string;
18
20
  vietnamese: string;
19
21
  'latin-ext': string;
20
22
  latin: string;
@@ -22,6 +24,7 @@ export declare const getInfo: () => {
22
24
  '200': {
23
25
  'cyrillic-ext': string;
24
26
  cyrillic: string;
27
+ symbols2: string;
25
28
  vietnamese: string;
26
29
  'latin-ext': string;
27
30
  latin: string;
@@ -29,6 +32,7 @@ export declare const getInfo: () => {
29
32
  '300': {
30
33
  'cyrillic-ext': string;
31
34
  cyrillic: string;
35
+ symbols2: string;
32
36
  vietnamese: string;
33
37
  'latin-ext': string;
34
38
  latin: string;
@@ -36,6 +40,7 @@ export declare const getInfo: () => {
36
40
  '400': {
37
41
  'cyrillic-ext': string;
38
42
  cyrillic: string;
43
+ symbols2: string;
39
44
  vietnamese: string;
40
45
  'latin-ext': string;
41
46
  latin: string;
@@ -43,6 +48,7 @@ export declare const getInfo: () => {
43
48
  '500': {
44
49
  'cyrillic-ext': string;
45
50
  cyrillic: string;
51
+ symbols2: string;
46
52
  vietnamese: string;
47
53
  'latin-ext': string;
48
54
  latin: string;
@@ -50,6 +56,7 @@ export declare const getInfo: () => {
50
56
  '600': {
51
57
  'cyrillic-ext': string;
52
58
  cyrillic: string;
59
+ symbols2: string;
53
60
  vietnamese: string;
54
61
  'latin-ext': string;
55
62
  latin: string;
@@ -57,6 +64,7 @@ export declare const getInfo: () => {
57
64
  '700': {
58
65
  'cyrillic-ext': string;
59
66
  cyrillic: string;
67
+ symbols2: string;
60
68
  vietnamese: string;
61
69
  'latin-ext': string;
62
70
  latin: string;
@@ -66,6 +74,7 @@ export declare const getInfo: () => {
66
74
  '100': {
67
75
  'cyrillic-ext': string;
68
76
  cyrillic: string;
77
+ symbols2: string;
69
78
  vietnamese: string;
70
79
  'latin-ext': string;
71
80
  latin: string;
@@ -73,6 +82,7 @@ export declare const getInfo: () => {
73
82
  '200': {
74
83
  'cyrillic-ext': string;
75
84
  cyrillic: string;
85
+ symbols2: string;
76
86
  vietnamese: string;
77
87
  'latin-ext': string;
78
88
  latin: string;
@@ -80,6 +90,7 @@ export declare const getInfo: () => {
80
90
  '300': {
81
91
  'cyrillic-ext': string;
82
92
  cyrillic: string;
93
+ symbols2: string;
83
94
  vietnamese: string;
84
95
  'latin-ext': string;
85
96
  latin: string;
@@ -87,6 +98,7 @@ export declare const getInfo: () => {
87
98
  '400': {
88
99
  'cyrillic-ext': string;
89
100
  cyrillic: string;
101
+ symbols2: string;
90
102
  vietnamese: string;
91
103
  'latin-ext': string;
92
104
  latin: string;
@@ -94,6 +106,7 @@ export declare const getInfo: () => {
94
106
  '500': {
95
107
  'cyrillic-ext': string;
96
108
  cyrillic: string;
109
+ symbols2: string;
97
110
  vietnamese: string;
98
111
  'latin-ext': string;
99
112
  latin: string;
@@ -101,6 +114,7 @@ export declare const getInfo: () => {
101
114
  '600': {
102
115
  'cyrillic-ext': string;
103
116
  cyrillic: string;
117
+ symbols2: string;
104
118
  vietnamese: string;
105
119
  'latin-ext': string;
106
120
  latin: string;
@@ -108,6 +122,7 @@ export declare const getInfo: () => {
108
122
  '700': {
109
123
  'cyrillic-ext': string;
110
124
  cyrillic: string;
125
+ symbols2: string;
111
126
  vietnamese: string;
112
127
  'latin-ext': string;
113
128
  latin: string;
@@ -120,11 +135,11 @@ export declare const fontFamily: 'IBM Plex Mono';
120
135
  type Variants = {
121
136
  italic: {
122
137
  weights: '100' | '200' | '300' | '400' | '500' | '600' | '700';
123
- subsets: 'cyrillic' | 'cyrillic-ext' | 'latin' | 'latin-ext' | 'vietnamese';
138
+ subsets: 'cyrillic' | 'cyrillic-ext' | 'latin' | 'latin-ext' | 'symbols2' | 'vietnamese';
124
139
  };
125
140
  normal: {
126
141
  weights: '100' | '200' | '300' | '400' | '500' | '600' | '700';
127
- subsets: 'cyrillic' | 'cyrillic-ext' | 'latin' | 'latin-ext' | 'vietnamese';
142
+ subsets: 'cyrillic' | 'cyrillic-ext' | 'latin' | 'latin-ext' | 'symbols2' | 'vietnamese';
128
143
  };
129
144
  };
130
145
  export declare const loadFont: <T extends keyof Variants>(style?: T, options?: {