Commit Graph

55 Commits

Author SHA1 Message Date
Luc Tourangeau 3471f0f527 Implemented invisible pens. 1999-09-19 12:04:42 +00:00
Huw D M Davies 304d9a4737 Change interfaces to THUNK_Alloc/Free slightly and make them non-static.
Remove relays for win16drv from CallBack table, instead use build to
generate them directly in graphics/win16drv/prtdrv.c.
If Printer AbortProc is 16bit then allocate thunk and store that as a
32bit proc in DC.  Setting of abortprocs now done in the correct place
(i.e. not in the driver).
1999-09-13 15:15:45 +00:00
Huw D M Davies fd24362356 Winspool DocumentProperties and DeviceCapabilities should now work on
native 16 bit drivers.
1999-09-10 14:38:19 +00:00
Huw D M Davies 6dd35697f9 Add support for a large number of different paper sizes to PostScript
driver.
1999-09-10 14:36:49 +00:00
Nick Holloway 0eac06cce1 If there is not an exact match found for the requested font name,
instead of using the first font defined for the printer, map some
common font families (e.g. Arial -> Helvetica), and search again.
1999-09-10 14:18:18 +00:00
Huw D M Davies 79e94a7483 PSDRV_WriteArc shouldn't write a newpath. 1999-07-31 11:11:21 +00:00
Luc Tourangeau 63ff31eacd Added a call to the newpath operator immediately before the arc
operator.
1999-07-30 18:04:25 +00:00
Huw D M Davies 0f184bf01f Added more paper sizes and bin names to PPD parser. 1999-07-27 16:09:40 +00:00
Huw D M Davies 815615025e {Start|End}{Doc|Page} go through DCfuncs.
Implement these in the PostScript driver.
Change PSDRV_Escape to use them.
1999-07-25 11:25:59 +00:00
Huw D M Davies 1613e791ff Rewrote PSDRV_SetDeviceClipping to use GetRegionData API. 1999-07-25 11:14:47 +00:00
Huw D M Davies d016b0a02d Implement handling of 32 bit AbortProc. 1999-07-24 12:09:34 +00:00
Huw D M Davies 91547cbf6a Fix stupid `rubbish at end of %%Title' bug.
Don't complain about palette relative RGBs.
If output param to CreateDC is NULL default to `LPT1:' - Hack.
1999-07-24 10:11:05 +00:00
Huw D M Davies bb14056c16 EnumJobs stub.
Update graphics/psdrv/README.
Add warnings to DRIVER_GetDriverName.
1999-07-23 19:23:49 +00:00
Luc Tourangeau effc55ea83 - implementation of SetDeviceClipping
- coordinate system origin fix
1999-07-18 18:34:45 +00:00
Thuy Nguyen 4884396548 Introduced a [psdrv] section in wine.conf with a ppdfile value
specifying the path and name of the PPD file.
1999-07-18 15:25:34 +00:00
Huw D M Davies 450270bb03 Implemented GetPrinterA and GetPrinterDriverA. 1999-07-10 11:58:50 +00:00
Huw D M Davies e28224f0ea Added patterned brushes (level 2 PostScript only).
Simple PatBlt for PATCOPY, WHITENESS and BLACKNESS.
1999-07-10 10:21:03 +00:00
Alexandre Julliard 61fece0590 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-06-26 19:09:08 +00:00
Thuy Nguyen a319df3405 Implemented the underline and strikeout text attributes for the Wine
PostScript driver.
1999-06-26 10:18:00 +00:00
Huw D M Davies 83d4560ca4 PSDRV_StretchDIBits should use logical co-ords.
Some versions of ghostscript seem to eat one too many characters of
image data. Add a '%' to the output file to work around this.
1999-06-12 06:37:05 +00:00
Noel Borthwick 86b686fb8c From CreateCompatibleDC, pass the device name associated with the
source DC in order to allow PSDRV_CreateDC to locate the printer info
for the device.
1999-06-05 08:52:30 +00:00
Huw D M Davies e39b676ae9 Implement DocumentProperties, DeviceCapabilities, beginnings of
Open/Get/ClosePrinter.  Additions to PSDRV_DeviceCapabilities.
Split off WINSPOOL into its own directory.
Several functions added to DC_Funcs.
Based largely on a patch by Pascal Lessard <pascal@macadamian.com>
1999-05-17 16:20:51 +00:00
Marcus Meissner d7c565f5de Replaced WIN_GetWindowInstance by GetWindowLongA(GWL_HINSTANCE),
removed unnecessary win.h includes, added syslevel.h to queue.c.
1999-05-14 18:39:37 +00:00
Huw D M Davies 79641da5e5 Small fix to help native win95 PrintDlg on the way. 1999-05-13 18:44:44 +00:00
Patrik Stridvall 896889f317 ANSI C fixes. 1999-05-08 12:50:36 +00:00
Huw D M Davies a9f55c46c1 Split off wingdi16.h from wingdi.h. Add many more #defines/typedefs
to bring wingdi.h almost upto a complete NT4.0 interface.
Fix return value of SetRectRgn().
1999-05-08 12:45:18 +00:00
Huw D M Davies 1d4af587fc Small update to the PostScript encoding vector. 1999-05-03 09:21:21 +00:00
Huw D M Davies 7603deae21 General tidy up of the MetaFile driver - make sure that everything
goes through the DCFuncs table.
1999-04-25 09:24:23 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Robert Pouliot 0a9975242a A few patches to help Wine to compile on OS/2. 1999-04-16 06:55:26 +00:00
Huw D M Davies 0d211d1cf5 Limit lastChar to 0xff in PSDRV_GetCharWidth. 1999-04-15 15:13:54 +00:00
Patrik Stridvall b87fe2e9bf More code moved to the X11 driver (bitmap and palette and misc). 1999-04-01 08:16:08 +00:00
Huw D M Davies 610b001de5 More Escapes for the PostScript driver. 1999-03-28 09:13:26 +00:00
Huw D M Davies 44a79c4925 Added StretchDIBits for the PostScript driver. 1999-03-23 13:46:04 +00:00
Huw D M Davies 2fe5a273fd Accept "Normal" as a valid AFM weight. 1999-03-09 17:42:33 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Jeff Garzik c3e1f72bac Added missing string.h include. 1999-02-19 15:42:11 +00:00
Marcus Meissner 04c3e1d456 Removed a lot of occurences of windows.h (and added necessary other
includes).
1999-02-19 10:37:02 +00:00
Alexandre Julliard 5954560598 Authors: Paul Quinn <paulq@corel.ca>, Albert Den Haan <albertd@corel.ca>
Moves files from print.h to winspool.h for better SDK header compliance
for Winelib programs.
1999-02-10 06:52:57 +00:00
Huw D M Davies 9be2f2a89a Clear up args to PSDRV_AdvancedSetupDialog. 1999-02-02 10:21:52 +00:00
Marcus Meissner 6b5a811175 Some more warnings and bugs fixed. 1999-01-30 13:06:00 +00:00
Nick Holloway 36a806cfae Internal PostScript printer driver improvements. 1999-01-24 18:59:58 +00:00
Michael Veksler ca1bc866cf Moves more stuff from windows.h.
- include/winuser.h - interface relevant to user32.spec
- include/wine/winuser16.h - the old 16 bit interface (internal use)
- include/winbase.h - some minor updates to keep things coherent.
- Lot of other files made to include wine/winuser16.h, which is no
  longer included from windows.h
