Bugfixes - PostScript functions can have blocks without if - for example '{ 2 3 add }'

This commit is contained in:
Jakub Melka
2019-04-29 14:14:06 +02:00
parent a407dbd3f3
commit bfcc48ff1b
6 changed files with 148 additions and 35 deletions

View File

@ -575,6 +575,12 @@ private:
/// Returns realized font (or empty font, if font can't be realized)
PDFRealizedFontPointer getRealizedFontImpl() const;
/// Checks, if stroking color is valid
void checkStrokingColor();
/// Checks, if filling color is valid
void checkFillingColor();
const PDFPage* m_page;
const PDFDocument* m_document;
const PDFFontCache* m_fontCache;