Commit Graph

610 Commits

Author SHA1 Message Date
Dmitry Timoshkov d098f55d4b Use same formula to convert from device to logical units as everywhere
else.
2003-08-05 19:17:40 +00:00
Dmitry Timoshkov 511577daf5 Correctly truncate tmFirstChar, tmLastChar, tmBreakChar at 255 in the
process of W->A conversion.
2003-08-05 18:26:09 +00:00
Mike McCormack 369116d911 When GetObject is called with a NULL pointer, return the object's
size.
2003-07-26 20:39:46 +00:00
Francois Gouget 14a5d168e9 Fixed some common spelling errors. 2003-07-02 04:37:26 +00:00
Shachar Shemesh 362e72f959 Don't call the reordering function if the string length is 0. This
eliminates a noisy FIXME about ICU returning an incorrect error code.
2003-07-02 00:36:37 +00:00
Shachar Shemesh 409374d914 Implementation of the reordering algorithm by calling ICU's reordering
functions.
2003-06-27 20:47:16 +00:00
Huw Davies c23f8578c3 Don't enable client side fonts unless we have at least one non-symbol
font installed - this avoids a nasty Wingdings only scenario.
Add the ability to perform font replacements, this essentially lets
you give a second name to a font family so that familyA gets
enumerated as familyB too.
If we encounter two copies of the same font then use the one with the
larger version number.

