Alexandre Julliard
e92e5ec376
gdi32: Implement ArcTo in enhanced metafiles.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-17 13:51:05 +09:00
Alexandre Julliard
7373a7c71d
gdi32: Fix PathToRegion and SelectClipPath behavior with an empty path.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-16 01:21:47 +09:00
Alexandre Julliard
bd53a012b4
gdi32/tests: Add a few more path tests.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-16 00:25:34 +09:00
Huw Davies
19d1416cef
gdi32: If the WMF was created by GetWinMetaFileBits() then return the original EMF.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-08 23:25:16 +09:00
Alexandre Julliard
d341b0c381
user32: Completely free owned DCEs when the corresponding window/class is destroyed.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-21 09:55:03 +09:00
Andrey Gusev
6fae520e1c
gdi32/tests: Fix a typo in trace() message.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 12:27:18 +09:00
Piotr Caban
dfb750b9c2
gdi32/enhmfdrv: Don't update document bounds in PolyPolyline within a path.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 20:02:44 +09:00
Piotr Caban
67e26bec8d
gdi32/enhmfdrv: Don't update document bounds in Polyline within a path.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 20:02:44 +09:00
Piotr Caban
0d84feaf49
gdi32/enhmfdrv: Don't update document bounds in RoundRect within a path.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 20:02:44 +09:00
Piotr Caban
661bc10bfe
gdi32/enhmfdrv: Don't update document bounds in Ellipse within a path.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 20:02:44 +09:00
Piotr Caban
c36f365329
gdi32/enhmfdrv: Don't update document bounds in Arc/Chord/Pie within a path.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 20:02:44 +09:00
Piotr Caban
d307bba0f4
gdi32/enhmfdrv: Add enhanced metafile bounds tests.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 20:02:43 +09:00
Piotr Caban
3a12eb2083
gdi32/enhmfdrv: Add ExtTextOut tests with unmatched BeginPath/EndPath calls.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 20:02:43 +09:00
Piotr Caban
269b2519a7
gdi32/enhmfdrv: Always set ExtTextOut bounding rect if we're not inside path bracket.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 20:02:43 +09:00
Piotr Caban
d9e7c4d820
gdi32/enhmfdrv: Don't drop viewport/window transformation in StretchBlt.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:35 +09:00
Francois Gouget
bf5508f9e0
gdi32/tests: A spelling fix in a comment.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-19 21:30:22 +09:00
Huw Davies
ef34222131
gdi32/tests: Allocate the font enum data structures.
...
These are in excess of 250kB and may overflow the stack.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-14 19:26:11 +09:00
Henri Verbeet
0a41694b53
gdi32: Implement DC creation from pre-existing memory.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-13 23:01:07 +09:00
Huw Davies
ac0959cdf6
gdi32: Implement recording of the GradientFill EMF record.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-08 23:01:28 +09:00
Huw Davies
a36b4a6abb
gdi32/tests: Add tests for EMF PolyPolyline record creation.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-09 21:22:34 +09:00
Michael Stefaniuc
a23038217d
gdi32/tests: Use SetRectEmpty() instead of open coding it.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-04 18:43:04 +09:00
Alistair Leslie-Hughes
bd571e7d1d
gdi32/tests: Add tests for GetPath using metafile.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-23 20:24:17 +09:00
Alistair Leslie-Hughes
9ac1744b80
gdi32/tests: Check values returned from GetPath.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-19 19:59:07 +09:00
Nikolay Sivov
10437c027f
gdi32/tests: Simplify tests using todo_wine_if().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 12:17:28 +09:00
Nikolay Sivov
c98f40e227
gdi32: Fix otmfsSelection to have bold style set in case of bold simulation.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-10 13:40:28 +09:00
Nikolay Sivov
11be16ca79
gdi32/tests: Turn some asserts in font tests into regular tests.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 23:27:16 +09:00
Nikolay Sivov
6389f41135
gdi32: Fix otmfsSelection to have italic style set in case of oblique simulation.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 23:27:13 +09:00
Akihiro Sagawa
34e7361790
gdi32: Fix the advance width in synthetic bold glyphs with scaling.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-15 23:49:43 +09:00
Akihiro Sagawa
37fdc50097
gdi32/tests: Add font advance tests for synthetic bold face with scaling.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-05 11:48:44 +01:00
Akihiro Sagawa
6cd42f3df7
gdi32/tests: Refactor test_fake_bold_font() to avoid code duplications.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-05 11:48:41 +01:00
Andrey Melnikov
d4d304f436
gdi32: Handle NULL filename in GetICMProfileA().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Andrey Melnikov <temnota.am@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 18:18:45 +01:00
Nikolay Sivov
f0223182af
gdi32/tests: Some tests for GetICMProfile().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-15 09:12:40 +01:00
Sebastian Lackner
a1790df348
gdi32: Add check for NULL pointer in dibdrv_wglDescribePixelFormat.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-26 23:57:49 +09:00
Nikolay Sivov
0e92f07f41
gdi32/tests: Some empty string tests for GetTextExtentPoint.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-16 17:09:31 +09:00
Anton Baskanov
18dc14ed9a
gdi32: Return default palette entries from GetSystemPaletteEntries for non-palette-based devices.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 19:19:09 +09:00
Nikolay Sivov
819d36786e
gdi32: Improve structure layout of data returned by GetFontRealizationInfo().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-09 13:00:32 +09:00
Aric Stewart
fc94e5dd5f
gdi32/tests: Mark Hebrew stock font test as different, like Arabic.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
2015-10-06 00:01:56 +09:00
Nikolay Sivov
6f7dfe2cea
gdi32: Implement GetFontFileInfo().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2015-10-05 22:27:11 +09:00
Aric Stewart
781b88b7c5
gdi32/tests: Expand tests skipped in Arabic to also skip in Hebrew.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
2015-10-01 23:29:57 +09:00
Nikolay Sivov
af5884ffe5
gdi32/freetype: Handle fonts with broken usWinDescent values.
2015-10-01 16:29:40 +09:00
Nikolay Sivov
efb8afcfdc
gdi32/tests: Avoid excessive traces for fonts with OS/2 version 4 tables.
2015-09-11 16:05:23 +09:00
Gerald Pfeifer
775de7922e
gdi32: Avoid two cases of shift overflow in get_glyph_indices.
2015-09-08 15:10:59 +09:00
Alistair Leslie-Hughes
8348c0ebe0
gdi32/tests: Add enhanced metafile GetPath test.
2015-09-01 21:12:10 +09:00
Nikolay Sivov
7889b17425
gdi32: Added GetFontRealizationInfo() export.
2015-09-01 19:28:16 +09:00
Nikolay Sivov
adb0f582e0
gdi32/tests: Add names to data structure GetFontRealizationInfo returns, explicitly test with older variant fields.
2015-09-01 19:27:20 +09:00
Huw Davies
5021e91940
gdi32/tests: 64-bit GetFontFileInfo may fail with error ERROR_NOACCESS.
2015-08-20 20:35:20 +09:00
Huw Davies
76c321d5e6
gdi32: Add tests for GetFontRealizationInfo, GetFontFileInfo and GetFontFileData.
2015-08-17 14:52:15 +09:00
Daniel Lehman
22c51eeabf
gdi32: Check for NULL pointer in GetOutlineTextMetrics.
2015-07-28 13:41:46 +02:00
Dmitry Timoshkov
50b6b376cb
gdi32: EnumFontFamilies should enumerate substituted fonts only when directly asked for.
2015-07-17 19:29:10 +09:00
Dmitry Timoshkov
5289c9fd92
gdi32: Add a test for enumerating substituted fonts.
...
EnumFontFamilies(NULL) should not enumerate substituted fonts,
but EnumFontFamilies("MS Shell Dlg") should do.
2015-07-17 19:28:32 +09:00
Huw Davies
c81ff0f8cf
gdi32/tests: Japanese Win 7 uses MS Shell Dlg as its default GUI font.
2015-06-19 20:14:38 +09:00
Huw Davies
002cf965e1
gdi32/tests: Fix Courier test on Arabic locales.
2015-06-18 21:41:02 +09:00
Francois Gouget
150d920310
gdi32/tests: Silence some font traces that generate too many lines.
2015-05-11 15:19:04 +09:00
Bruno Jesus
5c323a540c
gdi32: Support negative count values in GetBitmapBits.
2015-04-08 16:23:49 +09:00
Thomas Faber
656bc70f80
gdi32/tests: Avoid variable length arrays (MSVC).
2015-02-17 22:28:14 +09:00
Michael Stefaniuc
80218d19ef
gdi32/tests: Don't clear a variable before it goes out of scope (PVS-Studio).
2014-11-28 17:04:21 +01:00
Amine Khaldi
b9f18b3431
gdi32/tests: Add basic tests for the handling of dwCount parameter in ExtCreateRegion.
2014-11-03 16:35:11 +09:00
Matteo Bruni
a71f25d239
gdi32/tests: Add a test for GetGlyphOutline with an insufficient buffer.
2014-10-09 18:24:53 +02:00
Qian Hong
887a6832bb
gdi32/tests: Improve font name localization tests by not requiring a strict language match.
2014-07-10 12:40:44 +02:00
Alexandre Julliard
ec3f8a76d5
gdi32/tests: Silence some noisy traces.
2014-06-17 10:58:51 +02:00
Alexandre Julliard
7d21dd26c8
gdi32/tests: Remove some noisy traces.
2014-06-13 10:12:28 +02:00
Huw Davies
80a29e2d31
gdi32: CLIP_DFA_DISABLE should disable the font association mechanism.
2014-06-11 19:15:28 +02:00
Huw Davies
0987e77089
gdi32/tests: tmLastChar is solely governed by the last entry before 0xffff in the cmap.
2014-06-11 16:04:55 +02:00
Alex Henrie
0fb88f8d01
gdi32/tests: Add MS Shell Dlg tests.
2014-05-13 19:58:09 +02:00
Stefan Dösinger
a373c35371
gdi32/tests: Test RGBQUAD.rgbReserved in SetDIBColorTable.
2014-05-07 20:21:52 +02:00
Huw Davies
c66f0019ff
gdi32: In a Hebrew locale the last char of a symbol font is reported as 0xf896 rather than 0xf0ff.
2014-05-07 18:57:35 +02:00
Akihiro Sagawa
b6ef7274c5
gdi32/tests: Make bmi structure const.
2014-05-02 16:29:03 +02:00
Alexandre Julliard
47ed5655c5
gdi32/tests: Don't fetch the bits into the DIB itself.
2014-04-28 14:37:02 +02:00
Austin English
d0fa8cbc74
gdi32/tests: Skip some tests if Times New Roman is not installed.
2014-04-11 19:12:31 +02:00
Akihiro Sagawa
f548ce29ed
gdi32/tests: GetGlyphOutlineA is broken for johab charset on windows.
2014-03-20 10:41:48 +01:00
André Hentschel
87d85357cd
gdi32/tests: GetCharABCWidthsA is broken for johab charset on windows.
2014-03-18 11:40:30 +01:00
Akihiro Sagawa
04e8b00ab0
gdi32: Improve the font enumeration order for complex script locales.
2014-03-12 20:27:43 +01:00
Henri Verbeet
cf5023bfff
gdi32/tests: Fix test_device_caps() on multihead setups.
...
Unfortunately this currently mostly fails on Wine.
2014-03-11 19:39:36 +01:00
Henri Verbeet
d8ec2b5d95
gdi32/tests: Fix test_window_dc_clipping() when the virtual screen origin is not (0, 0).
2014-03-11 19:39:35 +01:00
Akihiro Sagawa
1e7116ca9f
gdi32/tests: Avoid using GetGlyphIndices directly.
2014-02-19 16:39:29 +01:00
Akihiro Sagawa
efe7a9763f
gdi32/tests: Improve the font search method for test_EnumFontFamiliesEx_default_charset.
2014-02-19 16:39:29 +01:00
Akihiro Sagawa
feaf554778
gdi32/tests: Mark Win2k result as broken.
2014-02-19 16:39:28 +01:00
Alexandre Julliard
36301db4d3
gdi32/tests: Update a few more failing DIB cases.
2014-01-14 20:18:15 +01:00
Akihiro Sagawa
f6475ace5f
gdi32: Improve vertical writing metrics.
2014-01-13 17:37:38 +01:00
Akihiro Sagawa
a221654aae
gdi32/tests: Add tests for vertical writing metrics.
2014-01-13 17:37:37 +01:00
Akihiro Sagawa
f6bc356860
gdi32: Fix ABC metrics for rotated font.
2014-01-13 17:37:35 +01:00
Akihiro Sagawa
b8f22f4755
gdi32/tests: Add more GetCharABCWidths tests for rotated font.
2014-01-13 17:37:34 +01:00
Alexandre Julliard
d1463cc44b
gdi32/tests: Run all DIB tests with a hardcoded palette.
2014-01-09 17:39:53 +01:00
Alexandre Julliard
eba26475fb
gdi32/tests: Don't test unreliable palette entries.
2014-01-09 17:39:52 +01:00
Alexandre Julliard
99ef0d6ff0
makefiles: Get rid of the MAKE_TEST_RULES variable.
2014-01-02 12:13:16 +01:00
Francois Gouget
b6ba53e572
gdi32/tests: Fix a flood of failures on Windows XP SP1 and 2003 pre-SP1.
2014-01-01 11:45:00 +01:00
Alexandre Julliard
64b21eee94
makedep: Generate rules for TrueType fonts in maintainer mode.
2013-12-27 14:31:51 +01:00
Frédéric Delanoy
cc97a2385a
gdi32/tests: Constify a character string.
2013-12-23 11:54:31 +01:00
Akihiro Sagawa
a88a121059
gdi32: Use ANSI character code as glyph index for bitmap fonts.
2013-12-11 18:16:59 +01:00
Frédéric Delanoy
5ba7f79bad
Assorted spelling fixes.
2013-12-03 19:41:53 +01:00
Frédéric Delanoy
259cb3c8cd
gdi32/tests: Use BOOL type where appropriate.
2013-11-07 13:13:12 +01:00
Frédéric Delanoy
4da17dbf5d
gdi32/tests: Align return type from SetVirtualResolution prototype with its definition.
2013-11-07 13:12:42 +01:00
Akihiro Sagawa
99ceb599bb
gdi32: Synthesize bold glyphs for outline fonts.
2013-10-21 20:23:55 +02:00
Akihiro Sagawa
cab2cacb8e
gdi32: Adjust fake bold outline font metrics.
2013-10-21 20:23:55 +02:00
Akihiro Sagawa
b6666014c5
gdi32/tests: Add tests for fake bold outline fonts.
2013-10-21 20:23:54 +02:00
Dmitry Timoshkov
87ae85f1b4
gdi32/tests: Enable gdi32 tests compilation with __WINESRC__ defined.
2013-10-17 10:47:00 +02:00
Dmitry Timoshkov
8c22e66217
gdi32/tests: Fix font tests compilation with __WINESRC__ defined.
2013-10-17 10:46:51 +02:00
Dmitry Timoshkov
f81c2e1caf
gdi32/tests: Fix pen tests compilation with __WINESRC__ defined.
2013-10-16 11:41:21 +02:00
Dmitry Timoshkov
0c63f40bdc
gdi32/tests: Fix metafile tests compilation with __WINESRC__ defined.
2013-10-16 11:41:21 +02:00
Dmitry Timoshkov
c58072833e
gdi32/tests: Fix GDI object tests compilation with __WINESRC__ defined.
2013-10-16 11:41:21 +02:00