found patch bug if res = 0
This commit is contained in:
danya
2021-04-09 14:36:29 +03:00
parent 7cc4bff37c
commit 923cab1fc0
5 changed files with 33 additions and 11 deletions

View File

@ -111,7 +111,7 @@ void MainWindow::on_RenderPic_clicked()
NSFonts::IApplicationFonts* pFonts = oWorker.Check();
PdfReader::CPdfReader PDFREADER(pFonts);
PDFREADER.LoadFromFile(L"barycentric.pdf");
PDFREADER.LoadFromFile(L"GWG060_Shading_x1a.pdf");
int page = ui->lineEdit->text().toInt();
PDFREADER.ConvertToRaster(0, L"testpdf.bmp", 1);
QImage pm("testpdf.bmp");