Commit Graph

329 Commits

Author SHA1 Message Date
Michael Stefaniuc e70eb53669 wineps.drv: Use SetRect/SetRectEmpty instead of open coding them.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 09:11:51 +02:00
Ken Thomases 485840bc2d wineps.drv: Set the AP_D_InputSlot CUPS option if no input slot is specified.
This overrides a default InputSlot value specified or derived from the PPD and
allows the tray to be auto-selected based on the media.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-13 19:27:37 +01:00
Michael Stefaniuc b06b96595b wineps.drv: Use wine_dbgstr_rect() to print a RECT.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-07 11:15:53 +09:00
Alexandre Julliard e0f3f020c0 wineps.drv: Reset the device path once it has been painted.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-16 01:21:47 +09:00
Andrey Gusev 4baef89f66 wineps.drv: Fix typos.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-31 22:42:00 +09:00
Michael Stefaniuc 148075b183 wineps.drv: Use wine_dbgstr_rect() to trace RECTs.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 00:54:12 +09:00
Francois Gouget 7e74c1d292 wineps.drv: Fix spelling of a prototype's parameter name.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-14 13:15:57 +09:00
Alexandre Julliard 0bbeaae678 make_unicode: Mark most data tables as hidden.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 00:25:01 +09:00
Alexandre Julliard 232dc29ff8 make_unicode: Update vertical orientation table to the latest version.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 17:23:31 +09:00
Huw Davies 3f276c9be2 wineps: Pass the collate setting as a CUPS option.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 19:19:09 +09:00
Huw Davies 631caae76d wineps: Let CUPS control the copy count rather than embedding it in the PostScript.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 19:19:09 +09:00
Alexandre Julliard 36a88cdb11 wineps: Avoid sizeof in a trace. 2015-10-15 00:53:19 +09:00
Erich E. Hoover d79de513f7 wineps.drv: Add support for PostScript Format 2 custom glyph names. 2015-09-15 17:49:59 +09:00
Erich E. Hoover b66fcd68f7 wineps.drv: Add support for PostScript Format 2 standard glyph names. 2015-09-15 17:49:42 +09:00
Erich E. Hoover ce0fbe4f1e wineps.drv: Add support for PostScript Format 1 glyph names.
In order to generate a searchable PDF from a PostScript document the
glyph names must follow Adobe's convention.
2015-09-15 17:49:11 +09:00
Nikolay Sivov 7889b17425 gdi32: Added GetFontRealizationInfo() export. 2015-09-01 19:28:16 +09:00
Alex Henrie cc2f2f2243 wineps: Make printer setup dialog caption translatable. 2015-05-08 16:42:00 +09:00
Francois Gouget 6027c88cdf wineps.drv: Mark internal symbols with hidden visibility. 2015-04-03 00:33:30 +09:00
Ralf Habacker 6485c76ed3 wineps.drv: For each printer start page size and source index with the same value. 2014-09-24 11:14:58 +02:00
Alexandre Julliard 18d410dec1 tools: Don't include wine/unicode.h if not necessary. 2014-07-08 17:00:22 +02:00
Frédéric Delanoy 95ae71f3ab Assorted spelling/grammar fixes. 2014-07-01 13:09:13 +02:00
Huw Davies ef08f69efc wineps: Always initialize the Windows page type. 2014-04-16 14:38:37 +02:00
Huw Davies 7c684cc81c wineps: Return 32 even for monochrome printers.
Returning 1 led to CreateCompatibleBitmap producing 1 bpp bitmaps, which is not correct.
2014-02-26 12:38:44 -06:00
Huw Davies ad7e889c1d wineps: Use the correct colours when a monochrome bitmap without a colour table is the source. 2014-02-24 09:31:00 -06:00
Zhenbo Li c3bb460d68 wineps.drv: Constify a few pointers. 2014-01-02 17:49:19 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard 4f3d71cef3 makefiles: Get rid of the no longer used PO_SRCS variables. 2013-12-15 10:23:04 +01:00
Aric Stewart 7e079b0617 wineps: Use vertical orientation table to determine rotation. 2013-12-04 21:19:02 +01:00
Aric Stewart 742cde4fab tools: Build vertical orientation table.
Based on data related to UTR #50 Unicode Vertical Text Layout.
2013-12-04 16:34:04 +01:00
Alexandre Julliard 456c8f435a makefiles: Remove the no longer needed EXTRASUBDIRS variables. 2013-11-09 22:10:52 +01:00
Alexandre Julliard 5756ee09f3 makefiles: Add makedep pragmas for rc files that contain translations. 2013-11-05 20:38:19 +01:00
Alexandre Julliard 54ec6fca6e wineps: Return the size directly from get_bbox to avoid compiler warnings. 2013-10-21 14:50:53 +02:00
Alexandre Julliard 8c959d6c56 winspool: Store generic.ppd in a resource instead of depending on an external file. 2013-10-08 09:27:14 +02:00
Aric Stewart 5aa1f6b7a5 Unicode Private Use Area is also rotated by tategaki. 2013-09-09 22:09:58 +02:00
Aric Stewart 72b78e7a0a wineps.drv: Remove unnecessary changes included with vertical font work. 2013-08-26 17:04:42 +02:00
Aric Stewart 7bd8623810 wineps.drv: Handle empty strings when building vertical runs. 2013-08-15 16:17:40 +02:00
Aric Stewart 745e7c93c9 wineps.drv: Allow for vertical text printing.
With extensive review and help from Huw Davies.
2013-08-01 20:43:40 +02:00
Alexandre Julliard d7ddcdfca7 wineps.drv: Don't bother to free memory at process exit. 2013-05-17 12:29:06 +02:00
Huw Davies 8c9ca2f704 wineps: Send grayscale images to monochrome printers. 2013-04-05 20:39:06 +02:00
Huw Davies 30162ab39d wineps: Add a helper to return the rgb to grayscale scaling factors. 2013-04-05 20:39:06 +02:00
Dmitry Timoshkov 1b55e50e20 wineps.drv: Constify a variable. 2013-04-03 11:34:28 +02:00
Dmitry Timoshkov a0b4ce6017 wineps.drv: Add support for TrueType composite glyph transforms. 2013-04-01 18:17:19 +02:00
Andrew Talbot 97295b3a36 wineps.drv: Avoid signed-unsigned integer comparisons. 2013-03-05 09:50:03 +01:00
Dmitry Timoshkov ced916b9e7 wineps.drv: Add DEVMODE dumping to make debugging device state easier. 2013-02-11 12:31:22 +01:00
Dmitry Timoshkov c7d33e1d44 gdi32: Add support for 16-bit QUERYESCSUPPORT queries. 2013-02-05 10:54:23 +01:00
Huw Davies cb3815aead wineps: Cope with '\r'-only end-of-line markers. 2013-01-22 20:01:56 +01:00
Huw Davies c22be15a98 wineps: Use a file mapping to read the ppd file. 2013-01-22 20:01:54 +01:00
Dmitry Timoshkov d7687bed6a wineps.drv: Don't cast away 'const' from DEVMODE provided as input. 2013-01-14 11:02:30 +01:00
Dmitry Timoshkov a3c832593c wineps.drv: Default page dimensions are part of DEVMODE, remove an old hack. 2013-01-14 11:02:23 +01:00
Dmitry Timoshkov 2b455abb93 wineps.drv/generic.ppd: Change default page extents to A4 to match *DefaultPageSize. 2013-01-03 11:58:47 +01:00