mirror of
https://github.com/YACReader/yacreader
synced 2025-07-23 07:24:58 -04:00
Fixed unicode paths handling when pdfium is used by using FPDF_LoadCustomDocument and QFile for handling the file access.
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
|
||||
#include <QObject>
|
||||
#include <QImage>
|
||||
#include <QFile>
|
||||
|
||||
#if defined Q_OS_MAC && defined USE_PDFKIT
|
||||
class MacOSXPDFComic
|
||||
@ -37,6 +38,8 @@ class PdfiumComic
|
||||
private:
|
||||
FPDF_LIBRARY_CONFIG config;
|
||||
FPDF_DOCUMENT doc;
|
||||
FPDF_FILEACCESS fileAccess;
|
||||
QFile pdfFile;
|
||||
};
|
||||
#else
|
||||
#include "poppler-qt5.h"
|
||||
|
Reference in New Issue
Block a user