Commit 87292bb3 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

wineps: Always update the default devmode.

parent 5b71f7bb
......@@ -630,8 +630,6 @@ PRINTERINFO *PSDRV_FindPrinterInfo(LPCWSTR name)
dm.dmPublic.u1.s1.dmPaperSize = papersize;
PSDRV_MergeDevmodes(pi->Devmode, &dm, pi);
}
set_devmode( hPrinter, pi->Devmode );
}
if(pi->ppd->DefaultPageSize) { /* We'll let the ppd override the devmode */
......@@ -672,6 +670,8 @@ PRINTERINFO *PSDRV_FindPrinterInfo(LPCWSTR name)
pi->Devmode->dmPublic.dmDuplex = DMDUP_SIMPLEX;
}
set_devmode( hPrinter, pi->Devmode );
pi->FontSubTable = load_font_sub_table( hPrinter, &pi->FontSubTableSize );
LIST_FOR_EACH_ENTRY( font, &pi->ppd->InstalledFonts, FONTNAME, entry )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment