--- a/src/gui/painting/qprintengine_win.cpp Wed Jun 23 19:07:03 2010 +0300
+++ b/src/gui/painting/qprintengine_win.cpp Tue Jul 06 15:10:48 2010 +0300
@@ -368,7 +368,8 @@
}
// We only want to convert the glyphs to text if the entire string is compatible with ASCII
- bool convertToText = true;
+ // and if we actually have access to the chars.
+ bool convertToText = ti.chars != 0;
for (int i=0; i < ti.num_chars; ++i) {
if (ti.chars[i].unicode() >= 0x80) {
convertToText = false;
@@ -1241,6 +1242,7 @@
d->updateOrigin();
break;
+ case PPK_CopyCount: // fallthrough
case PPK_NumberOfCopies:
if (!d->devMode)
break;
@@ -1407,6 +1409,14 @@
value = d->fullPage;
break;
+ case PPK_CopyCount:
+ value = d->num_copies;
+ break;
+
+ case PPK_SupportsMultipleCopies:
+ value = true;
+ break;
+
case PPK_NumberOfCopies:
value = 1;
break;