Load the font from a custom stream.
The supported font formats are: TrueType, Type 1, CFF, OpenType, SFNT, X11 PCF, Windows FNT, BDF, PFR and Type 42.
DSFML cannot preload all the font data in this function, so the contents of stream have to remain valid as long as the font is used.
Source stream to read from
true if loading succeeded, false if it failed.
See Implementation
Load the font from a custom stream.
The supported font formats are: TrueType, Type 1, CFF, OpenType, SFNT, X11 PCF, Windows FNT, BDF, PFR and Type 42.
DSFML cannot preload all the font data in this function, so the contents of stream have to remain valid as long as the font is used.