Hidenori Takeshima
44f1a98c04
Added default stock objects for known non-US charsets.
2002-03-20 00:51:26 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Andreas Mohr
f16b401e28
Various cosmetic changes.
2002-02-27 21:34:54 +00:00
Dave Hawkes
314b9fdd63
Fix for GetNearestColor so it returns the true color rather than the
...
system palette if the device does not support a palette.
2002-02-05 19:44:07 +00:00
Patrik Stridvall
57e5784c21
Move __stdcall/__cdecl to the right place.
2002-02-02 18:42:11 +00:00
Alexandre Julliard
18d7573c5e
Authors: Huw D M Davies <hdavies@codeweavers.com>, Charles Loep <charles@codeweavers.com>
...
Various fixes for gdi font handling code including:
- Using TTs VDMX table to ensure that we get exactly that same size
font that Windows uses.
- Fixes to many members of the metrics structures.
- Font cache.
- Rotated text support.
- Support for GGO_GRAY?_BITMAP (ready for anti-aliased text).
- Support for GGO_NATIVE.
2002-01-29 03:02:50 +00:00
Aric Stewart
ddf8a74acd
Fleshed out some metafile conversions.
2002-01-29 02:54:22 +00:00
Aric Stewart
ae7fe2db12
Added the correct halftone palette.
2002-01-29 02:53:43 +00:00
Patrik Stridvall
19d66cc1f6
Fixed some issues found by winapi_check.
2002-01-07 21:16:46 +00:00
Alexandre Julliard
193cf50a09
Removed some of the calls to HEAP_strdup* functions.
2002-01-01 00:24:30 +00:00
Alexandre Julliard
d0642b5387
Make sure the DC visible region is updated in GetClipBox.
2001-12-26 23:10:56 +00:00
Alexandre Julliard
d7b76822ef
Use MapLS/UnMapLS instead of SEGPTR_* macros.
2001-12-20 00:19:40 +00:00
Alexandre Julliard
9fcd89a5d8
Removed unnecessary includes.
2001-12-17 22:12:23 +00:00
Alexandre Julliard
ed29c905a8
Changed 16-bit GDI Enum* functions to not use thunks, now that 16-bit
...
Winelib is no longer supported.
2001-12-17 21:01:58 +00:00
Alexandre Julliard
7d155d6706
Changed DC hook and abort proc handling to avoid having to allocate
...
thunks dynamically.
2001-12-17 20:58:06 +00:00
Erik Inge Bolsø
975324f941
CreateBitmap can take nHeight or nWidth = zero, and then returns a
...
pointer to a 1x1 monochrome bitmap.
2001-12-04 20:16:25 +00:00
François Gouget
74c2cbeecf
Add traces to help diagnose systematic cached-metrics regeneration
...
problems.
2001-11-06 00:46:36 +00:00
Dmitry Timoshkov
3f8e407d48
Convert GetCharWidth to Unicode.
2001-11-05 23:56:22 +00:00
Huw D M Davies
4e2024e8a8
Implement GetFontData.
2001-10-23 20:06:32 +00:00
Huw D M Davies
8bf8021f94
ExtTextOutW with symbol fonts works with chars in the ranges
...
0x0000 -- 0x00ff and 0xf000 -- 0xf0ff and not, for example, with
chars in the Unicode Greek range.
2001-10-23 19:54:27 +00:00
Guy L. Albertelli
bc939e5620
Implemented GetCharacterPlacementW.
2001-10-21 15:02:34 +00:00
Francois Gouget
b60c4ce0f0
Don't print NULL strings (crashes on Solaris).
...
Small code maintainability tweak in ShellExecuteExA.
Two typo fixes in winmm.
2001-10-14 16:15:05 +00:00
Huw D M Davies
fef698c892
GetTextCharsetInfo should return the charset that the driver is
...
actually using, rather than that specified in the LOGFONT.
2001-10-10 20:25:04 +00:00
Francois Gouget
58b299521d
Small typo fixes/updates.
2001-10-08 20:40:09 +00:00
Alexandre Julliard
e566195eaf
Free cache DCEs if the DC gets deleted.
2001-10-02 21:40:11 +00:00
Francois Gouget
551586e91b
GetTextExtentExPointW: dump the string before modifying the pointer.
2001-09-24 01:12:08 +00:00
Andreas Mohr
cf67b00a6a
Added stub for GdiInit2().
2001-09-20 19:32:39 +00:00
Huw D M Davies
848bc15ab1
Fix mapping of DEFAULT_CHARSET.
2001-09-20 18:58:05 +00:00
Huw D M Davies
2938242bb6
Use the font charset to obtain a codepage for A->W conversion in the
...
text functions.
2001-09-19 20:32:07 +00:00
Huw D M Davies
814654ef9f
Lay down the infrastructure for gdi font rendering.
...
Partial implementation of GetGylphOutline and GetOutlineTextMetrics
for gdi fonts.
2001-09-12 20:21:06 +00:00
Patrik Stridvall
3c0211f969
Cleanup code that is strange or difficult to parse.
2001-09-11 00:32:32 +00:00
Travis Michielsen
2bbca90cd7
Fixed behavior of GetTextExtentExPointW. It must always return the
...
extents of the entire string in size.
2001-09-07 15:28:32 +00:00
Alexandre Julliard
89b415f76a
Check for valid object in GDI_GetObjPtr even for MAGIC_DONTCARE.
2001-08-27 19:10:06 +00:00
Bill Medland
06a49f67fe
Minor fixes involving handling NULL pointers.
2001-08-24 19:12:56 +00:00
Alexandre Julliard
8af0eda77a
Don't hold the GDI lock during accesses to the metafile data.
2001-08-23 23:37:00 +00:00
Uwe Bonnes
8e5e003f09
Added reference counting and delayed destruction of GDI objects.
2001-08-20 19:17:28 +00:00
Alexandre Julliard
87abe2f61c
Create a color bitmap in CreateDIBitmap even with a black&white DC.
2001-08-20 18:04:09 +00:00
Gerard Patel
4bd80eaa5f
Test for invalid large handles in GDI_GetObjPtr and GDI_FreeObject.
2001-08-18 16:08:27 +00:00
Alexandre Julliard
e22a1e68cf
Use the passed hdc in CreateDIBitmap instead of creating a new one.
2001-08-17 00:07:42 +00:00
Alexandre Julliard
78f9fae706
Create GDI stock objects as normal objects instead of using magic
...
handle values.
2001-08-17 00:07:13 +00:00
Alexandre Julliard
e811f9c353
Specify sizes for stock fonts again; removed the FixStockFontSize
...
hack. Ignore mapping modes when selecting stock fonts into a DC.
Removed a few direct accesses to GDI structures from x11drv.
2001-08-16 19:13:52 +00:00
Alexandre Julliard
717433854e
Release GDI lock before calling DeleteDC from RestoreDC.
2001-08-16 19:01:23 +00:00
Alexandre Julliard
301df6b5cd
Added names to standard critical sections (suggested by Andreas
...
Mohr).
2001-08-16 18:12:56 +00:00
Alexandre Julliard
658cdb4412
Make sure we don't hold the GDI lock when loading drivers.
2001-08-15 23:33:20 +00:00
Andreas Mohr
1d8ef194e8
DIB_GetBitmapInfo didn't recognize BITMAPV4/5HEADER.
2001-08-03 18:11:23 +00:00
Alexandre Julliard
99bb9f9775
Added GetDeviceCaps to the DC driver interface. Removed devCaps
...
pointer in the generic DC structure.
2001-07-28 00:18:02 +00:00
Alexandre Julliard
3dd63eb2ad
Build the DC function table by using GetProcAddress on the graphics
...
driver module. Moved driver support to dlls/gdi.
2001-07-27 19:37:31 +00:00
Alexandre Julliard
1922c72b8a
Removed unnecessary inclusion of heap.h.
2001-07-25 00:43:29 +00:00
Alexandre Julliard
e6c0642e79
Removed enhmetafile.h. Simplified ENHMETAFILEOBJ structure a bit.
2001-07-24 22:15:47 +00:00
Alexandre Julliard
f925f81667
Got rid of all the ugly macros.
2001-07-24 20:54:30 +00:00