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
Dmitry Timoshkov
85b42085a4
gdi32/tests: Fix DIB tests compilation with __WINESRC__ defined.
2013-10-16 11:41:21 +02:00
Dmitry Timoshkov
120ee4e058
gdi32/tests: Fix DC tests compilation with __WINESRC__ defined.
2013-10-16 11:41:21 +02:00
Dmitry Timoshkov
dd579e4c78
gdi32/tests: Fix brush tests compilation with __WINESRC__ defined.
2013-10-16 11:41:20 +02:00
Dmitry Timoshkov
c99b264300
gdi32/tests: Fix bitmap tests compilation with __WINESRC__ defined.
2013-10-16 11:41:20 +02:00
Dmitry Timoshkov
352c8d0215
tools/winapi: Remove OLDFONTENUMPROC from the list of tested types.
2013-10-16 11:41:20 +02:00
Akihiro Sagawa
0b58ab7ac9
gdi32/tests: Skip linked font like SimSun-ExtB in fixed-pitch font selection.
2013-10-09 10:08:06 +02:00
Akihiro Sagawa
88acc9c899
gdi32: Don't modify output glyph metrics unless the function succeeds.
2013-10-03 20:06:51 +02:00
Frédéric Delanoy
3b2f85e0b6
gdi32/tests: Use BOOL type where appropriate.
2013-10-03 12:54:23 +02:00
Akihiro Sagawa
042b39a82b
gdi32: Fix the B spacing value of empty glyph.
2013-10-02 20:17:03 +02:00
Michael Stefaniuc
0e681027a2
tests: Compile the tests by default with -D__WINESRC__.
2013-10-02 11:04:02 +02:00
Akihiro Sagawa
db86409db6
gdi32: Return fake BBox when requesting empty glyph metrics.
2013-10-01 19:26:17 +02:00
Akihiro Sagawa
24e0e4d150
gdi32/tests: Fix copy&paste issues related to gmBlackBoxY.
2013-10-01 19:25:25 +02:00
Francois Gouget
d3672524ed
Assorted spelling fixes.
2013-10-01 19:09:08 +02:00
Akihiro Sagawa
e2bce62a6d
gdi32: Return GDI_ERROR when requested empty glyph bitmaps.
2013-09-26 19:56:57 +02:00
Akihiro Sagawa
cc7b39681d
gdi32/tests: Add more empty glyph tests.
2013-09-23 20:32:23 +02:00
Aric Stewart
3f4ef58b0f
gdi32: ABC value signs remain the same despite any changes in layout direction or viewport.
2013-09-12 21:31:09 +02:00
Alexandre Julliard
69abf20fcd
gdi32: Add a check for overflow in DIB dimensions.
2013-09-11 18:33:06 +02:00
Aric Stewart
4a300d2423
gdi32: GetCharWidth32A/W return positive widths for all layouts and various DC transforms.
2013-09-11 18:33:04 +02:00
Huw Davies
774f57ca24
gdi32/tests: Add vdmx tests.
2013-08-28 16:14:40 +02:00
Huw Davies
7310bdb498
gdi32/tests: Mark some tests as exact.
2013-08-28 16:14:40 +02:00
Huw Davies
18edb16ace
gdi32/tests: Add an option to match metrics exactly.
2013-08-28 16:14:38 +02:00
Huw Davies
820c14cafc
gdi32/tests: Separate out the metrics checking code.
2013-08-28 16:14:38 +02:00
Huw Davies
2f76829c84
gdi32/tests: Split write_ttf_file() into a resource loader and tmp file writer.
2013-08-28 16:14:37 +02:00
Michael Stefaniuc
4f94913e04
gdi32/tests: Replace FIELD_OFFSET with offsetof for the sake of consistency.
2013-08-19 13:48:43 +02:00
Michael Stefaniuc
14e20162f9
gdi32/tests: Use offsetof instead of sizeof on structs with VLA.
2013-08-19 13:30:43 +02:00
Michael Stefaniuc
da425748bb
gdi32/tests: Use the standard way of allocating a struct with VLA on the stack.
2013-08-19 13:30:11 +02:00
Huw Davies
cf9cb6c118
gdi32: Ignore max_extent if nfit is NULL.
2013-07-22 17:16:04 +02:00
Aric Stewart
37d216cc56
gdi32/tests: Add a test case for vertical fonts enumeration order.
2013-06-20 22:14:35 +02:00
Dmitry Timoshkov
924fad9d25
gdi32: ExtSelectClipRgn(hdc, 0, RGN_DIFF) is supposed to fail.
2013-06-18 10:40:34 +02:00
Dmitry Timoshkov
705a0f0238
gdi32: Scale default GUI fonts to match screen resolution changes.
2013-06-17 19:30:49 +02:00
Dmitry Timoshkov
6834a44dc4
gdi32/tests: Add a test for default font height scaling with screen resolution changes.
2013-06-17 19:30:49 +02:00
Dmitry Timoshkov
288f3be439
gdi32/tests: Skip the bitmap font max width test on not 96 dpi resolutions.
2013-06-17 19:30:48 +02:00
Aric Stewart
ceb81eee20
gdi32: Turn off tategaki if the unicode code point is outside of the rotated ranges.
2013-06-05 20:30:58 +02:00
Aric Stewart
3108f3cf3d
gdi32/tests: Do not try to test OS/2 win metrics on non-windows fonts.
2013-05-29 18:12:54 +02:00
Aric Stewart
546c587036
gdi32: GetGlyphIndices does substitute glyph.
2013-05-20 12:06:25 +02:00
Aric Stewart
adfa3c0c57
gdi32/tests: Update the vertical font to be a proper windows vertical font.
2013-05-20 12:06:21 +02:00
Akihiro Sagawa
8f8363ede6
gdi32: Ignore the lfHeight value when it exceeds the limit.
2013-05-08 14:29:06 +02:00
Sam Edwards
21dbe1c949
gdi32: Clip font glyphs to fit within text metrics.
2013-05-02 12:32:53 +02:00
Akihiro Sagawa
f50e649578
gdi32/tests: Fix tests for fixed-pitch full-width character advance. It's double of tmAveCharWidth.
...
For instance, 19 ppem "VL Gothic" on Windows, the advance value is 10
for half-width characters, but 18 for full-width characters. In this
case, tmAveCharWidth is 9. Thus using tmAveCharWidth is reasonable.
2013-04-04 19:39:00 +02:00
Alexandre Julliard
591a31ba67
gdi32: Increment the face refcount when loading the same font file multiple times.
2013-03-04 11:36:04 +01:00
Byeongsik Jeon
1c846e70f0
gdi32: Fix the GdiGetCodePage() support ANSI_CHARSET font associated charset.
2013-02-27 19:23:44 +01:00
Alexandre Julliard
eaf78eadf0
gdi32/tests: Define the required Windows version before including anything.
2013-02-18 14:51:04 +01:00
Dmitry Timoshkov
88b9ae1ec2
gdi32: ExcludeClipRect should update actual clipping region for a EMF DC.
2013-02-14 11:14:47 +01:00
Dmitry Timoshkov
47b89a8fac
gdi32: IntersectClipRect should update actual clipping region for a EMF DC.
2013-02-14 11:14:45 +01:00
Dmitry Timoshkov
756736ae42
gdi32: OffsetClipRgn should update actual clipping region for a EMF DC.
2013-02-14 11:14:43 +01:00
Dmitry Timoshkov
498b18f25f
gdi32: Add more EMF clipping tests.
2013-02-14 11:14:41 +01:00
Dmitry Timoshkov
9a2688e690
gdi32: Make sure that actual clipping region is updated for a EMF DC.
2013-02-13 16:13:54 +01:00
Akihiro Sagawa
9aa8300f99
gdi32: Ensure a fixed-pitch full-width character has double advance of a half-width character.
2013-02-07 15:53:48 +01:00
Dmitry Timoshkov
753c9362c1
gdi32: Add a bunch of tests for CreateDC/ResetDC with a custom DEVMODE.
2013-02-05 10:56:47 +01:00
Alexandre Julliard
8681774a4f
gdi32: Support for hidden flag of CreateScalableFontResource.
2013-01-15 14:30:35 +01:00
Alexandre Julliard
46532e8d8a
gdi32: Add support for .fot files in RemoveFontResource.
2013-01-15 14:30:35 +01:00
Alexandre Julliard
4fc8bf18f3
gdi32: Implement RemoveFontResource.
2013-01-15 14:30:22 +01:00
Alexandre Julliard
1c2f23cf2f
gdi32: Add helper functions for GetTextExtentExPoint and fix handling of text justification.
2012-12-18 19:21:44 +01:00
Alexandre Julliard
5215895a11
gdi32: Support wrongly ordered rectangles in RectVisible.
2012-12-14 17:37:41 +01:00
Alexandre Julliard
351e58318a
gdi32: Fix text justification to properly handle logical coordinates.
2012-12-11 20:45:38 +01:00
Piotr Caban
4f07c49547
gdi32: Added GetGlyphOutlineW tests on glyph that contains empty contour.
2012-11-13 16:57:02 +01:00
André Hentschel
0f7bc2d8cc
gdi32: Avoid memory leaks (coverity).
2012-10-29 10:34:54 +01:00
Alexandre Julliard
4396a79ede
gdi32: Add a DC hook flag to reset the DC state.
2012-10-24 18:24:03 +02:00
Qian Hong
648a8ce40e
gdi32/tests: Fixed typo in localized name tests.
2012-10-19 11:18:20 +02:00
Qian Hong
16f2a1948e
gdi32/tests: Declared system_lang_id as a global variable.
2012-10-19 11:18:11 +02:00
Qian Hong
f9546329b6
gdi32/tests: Marked EnumFontFamiliesEx_default_charset test on Arabic locale as broken.
2012-10-19 11:17:59 +02:00
Qian Hong
284b382aba
gdi32/tests: Skip some broken bitmap font metrics tests on Arabic locale.
2012-10-19 11:17:47 +02:00
Qian Hong
b31dababde
gdi32/tests: Fixed broken value in bitmap font metrics on Arabic locale.
2012-10-19 11:17:38 +02:00
Qian Hong
ec9166b1ac
gdi32/tests: Fixed broken bitmap font metrics test on CJK locales.
2012-10-19 11:17:25 +02:00
Qian Hong
416664babd
gdi32/tests: Fixed broken value in bitmap font metrics on Japanese locale.
2012-10-19 11:17:15 +02:00
Alexandre Julliard
446bff7897
gdi32/tests: Avoid deleting invalid objects.
2012-10-18 22:28:45 +02:00
Daniel Lehman
ea6e0a833b
gdi32: Use HandleToULong inline function to convert handle to index instead of casting.
2012-10-12 11:27:58 +02:00
Qian Hong
df8be7b81a
gdi32: Prepend at in get_outline_text_metrics for vertical fonts.
2012-09-12 16:04:53 +02:00
Qian Hong
2f76f35e46
gdi32/tests: Added more tests for vertical fonts.
2012-09-12 16:04:47 +02:00