@remotion/google-fonts 4.0.424 → 4.0.425
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/BetaniaPatmos.d.ts +38 -0
- package/dist/cjs/BetaniaPatmos.js +29 -0
- package/dist/cjs/BetaniaPatmosGDL.d.ts +38 -0
- package/dist/cjs/BetaniaPatmosGDL.js +29 -0
- package/dist/cjs/BetaniaPatmosIn.d.ts +38 -0
- package/dist/cjs/BetaniaPatmosIn.js +29 -0
- package/dist/cjs/BetaniaPatmosInGDL.d.ts +38 -0
- package/dist/cjs/BetaniaPatmosInGDL.js +29 -0
- package/dist/cjs/GveretLevin.d.ts +38 -0
- package/dist/cjs/GveretLevin.js +29 -0
- package/dist/cjs/Idiqlat.d.ts +46 -0
- package/dist/cjs/Idiqlat.js +37 -0
- package/dist/cjs/MaShanZheng.js +93 -93
- package/dist/cjs/NotoColorEmoji.js +11 -11
- package/dist/cjs/Ramsina.d.ts +38 -0
- package/dist/cjs/Ramsina.js +29 -0
- package/dist/cjs/ZCOOLKuaiLe.d.ts +2 -0
- package/dist/cjs/ZCOOLKuaiLe.js +95 -93
- package/dist/cjs/index.js +35 -0
- package/dist/esm/BetaniaPatmos.mjs +137 -0
- package/dist/esm/BetaniaPatmosGDL.mjs +137 -0
- package/dist/esm/BetaniaPatmosIn.mjs +137 -0
- package/dist/esm/BetaniaPatmosInGDL.mjs +137 -0
- package/dist/esm/ChironGoRoundTC.mjs +1180 -0
- package/dist/esm/ChironHeiHK.mjs +2249 -0
- package/dist/esm/ChironSungHK.mjs +2180 -0
- package/dist/esm/GveretLevin.mjs +137 -0
- package/dist/esm/Idiqlat.mjs +145 -0
- package/dist/esm/MaShanZheng.mjs +93 -93
- package/dist/esm/NotoColorEmoji.mjs +11 -11
- package/dist/esm/Ramsina.mjs +137 -0
- package/dist/esm/ZCOOLKuaiLe.mjs +95 -93
- package/dist/esm/index.mjs +35 -0
- package/package.json +24 -3
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
'400': {
|
|
13
|
+
'latin-ext': string;
|
|
14
|
+
latin: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
subsets: string[];
|
|
19
|
+
};
|
|
20
|
+
export declare const fontFamily: "Betania Patmos";
|
|
21
|
+
type Variants = {
|
|
22
|
+
normal: {
|
|
23
|
+
weights: '400';
|
|
24
|
+
subsets: 'latin' | 'latin-ext';
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export declare const loadFont: <T extends "normal">(style?: T | undefined, options?: {
|
|
28
|
+
weights?: Variants[T]["weights"][] | undefined;
|
|
29
|
+
subsets?: Variants[T]["subsets"][] | undefined;
|
|
30
|
+
document?: Document | undefined;
|
|
31
|
+
ignoreTooManyRequestsWarning?: boolean | undefined;
|
|
32
|
+
} | undefined) => {
|
|
33
|
+
fontFamily: string;
|
|
34
|
+
fonts: Record<string, Record<string, Record<string, string>>>;
|
|
35
|
+
unicodeRanges: Record<string, string>;
|
|
36
|
+
waitUntilDone: () => Promise<undefined>;
|
|
37
|
+
};
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
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: 'Betania Patmos',
|
|
7
|
+
importName: 'BetaniaPatmos',
|
|
8
|
+
version: 'v2',
|
|
9
|
+
url: 'https://fonts.googleapis.com/css2?family=Betania+Patmos:ital,wght@0,400',
|
|
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
|
+
'400': {
|
|
17
|
+
'latin-ext': 'https://fonts.gstatic.com/s/betaniapatmos/v2/9oRXNYMTrDYnkuhOrHhyQracatnKP7A38g.woff2',
|
|
18
|
+
latin: 'https://fonts.gstatic.com/s/betaniapatmos/v2/9oRXNYMTrDYnkuhOrHhyQracatnEP7A.woff2',
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
subsets: ['latin', 'latin-ext'],
|
|
23
|
+
});
|
|
24
|
+
exports.getInfo = getInfo;
|
|
25
|
+
exports.fontFamily = 'Betania Patmos';
|
|
26
|
+
const loadFont = (style, options) => {
|
|
27
|
+
return (0, base_1.loadFonts)((0, exports.getInfo)(), style, options);
|
|
28
|
+
};
|
|
29
|
+
exports.loadFont = loadFont;
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
'400': {
|
|
13
|
+
'latin-ext': string;
|
|
14
|
+
latin: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
subsets: string[];
|
|
19
|
+
};
|
|
20
|
+
export declare const fontFamily: "Betania Patmos GDL";
|
|
21
|
+
type Variants = {
|
|
22
|
+
normal: {
|
|
23
|
+
weights: '400';
|
|
24
|
+
subsets: 'latin' | 'latin-ext';
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export declare const loadFont: <T extends "normal">(style?: T | undefined, options?: {
|
|
28
|
+
weights?: Variants[T]["weights"][] | undefined;
|
|
29
|
+
subsets?: Variants[T]["subsets"][] | undefined;
|
|
30
|
+
document?: Document | undefined;
|
|
31
|
+
ignoreTooManyRequestsWarning?: boolean | undefined;
|
|
32
|
+
} | undefined) => {
|
|
33
|
+
fontFamily: string;
|
|
34
|
+
fonts: Record<string, Record<string, Record<string, string>>>;
|
|
35
|
+
unicodeRanges: Record<string, string>;
|
|
36
|
+
waitUntilDone: () => Promise<undefined>;
|
|
37
|
+
};
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
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: 'Betania Patmos GDL',
|
|
7
|
+
importName: 'BetaniaPatmosGDL',
|
|
8
|
+
version: 'v2',
|
|
9
|
+
url: 'https://fonts.googleapis.com/css2?family=Betania+Patmos+GDL:ital,wght@0,400',
|
|
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
|
+
'400': {
|
|
17
|
+
'latin-ext': 'https://fonts.gstatic.com/s/betaniapatmosgdl/v2/-nFhOHE6_uoR4VYoynWSh_bKTCFIT7tB3vD212k.woff2',
|
|
18
|
+
latin: 'https://fonts.gstatic.com/s/betaniapatmosgdl/v2/-nFhOHE6_uoR4VYoynWSh_bKTCFIT7tB0PD2.woff2',
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
subsets: ['latin', 'latin-ext'],
|
|
23
|
+
});
|
|
24
|
+
exports.getInfo = getInfo;
|
|
25
|
+
exports.fontFamily = 'Betania Patmos GDL';
|
|
26
|
+
const loadFont = (style, options) => {
|
|
27
|
+
return (0, base_1.loadFonts)((0, exports.getInfo)(), style, options);
|
|
28
|
+
};
|
|
29
|
+
exports.loadFont = loadFont;
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
'400': {
|
|
13
|
+
'latin-ext': string;
|
|
14
|
+
latin: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
subsets: string[];
|
|
19
|
+
};
|
|
20
|
+
export declare const fontFamily: "Betania Patmos In";
|
|
21
|
+
type Variants = {
|
|
22
|
+
normal: {
|
|
23
|
+
weights: '400';
|
|
24
|
+
subsets: 'latin' | 'latin-ext';
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export declare const loadFont: <T extends "normal">(style?: T | undefined, options?: {
|
|
28
|
+
weights?: Variants[T]["weights"][] | undefined;
|
|
29
|
+
subsets?: Variants[T]["subsets"][] | undefined;
|
|
30
|
+
document?: Document | undefined;
|
|
31
|
+
ignoreTooManyRequestsWarning?: boolean | undefined;
|
|
32
|
+
} | undefined) => {
|
|
33
|
+
fontFamily: string;
|
|
34
|
+
fonts: Record<string, Record<string, Record<string, string>>>;
|
|
35
|
+
unicodeRanges: Record<string, string>;
|
|
36
|
+
waitUntilDone: () => Promise<undefined>;
|
|
37
|
+
};
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
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: 'Betania Patmos In',
|
|
7
|
+
importName: 'BetaniaPatmosIn',
|
|
8
|
+
version: 'v2',
|
|
9
|
+
url: 'https://fonts.googleapis.com/css2?family=Betania+Patmos+In:ital,wght@0,400',
|
|
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
|
+
'400': {
|
|
17
|
+
'latin-ext': 'https://fonts.gstatic.com/s/betaniapatmosin/v2/t5t6IQYdPp6dFAyhcz3W2MuHvhmmxIuPWhojrg.woff2',
|
|
18
|
+
latin: 'https://fonts.gstatic.com/s/betaniapatmosin/v2/t5t6IQYdPp6dFAyhcz3W2MuHvhmmxIuBWho.woff2',
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
subsets: ['latin', 'latin-ext'],
|
|
23
|
+
});
|
|
24
|
+
exports.getInfo = getInfo;
|
|
25
|
+
exports.fontFamily = 'Betania Patmos In';
|
|
26
|
+
const loadFont = (style, options) => {
|
|
27
|
+
return (0, base_1.loadFonts)((0, exports.getInfo)(), style, options);
|
|
28
|
+
};
|
|
29
|
+
exports.loadFont = loadFont;
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
'400': {
|
|
13
|
+
'latin-ext': string;
|
|
14
|
+
latin: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
subsets: string[];
|
|
19
|
+
};
|
|
20
|
+
export declare const fontFamily: "Betania Patmos In GDL";
|
|
21
|
+
type Variants = {
|
|
22
|
+
normal: {
|
|
23
|
+
weights: '400';
|
|
24
|
+
subsets: 'latin' | 'latin-ext';
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export declare const loadFont: <T extends "normal">(style?: T | undefined, options?: {
|
|
28
|
+
weights?: Variants[T]["weights"][] | undefined;
|
|
29
|
+
subsets?: Variants[T]["subsets"][] | undefined;
|
|
30
|
+
document?: Document | undefined;
|
|
31
|
+
ignoreTooManyRequestsWarning?: boolean | undefined;
|
|
32
|
+
} | undefined) => {
|
|
33
|
+
fontFamily: string;
|
|
34
|
+
fonts: Record<string, Record<string, Record<string, string>>>;
|
|
35
|
+
unicodeRanges: Record<string, string>;
|
|
36
|
+
waitUntilDone: () => Promise<undefined>;
|
|
37
|
+
};
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
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: 'Betania Patmos In GDL',
|
|
7
|
+
importName: 'BetaniaPatmosInGDL',
|
|
8
|
+
version: 'v2',
|
|
9
|
+
url: 'https://fonts.googleapis.com/css2?family=Betania+Patmos+In+GDL:ital,wght@0,400',
|
|
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
|
+
'400': {
|
|
17
|
+
'latin-ext': 'https://fonts.gstatic.com/s/betaniapatmosingdl/v2/va9Y4lzJyMBdF8kOQbYe5MWhMhe2GnyJ0wbGFFnNsLI.woff2',
|
|
18
|
+
latin: 'https://fonts.gstatic.com/s/betaniapatmosingdl/v2/va9Y4lzJyMBdF8kOQbYe5MWhMhe2GnyJ0wbGGlnN.woff2',
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
subsets: ['latin', 'latin-ext'],
|
|
23
|
+
});
|
|
24
|
+
exports.getInfo = getInfo;
|
|
25
|
+
exports.fontFamily = 'Betania Patmos In GDL';
|
|
26
|
+
const loadFont = (style, options) => {
|
|
27
|
+
return (0, base_1.loadFonts)((0, exports.getInfo)(), style, options);
|
|
28
|
+
};
|
|
29
|
+
exports.loadFont = loadFont;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const getInfo: () => {
|
|
2
|
+
fontFamily: string;
|
|
3
|
+
importName: string;
|
|
4
|
+
version: string;
|
|
5
|
+
url: string;
|
|
6
|
+
unicodeRanges: {
|
|
7
|
+
hebrew: string;
|
|
8
|
+
latin: string;
|
|
9
|
+
};
|
|
10
|
+
fonts: {
|
|
11
|
+
normal: {
|
|
12
|
+
'400': {
|
|
13
|
+
hebrew: string;
|
|
14
|
+
latin: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
subsets: string[];
|
|
19
|
+
};
|
|
20
|
+
export declare const fontFamily: "Gveret Levin";
|
|
21
|
+
type Variants = {
|
|
22
|
+
normal: {
|
|
23
|
+
weights: '400';
|
|
24
|
+
subsets: 'hebrew' | 'latin';
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export declare const loadFont: <T extends "normal">(style?: T | undefined, options?: {
|
|
28
|
+
weights?: Variants[T]["weights"][] | undefined;
|
|
29
|
+
subsets?: Variants[T]["subsets"][] | undefined;
|
|
30
|
+
document?: Document | undefined;
|
|
31
|
+
ignoreTooManyRequestsWarning?: boolean | undefined;
|
|
32
|
+
} | undefined) => {
|
|
33
|
+
fontFamily: string;
|
|
34
|
+
fonts: Record<string, Record<string, Record<string, string>>>;
|
|
35
|
+
unicodeRanges: Record<string, string>;
|
|
36
|
+
waitUntilDone: () => Promise<undefined>;
|
|
37
|
+
};
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
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: 'Gveret Levin',
|
|
7
|
+
importName: 'GveretLevin',
|
|
8
|
+
version: 'v4',
|
|
9
|
+
url: 'https://fonts.googleapis.com/css2?family=Gveret+Levin:ital,wght@0,400',
|
|
10
|
+
unicodeRanges: {
|
|
11
|
+
hebrew: 'U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F',
|
|
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
|
+
'400': {
|
|
17
|
+
hebrew: 'https://fonts.gstatic.com/s/gveretlevin/v4/0QInMXVI5YS9Rnn7ar449p--9pzTwAM.woff2',
|
|
18
|
+
latin: 'https://fonts.gstatic.com/s/gveretlevin/v4/0QInMXVI5YS9Rnn7ar449p--9JzT.woff2',
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
subsets: ['hebrew', 'latin'],
|
|
23
|
+
});
|
|
24
|
+
exports.getInfo = getInfo;
|
|
25
|
+
exports.fontFamily = 'Gveret Levin';
|
|
26
|
+
const loadFont = (style, options) => {
|
|
27
|
+
return (0, base_1.loadFonts)((0, exports.getInfo)(), style, options);
|
|
28
|
+
};
|
|
29
|
+
exports.loadFont = loadFont;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export declare const getInfo: () => {
|
|
2
|
+
fontFamily: string;
|
|
3
|
+
importName: string;
|
|
4
|
+
version: string;
|
|
5
|
+
url: string;
|
|
6
|
+
unicodeRanges: {
|
|
7
|
+
syriac: string;
|
|
8
|
+
latin: string;
|
|
9
|
+
};
|
|
10
|
+
fonts: {
|
|
11
|
+
normal: {
|
|
12
|
+
'200': {
|
|
13
|
+
syriac: string;
|
|
14
|
+
latin: string;
|
|
15
|
+
};
|
|
16
|
+
'300': {
|
|
17
|
+
syriac: string;
|
|
18
|
+
latin: string;
|
|
19
|
+
};
|
|
20
|
+
'400': {
|
|
21
|
+
syriac: string;
|
|
22
|
+
latin: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
subsets: string[];
|
|
27
|
+
};
|
|
28
|
+
export declare const fontFamily: "Idiqlat";
|
|
29
|
+
type Variants = {
|
|
30
|
+
normal: {
|
|
31
|
+
weights: '200' | '300' | '400';
|
|
32
|
+
subsets: 'latin' | 'syriac';
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export declare const loadFont: <T extends "normal">(style?: T | undefined, options?: {
|
|
36
|
+
weights?: Variants[T]["weights"][] | undefined;
|
|
37
|
+
subsets?: Variants[T]["subsets"][] | undefined;
|
|
38
|
+
document?: Document | undefined;
|
|
39
|
+
ignoreTooManyRequestsWarning?: boolean | undefined;
|
|
40
|
+
} | undefined) => {
|
|
41
|
+
fontFamily: string;
|
|
42
|
+
fonts: Record<string, Record<string, Record<string, string>>>;
|
|
43
|
+
unicodeRanges: Record<string, string>;
|
|
44
|
+
waitUntilDone: () => Promise<undefined>;
|
|
45
|
+
};
|
|
46
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
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: 'Idiqlat',
|
|
7
|
+
importName: 'Idiqlat',
|
|
8
|
+
version: 'v2',
|
|
9
|
+
url: 'https://fonts.googleapis.com/css2?family=Idiqlat:ital,wght@0,200;0,300;0,400',
|
|
10
|
+
unicodeRanges: {
|
|
11
|
+
syriac: 'U+0303-0304, U+0307-0308, U+030A, U+0320, U+0323-0325, U+032D-032E, U+0330-0331, U+060C, U+061B-061C, U+061F, U+0621, U+0640, U+064B-0655, U+0660-066C, U+0670, U+0700-074F, U+0860-086A, U+1DF8, U+1DFA, U+200C-200F, U+25CC, U+2670-2671',
|
|
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
|
+
syriac: 'https://fonts.gstatic.com/s/idiqlat/v2/YA9Wr0ef50XNM6kiAOrKolUgsoGt.woff2',
|
|
18
|
+
latin: 'https://fonts.gstatic.com/s/idiqlat/v2/YA9Wr0ef50XNM6kiAOrKoiYgsg.woff2',
|
|
19
|
+
},
|
|
20
|
+
'300': {
|
|
21
|
+
syriac: 'https://fonts.gstatic.com/s/idiqlat/v2/YA9Wr0ef50XNM6kiAI7JolUgsoGt.woff2',
|
|
22
|
+
latin: 'https://fonts.gstatic.com/s/idiqlat/v2/YA9Wr0ef50XNM6kiAI7JoiYgsg.woff2',
|
|
23
|
+
},
|
|
24
|
+
'400': {
|
|
25
|
+
syriac: 'https://fonts.gstatic.com/s/idiqlat/v2/YA9Tr0ef50XNM6kiCFbrtxkB.woff2',
|
|
26
|
+
latin: 'https://fonts.gstatic.com/s/idiqlat/v2/YA9Tr0ef50XNM6kiCCXrtw.woff2',
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
subsets: ['latin', 'syriac'],
|
|
31
|
+
});
|
|
32
|
+
exports.getInfo = getInfo;
|
|
33
|
+
exports.fontFamily = 'Idiqlat';
|
|
34
|
+
const loadFont = (style, options) => {
|
|
35
|
+
return (0, base_1.loadFonts)((0, exports.getInfo)(), style, options);
|
|
36
|
+
};
|
|
37
|
+
exports.loadFont = loadFont;
|