mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #123: Blend2D painting implementation
This commit is contained in:
@ -2685,4 +2685,16 @@ CharacterInfos PDFRealizedType3FontImpl::getCharacterInfos() const
|
||||
return result;
|
||||
}
|
||||
|
||||
QByteArray PDFSystemFont::getFontData(const QByteArray& fontName)
|
||||
{
|
||||
const PDFSystemFontInfoStorage* storage = PDFSystemFontInfoStorage::getInstance();
|
||||
|
||||
CIDSystemInfo systemInfo;
|
||||
PDFRenderErrorReporterDummy reporter;
|
||||
FontDescriptor descriptor;
|
||||
descriptor.fontName = fontName;
|
||||
|
||||
return storage->loadFont(&systemInfo, &descriptor, StandardFontType::Invalid, &reporter);
|
||||
}
|
||||
|
||||
} // namespace pdf
|
||||
|
Reference in New Issue
Block a user