Font tool finished

This commit is contained in:
Jakub Melka
2020-10-24 15:36:00 +02:00
parent 6142b263a0
commit acee5f2186
3 changed files with 73 additions and 1 deletions

View File

@@ -239,6 +239,9 @@ public:
/// Adds information about the font into tree item
void dumpFontToTreeItem(QTreeWidgetItem* item) const;
/// Returns postscript name of the font
QString getPostScriptName() const;
/// Creates new realized font from the standard font. If font can't be created,
/// then exception is thrown.
static PDFRealizedFontPointer createRealizedFont(PDFFontPointer font, PDFReal pixelSize, PDFRenderErrorReporter* reporter);