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
Qian Hong
97904fd1ff
gdi32: Prepend at when create vertical font face.
2012-09-12 16:04:34 +02:00
Qian Hong
8f91b51674
gdi32/tests: Added tests for vertical fonts.
2012-09-12 16:04:25 +02:00
Qian Hong
6c1e264e8e
gdi32: Fixed localized font full name (UNIQUE ID).
2012-09-12 16:04:03 +02:00
Qian Hong
de5972081e
gdi32: Fixed get_name_table_entry for symbol fonts.
2012-09-11 11:15:33 +02:00
Qian Hong
84954c0dbe
gdi32/tests: Added tests for symbol fonts.
2012-09-11 11:15:30 +02:00
Qian Hong
80dbd4e9cf
gdi32: Fixed localized font style name.
2012-09-11 11:15:27 +02:00
Qian Hong
4461612e33
gdi32/tests: Better trace in test_fullname2_helper.
2012-09-11 11:14:37 +02:00
Qian Hong
e7dcb0e260
gdi32/tests: Fixed a typo in style name test.
2012-09-11 11:14:32 +02:00
Marcus Meissner
f5c5a30724
gdi32: Fixed passed buffer size.
2012-09-10 11:39:43 +02:00
Qian Hong
245308597f
gdi32: Fixed family and face name on non English locale.
2012-09-07 13:33:47 +02:00
Qian Hong
733aca30f4
gdi32: Read otmpFullName from TT_NAME_ID_UNIQUE_ID.
2012-09-07 13:32:56 +02:00
Qian Hong
abc8f2c6c2
gdi32: Read otmpFaceName from TT_NAME_ID_FULL_NAME.
2012-09-07 13:32:35 +02:00
Qian Hong
180185d890
gdi32/tests: Added font name tests on English locale.
2012-09-07 13:32:06 +02:00
Alexandre Julliard
1c2f9255f4
gdi32: Fix StretchDIBits return value when destination is clipped.
2012-06-22 14:39:28 +02:00
Dan Kegel
b85270e3a5
gdi32: Add test for SelectClipRgn in metafiles, make it pass.
2012-06-20 10:50:15 +02:00
Akihiro Sagawa
2bb416baa8
gdi32: Fix East-Asian font parameters.
2012-06-18 11:59:40 +02:00
Akihiro Sagawa
afdc84cf03
gdi32/tests: Make GetStockObject tests pass on East-Asian machines.
2012-06-18 11:59:39 +02:00
Dmitry Timoshkov
e65b19cad3
gdi32: Do not normalize height of the default GUI font.
2012-06-12 10:15:26 +02:00
Dmitry Timoshkov
cca41207c1
gdi32: Fix parameters of some GDI stock fonts.
2012-06-04 12:17:53 +02:00
Dmitry Timoshkov
4fa2945544
gdi32/tests: GetGlyphOutline should fail for a bitmap font.
2012-06-01 13:25:52 +02:00
Alexandre Julliard
592bfd52c9
gdi32: Always use the DIB engine for DDB rendering.
2012-05-29 18:20:10 +02:00
Alexandre Julliard
77ee0b56bb
gdi32/tests: Add some more tests for monochrome bitmap blits.
2012-05-29 18:17:47 +02:00
Alexandre Julliard
8761bb29ea
gdi32/tests: Add tests for color mappings in monochrome bitmaps.
2012-05-25 11:47:55 +02:00
Dmitry Timoshkov
ab7fe6086e
gdi32: Add a test for ntmCellHeight calculation.
2012-05-08 19:51:12 +02:00
Alexandre Julliard
3009e03df7
gdi32: Add a SetBoundsRect driver entry point.
2012-04-27 12:41:43 +02:00
Dmitry Timoshkov
5476c0e2b9
gdi32: ntmCellHeight and ntmAvgWidth should be in font units.
2012-04-24 18:44:07 +02:00
Dmitry Timoshkov
57fbf1434c
gdi32: Enumerated font size should not be too large.
...
This reverts commit f4625d1ae1
.
2012-04-24 18:43:45 +02:00
Alexandre Julliard
caf15dd797
gdi32/tests: Take into account multi-monitor setups in the clip region tests.
2012-04-20 12:12:21 +02:00
Daniel Lehman
2c5d7d716a
gdi32: Don't add_join if points are coincident in wide_line_segments.
2012-04-18 17:15:19 +02:00
Alexandre Julliard
4a87722144
winex11: Add bounds rectangle tracking to all graphics entry points.
2012-04-18 13:50:56 +02:00
Alexandre Julliard
8b7760292d
gdi32/tests: Fix a test that can fail on multi-monitor setups.
2012-04-17 16:40:57 +02:00
Alexandre Julliard
34457aa4c3
gdi32: Add bounds tracking to all the DIB engine entry points.
2012-04-16 17:49:22 +02:00
Alexandre Julliard
582a2f511f
gdi32: Add a GetBoundsRect driver entry point.
2012-04-16 13:53:23 +02:00
Michael Stefaniuc
7f293b00e8
gdi32/tests: Fix typo (comparison with itself).
2012-04-16 12:05:54 +02:00
Alexandre Julliard
81fcb10977
gdi32/tests: Add test cases for wide pen bounding rectangles.
2012-04-13 16:09:39 +02:00
Dmitry Timoshkov
31f6f48bfd
gdi32: Add a test for bitmap fonts selected for not existing font sizes.
2012-04-10 19:54:34 +02:00
Alexandre Julliard
88bcd13d7f
gdi32: Store the reference DC in the enhanced metafile and use it to retrieve device caps.
2012-04-10 16:21:24 +02:00
Alexandre Julliard
b762fcc9a7
gdi32: Clip the returned DC bounds to the device rectangle.
2012-04-10 16:21:11 +02:00
Alexandre Julliard
80f68d4442
gdi32/tests: Add tests for DC bounds handling across various DC manipulations.
2012-04-10 16:17:47 +02:00
Alexandre Julliard
a186a8b170
gdi32/tests: Add tests for DC bounds on various device types.
2012-04-10 13:20:01 +02:00
Alexandre Julliard
399ab6f1f2
gdi32/tests: Add tests for DC bounds to the DIB graphics tests.
2012-04-09 22:59:11 +02:00
Alexandre Julliard
514e952827
gdi32/tests: Automatically reset the bits after comparing the hash.
2012-04-09 21:28:50 +02:00
Alexandre Julliard
1ca6ed7748
gdi32: Fix GetClipBox return value for non-memory DCs.
2012-04-09 17:15:59 +02:00
Dmitry Timoshkov
b2af51956d
gdi32: Remove a no longer needed shortcut in CreateScalableFontResource test.
2012-04-02 12:41:40 +02:00
Huw Davies
105caa28bf
gdi32: Implement CreateScalableFontResource.
...
Based on patches by Jeremy White and Dmitry Timoshkov.
2012-03-29 18:16:06 +02:00
Huw Davies
41fb856961
gdi32: Correctly propagate the enumproc's return value.
2012-03-14 17:33:54 +01:00
Akihiro Sagawa
39f748f083
gdi32/tests: Reorder tests to avoid side-effects.
2012-02-09 11:54:39 -06:00
Akihiro Sagawa
286854fb06
gdi32: Consider whether the logical font face is vertical when selecting.
2012-02-08 13:54:40 -06:00
Akihiro Sagawa
c683ad72b2
gdi32/tests: Add tests for East Asian font selection.
2012-02-08 13:54:33 -06:00
Alistair Leslie-Hughes
c5235eeab0
gdi32: Add EnhMetafile PolyBezier, PolyBezierTo support.
2012-01-19 21:08:55 +01:00
Huw Davies
3dc4f259e9
gdi32: The clip region should stop the flooding.
2012-01-19 21:08:50 +01:00
Huw Davies
b2c3ca090f
gdi32/tests: Add tests for ExtFloodFill.
2012-01-18 16:27:45 +01:00
Alexandre Julliard
7e9d5a1771
gdi32: Negative destination sizes are allowed after coordinate mapping in GdiAlphaBlend.
2012-01-18 16:03:36 +01:00
Alexandre Julliard
f8fa169da0
gdi32: Store foreground/background color even when passed CLR_INVALID.
2012-01-12 15:53:07 +01:00
Kusanagi Kouichi
fecb1d8b6f
gdi32: GetGlyphIndices doesn't substitute glyph.
2012-01-10 11:22:41 +01:00
Alexandre Julliard
62eaaa796b
gdi32/tests: Remove device capabilities test that fails on XP.
2012-01-09 16:27:41 +01:00
Alexandre Julliard
56331e2a9a
gdi32: Don't allow Get/SetDeviceGammaRamp on DIBs or memory DCs.
2012-01-06 19:24:12 +01:00
Alexandre Julliard
4b524f91e2
gdi32/tests: Add some tests for brushed and dashed wide pens.
2012-01-04 18:17:05 +01:00
Alexandre Julliard
a1fdd5856f
gdi32: Store the pattern brush information for geometric pens.
2011-12-30 11:04:23 +01:00
Alexandre Julliard
ee89ce2982
gdi32: Add sanity checks for brush hatch styles.
2011-12-30 11:04:16 +01:00
Alexandre Julliard
5a67227078
gdi32/tests: Get rid of Win9x compatibility in the pen tests.
2011-12-29 19:20:50 +01:00
Alexandre Julliard
63a9217539
gdi32: Add checks for invalid color usage values.
2011-12-29 16:18:39 +01:00
Alexandre Julliard
bbd7f4e0e3
gdi32: Fix handling of invalid pen styles.
2011-12-28 16:33:35 +01:00
Akihiro Sagawa
70c2222180
gdi32: Avoid making a DBCS character in range.
2011-12-27 16:55:09 +01:00
Alexandre Julliard
4333b7d370
gdi32/tests: Add tests for PALETTEINDEX colors.
2011-12-23 13:43:49 +01:00
Huw Davies
8caa0a05bd
gdi32/tests: Add tests for geometric solid pens.
2011-12-22 17:19:19 +01:00
Alexandre Julliard
7f3a7ae585
gdi32: Fix handling of COLORREFs with illegal values for the high byte.
2011-12-22 17:19:13 +01:00
Kusanagi Kouichi
53385314d0
gdi32: Substitute glyph for vertical font only.
2011-12-20 20:06:33 +01:00
Kusanagi Kouichi
69a26387b3
gdi32: Add vertical fonts to font list.
2011-12-20 20:06:32 +01:00
Alexandre Julliard
19fe3f0c77
gdi32/tests: Add tests for device capabilities on memory DCs.
2011-12-16 12:09:02 +01:00
Alexandre Julliard
6752d3478f
gdi32/tests: Add some tests for behavior of 32-bit DDBs.
2011-12-14 17:54:45 +01:00
Kusanagi Kouichi
b5446ddb45
gdi32: Don't remove leading '@' from face name.
2011-12-13 18:59:12 +01:00
Kusanagi Kouichi
bf8a100639
gdi32: Don't use preferred family name.
2011-12-13 18:59:11 +01:00
Kusanagi Kouichi
ad58ca235c
gdi32/tests: Add tests for vertical font.
2011-12-13 18:59:10 +01:00
Alexandre Julliard
38766d4d19
gdi32/tests: Fix some test failures on old Windows versions.
2011-12-13 14:00:20 +01:00
Alexandre Julliard
49ae736022
gdi32: Implement GetNearestColor in the DIB driver.
2011-12-12 20:20:06 +01:00
Alexandre Julliard
f85a28faf6
gdi32/tests: Add tests for 1-bpp DDB pattern brushes.
2011-12-12 15:50:38 +01:00
Alexandre Julliard
c5895ead6a
gdi32: Use the default DIB color table to create system and halftone palettes.
2011-12-12 11:30:50 +01:00
Alexandre Julliard
27eb63b082
gdi32: GetCharABCWidthsFloatW must succeed with non-TrueType fonts.
2011-12-12 11:14:25 +01:00
Alexandre Julliard
2e42ab1527
gdi32/tests: Fix some test failures on Windows.
2011-12-10 18:08:35 +01:00
Huw Davies
ac7e9f6dcc
gdi32/tests: Add some tests for wide pens.
2011-12-09 21:15:31 +01:00
Alexandre Julliard
98670510f4
gdi32/tests: Add tests for DIB_PAL_COLORS and DIB palettes with missing entries.
2011-12-09 21:15:23 +01:00
Alexandre Julliard
8e8cdc78e6
gdi32: Add more parameter checks in GdiGradientFill.
2011-12-05 16:36:08 +01:00
Alexandre Julliard
59f347b75c
gdi32/tests: Add more gradient tests.
2011-12-05 16:36:07 +01:00
Alexandre Julliard
c5bddce3aa
gdi32: Add some parameter checks in GdiGradientFill.
2011-12-02 14:00:18 +01:00
Alexandre Julliard
f2ec760a80
gdi32/tests: Add tests for rectangular gradients in DIBs.
2011-11-29 15:12:31 +01:00
Huw Davies
d43d17e248
gdi32/tests: Add tests for text rendering.
2011-11-14 15:25:28 +01:00
Dmitry Timoshkov
6acf226fa1
gdi32: Remove a duplicated line of code.
2011-11-09 11:39:02 +01:00
Alexandre Julliard
bb162ba4b4
gdi32: Reselect the pattern brush on every use if it's mapped with DIB_PAL_COLORS.
2011-11-08 13:18:01 +01:00
Alexandre Julliard
b47debddf5
gdi32: Return the original brush data in GetObject.
2011-11-07 21:06:21 +01:00
Alexandre Julliard
6098a0457b
gdi32/tests: Avoid some array bounds warnings.
2011-11-07 11:43:46 +01:00
Alexandre Julliard
278899d1e8
gdi32: Return failure when GetPixel is not supported.
2011-11-04 11:00:57 +01:00
Alexandre Julliard
7f7dd82c7b
gdi32: Sanitize the DIB information for DIB pattern brushes.
2011-11-02 12:22:44 +01:00
Alexandre Julliard
8afcff3c79
gdi32/tests: Add some tests for palette-relative pattern brushes.
2011-11-02 11:47:43 +01:00
Alexandre Julliard
4ec87b3e8d
gdi32: Add some brush tests.
2011-11-01 14:12:16 +01:00
Alexandre Julliard
afd962121b
gdi32/tests: Add some tests for the behavior of a printer DC.
2011-10-31 20:23:20 +01:00
Alexandre Julliard
f44c1e6533
gdi32/tests: Add tests for path open/closed states.
2011-10-26 12:41:56 +02:00
Thomas Faber
0a44501a4e
gdi32/tests: Test GetTextExtentExPoint behavior with zero and negative max extent values.
2011-10-24 19:37:07 +02:00
Alexandre Julliard
86b4fe7b0e
gdi32/tests: Add intermediate pointers to color tables to simplify the code and avoid array bounds warnings.
2011-10-20 12:34:58 +02:00
Huw Davies
595dbe2eba
gdi32: Fix character code metrics for bitmap fonts.
2011-10-19 17:38:33 +02:00
Huw Davies
6aece157a0
gdi32/tests: Remove the no longer used todo functionality of the test_color macro.
2011-10-19 16:59:32 +02:00
Huw Davies
2e72434340
gdi32/tests: Add tests for GetPixel.
2011-10-19 16:59:29 +02:00
Huw Davies
f6c7e96a61
gdi32: Implement GetPixel.
2011-10-19 16:59:25 +02:00
Huw Davies
07e652b330
gdi32/tests: Add tests for SetPixel.
2011-10-19 16:59:04 +02:00
Huw Davies
2ac6a1bbf6
gdi32: Implement SetPixel.
2011-10-19 16:58:57 +02:00
Huw Davies
b700660075
gdi32/tests: Add tests for non-rgb colorrefs.
2011-10-19 16:58:46 +02:00
Marcus Meissner
06935e9323
gdi32: Remove a incorrect sizeof from pointer arithmetic (Coverity).
2011-10-18 15:17:07 +02:00
Huw Davies
ffe5e20b78
gdi32/tests: Remove unused legacy values.
2011-10-18 15:13:04 +02:00
Huw Davies
4dbc0690ef
gdi32/tests: Add some StretchDIBits tests.
2011-10-17 17:45:09 +02:00