Commit Graph

312 Commits

Author SHA1 Message Date
Hans Leidekker 0dc765809c gdi32: GetCharABCWidthsI does not require a scalable font. 2007-12-10 12:27:13 +01:00
Aric Stewart 0433883ec1 gdi32: Font tests with Japanese font data. Thanks to Dmitry Timoshkov for the data and tests. 2007-12-10 12:12:57 +01:00
Francois Gouget 2bbfc931d1 gdi32/tests: Dynamically load GdiAlphaBlend() so the test runs on Win9x. 2007-11-09 13:06:25 +01:00
Laurent Vromman 52f769e88d gdi32: Correct a test where the tested function was not called. 2007-11-07 12:10:43 +01:00
Laurent Vromman 6f140f9bec gdi32: Add a test for CloseFigure. 2007-11-06 14:00:40 +01:00
Dan Kegel f4b0cf5f5b gdi32/tests: Fix false pass in warn+heap case. 2007-10-24 13:47:28 +02:00
Hans Leidekker d21c5044c6 gdi32: Remove a test that expects the break character to equal ascii space. 2007-10-23 12:22:59 +02:00
Lionel Debroux b78ed57a39 gdi32/tests: Fix memory leak (found by Smatch). 2007-10-22 15:58:16 +02:00
Mikolaj Zalewski 9a72a865a2 winex11.drv: Test for out-of-bound src coordinates in GdiAlphaBlend. 2007-08-29 12:03:08 +02:00
Francois Gouget ebadbd4bd5 Assorted spelling fixes. 2007-08-09 14:13:07 +02:00
Francois Gouget 5266e57975 Assorted spelling fixes. 2007-07-31 21:37:50 +02:00
Evan Stade eca194da7f gdi32: Handle PS_USERSTYLE in ExtCreatePen. 2007-07-31 12:35:48 +02:00
Evan Stade ff5076c008 gdi32: Added more tests for ExtCreatePen on PS_USERSTLYE. 2007-07-31 12:35:30 +02:00
Alexandre Julliard cb0a626e50 gdi32/tests: Don't test default char, it doesn't have to be always the same. 2007-07-25 13:46:18 +02:00
Evan Stade 96937e04a2 gdi32: Added PATH_PolyDraw. 2007-07-17 14:12:37 +02:00
Evan Stade 578ff168b3 gdi32: Added PolyDraw tests. 2007-07-17 14:12:29 +02:00
Jeremy White a2c2b60292 gdi32: Added a test for the case where lpvBits in GetDIBits is NULL and the bitcount is 0. 2007-07-16 13:38:09 +02:00
Huw Davies 7495d81495 gdi32: Using a bitmap font as the fallback sans serif is a very bad idea. 2007-07-05 19:54:52 +02:00
Michael Stefaniuc b700e63d55 gdi32: Remove superfluous casts of void pointers to other pointer types. 2007-06-27 12:53:34 +02:00
Misha Koshelev 102a0a3b79 gdi32/tests: Fix test_widenpath to succeed on Win98. 2007-06-22 14:19:48 +02:00
Misha Koshelev 920b050a8b gdi32: Emulate AngleArc using ArcTo. 2007-06-22 14:19:06 +02:00
Misha Koshelev ce8e6d16cd gdi32/tests: Expand framework for tests of drawing functions in paths, add test for AngleArc in paths. 2007-06-22 14:18:57 +02:00
Misha Koshelev 859bf44c33 gdi32: Handle ArcTo in paths as native. 2007-06-21 16:03:29 +02:00
Misha Koshelev 80b7134bb8 gdi32: Set current position properly after ArcTo. 2007-06-21 16:02:47 +02:00
Francois Gouget dddbd3cbdb gdi32/tests: Run the GetTextMetricsA() tests on Windows 9x too. 2007-06-21 15:37:43 +02:00
Misha Koshelev 1dbe178f5e gdi32: Fix ArcTo to use proper starting and ending points. 2007-06-19 11:57:32 +02:00
Misha Koshelev 2c9c761b56 gdi32/tests: Add framework for tests of drawing functions in paths, add test for ArcTo in paths. 2007-06-19 11:51:22 +02:00
Hans Leidekker 1871743543 gdi32: Add some tests for BITMAPINFOHEADER biSize checks. 2007-06-14 13:14:03 +02:00
Francois Gouget 7ba8c0a420 gdi32/tests: Fix a signed/unsigned int mismatch. 2007-05-29 13:46:31 +02:00
Dmitry Timoshkov 6aa84e0eaf gdi32: Perform consistency checks when loading an EMF, add a test case. 2007-05-29 11:56:10 +02:00
Michael Stefaniuc 5f62da109e janitorial: Pass HEAP_ZERO_MEMORY as flag to HeapAlloc() instead of zeroing out the allocated memory in a later call. 2007-04-25 12:26:07 +02:00
Dmitry Timoshkov ebe2ac4879 gdi32: Fix a couple of problems with negative lfWidth test. 2007-04-12 16:11:58 +02:00
Laurent Vromman 932c6f5bdd gdi32: Correct WidenPath behaviour when working on an open path. 2007-04-03 13:00:24 +02:00
Laurent Vromman 525fd82366 gdi32: Correction of WidenPath behaviour when pen width is 1. 2007-04-03 13:00:09 +02:00
Laurent Vromman a11c751463 gdi32: Add two basic tests to check what WidenPath does. 2007-04-02 11:29:35 +02:00
Felix Nawothnig f73d7d07c8 gdi32: Properly handle negative font widths. 2007-04-02 11:18:38 +02:00
Dmitry Timoshkov bd07f3f39e gdi32: Add a GetTextMetrics test, make it pass under Wine. 2007-03-15 13:09:56 +01:00
Felix Nawothnig 7fc0becf6e gdi32: Add PS_ALTERNATE tests. 2007-03-13 21:54:42 +01:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Dmitry Timoshkov 7f16f21cf7 gdi32: Add an extensive EnumFontFamilies test, fix some failures when running under Wine. 2007-03-06 21:52:00 +01:00
Paul Vriens a105c6b1de gdi32/tests: Use skip where appropriate. 2007-03-05 18:08:43 +01:00
Paul Vriens 37cba3a9f9 gdi32/tests: Make sure we can run on win9x and NT again. 2007-03-05 18:08:35 +01:00
Hans Leidekker 748032e0fb gdi32: Implement GetFontUnicodeRanges. 2007-03-02 11:39:32 +01:00
Dmitry Timoshkov 14478b8ba2 gdi32: Move get_glyph_indices near its caller test_font_charset. 2007-02-20 12:24:00 +01:00
Dmitry Timoshkov 0457b0c346 gdi32: CreateBitmapIndirect should ignore the provided bm.bmWidthBytes. 2007-02-16 12:35:25 +01:00
Alexandre Julliard 6ede7a1130 gdi32/tests: Create a window for justification tests that generate output
instead of painting over the desktop.
2007-02-15 19:41:34 +01:00
Dmitry Timoshkov 8295d9040b gdi32: Skip the SYMBOL_CHARSET test if Symbol or Wingdings is not installed. 2007-02-15 16:55:23 +01:00
Dmitry Timoshkov 64e1ce40aa gdi32: Fix a typo in the memcmp call. 2007-02-15 15:42:54 +01:00
Pedro Araujo Chaves Jr 2051bcccca gdi32: Fix for GetTextExtentExPointW() and ExtTextOutW(). 2007-02-15 13:27:24 +01:00
Dmitry Timoshkov 37591409b2 gdi32: Revert 1440eb5a35 and add the test showing that the change was wrong. 2007-02-15 11:21:53 +01:00
Dmitry Timoshkov e915a3cfb1 gdi32: Make sure that we don't read/write beyond the provided buffer in GetOutlineTextMetricsA, add a test case. 2007-02-05 14:03:45 +01:00
Dmitry Timoshkov 0510a7a599 gdi32: CreateBitmap and friends should return stock DEFAULT_BITMAP if requested bitmap width or height is 0. 2007-02-05 12:24:55 +01:00
Dmitry Timoshkov 295f8101ec gdi32: Add a simple SelectObject test for bitmaps. 2007-01-22 13:29:27 +01:00
Dmitry Timoshkov f31b67ae44 gdi32: Add a GetDIBits test. 2007-01-22 13:29:21 +01:00
Francois Gouget 7a76ae1a65 gdi32/tests: Replace an '#if 0' with an 'if (0)'. 2007-01-08 12:09:05 +01:00
Francois Gouget c579d474a4 gdi32/tests: Tweak a test to avoid an '#if 0'. 2007-01-08 12:08:52 +01:00
Francois Gouget 51ab5c33c8 gdi32/tests: Print GetLastError() in decimal with '%u'. 2007-01-06 11:40:43 +01:00
Andrew Talbot eef087cba7 gdi32/tests: Cast-qual warning fix. 2006-12-11 12:19:05 +01:00
Marcus Meissner f0280cbd1e made functions and variables static in some testcases. 2006-12-11 12:18:29 +01:00
Alexandre Julliard d5ee62342a winex11.drv: Don't use the specified DC when mapping RGB colors for a DIB.
The DC palette only matters for DIB_PAL_COLORS.
2006-11-27 17:04:19 +01:00
Alexandre Julliard f7ffbe4581 gdi32: Remove call to CreateCompatibleDC() from GetDIBits() implementation.
Based on a patch by Alex Villacís Lasso.
2006-11-08 19:57:30 +01:00
Alexandre Julliard 7dfc447741 gdi32: Renamed the gdi directory to gdi32. 2006-10-20 12:25:29 +02:00