Alexandre Julliard
86f54f4c89
gdi32: Make dispdib.dll into a stand-alone 16-bit module.
2009-03-04 14:27:05 +01:00
Huw Davies
17a866df29
gdi32/tests: Fix tests on NT4.
2009-03-04 13:06:23 +01:00
Huw Davies
246a9a6f7a
gdi32/tests: Win9x doesn't initialize the bitmap bits, so skip this test.
2009-03-04 13:06:20 +01:00
Huw Davies
1ad19cc9ce
gdi32/tests: Improve some test failure messages.
2009-03-03 13:26:20 +01:00
Eric Pouech
21c3e79e52
winex11: Correctly pad 1 bpp DDB's lines with 0 values.
2009-03-02 15:02:43 +01:00
Dmitry Timoshkov
d15619b215
gdi32: Fix the font rotation direction.
...
Apparently at some point either freetype got fixed, or other gdi32
changes made the matrix members usage match freetype. This patch makes
my test application match the Windows behaviour in font rotation direction.
2009-03-02 12:11:35 +01:00
Huw Davies
973ac6dbd2
gdi32/tests: Winnt doesn't set last error when a NULL dc is passed to GetDIBits.
2009-02-27 16:22:38 +01:00
Huw Davies
103f3db95f
gdi32/tests: Don't expect the screen dc's bitmap to be mono 1x1.
2009-02-27 16:22:27 +01:00
Huw Davies
e270f5a89d
gdi32/tests: Add a broken() to an always true test.
2009-02-27 16:22:08 +01:00
Dmitry Timoshkov
b3e65ba399
gdi32: Revert an unrelated part of 028617b90b
.
...
It was not a very nice idea to break bitmap fonts which request a custom
width (therefore a transformation) in a patch that pretended to do something
unrelated.
2009-02-27 13:15:44 +01:00
Francois Gouget
9de60b9c2c
gdi32/tests: Use win_skip() to skip over unimplemented functionality.
2009-02-24 16:57:26 +01:00
Huw Davies
5b183a208f
gdi32/tests: Don't test the height that is 1.75 times the original font height. This is unscaled in winnt yet doubled in win9x.
2009-02-23 15:24:56 +01:00
Huw Davies
ff2f88cf08
gdi32: Fix fractional scaling threshold.
2009-02-20 18:46:04 +01:00
Paul Vriens
ac6077023f
gdi32/tests: Report a missing function only once.
2009-02-20 18:07:42 +01:00
Huw Davies
5c8c151aa8
gdi32/tests: Add tests for the 120 dpi bitmap fonts.
2009-02-19 15:57:47 +01:00
Huw Davies
4f25723853
gdi32: Set the font family as FF_MODERN if the panose marks it as monospaced.
2009-02-19 15:57:47 +01:00
Huw Davies
e6a0fa9f44
gdi32/tests: Output the requested font name on failure.
2009-02-19 15:57:47 +01:00
Huw Davies
ee339afa3f
gdi32/tests: Output the required font height if the test fails.
2009-02-19 15:57:47 +01:00
Rob Shearman
ccce11d2c3
gdi32: Move 16-bit functions not exported in gdi32.dll into files compiled only when 16-bit functionality is enabled.
2009-02-19 12:51:50 +01:00
Huw Davies
f4e3e18b42
gdi32/tests: From Vista onwards TabbedTextOut ignores justification, so remove that bit of the test.
2009-02-18 14:48:05 +01:00
Huw Davies
2c6ddb8030
gdi32: The special handling of the character codes metrics for symbol fonts should be based on the presence of the MS symbol charmap rather than whether the font is enumerated as SYMBOL_CHARSET.
2009-02-18 13:13:29 +01:00
Huw Davies
c40b434172
gdi32/tests: Win9x truncates the LONG elements of LOGFONT to 16 bit values.
2009-02-18 13:13:26 +01:00
Huw Davies
bd69c2e95a
gdi32/tests: Allow the first char code to point to glyph 0 (the .notdef glyph).
2009-02-17 15:14:57 +01:00
Huw Davies
24c9a37aaf
gdi32: In a Baltic locale the last char of a symbol font is reported as 0xf8fd rather than 0xf0ff.
2009-02-17 15:14:53 +01:00
Huw Davies
aecf29ae84
gdi32/tests: Win9x doesn't ensure the facename is nul terminated. Compare the logfont one element at a time.
2009-02-17 15:14:35 +01:00
Huw Davies
7cc7ad5ec4
gdi32/tests: Win98 and WinMe actually do set error codes.
2009-02-17 15:14:29 +01:00
Huw Davies
c404d00b3d
gdi32/tests: GetTextFaceA called with a NULL buffer returns 0 on win98 and winMe.
2009-02-17 15:14:25 +01:00
Michael Stefaniuc
056359cc4e
gdi32: SetAbortProc is not a 16bit function but a 32bit one.
2009-02-17 12:47:32 +01:00
Huw Davies
3fa05ae6a7
gdi32/tests: Only test the lowest byte of GdiRealizationInfo flags so that the test passes on Vista.
2009-02-16 16:01:38 +01:00
Huw Davies
e93d348109
gdi32: Improve calculation of the character code text metrics.
2009-02-16 16:01:37 +01:00
Huw Davies
d9811e6927
gdi32/tests: Use the ANSI text metrics so the tests work on win9x.
2009-02-12 17:53:34 +01:00
Huw Davies
aaefb75f8d
gdi32: Add missing serif types.
2009-02-12 17:53:34 +01:00
Huw Davies
8ab829a68a
gdi32: Correct the font family values returned in the text metrics.
2009-02-11 16:14:46 +01:00
Francois Gouget
f250f4fa04
Assorted spelling fixes.
2009-02-11 15:56:02 +01:00
Dmitry Timoshkov
5804470f26
gdi32: Make sure that World2Vport DC transformation is valid before using it.
2009-02-05 13:15:17 +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
Dmitry Timoshkov
44589c6f8f
gdi32: The MAT2 parameter of GetGlyphOutline is mandatory.
2009-02-03 12:40:24 +01:00
Alexandre Julliard
687dfd69e9
gdi32: Check for memory allocation failure in region functions and propagate the error correctly.
2009-01-29 21:45:01 +01:00
Alexandre Julliard
ec4af0764b
gdi32: Replace the MEMCHECK macro in the region code by a proper function.
2009-01-29 21:45:01 +01:00
Alexandre Julliard
919b1076c9
gdi32: Don't hold the GDI lock while creating regions.
2009-01-29 21:45:01 +01:00
Alexandre Julliard
a686b8b583
gdi32: Store the region data directly in the GDI object.
2009-01-29 21:45:01 +01:00
Alexandre Julliard
73593cbf5a
gdi32: Store a separate flag to mark a GDI object for delayed destruction.
2009-01-29 21:45:01 +01:00
Alexandre Julliard
827e1f1de3
gdi32: Increment the reference count for the initial DC stock objects.
2009-01-29 21:44:52 +01:00
Alexandre Julliard
7b82b98ee8
gdi32: Don't hold the GDI lock while calling the Freetype font engine functions.
2009-01-28 19:38:15 +01:00
Alexandre Julliard
f1ea7a40f8
gdi32: Get rid of GDI_ReallocObject.
2009-01-28 19:04:04 +01:00
Alexandre Julliard
a83c81b544
gdi32: Allocate palette entries separately from the main GDI object.
...
This allows resizing the palette without changing the object pointer.
2009-01-28 19:02:17 +01:00
Alexandre Julliard
de831f334c
gdi32: Release GDI handles before freeing the object.
...
This makes it unnecessary to hold the GDI lock during destruction.
2009-01-28 18:45:21 +01:00
Alexandre Julliard
311c53db4f
gdi32: Allocate and initialize GDI objects before giving them a handle.
...
This makes it unnecessary to hold the GDI lock since the object
cannot be accessed before it has a handle.
2009-01-28 18:43:06 +01:00
Alexandre Julliard
5811a2ccb4
gdi32: Use the official constants instead of the old Win9x magic numbers for GDI object types.
2009-01-28 16:20:56 +01:00
Igor Tarasov
1b17c8d057
gdi32: Add logcal points to device points conversion for source bitmap before bit stretching.
2009-01-28 14:28:01 +01:00