Alexandre Julliard
7582b13d8d
gdi32: Move remaining 16-bit metafile functions to metafile16.c
2009-09-26 13:31:45 +02:00
Alexandre Julliard
d69dd56495
gdi32: BS_DIBPATTERN brushes use a 32-bit handle in 32-bit mode.
2009-09-26 13:30:06 +02:00
Rico Schüller
43ce10d168
gdi32: Check the current context in wglMakeCurrent().
2009-09-22 17:47:10 +02:00
Markus Stockhausen
e51b20bf05
gdi32: Check for NULL pointer in GdiAlphaBlend.
2009-09-18 09:14:16 -05:00
Ilya Shpigor
dad99e2aa9
gdi32/tests: Add test for SelectClipRgn in metafile.
2009-09-08 14:16:31 +02:00
Andrew Nguyen
4569eb2e66
gdi32: Fix the type of a few return values.
2009-08-06 17:26:29 +02:00
Aric Stewart
7214f650ef
gdi32: Ensure child fonts have names.
2009-08-03 16:00:42 +02:00
Dmitry Timoshkov
69b29fa07e
gdi32: Use a better heuristics for tmWeight.
...
Marlett uses FW_MEDIUM (500) and current code allows only FW_REGULAR and
FW_BOLD. New heuristics detects if flags and usWeightClass in the font match.
2009-08-03 14:59:08 +02:00
Dmitry Timoshkov
16aa1369f8
gdi32: Some fonts have a broken last segment of cmap4 table, avoid a crash in that case.
...
Freetype has a similar consistency check.
2009-08-03 14:58:57 +02:00
Huw Davies
1d66e20ead
gdi32/tests: Add a broken case for some versions of winxp.
2009-07-17 12:38:08 +02:00
Joel Holdsworth
91f458314b
gdi32/tests: Added tests for BitBlt.
2009-07-16 16:18:20 +02:00
Aric Stewart
6a5bb87e3a
gdi32: In init_system_links, reinitialize val_len and data_len before continuing.
2009-07-16 11:13:02 +02:00
Huw Davies
e5c614e6b1
gdi32/tests: Allow a small tolerance when comparing scaling values.
2009-07-13 10:32:11 +02:00
Huw Davies
904b2749f7
gdi32/tests: Don't continue with the tests if GetWinMetaFileBits fails.
2009-07-08 20:15:00 +02:00
Huw Davies
787ead8088
gdi32: Use a modified version of MulDiv to match native behaviour.
2009-07-07 13:22:13 +02:00
Paul Vriens
31d82c5fdc
gdi32/tests: Mark an intermittent failure as broken() on Win9x/ME.
2009-07-06 14:35:25 +02:00
Huw Davies
395436d2e9
gdi32/tests: Fix tests on win9x and winMe.
2009-07-03 11:28:06 +02:00
Huw Davies
dca1b517ec
gdi32/tests: Add some traces and fix a few comments.
2009-07-02 13:17:49 +02:00
Huw Davies
12adc3e1fb
gdi32: Add tests for the map mode and window size records.
2009-07-02 13:17:44 +02:00
Huw Davies
8edbd0639e
gdi32: Write the map mode and window size records after the mfcomment.
2009-07-02 13:17:35 +02:00
Huw Davies
d79943446f
gdi32/tests: Dump the correct metafile if the test fails.
2009-07-01 14:50:53 +02:00
Huw Davies
470e8fe2f4
gdi32/tests: Add a test for the MFCOMMENT record's size.
2009-07-01 14:50:50 +02:00
Huw Davies
d6bb2b7591
gdi32: Add tests for the GetWinMetaFileBits MFCOMMENT record.
2009-06-30 12:58:17 +02:00
Huw Davies
41bbc007a4
gdi32: Store the original emf as a sequence of MFCOMMENT records.
2009-06-30 12:58:10 +02:00
Huw Davies
db6a9e6f75
gdi32: Remove obviously incorrect calls to SetMapMode.
2009-06-30 12:57:55 +02:00
Huw Davies
d7af14f1b5
gdi32: Use the unicode version of CreateMetaFile.
2009-06-30 12:57:43 +02:00
Francois Gouget
8b93e1fe06
gdi32/tests: Make test_GetTextMetrics2() static.
2009-06-29 13:22:51 +02:00
Francois Gouget
4f0c6a3172
gdi32/tests: Fix the trailing '\n' of a few ok() calls.
2009-06-26 14:40:08 +02:00
Huw Davies
08453c1f2b
configure: Remove reference to obsolete ftnames.h.
2009-06-25 14:34:13 +02:00
Rein Klazes
08ca2fa6a9
gdi32/tests: Show that there is an upper limit to the width of a font that can be specified.
2009-06-25 12:08:12 +02:00
Huw Davies
4b9c22d66b
gdi32: Add tests for GetTransform.
2009-06-24 14:52:21 +02:00
Huw Davies
6260af2a7c
gdi32: Implement GetTransform for the other valid transform types.
2009-06-24 14:52:19 +02:00
Huw Davies
e920f5f7d7
gdi32: Add tests for SetVirtualResolution.
2009-06-23 16:21:46 +02:00
Huw Davies
5c386041fc
gdi32: Implement SetVirtualResolution.
2009-06-23 16:21:42 +02:00
Huw Davies
3742389d45
gdi32: CBM_INIT is a flag.
2009-06-22 14:32:28 +02:00
Paul Vriens
53b1e8909f
gdi32/tests: Fix the last test failure on NT4.
2009-06-16 13:37:21 +02:00
Paul Vriens
eae4b22b61
gdi32/tests: Fix some test failures on NT4.
2009-06-16 13:37:11 +02:00
Louis Lenders
afce86b4bc
gdi32: Add stub for GdiEntry13.
2009-06-15 13:42:31 +02:00
Paul Vriens
cf43e2cac7
gdi32/tests: Fix several test failures on Win9x/WinME/NT4.
2009-06-15 13:42:30 +02:00
Francois Gouget
34accb382b
gdi32/tests: Small indentation fix.
2009-06-15 13:42:29 +02:00
Rein Klazes
d145f399ca
gdi32: Fix RectInRegion() if right < left or bottom < top.
2009-06-08 13:18:58 +02:00
Michael Stefaniuc
0737fc2c72
gdi32: Avoid using long when not needed.
2009-06-02 11:57:22 +02:00
Paul Vriens
9f4283dcc6
gdi32/tests: Fix a test failure on Win9x/WinME.
2009-05-22 15:16:29 +02:00
Paul TBBle Hampson
87cd36db5e
gdi32: Autopopulate FontLinks when autopopulating FontSubstitutes.
...
When Wine's codepage changes, FontSubstitutes is redefined to use
fonts appropriate for that codepage. Configure FontLinks to reasonable
defaults at the same time.
2009-05-12 13:19:05 +02:00
Paul TBBle Hampson
ce426d6ad1
gdi32: Don't add system_links entries for substituted fonts.
...
When a Font is looked up in the FontLinks table, they have already
been normalised by FontSubstitutes.
So no need to store system_links entries for fonts that appear as keys
in the FontSubstitutes list.
2009-05-05 15:39:58 +02:00
Paul TBBle Hampson
8a4b77883e
gdi32: Fetch child fonts by real parent font name.
...
Entries in the list of linked fonts are keyed by the substituted font
name, so need to be looked up by the substituted font name.
2009-05-05 15:39:36 +02:00
Nikolay Sivov
0f9bc1d3b7
gdi32: Check header pointer in CreateDIBitmap.
2009-05-04 14:57:32 +02:00
Paul TBBle Hampson
4b45767e2a
gdi32: Remove tabs from init_system_links TRACEs.
2009-04-30 12:46:09 +02:00
Paul TBBle Hampson
0cde093fdc
gdi32: Ensure font name comparisons are case-insensitive.
2009-04-30 12:45:58 +02:00
Rein Klazes
5265e0f2e5
winex11: GetPixel() on a monochrome bitmap should return black or white, not dark red.
2009-04-29 15:50:25 +02:00