getFont method
Get a font synchronously (must call initialize() before using)
Implementation
pw.Font getFont(BanglaFontType type) {
final font = _fontCache[type];
if (font == null) {
throw Exception(
'Font $type not loaded! Call await BanglaFontManager().initialize() before using.');
}
return font;
}