1999-01-01 18:57:33 +00:00
Todd Vierling 5696a09dcc graphics/psdrv forgets to pull in @DLLFLAGS@, and so is compiled non-PIC if
using --enable-dll.
1998-12-15 12:58:18 +00:00
Huw D M Davies d6a91b7a74 Move OEM resources to the x11drv. 1998-12-02 10:29:04 +00:00
Huw D M Davies bcad255cb4 Print a message if the PostScript driver can't find a PPD file. 1998-11-01 13:02:27 +00:00
François Gouget 241c730d54 Fixed some LPPOINT/LPSIZE mismatches and some missing "const" in the
headers prototypes.
1998-10-28 10:47:09 +00:00
Huw D M Davies 87f87bf61c Added pBitmapBits and pCreateBitmap to the GDI function table and
moved the X11 dependent stuff out of objects/bitmap.c into x11drv.
1998-10-28 09:53:53 +00:00
Huw D M Davies 14c99d0036 Adds Arc, Chord, GetCharWidth, Pie, PolyPolygon, PolyPolyline, RoundRect,
SetPixel, hatched brushes and a stub for StretchDIBits to the PostScript
driver.
1998-10-24 10:44:05 +00:00
Alexandre Julliard c0d52e0688 Initial revision 1998-10-04 18:02:24 +00:00