Huw Davies
8ab829a68a
gdi32: Correct the font family values returned in the text metrics.
2009-02-11 16:14:46 +01:00
Dmitry Timoshkov
24937a4f0f
gdi32: Add a test for the MAT2 parameter of GetGlyphOutline, make it pass under Wine.
2009-02-03 12:40:27 +01:00
Michael Stefaniuc
667a1ed5be
gdi32: Remove superfluous pointer casts.
2009-01-26 14:31:13 +01:00
Alexandre Julliard
cbe6e71775
gdi32/tests: Fix the mapping test to handle the more precise LOMETRIC settings on Vista.
2009-01-25 17:08:55 +01:00
Alexandre Julliard
d2b217e90a
gdi32/tests: Add a test case for calling WriteFile with the DIB section bits as buffer.
2009-01-15 12:06:15 +01:00
Alexandre Julliard
ac543e5bc7
gdi32/tests: Fix an uninitialized value check and a structure size for Win64.
2009-01-10 21:05:52 +01:00
Alexandre Julliard
328ca0e00c
gdi32/tests: Fix an uninitialized pointer check for Win64.
2009-01-09 18:08:50 +01:00
Francois Gouget
581e390115
winapi_test: The tests don't support WIN64 yet so disable them there.
2009-01-08 12:47:22 +01:00
Francois Gouget
411f5d22c0
winapi_test: The real tests are done at compile time so use C_ASSERT() instead of ok(). Do only one test per line so one can know exactly what went wrong.
2009-01-08 12:46:39 +01:00
Francois Gouget
9f62c9b7a8
winapi_test: Fix TEST_FIELD() so it correctly tests the field size.
2009-01-08 12:44:49 +01:00
Francois Gouget
43c18c1321
winapi_test: FIELD_ALIGNMENT() is redundant so remove it.
2009-01-08 12:43:15 +01:00
Francois Gouget
2e668d2572
winapi_test: Updated so the generated tests work.
2009-01-08 12:42:12 +01:00
Alexandre Julliard
428de06982
gdi32/tests: Fix a pointer casting warning on 64-bit.
2009-01-03 20:13:29 +01:00
Paul Vriens
098f2f231d
gdi32/tests: Fix a few failures on Win9x.
2008-12-15 12:36:08 +01:00
Francois Gouget
f5657080c7
gdi32/tests: Make test_GdiAlphaBlend() static.
2008-12-12 11:42:07 +01:00
Paul Vriens
ed4444dae5
gdi32/tests: Fix some test failures on Win9x.
2008-12-12 11:38:31 +01:00
Paul Vriens
52a914db83
gdi32/tests: Remove the todo_wine logic where appropriate.
2008-12-11 11:50:15 +01:00
Paul Vriens
024a6bce5f
gdi32/tests: Fix a failure on NT4.
2008-12-10 10:49:50 +01:00
Paul Vriens
fee339f7ff
gdi32/tests: Fix a few test failures on Win9x and WinMe.
2008-12-05 12:36:53 +01:00
Paul Vriens
9960ab2418
gdi32/tests: Fix a few test failures on Win9x and WinMe.
2008-12-04 15:46:15 +01:00
Michael Stefaniuc
ec1c9492b0
gdi32: Remove some superfluous casts.
2008-11-25 11:56:02 +01:00
Paul Vriens
decb70d95c
gdi32/tests: Fix a few failures on Win9x and WinMe.
2008-11-13 15:30:52 +01:00
Paul Vriens
3f4333d70c
gdi32/tests: Don't crash on NT4.
2008-11-06 15:01:12 +01:00
Dmitry Timoshkov
25a1803720
gdi32: Fix a broken test.
2008-11-06 11:10:10 +01:00
Sergey Khodych
11d17fafc4
winex11: BitBlt returns TRUE when drawing outside of the clipping or visible region.
2008-11-06 11:09:16 +01:00
Michael Stefaniuc
8ff77fce45
gdi32/tests: HGDIOBJ is interchangeable with other handle types; no casts are needed.
2008-10-27 11:30:01 +01:00
Detlef Riekenberg
57a5a60ca3
gdi32/tests: Fix tests to not depend on 96 dpi.
2008-10-14 13:41:55 +02:00
Jeremy White
484add2220
gdi32/tests: Make the comparison of the enumerated and returned logfont structures actually work.
2008-10-13 12:14:23 +02:00
Jeremy White
fed3d50663
gdi32: Expand maximum font count to 4096, warn when we go over that limit.
2008-10-13 12:14:00 +02:00
Paul Vriens
880f785747
gdi32/tests: Skip some tests on Win9x/WinMe.
2008-10-08 12:20:38 +02:00
Dmitry Timoshkov
0d1470575d
gdi32: Allow a rounding error in the text justification test.
2008-10-06 15:30:40 +02:00
Dmitry Timoshkov
c8d5730610
gdi32: Add a test for a font being selected into 2 DCs with different transformations.
2008-10-06 15:30:36 +02:00
Dmitry Timoshkov
0467d4e4c6
gdi32: Make test_font_metrics require the font being selected into the DC.
2008-10-06 15:30:31 +02:00
Paul Vriens
4bf5c5f8a2
gdi32/tests: Fix a few failures on win9x.
2008-10-06 13:09:05 +02:00
Dmitry Timoshkov
40e1e39785
gdi32: Make the PS_NULL test pass under Wine.
2008-10-01 09:56:41 -05:00
Dmitry Timoshkov
830f1563c6
gdi32: Add a test for PS_NULL pen being equal to NULL_PEN stock object.
2008-09-29 17:25:36 -05:00
James Hawkins
e1d56fa4bd
comctl32: Fix a failing test in win9x.
2008-09-29 17:24:07 -05:00
Alexandre Julliard
ff6f7a57b9
gdi32/tests: Skip test that depends on Tahoma if it isn't installed.
2008-09-19 12:07:32 +02:00
Paul Vriens
84266fc6f6
gdi32/tests: Skip some failing tests on NT4.
2008-09-11 11:44:00 +02:00
Paul Vriens
c50d922ef6
gdi32/tests: Prevent a crash on win95.
2008-09-11 11:43:52 +02:00
James Hawkins
5468f40ab8
gdi32: Fix a failing test in win9x.
2008-09-03 14:21:42 +02:00
James Hawkins
4c7cb8a339
gdi32: Fix a failing test in win98.
2008-08-29 13:22:14 +02:00
Dmitry Timoshkov
21cdaeea4b
gdi32: Replace DC transform by font scaling for bitmap fonts.
2008-08-21 11:42:25 +02:00
Michael Karcher
3843d5beee
winex11: Fix GetDIBits with monochrome pixmaps.
2008-08-18 17:15:56 +02:00
Alexandre Julliard
73423c1a40
gdi32/tests: Fix some test failures on Win9x.
2008-08-05 14:09:37 +02:00
Paul Vriens
d1bcc32bf2
gdi32/tests: Don't test unimplemented functions.
2008-08-01 10:36:52 +02:00
Alexandre Julliard
680233f235
gdi32/tests: Allow some more rounding errors in glyph sizes.
2008-07-31 17:16:50 +02:00
Lei Zhang
9b4f17f630
gdi32: Glyph advances should be measured for unrotated characters.
2008-07-23 11:56:09 +02:00
Lei Zhang
78a1e07c93
gdi32: Add a test for font orientation.
2008-07-23 11:56:00 +02:00
Dmitry Timoshkov
7976d993f5
gdi32: Relax the gm.gmCellIncX comparison.
2008-07-21 13:00:42 +02:00
Michael Karcher
49eb123739
Add support for compatibility mode in WineEngCreateFontInstance.
2008-07-08 10:44:54 +02:00
James Hawkins
36e703b409
gdi32: Fix two tests that fail for all platforms.
2008-07-02 12:20:27 +02:00
Michael Karcher
8da833494d
winex11: Fix GetDIBits of 1 bit DDBs.
...
1 bpp DDBs seem to always carry an implicit palette of black and white,
regardless of what the DC says. Based on a patch from Eric Pouech.
2008-07-01 14:59:14 +02:00
Michael Karcher
fd8746b43c
gdi32: Fix palette of 1bpp DIB in GetDIBits.
...
Windows always generates a black/white palette for 1 bit DIBs
generated from DDBs. Copying from the current palette only takes place
for color DDBs (not explicitly mentioned in MSDN), and only if depth
equal (MSDN states it, explicitly).
2008-07-01 14:58:54 +02:00
Alistair Leslie-Hughes
641d6aa5c2
gdi32: Stop crash in font tests.
2008-07-01 13:45:37 +02:00
James Hawkins
6796c880fa
gdi32: Fix a failing test in win95.
2008-06-30 15:07:20 +02:00
Dan Hipschman
92c8cac214
gdi32: Return the correct value from GetTextFace.
2008-06-25 11:41:00 +02:00
Dmitry Timoshkov
6f7457d8ad
gdi32: Add a test for outline text metrics.
2008-06-24 12:23:03 +02:00
Dmitry Timoshkov
9675720510
gdi32: Initialize otmMacAscent, otmMacDescent, otmMacLineGap in outline text metrics.
2008-06-24 12:21:06 +02:00
Dmitry Timoshkov
41aad2dce2
gdi32: Extend the font substitution test, make it pass under Wine.
2008-06-23 12:53:22 +02:00
Dan Hipschman
c1480126b1
gdi32: Add tests for GetTextFace.
...
Currently only GetTextFaceA is tested, and in an ancillary way, and the
behavior differs from GetTextFaceW.
2008-06-21 11:37:20 +02:00
Dmitry Timoshkov
e976877fa5
gdi32: Add a test for combined mapping mode/world transform changes.
2008-06-18 17:34:27 +02:00
Michael Karcher
5333923253
gdi32: Respect DIB_PAL_COLORS in every case.
2008-06-09 12:40:48 +02:00
Francois Gouget
8f91acc894
gdi32/tests: Take into account several Win9x bugs in GetObject().
2008-06-05 15:53:32 +02:00
Alexandre Julliard
8f7f203649
gdi32/tests: Reduce the size of the test output a little.
2008-06-04 12:52:18 +02:00
Austin English
bde1187488
gdi32: Fix a test failure in 2k.
2008-05-29 12:08:41 +02:00
Dmitry Timoshkov
02a15500fb
gdi32: Make generated EMFs fully match Windows ones.
2008-05-27 12:05:37 +02:00
Dmitry Timoshkov
0c59e312c1
gdi32: Ignore exScale/eyScale when comparing EMREXTTEXTOUT EMF records.
2008-05-27 12:04:43 +02:00
Dmitry Timoshkov
8021a9d903
gdi32: Slightly relax EMF record comparisons allowing rounding errors.
2008-05-21 17:16:04 +02:00
James Hawkins
617d8fee03
gdi32: Fix two tests that fail in win2k3.
2008-05-19 13:36:05 +02:00
Dmitry Timoshkov
a5d288f08c
gdi32: Add more font substitution tests, make them pass under Wine.
2008-05-13 20:25:50 +02:00
Nikolay Sivov
1441311d36
gdi32: Avoid null pointer dereference in CreateDIBSection.
2008-05-12 13:59:13 +02:00
Dmitry Timoshkov
51c28a1493
gdi32: More carefully compare EMF records in tests.
2008-05-07 17:51:43 +02:00
Francois Gouget
125dac3af8
gdi32/tests: Add a trailing '\n' to a couple of ok() calls.
2008-05-06 16:10:01 +02:00
Maarten Lankhorst
f74075b776
gdi32: Make mapping test slightly less strict so it passes on windows XP.
2008-05-06 11:25:26 +02:00
James Hawkins
c17bb019f4
gdi32: Remove a dependency on the amount of available memory.
2008-05-01 11:14:46 +02:00
Dmitry Timoshkov
80c1508bf1
gdi32: Make the bitmap test pass under Windows 2000.
2008-04-29 12:46:41 +02:00
Dmitry Timoshkov
c871d9a81d
gdi32: Save/restore internal EMF playing state on EMR_SAVEDC/EMR_RESTOREDC, add a test for this.
2008-04-28 13:27:52 +02:00
James Hawkins
b48118b472
gdi32: Remove a dependence on the amount of available memory.
2008-04-25 11:33:51 +02:00
Paul Vriens
55902e0ce0
gdi32/tests: Run tests on win9x again.
2008-04-23 12:23:15 +02:00
Dmitry Timoshkov
5201c78b2e
gdi32: Add a test for EMR_EXTSELECTCLIPRGN, make it pass under Wine.
2008-04-21 16:59:03 +02:00
Alexandre Julliard
baceb8d07e
gdi32: Return bitmask for 32-bit bitmaps too in GetDIBits.
2008-04-21 12:10:37 +02:00
Dmitry Timoshkov
f52b92efe5
gdi32: Add a test for ExtCreateRegion, make it pass under Wine.
2008-04-21 11:53:14 +02:00
Alexandre Julliard
99892d6bae
gdi32: Fixed initialization of bit masks in GetDIBits for 16-bit bitmaps.
...
Fix and improve the test cases.
2008-04-18 13:57:15 +02:00
Huw Davies
65d5c20a6b
gdi32: LineDDA shouldn't include the end point. Add some tests.
2008-04-16 14:07:07 +02:00
Dmitry Timoshkov
2a2c66c062
gdi32: Clarify which font doesn't contain 'x'.
2008-04-14 12:40:22 +02:00
Alexandre Julliard
0482c8e818
gdi32: Fix CreateCompatibleDC to reject invalid DCs.
2008-04-14 12:06:24 +02:00
Colin Finck
8a2e787161
gdi32: Add a test to demonstrate a CreateCompatibleDC problem.
2008-04-14 12:05:29 +02:00
Dmitry Timoshkov
0fdd381f26
gdi32: Move negative lfWidth test into a separate body, skip the test if there is no 'x' in the font.
2008-04-07 20:34:49 +02:00
Austin English
cb2274e690
Spelling fixes.
2008-04-04 11:51:40 +02:00
Dmitry Timoshkov
90265ac586
gdi32: Add a font scaling test when lfHeight == 0 and lfWidth != 0, make it pass under Wine.
2008-04-04 11:03:42 +02:00
Mikołaj Zalewski
4094ff0256
gdi32: Fix GetGlyphIndices to select properly the invalid char glyph for TrueType fonts.
2008-04-02 12:36:42 +02:00
Dan Kegel
338539c709
gdi32: Test retrieving BI_BITFIELDS info for 16bpp modes.
2008-03-31 16:07:47 +02:00
Austin English
45b944ed51
gdi32: Spelling fixes.
2008-03-25 19:58:31 +01:00
Francois Gouget
e637e83ec4
gdi32/tests: Add the trailing '\n' to a couple of ok() calls.
2008-03-03 12:03:52 +01:00
Huw Davies
34002d4c7e
gdi32: Add a partial implementation of GdiRealizationInfo.
2008-02-28 10:44:35 +01:00
Paul Vriens
7911424f9d
gdi32/tests: Skip a test as it crashes on Vista.
2008-02-27 14:52:24 +01:00
Paul Vriens
e9ccee0501
gdi32/tests: Skip functions that are available but not implemented.
2008-02-27 14:52:24 +01:00
Roderick Colenbrander
c937634376
gdi32: GetPaletteEntries should not filter peFlags (test included).
2008-02-19 12:06:10 +01:00
Reece H. Dunn
dc267e75b4
gdi32: Improve the failure reporting in the bitmap tests.
2008-02-06 13:49:52 +01:00