Dmitry Timoshkov
c4a5485295
wineps.drv: PostScript header should be written by StartDoc instead of StartPage.
...
Otherwise a being created file has wrong signature if an application
directly injects PostScript code. This patch fixes printing from
Adobe PageMaker.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-13 19:45:24 +01:00
Dmitry Timoshkov
7338641e89
wineps.drv: Add stubs for escapes required by Adobe PageMaker.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-13 19:45:24 +01:00
Alex Henrie
2bd84420a0
wineps.drv: Make constant 'glyph_def' static.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-10 14:54:01 +01:00
Wolfgang Walter
2b23eb2e9a
wineps: Cope correctly with a missing table.
...
Signed-off-by: Wolfgang Walter <wine@stwm.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-12 13:15:27 +01:00
Huw Davies
cd9e63f758
wineps: Leave passthrough mode at the end of the page.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-03 16:23:35 -05:00
Huw Davies
187f90d899
wineps: Add helpers to enter and leave passthrough.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-03 16:23:31 -05:00
Huw Davies
f7c15b9fcf
wineps: Use a tri-state to describe the passthrough state.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-03 16:23:26 -05:00
Michael Stefaniuc
ead1a3d10d
wineps.drv: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:02 +02:00
Nikolay Sivov
d4eeb162bb
tools: Update to Unicode 11.0.0.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-03 12:01:40 +02:00
Roderick Colenbrander
3de61a9dd9
winevulkan: Define vulkan driver interface.
...
Signed-off-by: Roderick Colenbrander <thunderbird2k@gmail.com>
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 12:47:16 +01:00
Fabian Maurer
44a9cc0517
wineps.drv: Use proper size for combobox controls.
...
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-31 18:55:48 +02:00
Huw Davies
dd26e02c58
wineps: Fall back to the null driver for common device caps.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-24 14:16:49 +09:00
Jens Reyer
ebbbe85038
make_unicode: Use VerticalOrientation.txt from UCD.
...
Signed-off-by: Jens Reyer <jre.winesim@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-13 11:45:18 +02:00
Gerald Pfeifer
cced5dfbde
wineps.drv: Add missing #include <stdarg.h>.
...
Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 22:06:59 +02:00
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
Dmitry Timoshkov
95d98d0bfc
wineps.drv: Update dmPaperWidth/Height when dmPaperSize is being changed through UI.
2012-12-26 18:23:03 +01:00
Dmitry Timoshkov
0f7ed96fda
wineps.drv: Update dmFormName when merging DEVMODE structures.
2012-12-24 14:35:16 +01:00
Dmitry Timoshkov
383318bc02
wineps.drv: Properly handle dmFormName in unicode DEVMODE structure.
2012-12-24 14:35:03 +01:00
Dmitry Timoshkov
ef489d647a
wineps.drv: Update dmFormName when dmPaperSize is being changed through UI.
2012-12-24 14:34:57 +01:00
Dmitry Timoshkov
c374201be1
wineps.drv: Make sure that DEVMODE fields changed through UI are marked as set.
2012-12-24 14:34:36 +01:00
Dmitry Timoshkov
11a69ab5aa
wineps.drv: Add an ability to select device resolution from UI.
2012-12-24 14:34:27 +01:00
Dmitry Timoshkov
eb272cbd31
wineps.drv: Slightly simplify a PPD parser code snippet.
2012-12-20 18:04:19 +01:00
Dmitry Timoshkov
d170f05ece
wineps.drv: Ignore requested resolutions not supported by device.
2012-12-20 18:04:02 +01:00
Dmitry Timoshkov
d5f27e194a
wineps.drv: Keep track of all supported device resolutions.
2012-12-20 18:03:51 +01:00
Alexandre Julliard
bbf3e8621a
gdi32: Remove from the GetTextExtentExPoint entry points parameters that can't be handled by the driver.
2012-12-18 19:26:25 +01:00
Dmitry Timoshkov
671b977dd5
wineps.drv: Return ASPECTX/Y which represent current device resolution.
2012-12-18 12:36:12 +01:00
Dmitry Timoshkov
0cfc1c848f
wineps.drv: Use device resolution specified at DC creation time.
2012-12-18 12:36:07 +01:00
Dmitry Timoshkov
1cd551cd6a
wineps.drv: Update default DEVMODE to better indicate initialized fields.
2012-12-17 20:31:23 +01:00
Dmitry Timoshkov
fd193bc781
wineps.drv: Add a trace to PSDRV_GetDeviceCaps.
2012-12-17 20:31:20 +01:00
Alexandre Julliard
5535302758
wineps: Support getting character codes instead of glyphs in ExtTextOut.
2012-12-05 20:23:46 +01:00
Putin Evgeny
3303ba7f4c
wineps.drv: Add orientation field to postscript header.
2012-11-28 20:14:49 +01:00
Andrew Talbot
393514c119
wineps.drv: Remove unused variable.
2012-11-28 20:14:40 +01:00
Alexandre Julliard
9cdb0e1ca6
gdi32: Disable anti-aliasing when necessary in the various drivers.
2012-11-02 16:41:26 +01:00
Alexandre Julliard
6164d533a9
gdi32: Add a parameter to return anti-aliasing flags in the SelectFont driver entry point.
2012-11-02 16:41:21 +01:00
André Hentschel
42f791ccd5
wineps: Avoid memory leaks (coverity).
2012-10-31 16:12:27 +01:00
Alexandre Julliard
16f900fd5a
wineps: Always escape Postscript reserved characters in font names.
2012-09-26 17:03:27 +02:00
Alexandre Julliard
05c32b9b89
gdi32: Move the SwapBuffers entry point to the OpenGL driver.
2012-09-10 11:38:28 +02:00
Qian Hong
733aca30f4
gdi32: Read otmpFullName from TT_NAME_ID_UNIQUE_ID.
2012-09-07 13:32:56 +02:00
Michael Stefaniuc
c1223611af
wineps.drv: Drop a superfluous TRUE:FALSE conditional expression.
2012-08-15 12:12:36 +02:00
Alexandre Julliard
96e80c2623
gdi32: Move DescribePixelFormat and SetPixelFormat to the WGL driver.
2012-07-30 22:12:13 +02:00
Huw Davies
bb1740a42e
wineps: Add support for printing fake italic fonts.
2012-07-02 19:17:59 +02:00
Alexandre Julliard
6a9dcd51a2
gdi32: Remove the remaining OpenGL entry points from the DC driver.
2012-06-28 18:52:23 +02:00
Alexandre Julliard
7a031d9b92
opengl32: Add the concept of a WGL driver.
2012-06-28 14:37:31 +02:00
Alexandre Julliard
ee21554893
gdi32: Remove OpenGL functions that don't use an HDC from the driver entry points.
2012-06-25 16:25:57 +02:00
Huw Davies
87292bb396
wineps: Always update the default devmode.
2012-06-21 18:56:29 +02:00
Huw Davies
5b71f7bbbc
wineps: Add the ability to override the ppd file's default pagesize and duplex settings.
2012-06-21 18:56:23 +02:00
Huw Davies
bdaddc4b7c
wineps: Retrieve the ppd file from the driver directory.
2012-06-15 18:35:36 +02:00
Alexandre Julliard
93758c43fd
gdi32: Remove the CreateBitmap and DeleteBitmap driver entry points.
2012-05-29 21:06:41 +02:00
Alexandre Julliard
1416d0e6f1
gdi32: Remove the bitmap parameter from the Get/PutImage entry points.
2012-05-29 21:05:52 +02:00
Alexandre Julliard
fdc4682e31
gdi32: Remove the CopyBitmap driver entry point.
2012-05-24 22:09:19 +02:00
Huw Davies
c5697ff4b1
wineps: Fix top-down dib pattern brushes.
2012-05-17 17:44:25 +02:00