Text rasterisation feature leveraging Qt font and text layout support.
Returns the default font family of the application
Lightest characters: Minimum font weight
Light characters
Normal characters
Between normal and bold characters
Thicker characters
Really thick characters
Thickest characters: Maximum font weight
Raster text using Qt.
It supports multiple lines.
| Parameters: | 
 | 
|---|---|
| Returns: | Corresponding image in gray scale and baseline offset from top | 
| Return type: | (HxW numpy.ndarray of uint8, int) |