diff options
Diffstat (limited to 'src/printsupport')
-rw-r--r-- | src/printsupport/kernel/qprintengine_win.cpp | 3 | ||||
-rw-r--r-- | src/printsupport/kernel/qprinter.cpp | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/printsupport/kernel/qprintengine_win.cpp b/src/printsupport/kernel/qprintengine_win.cpp index c798ac0c7f..36dd7ecb0c 100644 --- a/src/printsupport/kernel/qprintengine_win.cpp +++ b/src/printsupport/kernel/qprintengine_win.cpp @@ -89,7 +89,7 @@ static const struct { { DMPAPER_A5, QPrinter::A5 }, { DMPAPER_B4, QPrinter::B4 }, { DMPAPER_B5, QPrinter::B5 }, - { DMPAPER_FOLIO, QPrinter::Folio }, + { DMPAPER_A4_PLUS, QPrinter::Folio }, { DMPAPER_ENV_10, QPrinter::Comm10E }, { DMPAPER_ENV_DL, QPrinter::DLE }, { DMPAPER_ENV_C3, QPrinter::C5E }, @@ -103,7 +103,6 @@ static const struct { { DMPAPER_A_PLUS, QPrinter::A4 }, { DMPAPER_B_PLUS, QPrinter::A3 }, { DMPAPER_LETTER_PLUS, QPrinter::Letter }, - { DMPAPER_A4_PLUS, QPrinter::A4 }, { DMPAPER_A5_TRANSVERSE, QPrinter::A5 }, { DMPAPER_B5_TRANSVERSE, QPrinter::B5 }, { DMPAPER_A3_EXTRA, QPrinter::A3 }, diff --git a/src/printsupport/kernel/qprinter.cpp b/src/printsupport/kernel/qprinter.cpp index a8a99564ac..3e64582b06 100644 --- a/src/printsupport/kernel/qprinter.cpp +++ b/src/printsupport/kernel/qprinter.cpp @@ -388,6 +388,10 @@ void QPrinterPrivate::addToManualSetList(QPrintEngine::PrintEnginePropertyKey ke With setFullPage(false) (the default), the metrics will be a bit smaller; how much depends on the printer in use. + \note QPrinter::Folio is the Adobe specification for the Folio size. + On Windows if you want to use the same as DMPAPER_FOLIO then you should use + setPaperSize(QSizeF(8.5, 13), QPrinter::Inch). + \omitvalue NPageSize \omitvalue NPaperSize */ |