loadBytes method
Implementation
BLFontFace loadBytes(
Uint8List data, {
String? familyName,
}) {
if (!_hasRecognizedHeader(data)) {
throw const FormatException('Cabeçalho de fonte OpenType/CFF inválido.');
}
return BLFontFace.parse(
data,
familyName: familyName,
);
}