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
36a806cf
Commit
36a806cf
authored
Jan 24, 1999
by
Nick Holloway
Committed by
Alexandre Julliard
Jan 24, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Internal PostScript printer driver improvements.
parent
c9b65341
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
7 deletions
+18
-7
afm.c
graphics/psdrv/afm.c
+1
-1
text.c
graphics/psdrv/text.c
+2
-2
dummy.c
if1632/dummy.c
+1
-2
gdi.spec
if1632/gdi.spec
+2
-2
printdrv.c
misc/printdrv.c
+12
-0
No files found.
graphics/psdrv/afm.c
View file @
36a806cf
...
@@ -170,7 +170,7 @@ static AFM *PSDRV_AFMParse(char const *file)
...
@@ -170,7 +170,7 @@ static AFM *PSDRV_AFMParse(char const *file)
if
(
!
strncmp
(
"Weight"
,
buf
,
6
))
{
if
(
!
strncmp
(
"Weight"
,
buf
,
6
))
{
if
(
!
strncmp
(
"Roman"
,
value
,
5
)
||
!
strncmp
(
"Medium"
,
value
,
6
)
if
(
!
strncmp
(
"Roman"
,
value
,
5
)
||
!
strncmp
(
"Medium"
,
value
,
6
)
||
!
strncmp
(
"Book"
,
value
,
4
))
||
!
strncmp
(
"Book"
,
value
,
4
)
||
!
strncmp
(
"Regular"
,
value
,
7
)
)
afm
->
Weight
=
FW_NORMAL
;
afm
->
Weight
=
FW_NORMAL
;
else
if
(
!
strncmp
(
"Demi"
,
value
,
4
))
else
if
(
!
strncmp
(
"Demi"
,
value
,
4
))
afm
->
Weight
=
FW_DEMIBOLD
;
afm
->
Weight
=
FW_DEMIBOLD
;
...
...
graphics/psdrv/text.c
View file @
36a806cf
...
@@ -21,8 +21,8 @@ BOOL32 PSDRV_ExtTextOut( DC *dc, INT32 x, INT32 y, UINT32 flags,
...
@@ -21,8 +21,8 @@ BOOL32 PSDRV_ExtTextOut( DC *dc, INT32 x, INT32 y, UINT32 flags,
char
*
strbuf
;
char
*
strbuf
;
SIZE32
sz
;
SIZE32
sz
;
TRACE
(
psdrv
,
"(x=%d, y=%d, flags=0x%08x, str='%s', count=%d)
\n
"
,
x
,
y
,
TRACE
(
psdrv
,
"(x=%d, y=%d, flags=0x%08x, str='%
.*
s', count=%d)
\n
"
,
x
,
y
,
flags
,
str
,
count
);
flags
,
count
,
str
,
count
);
strbuf
=
(
char
*
)
HeapAlloc
(
PSDRV_Heap
,
0
,
count
+
1
);
strbuf
=
(
char
*
)
HeapAlloc
(
PSDRV_Heap
,
0
,
count
+
1
);
if
(
!
strbuf
)
{
if
(
!
strbuf
)
{
...
...
if1632/dummy.c
View file @
36a806cf
...
@@ -5,8 +5,7 @@
...
@@ -5,8 +5,7 @@
#include "wintypes.h"
#include "wintypes.h"
#include "debug.h"
#include "debug.h"
long
WINAPI
stub_GDI_379
(
void
)
{
FIXME
(
relay
,
"STARTPAGE: stub
\n
"
);
return
1
;
}
long
WINAPI
stub_GDI_379
(
HDC16
hdc
)
{
FIXME
(
relay
,
"STARTPAGE: stub
\n
"
);
return
1
;
}
long
WINAPI
stub_GDI_380
(
void
)
{
FIXME
(
relay
,
"ENDPAGE: stub
\n
"
);
return
1
;
}
long
WINAPI
stub_GDI_381
(
HDC16
hdc
,
SEGPTR
proc
)
{
FIXME
(
relay
,
"SETABORTPROC: stub
\n
"
);
return
1
;
}
long
WINAPI
stub_GDI_381
(
HDC16
hdc
,
SEGPTR
proc
)
{
FIXME
(
relay
,
"SETABORTPROC: stub
\n
"
);
return
1
;
}
long
WINAPI
stub_GDI_382
(
void
)
{
FIXME
(
relay
,
"ABORTPROC: stub
\n
"
);
return
1
;
}
long
WINAPI
stub_GDI_382
(
void
)
{
FIXME
(
relay
,
"ABORTPROC: stub
\n
"
);
return
1
;
}
long
WINAPI
stub_GDI_530
(
void
)
{
FIXME
(
relay
,
"stub
\n
"
);
return
0
;
}
long
WINAPI
stub_GDI_530
(
void
)
{
FIXME
(
relay
,
"stub
\n
"
);
return
0
;
}
...
...
if1632/gdi.spec
View file @
36a806cf
...
@@ -258,8 +258,8 @@ file gdi.exe
...
@@ -258,8 +258,8 @@ file gdi.exe
376 pascal16 ResetDC(word ptr) ResetDC16
376 pascal16 ResetDC(word ptr) ResetDC16
377 pascal16 StartDoc(word ptr) StartDoc16
377 pascal16 StartDoc(word ptr) StartDoc16
378 pascal16 EndDoc(word) EndDoc16
378 pascal16 EndDoc(word) EndDoc16
379 pascal16 StartPage() stub_GDI_379
379 pascal16 StartPage(
word
) stub_GDI_379
380 pascal16 EndPage(
) stub_GDI_380
380 pascal16 EndPage(
word) EndPage16
381 pascal16 SetAbortProc(word segptr) SetAbortProc16
381 pascal16 SetAbortProc(word segptr) SetAbortProc16
382 pascal16 AbortDoc() stub_GDI_382
382 pascal16 AbortDoc() stub_GDI_382
400 pascal16 FastWindowFrame(word ptr s_word s_word long) FastWindowFrame
400 pascal16 FastWindowFrame(word ptr s_word s_word long) FastWindowFrame
...
...
misc/printdrv.c
View file @
36a806cf
...
@@ -41,6 +41,18 @@ INT16 WINAPI StartDoc16( HDC16 hdc, const DOCINFO16 *lpdoc )
...
@@ -41,6 +41,18 @@ INT16 WINAPI StartDoc16( HDC16 hdc, const DOCINFO16 *lpdoc )
}
}
/******************************************************************
/******************************************************************
* EndPage16 [GDI.380]
*
*/
INT16
WINAPI
EndPage16
(
HDC16
hdc
)
{
INT16
retVal
;
retVal
=
Escape16
(
hdc
,
NEWFRAME
,
0
,
0
,
0
);
TRACE
(
print
,
"Escape16 returned %d
\n
"
,
retVal
);
return
retVal
;
}
/******************************************************************
* StartDoc32A [GDI32.347]
* StartDoc32A [GDI32.347]
*
*
*/
*/
...
...
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