PeachDrawing.Text
PeachDrawing.Text.FontSet
FontSet.AddStream(Stream, AddOptions) Method
Adds a font that is read from a stream, which is read to its end and left open.
public PeachDrawing.Text.TypefaceFamily AddStream(System.IO.Stream stream, PeachDrawing.Text.AddOptions? options=null);
Parameters
stream System.IO.Stream
A stream positioned at the start of the font file.
options AddOptions
What to say about the font in place of what it says about itself, or null for nothing.
Returns
TypefaceFamily
The family the font was added to.
Exceptions
TypefaceFormatException
The data is not a font this library can read.