Paul Chitescu
f479aa5ce5
gdi32: If driver is missing claim vectorial fonts are supported so GDI fonts (freetype) are used.
2010-06-21 12:17:26 +02:00
Alexandre Julliard
69d5a56103
gdi32: Fix the sign of the vertical text position in ExtTextOutW.
2010-06-17 17:25:04 +02:00
Andrew Nguyen
b4d58fe58f
winex11.drv: Report a non-zero COLORRES capability value.
2010-06-15 19:58:30 +02:00
Nikolay Sivov
cd43ff167b
gdi32: Add CreateFontIndirectEx implementation.
2010-06-14 14:14:15 +02:00
John Voltz
c9f729c2f7
gdi32: Fix typo in enhanced metafile Arc function.
2010-06-02 10:54:39 +02:00
Andrew Nguyen
9d5a848df1
gdi32: Fix parameter handling of GetBoundsRect.
2010-06-01 17:50:03 +02:00
Andrew Nguyen
682f0dcf1a
gdi32/tests: Uncomment and enhance a Win9x-specific Restore/SaveDC test.
2010-06-01 17:50:01 +02:00
Aric Stewart
a4d25f1260
gdi32: Do not ignore USP_E_SCRIPT_NOT_IN_FONT when shaping glyphs.
2010-05-31 12:46:08 +02:00
Aric Stewart
41fb95b43d
gdi32: Set lpOrder in BIDI_Reorder even for strings not requireing reordering.
2010-05-31 12:14:28 +02:00
Alexandre Julliard
aa9c781703
Revert "gdi32: Pre-multiply RGB values by alpha for subpixel font rendering."
...
This reverts commit aff0eac21b
. The RGB
values are already alpha values, they don't need to be pre-multiplied.
2010-05-28 00:09:21 +02:00
Alexandre Julliard
7f19bda6ec
gdi32: Only 16 and 32 bpp DIB sections can have bitfields.
2010-05-27 14:44:37 +02:00
Alexandre Julliard
f4e51a9c45
gdi32: Return the actual DIB section bitfields instead of default values in GetDIBits.
2010-05-27 13:37:37 +02:00
Austin English
00ddfc804a
gdi32/tests: Use ret in test_CreateFontIndirect().
2010-05-24 12:53:00 +02:00
Aric Stewart
ec62c33d79
gdi32: Handle a BiDi string being shaped into more or less glyphs than characters in the string.
2010-05-24 11:18:28 +02:00
Dmitry Timoshkov
7d3cb53cf1
gdi32: Do not use VDMX for mapping of negative font heights, based on a test case.
2010-05-18 18:44:24 +02:00
Alexandre Julliard
aff0eac21b
gdi32: Pre-multiply RGB values by alpha for subpixel font rendering.
2010-05-17 14:25:14 +02:00
Alexandre Julliard
162d95a3ce
Fix the bitmap info size computation when masks are present.
2010-05-14 17:17:46 +02:00
Aric Stewart
2a8958ec18
gdi32: Use usp10 to optionally generate glyphs for bidi strings.
2010-05-13 19:44:35 +02:00
Gerald Pfeifer
fcf831acef
gdi32/tests: Remove two variables which are not really used from test_clipping.
2010-05-10 10:14:32 +02:00
Gerald Pfeifer
4339944fae
gdi32/tests: Remove variable oldPen which is not really used from test_widenpath.
2010-05-10 10:10:08 +02:00
Huw Davies
d92ed5bd07
gdi32: Add support for ETO_PDY and improve world transform support.
2010-05-06 15:24:30 +02:00
Alexandre Julliard
e27bc88693
gdi32: Add a global function to retrieve the display driver.
2010-05-06 13:50:30 +02:00
Alexandre Julliard
8dc9e8786b
gdi32: Don't store the display driver in the global list to avoid the need for locking.
2010-05-06 13:48:24 +02:00
Alexandre Julliard
0e4f742f06
gdi32: Don't bother freeing graphics drivers.
2010-05-06 13:37:32 +02:00
Huw Davies
9bee50f6d9
gdi32: Fix ExtTextOutA -> W forwarding when ETO_PDY is set.
2010-05-05 17:49:44 +02:00
Gerald Pfeifer
08b88c42ee
gdi32: Remove variable x which is not really used from testJustification.
2010-05-03 15:41:21 +02:00
Gerald Pfeifer
6cad49da4b
gdi32: Remove variable retb which is not really used from test_closefigure.
2010-04-26 07:02:30 -05:00
Alexandre Julliard
50500d1a0b
gdi32: Fix handling of bitmap header size for V4/V5 bitmaps.
2010-04-21 14:56:22 +02:00
Alexandre Julliard
3858ad7bd3
gdi32: Convert the driver list to a standard Wine list.
2010-04-20 16:21:37 +02:00
Alexandre Julliard
b0beb46aa8
gdi32: Use the more detailed libwine information to classify bidi chars.
2010-04-14 18:00:45 +02:00
Aric Stewart
b9c30445c7
ups10: Reimplement ScriptLayout to properly handle mixed runs.
2010-04-14 18:00:45 +02:00
Aric Stewart
6c3659c3d4
usp10: Improve ScriptItemize with a SCRIPT_CONTROL and SCRIPT_STATE set.
...
Reduce bidi duplications from gdi32 by using the newly corrected usp10
functions.
2010-04-14 18:00:44 +02:00
Roderick Colenbrander
c29cf05919
winex11: Add support for 32-bit DDBs.
2010-04-13 13:06:32 +02:00
Nikolay Sivov
352e2ff6eb
gdi32: Use supplied hdc for DIB_RGB_COLORS if it's valid.
...
This is about fixing regression introduced with 2854884a42
.
Initial patch fixed MSVS 2005 toolbars blackness, this one doesn't break a fix,
and fixes regressed Animation control glitches (and probably reported games related problems).
2010-04-12 11:30:16 +02:00
Alexandre Julliard
bd5ccea53f
gdi32: Avoid some rounding errors in AngleArc.
2010-04-09 18:24:35 +02:00
Alexandre Julliard
a8e86e35dd
winapi: Generate the 64-bit variant of structure size/alignment tests.
2010-04-07 18:03:00 +02:00
Dmitry Timoshkov
fb9bca41e5
gdi32: Fix some DC leaks in gdi32 bitmap tests.
2010-04-07 13:51:13 +02:00
Mikhail Maroukhine
8fd8d9e96a
gdi32: Fix compiler warnings with flag -Wcast-qual.
2010-03-29 12:13:55 +02:00
Louis Lenders
226a5019e7
Quiet two noisy FIXME's.
2010-03-26 15:34:57 +01:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Dmitry Timoshkov
c7b45aa8d3
gdi32: Fix GDI locking in SetBitmapBits.
2010-03-15 13:28:24 +01:00
Paul Vriens
b5738dcceb
gdi32/tests: Fix a test failure on Win9x/WinMe.
2010-03-05 12:46:01 +01:00
Dylan Smith
e2d7da0604
gdi32: Provide a non-blank font face name for ANSI_FIXED_FONT.
...
This patch avoids using the wrong font when this stock font is selected,
which could be seen by modifying notepad to send WM_SETFONT to the edit
control with GetStockObject(ANSI_FIXED_FONT) for wParam.
2010-03-04 12:30:50 +01:00
Henri Verbeet
9ab004d56a
gdi32: GetObject() should return the DIB's absolute height in dsBmih.biHeight.
2010-03-01 14:03:34 +01:00
Henri Verbeet
96e4a33b65
gdi32/tests: Fix a few format strings.
2010-03-01 14:03:33 +01:00
Dmitry Timoshkov
2f7053e6c0
gdi32: Fix the DeleteDC test failures under Win9x.
2010-02-25 12:11:04 +01:00
Dmitry Timoshkov
d6cfc3223e
user32: DeleteDC() should allow to delete a DC returned by GetDC().
2010-02-24 16:03:02 +01:00
Dmitry Timoshkov
4c088cbe35
gdi32: Dump GDI objects in the case of running out of GDI handles.
2010-02-24 15:12:31 +01:00
Alexandre Julliard
6164ce2d82
makefiles: Use the standard C_SRCS variable as the list of test files.
...
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Andrew Nguyen
a504867a89
gdi32: Check the region handle in GetClipRgn later.
2010-02-16 11:33:33 +01:00
Alexandre Julliard
ad8389dc39
gdi32: Do not load 16-bit gdi.exe by default.
2010-02-08 17:49:48 +01:00
Huw Davies
1ff1e11161
gdi32: Zero pad the facename buffer so that we don't write uninitialized data to the metafile.
...
Found by Valgrind.
2010-02-03 15:51:56 +01:00
Nikolay Sivov
b3a193a5dd
gdi32: Add GdiInitializeLanguagePack() stub.
2010-01-26 12:09:41 +01:00
Christian Costa
132ba27f2b
gdi32: Improve some FIXMEs.
2010-01-20 16:30:47 +01:00
Ilya Shpigor
91a1321a97
gdi32: Additional checking in the test for font creation with the OEM charset.
2010-01-19 12:21:15 +01:00
Ilya Shpigor
f91d61a529
gdi32: Test for font creation with the OEM charset.
2009-12-31 12:12:18 +01:00
Andrew Nguyen
c3e9de0b4c
gdi32: Fix a typo in ScaleViewportExtEx.
...
Spotted by Gregor Schneider.
2009-12-30 17:10:11 +01:00
Alexandre Julliard
fadc2cda1c
gdi32: Load the 32-bit gdi.exe module wrapper from the 32-bit side.
...
Get rid of the empty gdi_main.c file.
2009-12-28 23:50:40 +01:00
Alexandre Julliard
0d07420ecf
gdi32: Use a standard critical section instead of a syslevel for the GDI lock.
2009-12-24 17:42:13 +01:00
Rob Shearman
eb81fa283b
gdi32: Fix memory leaks on EMF_Create_HENHMETAFILE failure.
2009-12-14 16:14:38 +01:00
André Hentschel
fb56000c13
gdi32/tests: Also test non-style suffix.
2009-12-14 12:04:04 +01:00
Hans Leidekker
1d4fcc0270
gdi32: Implement WineEngGetCharABCWidthsFloat and forward GetCharABCWidthsFloat to it.
2009-12-11 17:47:22 +01:00
Alexandre Julliard
13608c8b18
gdi32: Avoid use of some 16-bit types.
2009-12-07 14:18:29 +01:00
Alexandre Julliard
1ac23b9b0f
gdi32: Don't include wingdi16.h by default.
2009-12-07 14:18:29 +01:00
Alexandre Julliard
4edcf1caa5
gdi32: Make gdi.exe into a stand-alone 16-bit module.
2009-12-07 14:18:29 +01:00
Alexandre Julliard
fc55cdcd59
gdi32: Stop exporting the 16-bit print job functions.
2009-12-07 14:18:28 +01:00
Huw Davies
b5ca0a9c2a
gdi32: Fix incorrect initialization of path array.
...
Found by Valgrind.
2009-12-02 14:19:54 +01:00
Alexandre Julliard
cc973b0cdc
gdi32: Avoid calling get_dc_ptr on a null handle.
2009-12-01 15:10:37 +01:00
Dan Kegel
f3560ece31
gdi32: Fix minor read buffer overrun in CombineRgn.
2009-11-30 12:47:59 +01:00
Francois Gouget
4874d84ac1
gdi32: Make wglCreateContextAttribsARB() static.
2009-11-24 15:53:36 +01:00
Francois Gouget
d442a48e2a
gdi32/tests: Make test_CreateFontIndirect() static.
2009-11-24 15:53:36 +01:00
Charles Davis
3f1281cc44
gdi32/tests: Test BitBlt() to an enhanced metafile.
2009-11-23 15:25:33 +01:00
Charles Davis
b6f841eaca
gdi32/enhmfdrv: When blitting, don't crash if the source is NULL.
2009-11-23 15:25:33 +01:00
Charles Davis
5e17b04df7
gdi32/enhmfdrv: Get the source transformation from the source DC.
2009-11-23 14:35:29 +01:00
Charles Davis
d456f99a04
gdi32/enhmfdrv: Don't fill in the PelsPerMeter fields in the BITMAPINFOHEADER when blitting.
2009-11-23 14:35:22 +01:00
Roderick Colenbrander
41f061ea1b
wgl: Add initial WGL_ARB_create_context support.
2009-11-18 11:39:57 +01:00
André Hentschel
762280eab0
gdi32/tests: Simplify testcase.
2009-11-18 11:14:24 +01:00
Alexandre Julliard
17349a06b1
gdi32: Remove remaining references to gdi32 internals from gdi16.c.
2009-11-17 22:30:08 +01:00
Alexandre Julliard
06e09f67b4
gdi32: Disable SetSolidBrush16 since it requires access to gdi32 internals.
2009-11-17 22:29:37 +01:00
Alexandre Julliard
d9700b6a77
gdi32: Reimplement the 16-bit metafile functions on top of the 32-bit ones.
2009-11-17 19:58:02 +01:00
Alexandre Julliard
c73e2d5e02
gdi32: Reset the visible region in ResetDC.
2009-11-17 15:14:56 +01:00
André Hentschel
e4beddb664
gdi32: Don't strip font suffix.
2009-11-17 15:14:56 +01:00
Alexandre Julliard
1c67717876
gdi32: Get rid of the SetDCOrg driver entry point.
2009-11-17 15:14:54 +01:00
Alexandre Julliard
1fd7159cae
gdi32: Disable SetDCOrg16.
2009-11-17 15:14:54 +01:00
Alexandre Julliard
16da76923d
gdi32: Reimplement SaveVisRgn16/RestoreVisRgn16 to avoid accessing the DC internals.
2009-11-17 15:14:54 +01:00
Alexandre Julliard
61925b7e89
gdi32: Return copies of the region in InquireVisRgn16 and GetClipRgn16.
2009-11-17 15:14:54 +01:00
Alexandre Julliard
569f56e87a
gdi32: Disable the 16-bit visible region manipulation functions.
2009-11-17 15:14:54 +01:00
Alexandre Julliard
250237e1c1
gdi32: Reimplement LPtoDP16/DPtoLP16 on top of the 32-bit functions.
2009-11-17 15:14:54 +01:00
Alexandre Julliard
9a145d13f1
gdi32: Don't crash when we don't have AbortProc thunks.
2009-11-17 15:14:54 +01:00
Roderick Colenbrander
f4b88e34ec
wgl: Get rid of delayed GLX context creation. Instead attempt to re-create a context when wglShareLists is called.
2009-11-16 17:42:54 +01:00
Detlef Riekenberg
495267e5f1
wineps: Don't depend on 16-bit PrinterData functions from gdi.
2009-11-16 13:48:18 +01:00
Eric Pouech
40eea7acd7
gdi.exe: Rewrite QueryAbort16 to be independant of gdi32.dll internals.
2009-11-16 13:47:38 +01:00
Eric Pouech
8e248c063f
gdi.exe: No longer use 16bit abort procs inside the DC structure.
2009-11-16 13:47:29 +01:00
André Hentschel
8f31df1dd8
gdi32/tests: Test CreateFontIndirect for suffix stripping.
2009-11-16 13:25:00 +01:00
Huw Davies
16c20d3c73
gdi32/tests: Test the return value of GetClipBox before trying to access the rect.
2009-11-13 13:36:35 +01:00
Alexandre Julliard
872feb47c4
gdi32: Don't update the metafile bounding box in ExtTextOut if there's no rectangle.
2009-11-11 13:07:10 +01:00
Nikolay Sivov
2854884a42
gdi32: Always create a context for DIB_RGB_COLORS.
2009-10-22 14:39:21 +02:00
Nikolay Sivov
dd0a7078e0
gdi32: Prevent possible buffer overrun.
2009-10-20 14:09:25 +02:00
Dmitry Timoshkov
2158999382
gdi32: Rework the test for too large width/height font ratio to pass with different font heights, make it pass under Wine.
2009-10-07 12:27:51 +02:00
Joel Holdsworth
170e425b00
gdi32: Added tests for StretchDIBits.
2009-10-02 11:50:01 +02:00