Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:maw:playground
MozillaFirefox
postscript.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File postscript.patch of Package MozillaFirefox
From: Wolfgang Rosenauer <stark@suse.de> Subject: make pagesize postscript DSC conform References: http://www.cups.org/str.php?L1542 https://bugzilla.mozilla.org/show_bug.cgi?id=334485 Index: gfx/src/ps/nsPostScriptObj.cpp ================================================================================ --- gfx/src/ps/nsPostScriptObj.cpp +++ gfx/src/ps/nsPostScriptObj.cpp @@ -466,6 +466,7 @@ // Tell the printer what size paper it should use fprintf(f, + "%%%%BeginFeature: *PageSize %s\n" "/setpagedevice where\n" // Test for the feature "{ pop 2 dict\n" " dup /PageSize [ %s %s ] put\n" // Paper dimensions @@ -473,7 +474,9 @@ " dup /PageSize 3 put\n" // Select the nearest page size to fit " put\n" " setpagedevice\n" // Install settings - "} if\n", + "} if\n" + "%%%%EndFeature\n", + mPrintSetup->paper_name, fpCString(NSTwipsToFloatPoints(paper_width)).get(), fpCString(NSTwipsToFloatPoints(paper_height)).get());
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor