Commit Graph

334 Commits

Author SHA1 Message Date
Huw Davies 61efdbfd5f wineps: Add a helper to find an input slot. 2012-04-16 17:49:27 +02:00
Alexandre Julliard 582a2f511f gdi32: Add a GetBoundsRect driver entry point. 2012-04-16 13:53:23 +02:00
Huw Davies 72cfc219f0 wineps: Move ppd filename retrieval to a separate function. 2012-04-13 16:09:44 +02:00
Huw Davies cd83f88576 wineps: Add the duplex entry to the list. 2012-04-13 16:09:43 +02:00
Huw Davies 1d2cd06592 wineps: Move the default resolution fallback to the ppd parser. 2012-04-12 20:38:32 +02:00
Huw Davies 92bce60f37 wineps: Simplify the failure path. 2012-04-12 20:38:27 +02:00
Huw Davies 83ba3189b3 wineps: Pass the devmode to OpenPrinter. 2012-04-12 20:38:21 +02:00
Huw Davies 210f3e3338 wineps: Switch to using a Unicode devmode. 2012-04-12 20:38:16 +02:00
Huw Davies 0c7a6d89a2 wineps: Return from a common point. 2012-04-12 20:38:02 +02:00
Huw Davies 43cffa0888 wineps: Set the printer's devmode using SetPrinter. 2012-04-11 18:19:28 +02:00
Huw Davies a7f42d3281 wineps: Retrieve the printer's devmode using GetPrinter. 2012-04-11 18:19:23 +02:00
Huw Davies 7b3ae93578 wineps: Remove the installed options list as it's never populated. 2012-04-11 18:19:16 +02:00
Huw Davies 5a0129c0d2 wineps: Move the duplex list to a standard list. 2012-04-11 18:19:12 +02:00
Huw Davies e6e42c8610 wineps: Move the input slot list to a standard list. 2012-04-11 18:19:00 +02:00
Huw Davies 4dfef2ef2d wineps: Move the constraints list to a standard list. 2012-04-11 18:18:52 +02:00
Huw Davies 4ff9b7f11a wineps: Move the installed font list to a standard list. 2012-04-11 18:18:45 +02:00
Huw Davies 28bf93561d wineps: Add a helper to retrieve the font substitution table. 2012-04-04 19:02:23 +02:00
Huw Davies a2e6c7340d wineps: Change the printer info list into a standard list. 2012-04-04 19:02:18 +02:00
Huw Davies a37ee1e2e9 wineps: Fix a memory leak. 2012-04-04 19:02:12 +02:00
Huw Davies e31cfb0be1 wineps: Move some allocations to the process heap. 2012-04-04 19:02:08 +02:00
Huw Davies 7c3a522dd3 wineps: Store the unicode version of the printer name and call the unicode version of OpenPrinter. 2012-04-03 17:54:08 +02:00
Huw Davies a152666920 wineps: Store the document title as a unicode string. 2012-04-03 17:54:01 +02:00
Huw Davies c9ddabad22 wineps: Move some structs to the process heap. 2012-04-03 17:53:55 +02:00
Huw Davies 1432b3141a wineps: Free the output string from the correct heap. 2012-04-03 17:53:44 +02:00
Huw Davies d963a8f864 wineps: Use the unicode version of StartDocPrinter. 2012-04-02 18:26:06 +02:00
Alexandre Julliard 061b8c4094 wineps: Convert path points to device coords since GetPath returns logical coords. 2012-02-22 16:04:09 +01:00
Alexandre Julliard fbbf3ba408 gdi32: Get rid of the CreateDIBSection driver entry point. 2012-01-10 16:13:29 +01:00
Alexandre Julliard dc1aeeb2f8 gdi32: Get rid of the SetDIBColorTable driver entry point. 2012-01-07 13:27:08 +01:00
Alexandre Julliard cc9836bda0 gdi32: Pass a brush_pattern structure to the SelectPen entry point for brushed pens. 2011-12-30 11:04:29 +01:00
Alexandre Julliard f85bb35280 gdi32: Pass a brush_pattern structure to the SelectBrush entry point. 2011-12-30 11:04:26 +01:00
Alexandre Julliard d77f0ae743 wineps: Inherit the device mode from the source DC when creating a compatible DC. 2011-12-16 12:08:38 +01:00
Pierre Schweitzer 0652bbc3d5 wineps.drv: Fix memory leak. 2011-12-07 17:49:59 +01:00
Alexandre Julliard d45eb00abc wineps: Fall through to the null driver for Polyline and Polygon. 2011-12-05 22:29:46 +01:00
Alexandre Julliard 62cf70d363 wineps: Don't crash on missing loca OTF table. 2011-11-26 16:29:50 +01:00
Alexandre Julliard 6b5cfe2c47 wineps: Convert dialogs to po files. 2011-11-17 22:47:36 +01:00
Alexandre Julliard 4801b91fd6 wineps: Print a fixme for unhandled composite glyph scaling. 2011-11-15 19:37:32 +01:00
Alexandre Julliard 9391c6a757 gdi32: Add a CopyBitmap driver entry point. 2011-11-08 19:25:05 +01:00
Alexandre Julliard 0a189ffaf0 wineps: Use the brush information passed in SelectBrush for pattern brushes. 2011-11-07 20:31:49 +01:00
Alexandre Julliard 29295e98e6 wineps: Fix the font escapement when coordinates are being mirrored. 2011-11-04 16:08:29 +01:00
Alexandre Julliard 24ac8c66bb gdi32: Pass the full brush contents in the SelectBrush driver entry point. 2011-11-02 21:41:15 +01:00
Alexandre Julliard 6bf6575c5c gdi32: Store a pointer instead of a global handle for DIB pattern brushes. 2011-11-02 12:02:27 +01:00
Alexandre Julliard 2cf3975dfc wineps: Fix a couple of typos in the path painting function.
Thanks to Octavian Voicu.
2011-11-01 21:10:13 +01:00
Alexandre Julliard 95cba0c0f4 gdi32: Add a DC driver entry point for GdiGradientFill. 2011-10-31 23:51:38 +01:00
Alexandre Julliard c9c568dda9 wineps: Stroke and fill GDI paths using Postscript paths. 2011-10-31 19:58:12 +01:00
Alexandre Julliard da3511fd3b wineps: Implement PolyBezier using the Postscript curveto function. 2011-10-31 19:39:02 +01:00
Alexandre Julliard e5f21b952f wineps: PaintRgn should leave the path empty on exit. 2011-10-31 16:46:00 +01:00
Alexandre Julliard 8a808a49f9 wineps: Make color devices report 32 bits per pixel. 2011-10-31 16:45:48 +01:00
Alexandre Julliard dd3721c0f9 wineps: Fix the output of indexed bitmaps in PutImage. 2011-10-28 23:07:45 +02:00
Alexandre Julliard a8444d7fd1 gdi32: Add driver entry points for a number of font functions. 2011-10-24 23:45:37 +02:00
Alexandre Julliard 2b1b11d681 gdi32: Rename the EnumDeviceFonts entry point to EnumFonts since it's not limited to device fonts. 2011-10-24 23:34:33 +02:00
Alexandre Julliard cbd81d391c gdi32: Implement EnumDeviceFonts as a standard driver entry point. 2011-10-24 23:34:28 +02:00
Alexandre Julliard f1faeb0f28 wineps: Add support for PS_USERSTYLE pens. 2011-10-21 16:38:39 +02:00
Alexandre Julliard c66b611205 wineps: Chain to the next driver when not using a device font. 2011-10-20 13:22:11 +02:00
Alexandre Julliard ef0fe44327 gdi32: Implement SelectFont as a standard driver entry point. 2011-10-19 18:22:05 +02:00
Alexandre Julliard 2dfa00230d wineps: Get rid of the StretchDIBits entry point. 2011-10-17 20:12:59 +02:00
André Hentschel ef5f3c1676 wineps.drv: Print the commands in decimal. 2011-10-11 13:37:49 +02:00
Huw Davies f24b0a80f3 wineps: The truetype metrics should now be obtained from gdi32, so remove obsolete code. 2011-10-10 16:46:42 +02:00
Alexandre Julliard c819e4bdea gdi32: Add a null driver fallback for AlphaBlend, using a new BlendImage driver entry point. 2011-09-14 11:57:45 +02:00
Alexandre Julliard a28ddddcbc gdi32: Leave it up to the driver to push the new device on the DC stack in CreateDC. 2011-09-07 18:13:29 +02:00
Alexandre Julliard cef1832bfb gdi32: Add a driver entry point for CreateCompatibleDC. 2011-09-07 18:13:06 +02:00
Alexandre Julliard a0f1b20464 gdi32: Make the BITMAPINFO parameters non-const in driver entry points since we are always passing a copy. 2011-09-02 15:56:01 +02:00
Alexandre Julliard 6fd40e3cae wineps: Simplify the DIB byte width computation. 2011-08-29 12:08:21 +02:00
Francois Gouget 3704821417 wineps.drv: Make PSDRV_WriteRGB() static. 2011-08-23 16:53:56 +02:00
Huw Davies 39f14b68bf wineps: Don't write a PostScript trailer if we haven't written a header. 2011-08-22 16:14:35 +02:00
Alexandre Julliard d0d98046c6 gdi32: Create a sanitized BITMAPINFO in StretchDIBits and pass that to the drivers. 2011-08-04 18:23:00 +02:00
Alexandre Julliard 6d00196aea gdi32: Get rid of the SetBitmapBits driver entry point. 2011-08-03 14:15:47 +02:00
Alexandre Julliard 366174b213 gdi32: Get rid of the GetBitmapBits driver entry point. 2011-07-25 20:32:41 +02:00
Alexandre Julliard 8a906250eb gdi32: Get rid of the SetDIBits driver entry point. 2011-07-25 19:47:03 +02:00
Alexandre Julliard 0f9ee1b68f wineps: Implement the additional clipping in PutImage. 2011-07-22 12:57:18 +02:00
Alexandre Julliard 0d9dde7953 gdi32: Add an optional clip region to the PutImage entry point. 2011-07-21 18:49:47 +02:00
Alexandre Julliard 209578aeab wineps: Implement the PutImage entry point. 2011-07-21 15:43:31 +02:00
Alexandre Julliard 632391dbf4 wineps: Add a couple of helper functions to simplify the StretchDIBits implementation. 2011-07-21 15:36:39 +02:00
Alexandre Julliard 49cb530ee3 wineps: Remove unneeded GetTransform prototype. 2011-07-19 18:26:20 +02:00
Alexandre Julliard b01eb19511 gdi32: Remove the GetDIBits entry point from the graphics driver. 2011-07-18 17:07:51 +02:00
Francois Gouget e33e31a7d6 wineps.drv: Make some DC functions static. 2011-07-14 14:48:13 +02:00
Alexandre Julliard cf05fca878 gdi32: Add driver entry points for GetImage and PutImage. 2011-07-14 11:30:58 +02:00
Alexandre Julliard c7a8ff26d3 gdi32: Graphics driver functions no longer need to be CDECL. 2011-07-13 14:56:12 +02:00
Alexandre Julliard 572d0863b1 wineps: Add a DC function structure and export it. 2011-07-13 14:05:13 +02:00
Alexandre Julliard 1ac1d7c69b gdi32: Pass the dest visible rectangle to the PatBlt driver entry point. 2011-07-11 17:12:49 +02:00
Alexandre Julliard b49aaf1fed wineps.drv: Use the HDC from the gdi_physdev structure. 2011-07-07 14:46:15 +02:00
Alexandre Julliard 10dcba499f wineps.drv: Pass a generic PHYSDEV to all graphics functions. 2011-07-07 14:46:14 +02:00
Alexandre Julliard ba2a6ee983 wineps.drv: Get rid of the empty SetDeviceClipping entry point. 2011-07-07 14:46:14 +02:00
Alexandre Julliard 4e2a28bd03 gdi32: Export the gdi_physdev structure for the external drivers. 2011-07-07 14:46:14 +02:00
Marcus Meissner 451a656f2f wineps.drv: Mark internal symbols with hidden visibility. 2011-05-25 11:50:27 +02:00
Alexandre Julliard ca3b820227 wineps: Add a helper function for paper size conversions. 2011-04-28 20:59:27 +02:00
Francois Gouget 0377d0a2e6 wineps.drv: PSDRV_YWStoDS() is unused so remove it. 2011-03-30 18:23:37 +02:00
Alexandre Julliard 9285915720 wineps: Add support for SetDCBrush/PenColor. 2011-03-10 20:45:12 +01:00
Alexandre Julliard 6419edfb6d gdi32: Add a mechanism for stacking gdi drivers. 2011-03-10 12:38:31 +01:00
Alexandre Julliard 5f5c7020f3 gdi32: Add a common header to the physdev structure. 2011-03-08 22:34:57 +01:00
Alexander Kochetkov ecde55b757 wineps.drv: All map modes should have inverted y-transforms. 2011-02-10 10:28:02 -06:00
Alexander Kochetkov 69f88da187 wineps.drv: Disable world transform for fonts in GM_COMPATIBLE mode. 2011-01-14 18:26:20 +01:00
Hwang YunSong d512ccdfa1 wineps.drv: Update Korean resource. 2011-01-07 10:23:10 +01:00
Huw Davies 40ba10ed7a wineps.drv: Explicitly report that we do not support blending. 2011-01-05 17:55:16 +01:00
Alexandre Julliard 59ee6d83ab makefiles: Automatically add missing source variables in make_makefiles. 2011-01-01 17:46:56 +01:00
Alexandre Julliard 645a65f46d wineps: Remove unnecessary use of wownt32.h. 2010-11-01 16:44:39 +01:00
Yaron Shahrabani 2309f93337 wineps: Added Hebrew translation. 2010-10-21 17:19:50 +02:00
Trygve Vea 399e955a7e wineps.drv: Updated Norwegian translation. 2010-10-15 16:19:09 +02:00
James McKenzie 95c3c3fdc6 wineps.drv: Correct a typo. 2010-09-24 16:59:04 +02:00
Alexandre Julliard 1f3873aae7 wineps: Add a comment about the trap for code checking tools. 2010-09-21 20:16:15 +02:00
Luca Bennati 5ba1b6a82e wineps.drv: Update Italian translation. 2010-09-21 17:53:54 +02:00
Łukasz Wojniłowicz eb1c07dffe wineps: Update the Polish translation. 2010-09-20 15:05:02 +02:00
Alexandre Julliard bd9852cd6f makefiles: Rename the SRCDIR, TOPSRCDIR and TOPOBJDIR variables to follow autoconf conventions. 2010-09-19 12:40:12 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Detlef Riekenberg bd1941c3c2 wineps: Use winspool.drv for job management. 2010-08-17 12:56:33 +02:00
Michael Stefaniuc cb8eca2f0a wineps.drv: Remove the ignored common resource attributes. 2010-07-22 11:41:37 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Igor Paliychuk b27500aafe wineps.drv: Add Ukrainian translation. 2010-07-08 17:33:37 +02:00
André Hentschel 5038c2c286 wineps.drv: Update comments. 2010-06-25 10:25:04 +02:00
Vitaly Lipatov b974852ce1 Update Russian translations. 2010-06-18 16:22:07 +02:00
Huw Davies 25629eff96 wineps.drv: Don't return an error for empty glyphs. 2010-06-18 15:22:21 +02:00
André Hentschel 9aa9a1229f wineps.drv: Make the Apply button useable. 2010-06-02 17:47:40 +02:00
Sven Baars 141875c84a wineps.drv: Fix Dutch translation. 2010-05-18 08:48:04 +02:00
Huw Davies d92ed5bd07 gdi32: Add support for ETO_PDY and improve world transform support. 2010-05-06 15:24:30 +02:00
Gerald Pfeifer 13e16f5f37 wineps.drv: Fix return value in PSDRV_SetBrush. 2010-05-03 15:38:07 +02:00
Ilya Shpigor d1971a458b wineps.drv: Start a new current path in PSDRV_PolyPolygon. 2010-04-28 09:29:45 -05:00
Huw Davies 5eef3594ad wineps.drv: MM_ISOTROPIC and MM_ANISOTROPIC should also have inverted y-transforms (even if the page -> device mapping results in a negative y-scale). 2010-04-28 09:18:39 -05:00
Huw Davies 8ce10f1426 wineps.drv: Add world transform support for fonts. 2010-04-25 07:34:14 -05:00
Huw Davies 93f970ce7b wineps.drv: Calculate the font size directly from the logfont. 2010-04-22 15:10:19 +02:00
Huw Davies dea3745eb8 wineps.drv: Defer accessing the font metrics until we really need them. 2010-04-22 15:10:15 +02:00
Huw Davies d99754adc1 wineps.drv: Make the rectangle an optional parameter to get_bbox(). 2010-04-22 15:10:11 +02:00
Huw Davies 76146568af wineps.drv: Remove the unscaled font hack and read the outline directly from the font file. 2010-04-21 16:32:17 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Huw Davies 547e97a461 wineps.drv: Retrieve the full printer name to avoid truncation when the name is 32 characters or longer. 2010-03-15 13:28:25 +01:00
Jeremy White b8fbf9a1c2 wineps.drv: Prevent psdrv tracing from crashing on Solaris. 2010-02-15 12:09:49 +01:00
Alexandre Julliard cc2d6f330f wineps.drv: Don't include 16-bit headers in psdrv.h. 2009-12-07 14:18:28 +01:00
Alexandre Julliard 9a05f3143f wineps.drv: Duplicate the print job support from 16-bit GDI. 2009-12-07 14:18:28 +01:00
Alexandre Julliard 7f6b6eb344 wineps.drv: Add a wrapper function for WriteSpool16. 2009-12-07 14:18:28 +01:00
Huw Davies eed649a5e1 wineps.drv: Add support for top-down dibs. 2009-11-19 11:08:24 +01:00
Huw Davies 05472017fe wineps.drv: Rename variable to stride. 2009-11-19 11:08:18 +01:00
Alexandre Julliard c73e2d5e02 gdi32: Reset the visible region in ResetDC. 2009-11-17 15:14:56 +01:00
Detlef Riekenberg 495267e5f1 wineps: Don't depend on 16-bit PrinterData functions from gdi. 2009-11-16 13:48:18 +01:00
Alexandre Julliard ac2a509722 wineps.drv: Make wineps16.drv into a stand-alone 16-bit module. 2009-10-01 19:44:17 +02:00
Alexandre Julliard 10b0d11e0d wineps.drv: BS_DIBPATTERN brushes use a 32-bit handle in 32-bit mode. 2009-09-26 13:30:42 +02:00
Alexandre Julliard 9064777457 configure: Disable installation of a number of extra files for the Wow64 build. 2009-08-13 20:08:58 +02:00
Vladimir Pankratov 81b57f3f8d wineps.drv: Convert the Russian resources to UTF-8. 2009-08-03 14:57:29 +02:00
Michael Stefaniuc 6c24ec186c wineps.drv: Convert the German resources to UTF-8. 2009-07-09 15:22:23 +02:00
Frédéric Delanoy 002b92e191 wineps.drv: Fix French translation & UI display. 2009-07-08 20:12:37 +02:00
Michael Stefaniuc 47fc16fb54 wineps.drv: Build language resource files separately.
Do not include them from an other rc file.
2009-07-03 11:28:48 +02:00
Michael Stefaniuc 551d1efc9f wineps.drv: Include a local header last. 2009-07-03 11:28:44 +02:00
Huw Davies 08453c1f2b configure: Remove reference to obsolete ftnames.h. 2009-06-25 14:34:13 +02:00
Łukasz Wojniłowicz 7be9c71eac wineps: Added Polish translations. 2009-05-08 13:22:49 +02:00
Francois Gouget aec7cdce8a wineps.drv: PSDRV_CmpColor() and PSDRV_Write{ArrayGet, InitClip, RRectangle}() are unused so remove them. 2009-05-06 12:20:10 +02:00
Huw Davies e911fde41c wineps.drv: Fix compile error. 2009-04-20 14:12:19 +02:00
Austin English 5f4cc6a89b wineps.drv: Fix a memory leak. 2009-04-15 15:55:47 -05:00
Alexandre Julliard 36a41abb9f wineps.drv: Set the line join and cap styles based on the selected pen. 2009-03-24 15:24:06 +01:00
Andrew Talbot 92bfdeb591 wineps.drv: Remove order-of-evaluation dependencies. 2009-03-24 11:35:42 +01:00
Alexandre Julliard 41ea320576 wineps.drv: Make all exported entry points CDECL. 2009-03-11 14:10:13 +01:00
Aurimas Fischer b1afd00dc9 wineps.drv: Add Lithuanian translation. 2009-02-16 11:51:19 +01:00
Dmitry Timoshkov ba660a47ce wineps.drv: The MAT2 parameter of GetGlyphOutline is mandatory. 2009-02-03 12:40:21 +01:00
Lei Zhang 271e3bbad4 wineps.drv: Remove SelectBitmap stub implementation. 2009-01-28 12:11:14 +01:00