#
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:Name | Type | Description |
---|---|---|
filelines | AsyncIterableIterator<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