UNPKG

ultimate-text-to-image

Version:

Generate UTF8 texts into image with auto line break for all international language, including Chinese, Japanese, Korean, etc..

7 lines (6 loc) 200 B
import { IFontStyle, IFontWeight } from "./types"; export declare const registerFont: (filename: string, options?: { family?: string; weight?: IFontWeight; style?: IFontStyle; }) => void;