Parameters
- stream
- The stream containing the font data.
- bytesToRead
- The number of bytes to read from the stream; -1 causes reading till the end of stream.
- initCodeMap
- Set this parameter to True if you're planning to add the font to the fallback font collection.
Return Value
The newly created font, or null if the stream did not contain any fonts.