Commit Graph

2014 Commits

Author SHA1 Message Date
Matteo Bruni a71f25d239 gdi32/tests: Add a test for GetGlyphOutline with an insufficient buffer. 2014-10-09 18:24:53 +02:00
Matteo Bruni 112a7f7f97 gdi32: Don't overflow the buffer in GetGlyphOutline. 2014-10-09 18:24:47 +02:00
Gerald Pfeifer ff05f2dec6 gdi32: Remove unused constant bit_fields_565. 2014-08-11 23:55:19 +02:00
Thomas Faber 07ca1afbd3 gdi32: Do not omit mandatory argument to WriteFile. 2014-07-14 17:22:39 +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 18d410dec1 tools: Don't include wine/unicode.h if not necessary. 2014-07-08 17:00:22 +02:00
Alexander Almaleh 8762842cd3 gdi32: Fix XFORM.eM22 calculation in PlgBlt. 2014-06-26 21:19:25 +02:00
Frédéric Delanoy 2ab8729020 Assorted spelling/grammar fixes. 2014-06-20 12:19:31 +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
Alex Henrie d2dce849b5 gdi32: Simplify family_matches and face_matches. 2014-05-07 10:22:08 +02:00
Henri Verbeet 9016d1eda0 gdi32: Use FIELD_OFFSET to calculate the structure size in GetRegionData(). 2014-05-06 13:51:40 +02:00
Akihiro Sagawa b6ef7274c5 gdi32/tests: Make bmi structure const. 2014-05-02 16:29:03 +02:00
Frédéric Delanoy 2e5cb7aac8 Assorted spelling/grammar fixes. 2014-04-30 18:34:20 +02:00
Alexandre Julliard 47ed5655c5 gdi32/tests: Don't fetch the bits into the DIB itself. 2014-04-28 14:37:02 +02:00
Nikolay Sivov 8a3f3c0817 gdi32/dibdrv: Fix a clipped_rects leak (Valgrind). 2014-04-25 11:05:19 +02:00
Alexandre Julliard 955676bc05 gdi32: Pass the full DC handle to the hook in DeleteDC. 2014-04-14 09:38:01 +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
Thomas Faber ff3d728d74 gdi32: Avoid variable-length arrays. 2014-03-25 13:55:45 +01: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
Frédéric Delanoy 0f2bed51bd Assorted spelling fixes. 2014-02-10 15:47:29 +01:00
André Hentschel 540d1459f9 gdi32: Use boolean return values in boolean functions. 2014-01-30 14:51:36 +01:00
Alexandre Julliard cf0e96c6d0 configure: Rename substituted variables to a standard _CFLAGS and _LIBS format. 2014-01-30 14:51:33 +01:00
Alexandre Julliard db2be9dc0b configure: Add a pkg-config check for fontconfig. 2014-01-30 14:51:30 +01:00
Alexandre Julliard 8aa64e3580 configure: Automatically expand _CFLAGS and _LIBS variables in all makefiles. 2014-01-30 12:42:56 +01:00
Akihiro Sagawa e06d2dbc67 gdi32: Fix regression due to sub-pixel shift calculations fixes. 2014-01-27 14:13: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
Akihiro Sagawa e9188970a7 gdi32: Fix sub-pixel shift calculations for vertical writing. 2014-01-13 17:37:33 +01:00
Akihiro Sagawa d33602564b gdi32: Use the vertAdvance value for cellIncX if vertical metrics are available. 2014-01-13 17:37:32 +01:00
Akihiro Sagawa ebccff8225 gdi32: Relax vertical face requirements. 2014-01-09 18:07:15 +01:00
Akihiro Sagawa 142a0f7af0 gdi32: Fix DBCS mask value in GetFontLanguageInfo. 2014-01-09 18:06:11 +01:00
Akihiro Sagawa ab32c657ed gdi32: Use defined names in GetFontLanguageInfo. 2014-01-09 18:06:05 +01:00
Frédéric Delanoy 91f2435469 Assorted spelling fixes. 2014-01-09 17:39:59 +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
Frédéric Delanoy e7594272fe gdi32: Use BOOL type where appropriate. 2014-01-06 17:14:32 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
André Hentschel 4573aecf5b gdi32: Fix a comment. 2014-01-02 11:52:11 +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 200eb1d30b gdi32: Trigger the display driver load for CreateCompatibleDC(0). 2013-12-30 19:01:53 +01:00
Alexandre Julliard 7c3bb6070a gdi32: Don't bother returning the driver module from DRIVER_load_driver. 2013-12-30 19:01:52 +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
Alexandre Julliard 4f3d71cef3 makefiles: Get rid of the no longer used PO_SRCS variables. 2013-12-15 10:23:04 +01:00
Akihiro Sagawa a88a121059 gdi32: Use ANSI character code as glyph index for bitmap fonts. 2013-12-11 18:16:59 +01:00
Akihiro Sagawa 882398b0a9 gdi32: Return ANSI character code as glyph index for bitmap fonts. 2013-12-11 16:30:22 +01:00
Aric Stewart ff0717d004 gdi32: Use vertical orientation table to determine rotation. 2013-12-04 21:18:55 +01:00
Aric Stewart 742cde4fab tools: Build vertical orientation table.
Based on data related to UTR #50 Unicode Vertical Text Layout.
2013-12-04 16:34:04 +01:00
Frédéric Delanoy 5ba7f79bad Assorted spelling fixes. 2013-12-03 19:41:53 +01:00
Alexandre Julliard 67f9b6e3c5 configure: Update FreeType configure checks for the changed headers location. 2013-11-30 11:55:26 +01:00
Alexandre Julliard 456c8f435a makefiles: Remove the no longer needed EXTRASUBDIRS variables. 2013-11-09 22:10:52 +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 adee328a50 gdi32: Use BOOL type where appropriate. 2013-11-07 13:13:05 +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
Alexandre Julliard 5756ee09f3 makefiles: Add makedep pragmas for rc files that contain translations. 2013-11-05 20:38:19 +01:00
Alexandre Julliard 3bd1e59cfb gdi32: Remove no longer used default driver name. 2013-10-30 09:47:22 +01:00
Alexandre Julliard e650da3570 gdi32: Get rid of the driver module in the DC. 2013-10-29 12:51:26 +01:00
Alexandre Julliard 74efeab238 gdi32: Trigger creation of the desktop window when the display driver is needed. 2013-10-29 12:51:26 +01:00
Alexandre Julliard 9675aa173a gdi32: Allow user32 to specify the display driver to use. 2013-10-29 12:51:26 +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
Alexandre Julliard 67d452d8ac gdi32: Always initialize the em_scale variable. 2013-10-21 17:08:54 +02:00
Alexandre Julliard 3e88582a78 gdi32: Determine the virtual resolution dynamically if it hasn't been set. 2013-10-17 12:12:48 +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
Frédéric Delanoy 28be1f7853 gdi32: Use BOOL type where appropriate. 2013-10-14 10:44:31 +02:00
Frédéric Delanoy 98e4c98eff gdi32: Use BOOL type where appropriate. 2013-10-10 10:44:45 +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
Alexandre Julliard 6fb92b79fa gdi32: Remove freetype compatibility cruft that doesn't compile. 2013-10-07 13:32: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