mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Font cache
This commit is contained in:
@ -24,6 +24,7 @@ class QPainter;
|
||||
|
||||
namespace pdf
|
||||
{
|
||||
class PDFFontCache;
|
||||
|
||||
enum RenderErrorType
|
||||
{
|
||||
@ -49,7 +50,7 @@ struct PDFRenderError
|
||||
class PDFRenderer
|
||||
{
|
||||
public:
|
||||
explicit PDFRenderer(const PDFDocument* document);
|
||||
explicit PDFRenderer(const PDFDocument* document, const PDFFontCache* fontCache);
|
||||
|
||||
enum Feature
|
||||
{
|
||||
@ -75,6 +76,7 @@ public:
|
||||
|
||||
private:
|
||||
const PDFDocument* m_document;
|
||||
const PDFFontCache* m_fontCache;
|
||||
Features m_features;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user