Dmitry Timoshkov <dmitry@codeweavers.com>
Move GetTextCharsetInfo implementation to the font driver.
2003-06-23 20:51:06 +00:00
Mike McCormack 10c3764058 Record SetWorldTransform and ModifyWorldTransform in enhanced
metafiles.
2003-06-23 19:46:56 +00:00
Francois Gouget c5f775a9c7 Typos/spelling fixes. 2003-06-18 03:30:39 +00:00
Ingmar Thiemann 4de93e7710 Implemented PolyTextOutA/PolyTextOutW. 2003-06-06 18:10:18 +00:00
Mike McCormack 399967c10d Implemented GdiComment for enhanced metafiles. 2003-05-21 18:28:49 +00:00
Alexandre Julliard 33c2ad5712 Fixed return value of GetTextFaceA. 2003-05-19 23:24:30 +00:00
Huw Davies f39f591877 After we update the mapping mode reselect the current font back into
the dc so that its size is recalculated.
2003-05-19 23:23:50 +00:00
Huw Davies fa28b5eac2 GetRandomRgn(...,1) returns the current clipping rgn.
Moved GetRandomRgn and the MetaRgn functions to objects/clipping.c.
2003-05-19 19:03:19 +00:00
Alexandre Julliard e1147baa00 Use a different magic for memory DCs and get rid of the DC_MEMORY
flag.
2003-05-13 23:56:12 +00:00
Alexandre Julliard ebc9abd1a1 Added partial stub for GetTransform. 2003-05-11 03:31:53 +00:00
Huw Davies 187c2b41b9 Playback escapes in metafiles. 2003-05-11 03:07:03 +00:00
Huw Davies 4bdeae37a1 Added stub for SetVirtualResolution. 2003-05-11 03:03:25 +00:00
Ulrich Czekalla e7cc4ad2ef Return value of ExtSelectClipRgn should consider visible region. 2003-05-11 02:52:04 +00:00
Dmitry Timoshkov e8e10e9a8e Make SetMapMode set default window and viewport extents as in
Windows.
2003-05-11 02:50:21 +00:00
Stefan Leichter ecc6f06375 Moved (stub) implementation of GetKerningPairs from ascii to unicode. 2003-04-27 20:36:35 +00:00
P. Christeas 77357a3f56 Fixed typo in SetGraphicsMode. 2003-03-27 00:02:00 +00:00
Shachar Shemesh 5aec52cccb Reordering can take place even if the font does not identify itself as
a reordering one.
2003-03-24 19:27:53 +00:00
Alexandre Julliard 7e92c9af7b Replaced most uses of the auto-generated glue code by explicit calls
to WOWCallback16Ex.
2003-02-27 21:09:45 +00:00
Alexandre Julliard 80774de724 Authors: Mike McCormack <mike@codeweavers.com>, Huw Davies <huw@codeweavers.com>
- make world transforms work in EMFs
- fix declaration of GDICOMMENT_* macros
- refuse to load unaligned EMFs
- fix SetWinMetaFileBits
2003-02-14 23:30:27 +00:00
Andrew John Hughes 6f929659bd Extended SetSystemPaletteUse to deal with error conditions. 2003-02-01 00:36:38 +00:00
Rein Klazes e43a430dd6 Load default stock bitmap in CreateDC(). 2003-01-24 00:44:54 +00:00
Rein Klazes e8d7f24fc0 Allocate palette objects on the large gdi heap. 2003-01-21 19:27:59 +00:00
Dan Kegel 0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Alexandre Julliard 9169729b0b Merged font.h and path.h into gdi.h. Moved x11font.h to
dlls/x11drv. Removed a number of unnecessary #includes.
2002-12-03 19:18:41 +00:00
Francois Gouget d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Huw D M Davies 96ad51b39b EnumFont16 should enumerate gdi fonts too. 2002-11-27 20:16:36 +00:00
Shachar Shemesh 3597717da1 Change some of the number seperators to "Neutral" rather than "Left to
right".
2002-11-25 21:09:49 +00:00
Steve Lustbader 473d6cbd27 StretchDIBits: avoid crash on null pointers. 2002-11-25 01:10:04 +00:00
Alexandre Julliard 547cdc2b02 Made gdi compile with -DSTRICT. 2002-11-22 22:16:53 +00:00
Alexandre Julliard 6c428e5c07 Fixed a number of -DSTRICT issues. 2002-11-22 21:58:03 +00:00
Marcus Meissner dba95f28f5 Fixed aliasing problems (do not use (POINT*)&rect constructs). 2002-11-21 23:45:47 +00:00
Michael Stefaniuc 28a632a830 Some -DSTRICT fixes. 2002-11-21 21:50:04 +00:00
Steve Lustbader 361b9e8763 Stub for SetDCBrushColor. 2002-11-21 03:56:29 +00:00
Huw Davies bc71031240 Proper handling of SetTextCharacterExtra. 2002-11-15 01:02:16 +00:00
Patrik Stridvall c99c022a78 Fixed mismatches between the Wine headers and the Microsoft headers. 2002-11-13 04:13:42 +00:00
Patrik Stridvall ba9dc78e39 Fixed mismatches between the Wine headers and the Microsoft headers. 2002-11-04 22:43:24 +00:00
Patrik Stridvall 1298eb4053 Fixed mismatches between the Wine headers and the Microsoft headers. 2002-10-23 18:50:10 +00:00
Alexandre Julliard fdd6db2384 Moved EnumObjects16, LineDDA16 and associated glue code to gdi16.c. 2002-10-18 23:33:41 +00:00
Alexandre Julliard 9a8de13d77 Split out some 16-bit GDI code. 2002-10-18 04:06:47 +00:00
Alexandre Julliard 0ccb9feadc Store the original GDI palette functions in pfnSelectPalette and
pfnRealizePalette so that USER doesn't have to import them.
2002-10-18 04:05:49 +00:00
Alexandre Julliard 15b9ed9f61 Converted PlayMetaFileRecord and related functions to 32-bit. 2002-10-18 03:33:37 +00:00
Alexandre Julliard 613ead7f0f Fixed some handle conversions in prevision of void* handles. 2002-10-04 00:27:10 +00:00
Alexandre Julliard 3b059b2a3e Moved CreateBrushIndirect16 and CreateDIBPatternBrush16 to gdi16.c. 2002-10-03 19:48:59 +00:00
Greg Turner d7db024e3a CreateDC: handle (nil, <string>, ...) gracefully if no driver found. 2002-10-02 18:33:21 +00:00