Commit Graph

61 Commits

Author SHA1 Message Date
Nikolay Sivov b18ecadef7 gdiplus/tests: Fix a font leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-01 01:04:37 +09:00
Alexandre Julliard 9fb9cb2bb7 gdiplus/tests: Check the correct fallback font when Arial is missing.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-26 00:12:51 +09:00
Gerald Pfeifer 42afdebc43 gdiplus: Remove three unused constants. 2014-08-25 20:40:16 +02:00
Nikolay Sivov d68dde3751 gdiplus/tests: Fix some leaks when running with Wine (Valgrind). 2014-04-25 14:03:31 +02:00
Dmitry Timoshkov 1c8d4aaa4b gdiplus/tests: Fix tests compilation with __WINESRC__ defined. 2013-10-16 11:41:20 +02:00
Dmitry Timoshkov 84ef3d484c gdiplus: get_font_hfont() should ask gdi32 to match font height against the character height instead of cell height. 2013-06-19 19:18:39 +02:00
Dmitry Timoshkov 84ea75f1c6 gdiplus: GdipGetLogFont should use device scale and transform when appropriate. 2012-10-26 16:48:53 +02:00
Dmitry Timoshkov 5e65f95542 gdiplus: Test also lf.lfEscapement and lf.lfOrientation returned by GdipGetLogFont. 2012-10-23 12:11:05 +02:00
Dmitry Timoshkov 22336a121b gdiplus: Add a test for GdipMeasureDriverString called with not NULL matrix. 2012-10-12 11:28:12 +02:00
Dmitry Timoshkov 608a936ada gdiplus: Clarify where extra Y margin added by GdipMeasureString comes from. 2012-10-11 20:40:08 +02:00
Dmitry Timoshkov 8fd422499b gdiplus: Add more font transformation tests. 2012-10-09 16:12:17 +02:00
Dmitry Timoshkov e664c2bd3a gdiplus: Add a font transformation test. 2012-10-08 17:35:54 +02:00
Dmitry Timoshkov 691be74f17 gdiplus: Take into account font substitution in GdipCreateFontFromLogfont. 2012-09-27 20:49:37 +02:00
Dmitry Timoshkov 65a966de76 gdiplus: Take into account font substitution in GdipCreateFontFamilyFromName. 2012-09-27 20:49:29 +02:00
Dmitry Timoshkov 25ee85fe84 gdiplus: Move font substitution test into a separate function. 2012-09-27 20:49:23 +02:00
Dmitry Timoshkov eeb52474c1 gdiplus: Add a test for creating a nonexistent font with GdipCreateFontFromLogfont. 2012-06-19 13:44:07 +02:00
Dmitry Timoshkov a90fcbff00 gdiplus: Add a bunch of tests for internal font metrics. 2012-05-11 15:43:55 +02:00
Dmitry Timoshkov 4b9e1db09f gdiplus: Use Tahoma instead of Arial for gdiplus font tests. 2012-04-23 11:41:25 +02:00
Francois Gouget bcd793bf3b gdiplus/tests: Don't check for hardcoded family font names.
Only check that each font family is different and that we can create fonts from them.
2011-09-13 11:27:38 +02:00
Austin English 0d8f2b364c gdiplus/tests: Make sure to use return values (LLVM/Clang). 2011-02-07 10:11:30 -06:00
Austin Lund ae0a484945 gdiplus/tests: Fix GetLogFont charset tests for Asian platforms. 2010-10-25 13:52:51 +02:00
Alexandre Julliard 415bb3c5a0 gdiplus/tests: Don't fail if we do find Microsoft Sans Serif on Wine. 2010-07-01 12:06:35 +02:00
Vincent Povirk 531219f84d gdiplus: Do not create FontFamilies for bitmap fonts. 2010-04-16 12:01:42 +02:00
Justin Chevrier b7679da9a7 gdiplus: Handle UnitWorld in GdipGetFontHeightGivenDPI. 2010-03-26 10:31:25 +01:00
Justin Chevrier cf5c16c49e gdiplus/tests: Add GdipGetFontHeightGivenDPI tests. 2010-03-26 10:31:18 +01:00
Huw Davies 70742d5e5a gdiplus: Fix a memory leak in the tests.
Found by Valgrind.
2009-12-15 16:09:12 +01:00
Vincent Povirk 377b73d022 gdiplus: Don't accept MS Sans Serif as the generic sans serif font. 2009-09-08 13:45:03 +02:00
Alexandre Julliard 186528e298 gdiplus/tests: Use the global wine_dbgstr_w instead of a local variant. 2009-08-19 13:36:22 +02:00
Vincent Povirk 73eea0d05f gdiplus: Create a static InstalledFontCollection object, currently empty. 2009-04-28 13:10:02 +02:00
Vincent Povirk 31f2b8e1ea gdiplus: Add test for GdipNewInstalledFontCollection. 2009-04-28 13:10:01 +02:00
Paul Vriens 163b046ec5 gdiplus/tests: Fix test failures on Win98 by using A-functions. 2009-04-24 11:57:03 +02:00
Nikolay Sivov e2615cc059 gdiplus: Fix Font test failure on charset mismatch. 2008-12-16 12:52:38 +01:00
Hans Leidekker c04b7c5b0f gdiplus: Implement GdipGetLineSpacing. 2008-11-24 14:25:10 +01:00
Adam Petaccia 74c8117a4b gdiplus: Don't create a font if there is no facename. 2008-08-28 11:51:16 +02:00
Adam Petaccia ce40fde689 gdiplus: Implement GdipGetFontStyle. 2008-08-28 11:50:32 +02:00
Adam Petaccia 69b6e0bde2 gdiplus: Implement GdipGetFamily. 2008-08-28 11:50:24 +02:00
Adam Petaccia 837dae3f73 gdiplus: Test for GdipGetFontStyle. 2008-08-28 11:50:14 +02:00
Adam Petaccia 1bf919717d gdiplus: Test for GdipGetFamily. 2008-08-28 11:50:06 +02:00
Adam Petaccia e4cc0bc422 gdiplus: Skip the generic font tests if we don't have the required fonts. 2008-08-05 14:09:37 +02:00
Nikolay Sivov 923918da9b gdiplus: Add a test that shows GdipCreateFontFromLogfontW problem with empty FaceName. 2008-07-29 12:18:48 +02:00
Huw Davies 94a20f8b7e gdiplus: Remove incorrect test. 2008-07-21 15:05:05 +02:00
Huw Davies 5aa90f375c gdiplus: Skip some tests if certain fonts are not installed. 2008-07-18 11:05:41 +02:00
Francois Gouget dbaec0a101 Assorted spelling fixes. 2008-07-10 13:40:15 +02:00
Francois Gouget 4b1f6310d9 gdiplus/tests: Spelling fix. 2008-07-10 12:18:27 +02:00
Huw Davies 5d929b1374 gdiplus: Add a test to show that bitmap fonts aren't used for fontfamilies. 2008-07-08 20:37:36 +02:00
Adam Petaccia d17d566412 gdiplus: Implement GdipGetEmHeight. 2008-07-07 14:47:45 +02:00
Adam Petaccia e96b07d73f gdiplus: Implement GdipGetCellDescent. 2008-07-07 14:47:39 +02:00
Adam Petaccia 6fabc90219 gdiplus: Implement GdipGetCellAscent. 2008-07-07 14:47:33 +02:00
Adam Petaccia b5505f6326 gdiplus: Tests for FontFamily properties. 2008-07-07 14:47:02 +02:00
Adam Petaccia 638f63d13f gdiplus: Implement GdipCloneFontFamily. 2008-07-07 14:44:46 +02:00