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