Function: $Font#

â–¸ Const$Font(filelines: AsyncIterableIterator<string>): Promise<Font>

Shortcut for new Font().load_filelines(filelines) so you don't need to write new and .load_filelines

Parameters:#

NameTypeDescription
filelinesAsyncIterableIterator<string>Asynchronous iterator containing each line in string text from the font file

Returns: Promise<Font>

The newly instantiated Font object that's loaded the font file

Defined in: bdfparser.ts:1838