gfonts-js-library/dist/utils.d.ts
2023-05-20 21:39:06 +02:00

23 lines
549 B
TypeScript

export interface FontInfo {
copyright?: string;
filename: string;
full_name?: string;
name?: string;
post_script_name?: string;
style: string;
weight: number;
}
export interface FontMetadata {
name: string;
designer?: string;
license?: string;
category: string;
date_added?: string;
font: FontInfo[] | FontInfo;
axes?: {
tag: string;
max_value: number;
min_value: number;
};
}
export declare function base_url(mirror: string, folder: string, font: string): string;