Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1d2cd065
Commit
1d2cd065
authored
Apr 12, 2012
by
Huw Davies
Committed by
Alexandre Julliard
Apr 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineps: Move the default resolution fallback to the ppd parser.
parent
92bce60f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
init.c
dlls/wineps.drv/init.c
+0
-5
ppd.c
dlls/wineps.drv/ppd.c
+4
-0
No files found.
dlls/wineps.drv/init.c
View file @
1d2cd065
...
...
@@ -707,11 +707,6 @@ PRINTERINFO *PSDRV_FindPrinterInfo(LPCWSTR name)
goto
fail
;
}
/* Some gimp-print ppd files don't contain a DefaultResolution line
set it to 300 if it's not specified */
if
(
pi
->
ppd
->
DefaultResolution
==
0
)
pi
->
ppd
->
DefaultResolution
=
300
;
if
(
using_default_devmode
)
{
DWORD
papersize
;
...
...
dlls/wineps.drv/ppd.c
View file @
1d2cd065
...
...
@@ -634,6 +634,10 @@ PPD *PSDRV_ParsePPD(char *fname)
list_init
(
&
ppd
->
InputSlots
);
list_init
(
&
ppd
->
Duplexes
);
/* Some gimp-print ppd files don't contain a DefaultResolution line
so default to 300 */
ppd
->
DefaultResolution
=
300
;
/*
* The Windows PostScript drivers create the following "virtual bin" for
* every PostScript printer
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment