Gerald Pfeifer
24186d42da
gdi32: Fix the type of two loop variables.
2007-11-29 15:36:49 +01:00
Andrew Talbot
03bba1e6d4
gdi32: Fix a typo.
2007-11-27 12:29:57 +01:00
Roderick Colenbrander
8295c547f3
wgl: Add wglCopyContext support.
2007-11-12 14:16:44 +01:00
Francois Gouget
2bbfc931d1
gdi32/tests: Dynamically load GdiAlphaBlend() so the test runs on Win9x.
2007-11-09 13:06:25 +01:00
Alexandre Julliard
9a368cc475
gdi32: Make all internal gdi functions hidden.
2007-11-07 17:50:57 +01:00
Laurent Vromman
52f769e88d
gdi32: Correct a test where the tested function was not called.
2007-11-07 12:10:43 +01:00
Laurent Vromman
6f140f9bec
gdi32: Add a test for CloseFigure.
2007-11-06 14:00:40 +01:00
Alexander Dorofeyev
3ac3a5dcb5
gdi32: Fix unchecked NULL ptr in BIDI_Reorder.
2007-10-24 15:36:37 +02:00
Dan Kegel
f4b0cf5f5b
gdi32/tests: Fix false pass in warn+heap case.
2007-10-24 13:47:28 +02:00
Alexander Dorofeyev
cdca301821
gdi32: Fix runaway loop because of unsigned comparison in BIDI_Reorder.
2007-10-23 19:37:36 +02:00
Francois Gouget
c4b1195c0c
Assorted spelling fixes.
2007-10-23 18:20:27 +02:00
Hans Leidekker
d21c5044c6
gdi32: Remove a test that expects the break character to equal ascii space.
2007-10-23 12:22:59 +02:00
Alexander Dorofeyev
4b5ca2ed0e
gdi32: Fix off by one error in BIDI_Reorder.
2007-10-22 15:58:46 +02:00
Lionel Debroux
b78ed57a39
gdi32/tests: Fix memory leak (found by Smatch).
2007-10-22 15:58:16 +02:00
Gerald Pfeifer
d594c1eab4
gdi32: Add a set of braces to silence a GCC 3.4 warning.
2007-10-22 12:36:07 +02:00
Alexandre Julliard
5c07673077
configure: Check for fontconfig in the X directory if not found in the standard places.
2007-10-17 17:04:01 +02:00
Gerald Pfeifer
4e60df85d8
gdi32: Avoid compiler warning in WineEngGetGlyphOutline().
2007-10-15 17:50:17 +02:00
Huw Davies
bc2a4dbee0
gdi32: Try to load Wine's TrueType fonts from the build directory.
2007-10-15 11:28:31 +02:00
Huw Davies
e5df622ff3
gdi32: Don't load Wine's bitmap-only TrueType fonts.
2007-10-15 11:28:26 +02:00
Huw Davies
6ee7182ebb
gdi32: Factor out the code to call FT_Load_Sfnt_Table.
2007-10-15 11:10:32 +02:00
Huw Davies
36db3630ec
gdi32: Fixed a misplaced break.
2007-10-05 10:23:54 +02:00
Huw Davies
05bb6f6ce4
gdi32: Let the WINE_GGO_GRAY16_BITMAP case load a bitmap.
2007-10-03 11:01:21 +02:00
Huw Davies
70c212937a
gdi32: Only cache the glyph metrics when rendering to a monochrome bitmap or when just retrieving the metrics.
2007-10-03 11:01:15 +02:00
Huw Davies
5af70f49c6
gdi32: TrueType fonts from the data directory should be added to the registry.
2007-10-03 11:01:10 +02:00
Dmitry Timoshkov
5b8f591192
gdi32: Prefer a Microsoft cmap table over other platform ones.
2007-10-02 12:28:28 +02:00
Stefan Leichter
87a9a4d44b
gdi32: Define WINE_FILEVERSION in version resource of gdi.exe.
2007-10-01 14:17:30 +02:00
Maarten Lankhorst
10834ee5c7
gdi32: Fix 3 tiny bugs in bidi.
2007-10-01 12:24:31 +02:00
Maarten Lankhorst
6b2a6a2bcf
gdi32: Fix meaning and use of bidirectionality flags.
2007-10-01 12:24:14 +02:00
Alexandre Julliard
d78a58298a
gdi32: Don't hold the GDI lock while calling the driver SelectFont function.
2007-09-27 21:01:00 +02:00
Alexandre Julliard
e9f1638de6
gdi32: Don't hold the GDI lock while calling the SelectObject backends.
2007-09-27 21:00:44 +02:00
Alexandre Julliard
af6c0a09c5
gdi32: Move the object refcount handling to the SelectObject backend functions.
2007-09-27 20:57:02 +02:00
Alexandre Julliard
a1e31397e1
gdi32: Don't pass an object pointer to the SelectObject backend functions.
2007-09-27 20:14:13 +02:00
Francois Gouget
b2bc712323
Assorted spelling fixes.
2007-09-27 20:12:53 +02:00
Alexandre Julliard
161821155d
gdi32: Fix typo in FIXME (spotted by Rob Shearman).
2007-09-27 18:05:57 +02:00
Anatoly Lyutin
7a67035a44
gdi32: printdrv: Use umask for creating a spool file.
2007-09-27 11:58:21 +02:00
Alexandre Julliard
3363d65f16
gdi32: Move the generic part of FontIsLinked() to font.c.
2007-09-26 20:21:34 +02:00
Alexandre Julliard
543270dfb5
gdi32: Don't pass a DC handle to WineEngGetFontUnicodeRanges.
2007-09-26 20:17:13 +02:00
Alexandre Julliard
1abc24d29c
gdi32: Don't hold the gdi lock while calling DC driver functions.
2007-09-26 17:51:41 +02:00
Alexandre Julliard
7480bd3204
gdi32: Don't hold the gdi lock while creating a DC.
2007-09-26 17:39:25 +02:00
Andrew Talbot
ce0e1706fe
gdi32: Fix a memory leak.
2007-09-25 11:18:20 +02:00
Alexandre Julliard
58c6bab9c9
gdi32: Don't hold the GDI lock while calling the driver printer functions.
2007-09-24 18:23:42 +02:00
Alexandre Julliard
b12a782e5f
gdi32: Don't hold the GDI lock while calling the driver clipping functions.
2007-09-24 18:19:14 +02:00
Alexandre Julliard
2e2df3faf3
gdi32: Don't hold the GDI lock while calling the driver OpenGL functions.
2007-09-24 18:17:21 +02:00
Alexandre Julliard
5557fac1c3
gdi32: Don't hold the GDI lock while calling the driver painting functions.
2007-09-24 18:16:48 +02:00
Alexandre Julliard
0c4f81eefc
gdi32: Don't hold the GDI lock while calling the driver path functions.
2007-09-24 18:16:29 +02:00
Alexandre Julliard
a5a0d3c23b
gdi32: Don't hold the GDI lock while calling the driver mapping functions.
2007-09-24 18:16:15 +02:00
Francois Gouget
e2e25eacd9
gdi32: Add a '\n' to a Wine trace.
2007-09-21 11:52:21 +02:00
Dmitry Timoshkov
b0d1590def
gdi32: Use symbolic names for font tags.
2007-09-20 15:54:19 +02:00
Maarten Lankhorst
b6f9a30a5d
gdi: Implement line-by-line phase of the BiDi algorithm.
2007-09-19 14:56:51 +02:00
Maarten Lankhorst
588c5a90fd
gdi: Implement implicit resolving in BiDi.
2007-09-19 14:56:51 +02:00
Maarten Lankhorst
032543e54d
gdi: Implement neutrals resolving in BiDi.
2007-09-19 14:56:50 +02:00
Maarten Lankhorst
6554e5b1a1
gdi: Implement weak resolving in BiDi.
2007-09-19 14:56:50 +02:00
Maarten Lankhorst
dbdf6fde20
gdi: Implement explicit resolving in BiDi.
2007-09-19 14:56:50 +02:00
Maarten Lankhorst
426debe187
gdi: Implement BiDi classification of characters and copying according to them.
2007-09-19 14:56:50 +02:00
Maarten Lankhorst
c3cf79d817
gdi: Remove support for libicu and all dependencies.
2007-09-19 14:56:50 +02:00
Alexandre Julliard
9aee0b4157
gdi32: Update the DC in most OpenGL functions.
2007-09-18 09:34:08 +02:00
Alexandre Julliard
99a258311c
gdi32: Replace remaining instance of DC_GetDCUpdate by get_dc_ptr+update_dc.
2007-09-18 09:34:08 +02:00
Alexandre Julliard
baa8d22543
gdi32: Replace DC_GetDCUpdate by get_dc_ptr+update_dc in the bitmap functions.
2007-09-18 09:34:08 +02:00
Alexandre Julliard
f3f792d064
gdi32: Replace DC_GetDCUpdate by get_dc_ptr+update_dc in the painting functions.
2007-09-18 09:34:07 +02:00
Alexandre Julliard
f486f24b96
gdi32: Replace DC_GetDCUpdate by get_dc_ptr+update_dc in the clipping functions.
2007-09-18 09:34:07 +02:00
Chris Robinson
09c76ffbdc
gdi32: Don't hold the GDI lock when setting the pixel format.
2007-09-17 16:19:04 +02:00
Mikolaj Zalewski
c6efacd86a
gdi32: Return the correct font type, ntmFlags and PitchAndFamily for Type1 fonts.
2007-09-17 14:37:44 +02:00
Mikolaj Zalewski
0eb910352c
gdi32: If freetype fails try to load manually fonts wrapped as PE resources.
2007-09-17 14:37:32 +02:00
Mikolaj Zalewski
baee27c69c
gdi32: Implement AddFontMemResourceEx (based on a patch of Byeong-Sik Jeon).
2007-09-17 14:14:27 +02:00
Mikolaj Zalewski
66cf4f7d53
gdi32: Store child font links as pointers to struct Face instead of filename/index.
2007-09-17 14:13:46 +02:00
Alexandre Julliard
f9ebe5ab8f
gdi32: Don't store a DC pointer in the metafile devices.
2007-09-12 20:23:03 +02:00
Dmitry Timoshkov
4fb82e3783
gdi32: Use lower case font dir name to match unix directory layout.
2007-09-12 11:33:11 +02:00
Alexandre Julliard
d88ff791ef
gdi32: New DC locking mechanism that doesn't require holding the global GDI lock.
2007-08-31 15:58:38 +02:00
Aric Stewart
80cc1af347
gdi32: Allocate our glyph metrics in a 128 index chunk sparse array.
2007-08-30 17:02:48 +02:00
Steven Edwards
c9a0da51a5
Remove more unneeded wine 16bit header usage.
2007-08-30 12:31:01 +02:00
Mikolaj Zalewski
9a72a865a2
winex11.drv: Test for out-of-bound src coordinates in GdiAlphaBlend.
2007-08-29 12:03:08 +02:00
Roderick Colenbrander
e6f6d5fe95
gdi32: Print the function name in wglGetProcAddress.
2007-08-29 11:58:59 +02:00
Huw Davies
a247ca5308
gdi32: Quote the printer name prior to passing it to the shell.
2007-08-23 12:37:39 +02:00
Alexandre Julliard
e9a4c2351d
gdi32: Fix a few more places that use the wrong get/release function for DCs.
2007-08-22 18:20:39 +02:00
Paul Vriens
d469eca1c6
gdi32: Fix possible NULL pointer dereference (Coverity).
2007-08-22 12:18:59 +02:00
Paul Vriens
4b098028f3
gdi32: Fix possible NULL pointer dereference (Coverity).
2007-08-22 12:18:59 +02:00
Alexandre Julliard
1476e34645
gdi32: Add separate functions for releasing/freeing DCs to replace the standard GDI ones.
...
This should make it possible to use a different locking mechanism for DCs.
2007-08-21 21:37:40 +02:00
Francois Gouget
ebadbd4bd5
Assorted spelling fixes.
2007-08-09 14:13:07 +02:00
Evan Stade
cf8b59ef81
gdi32: Don't print fixme more than once.
2007-08-03 12:48:22 +02:00
Dmitry Timoshkov
2f71832ac9
gdi32: Also print a readable table name in the failure notice.
2007-08-02 12:18:42 +02:00
Francois Gouget
5266e57975
Assorted spelling fixes.
2007-07-31 21:37:50 +02:00
Dmitry Timoshkov
991d2d2632
gdi32: Make GetFontData traces more readable.
2007-07-31 20:50:51 +02:00
Evan Stade
eca194da7f
gdi32: Handle PS_USERSTYLE in ExtCreatePen.
2007-07-31 12:35:48 +02:00
Evan Stade
ff5076c008
gdi32: Added more tests for ExtCreatePen on PS_USERSTLYE.
2007-07-31 12:35:30 +02:00
Evan Stade
030abff4ac
gdi32: Improve ExtCreatePen parameter checking.
2007-07-31 12:35:23 +02:00
Alexandre Julliard
cb0a626e50
gdi32/tests: Don't test default char, it doesn't have to be always the same.
2007-07-25 13:46:18 +02:00
Evan Stade
099bfbe1a4
gdi32: Improved PolyDraw in path closed case.
2007-07-19 14:46:54 +02:00
Evan Stade
96937e04a2
gdi32: Added PATH_PolyDraw.
2007-07-17 14:12:37 +02:00
Evan Stade
578ff168b3
gdi32: Added PolyDraw tests.
2007-07-17 14:12:29 +02:00
Jeremy White
a2c2b60292
gdi32: Added a test for the case where lpvBits in GetDIBits is NULL and the bitcount is 0.
2007-07-16 13:38:09 +02:00
Jeremy White
fa23944695
gdi32: Do not fill in the color table if lpvBits is NULL.
2007-07-16 13:37:59 +02:00
Dmitry Timoshkov
cfe289e69d
gdi32: Do not report an error if a requested to add font is already loaded.
2007-07-11 12:01:21 +02:00
Alexandre Julliard
24a55f3862
configure: Merge the libfreetype existence check with the soname check.
2007-07-09 22:43:20 +02:00
Huw Davies
7495d81495
gdi32: Using a bitmap font as the fallback sans serif is a very bad idea.
2007-07-05 19:54:52 +02:00
Misha Koshelev
def420262b
gdi32: Slightly simplify result handling in PolyDraw.
2007-07-05 19:52:45 +02:00
Evan Stade
53e05015f6
gdi32: Don't access DC in PolyDraw after releasing handle.
2007-07-04 12:06:58 +02:00
Alexandre Julliard
ccd5f28429
configure: Make the libfontconfig soname check depend on the header check.
2007-07-02 19:42:52 +02:00
Alexandre Julliard
5a95cfbd9c
configure: Export the shared library extension instead of hardcoding .so.
2007-07-02 14:35:05 +02:00
Evan Stade
39357c4ba6
gdi32: Added missing call to GDI_ReleaseObj.
2007-06-27 13:33:38 +02:00
Michael Stefaniuc
b700e63d55
gdi32: Remove superfluous casts of void pointers to other pointer types.
2007-06-27 12:53:34 +02:00
Michael Stefaniuc
3f5fc520b5
gdi32: Multi-character character constants aren't portable as their behaviour is compiler dependent according to the C standard. Found by sparse.
2007-06-26 11:57:51 +02:00
Misha Koshelev
102a0a3b79
gdi32/tests: Fix test_widenpath to succeed on Win98.
2007-06-22 14:19:48 +02:00
Misha Koshelev
920b050a8b
gdi32: Emulate AngleArc using ArcTo.
2007-06-22 14:19:06 +02:00
Misha Koshelev
ce8e6d16cd
gdi32/tests: Expand framework for tests of drawing functions in paths, add test for AngleArc in paths.
2007-06-22 14:18:57 +02:00
Misha Koshelev
859bf44c33
gdi32: Handle ArcTo in paths as native.
2007-06-21 16:03:29 +02:00
Misha Koshelev
e04aebd654
gdi32: Allow arbitrary start entry types in PATH_DoArcPart, not just PT_MOVETOs.
2007-06-21 16:03:25 +02:00
Misha Koshelev
80b7134bb8
gdi32: Set current position properly after ArcTo.
2007-06-21 16:02:47 +02:00
Francois Gouget
dddbd3cbdb
gdi32/tests: Run the GetTextMetricsA() tests on Windows 9x too.
2007-06-21 15:37:43 +02:00
Misha Koshelev
1dbe178f5e
gdi32: Fix ArcTo to use proper starting and ending points.
2007-06-19 11:57:32 +02:00
Misha Koshelev
2c9c761b56
gdi32/tests: Add framework for tests of drawing functions in paths, add test for ArcTo in paths.
2007-06-19 11:51:22 +02:00
Hans Leidekker
1871743543
gdi32: Add some tests for BITMAPINFOHEADER biSize checks.
2007-06-14 13:14:03 +02:00
Dmitry Timoshkov
2a81c1ada7
gdi32: Make BITMAPINFOHEADER biSize check match what other parts of code do.
2007-06-13 12:58:39 +02:00
Huw Davies
3739b5f995
gdi32: Pass an lpDx array to the driver if the escapement is non-zero, so that the driver has access to the unrotated advance widths.
2007-05-31 14:18:45 +02:00
Dmitry Timoshkov
edbc6e7b8a
gdi32: Fix compilation warnings in 64-bit mode.
2007-05-30 11:55:30 +02:00
Dmitry Timoshkov
ab2934781c
gdi32: Make SetDCHook 64-bit safe.
2007-05-30 11:51:26 +02:00
Francois Gouget
7ba8c0a420
gdi32/tests: Fix a signed/unsigned int mismatch.
2007-05-29 13:46:31 +02:00
Dmitry Timoshkov
6aa84e0eaf
gdi32: Perform consistency checks when loading an EMF, add a test case.
2007-05-29 11:56:10 +02:00
Dmitry Timoshkov
3c9e7a7f33
wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility.
2007-05-25 20:37:56 +02:00
Louis Lenders
d711728a7e
gdi32: Add check for null pointer in SetDIBitsToDevice.
2007-05-08 12:21:58 +02:00
Dmitry Timoshkov
bdfef82348
gdi32: AddFontResource should return a number of added font faces.
2007-05-04 13:42:47 +02:00
Dmitry Timoshkov
71929ffc4d
gdi32: Handle errors in WineEngAddFontResourceEx.
2007-05-04 13:42:39 +02:00
Aric Stewart
ec9f755086
gdi32: GetGlyphOutline needs to look at linked fonts as well.
2007-05-03 14:22:31 +02:00
Laurent Vromman
8b837bf8cb
gdi32: Complete WidenPath implementation.
...
WidenPath now recognizes PS_JOINs and PS_ENCDAPs.
2007-05-02 14:58:49 +02:00
Andrew Talbot
260deef761
gdi32: Constify some variables.
2007-04-30 13:33:32 +02:00
Andrew Talbot
7bdba1b63a
gdi32: Constify some variables.
2007-04-30 13:33:26 +02:00
Michael Stefaniuc
5f62da109e
janitorial: Pass HEAP_ZERO_MEMORY as flag to HeapAlloc() instead of zeroing out the allocated memory in a later call.
2007-04-25 12:26:07 +02:00
Aric Stewart
1e4e99a295
gdi32: Make the comparison for system link font replacement not case sensitive.
2007-04-20 13:04:46 +02:00
Michael Kaufmann
f265599f1b
gdi32: Add a stub for CancelDC.
2007-04-17 11:21:06 +02:00
Dmitry Timoshkov
ebe2ac4879
gdi32: Fix a couple of problems with negative lfWidth test.
2007-04-12 16:11:58 +02:00
Laurent Vromman
932c6f5bdd
gdi32: Correct WidenPath behaviour when working on an open path.
2007-04-03 13:00:24 +02:00
Laurent Vromman
525fd82366
gdi32: Correction of WidenPath behaviour when pen width is 1.
2007-04-03 13:00:09 +02:00
Dmitry Timoshkov
bc4bbb40d1
gdi32: Make GetKerningPairsA not fail for fonts with SYMBOL charset.
2007-04-02 11:34:27 +02:00
Laurent Vromman
a11c751463
gdi32: Add two basic tests to check what WidenPath does.
2007-04-02 11:29:35 +02:00
Felix Nawothnig
f73d7d07c8
gdi32: Properly handle negative font widths.
2007-04-02 11:18:38 +02:00
Francois Gouget
8d9fbef94f
gdi32: Remove a space before '\n' in a trace.
2007-03-28 12:34:09 +02:00
Dmitry Timoshkov
dab3825b18
gdi32: Make the EMF driver return sane NUMCOLORS value.
2007-03-28 12:05:26 +02:00
Laurent Vromman
aaf74d9f64
gdi32: WidenPath partial implementation.
2007-03-26 14:54:56 +02:00
Dmitry Timoshkov
826e937a81
gdi32: Implement GdiGetCodePage.
2007-03-26 12:30:29 +02:00
Ken Thomases
df605c0ac3
Revert "gdi32: Disable the freetype mmap sharing on Mac OS.".
...
This reverts ae9f68dec9
commit. Because
of commit 4e6860433e
which extracts the
constituent fonts from Mac suitcase fonts, we can use mmap on font
files on the Mac.
2007-03-22 11:28:10 +01:00
Andrew Talbot
453cb25c1b
gdi32: Replace inline static with static inline.
2007-03-21 11:55:44 +01:00
Dmitry Timoshkov
520aa9f548
winex11.drv: In the case requested glyphs do not present in the font fail gracefully instead of asserting.
2007-03-19 12:16:57 +01:00
Nicolas Delcros
427a7638cb
gdi32: Don't write a metafile record for escapes that require output.
2007-03-17 19:53:19 +01:00
Dmitry Timoshkov
bd07f3f39e
gdi32: Add a GetTextMetrics test, make it pass under Wine.
2007-03-15 13:09:56 +01:00
Felix Nawothnig
7fc0becf6e
gdi32: Add PS_ALTERNATE tests.
2007-03-13 21:54:42 +01:00
Stefan Huehner
51a7ca3440
Change some functions arguments from () -> (void).
2007-03-12 12:25:31 +01:00
Aric Stewart
33eefa24dc
gdi32: Search SystemLinked fonts when looking for a valid replacement.
2007-03-07 12:16:17 +01:00
Dmitry Timoshkov
7f16f21cf7
gdi32: Add an extensive EnumFontFamilies test, fix some failures when running under Wine.
2007-03-06 21:52:00 +01:00
Byeong-Sik Jeon
52a9d1d934
gdi32: Fix FontSubstitute values for Korean locale.
2007-03-06 21:51:05 +01:00
Byeong-Sik Jeon
0da17ff87b
gdi32: Add missing pFT_Done_Face().
2007-03-06 21:50:58 +01:00
Aric Stewart
3744cd8874
gdi32: Set FontSubstitute values by locale.
2007-03-06 12:10:07 +01:00