Commit Graph

504 Commits (a977b2c346623008628dae42afc65c24076ed810)

Author SHA1 Message Date
Huw Davies 063824dd22 Implement playback of EMR_ALPHABLEND. 2005-10-31 21:04:18 +00:00
Huw Davies 8f0c45b5c8 Only select a bitmap font as a last resort if we can't find a font
with the correct facename.
2005-10-31 21:03:28 +00:00
Alexandre Julliard 4b5f326e3f Default to an empty driver instead of dying if the specified display
driver couldn't be loaded.
2005-10-31 15:43:10 +00:00
Huw Davies 0d23ac479b Fix handling of relative state indices in RestoreDC.
Fix return value of SaveDC when writing to an emf.
Before writing the EMR_EOF record we should ensure that we clear the
state stack.
2005-10-31 10:05:52 +00:00
Robert Shearman e31f610bdb Print an error if a DC is created with a bad device. 2005-10-29 10:29:56 +00:00
Huw Davies d7d8998d1e xform can be NULL when setting the identity. 2005-10-28 16:41:25 +00:00
Phil Krylov 30d6d5dc92 Fixed SetTextAlign(), SetBkMode(), SetROP2(), SetPolyFillMode(), and
SetStretchBltMode() to assume that the corresponding DC driver
functions return only a BOOL success flag, and therefore a proper
return value should be generated by the main function. Fixed
EMFDRV_StretchDIBits() to return a proper value (like
MFDRV_StretchDIBits already does). Added comments about other cases of
improper return values.
2005-10-27 18:28:43 +00:00
Dmitry Timoshkov 62d3ab9bd0 Add a test for GetCurrentObject, make it pass under Wine. 2005-10-26 10:10:23 +00:00
Saulius Krasuckas a4dfeca2ca Link to {G|S}etRelAbs() during runtime as Win9x OSes miss them. 2005-10-26 10:05:07 +00:00
Dmitry Timoshkov 5f2bf16de4 Add a test for SetMetaFileBitsEx, make it pass under Wine. 2005-10-19 18:28:14 +00:00
Dmitry Timoshkov 2e8bf70f9a Add a test for CopyMetaFile, make it pass under Wine. 2005-10-18 10:35:14 +00:00
Huw Davies fd99c33e5c Initialize a bunch of dc values to their default before enumerating an
enhmetafile.
Add tests for these and for some values that don't get reset.
2005-10-12 21:06:20 +00:00
Dmitry Timoshkov 007c73c7ce Add a safety check for number of control points in PolyBezierTo. 2005-10-11 19:55:24 +00:00
Huw Davies 22ab2046fb If the meta/clip intersection (Rao) region doesn't exist, return
either the meta or clip region if they do exist.
Remove the wine_todo's.
2005-10-11 19:55:01 +00:00
Huw Davies 3bfeaa9a09 GetRandomRgn only returns the SYSRGN in screen coordinates.
Add a bunch of tests for GetRandomRgn.
2005-10-10 19:53:22 +00:00
Huw Davies 90020c953a Add a Wine specific flag to GetRasterizeCaps that reports whether
freetype's patented hinter is enabled.  This will be used by winex11
to check whether it should honour the gasp table settings.
2005-10-06 12:28:11 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Dmitry Timoshkov cc748043cd Draw underline and strikeout for ExtTextOut on an open path using
Polygon to more closely mimic what Windows does.
2005-09-28 10:14:45 +00:00
Alexandre Julliard 9f1c6de1ef We are no longer generating .spec.c files. 2005-09-21 14:42:52 +00:00
Alexandre Julliard 5cb97d833a Generate 16-bit spec files as assembly code too. 2005-09-21 14:23:54 +00:00
Huw Davies 2a75800c4a Release the dc before drawing the underline and strikeout lines. 2005-09-21 09:41:13 +00:00
Huw Davies c292f4861d Fix a problem with handling ETO_GLPYH_INDEX. Spotted by Rob
Shearman.
2005-09-19 14:36:32 +00:00
Huw Davies 4fb2f50d5f Order the bitmap font list by the ansi codepage bit position.
Fix a few comments.
2005-09-16 18:46:54 +00:00
Huw Davies d64172dc5e Remember to remove a child font from the child font list. 2005-09-15 09:29:37 +00:00
Huw Davies 63308e5af4 Only add Tahoma to the System font's link list if we can actually find
it.
2005-09-14 19:17:00 +00:00
Dmitry Timoshkov fe1021a629 Perform automatic bitmap font configuration based on the current
locale.
2005-09-14 15:39:29 +00:00
Huw Davies 14d5e68f19 Cope with OpenFontFile failing. 2005-09-14 11:15:05 +00:00
Alexandre Julliard 7c1925a0f3 Remove the 'L' suffix on a number of constants to avoid comparison
errors on 64-bit platforms.
2005-09-13 15:00:32 +00:00
Marcus Meissner bd7ec9aca5 The last argument to MultiByteToWideChar is wide character count and
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00
Alexandre Julliard f4bf9dee3c LOGBRUSH.lbHatch must be a ULONG_PTR since it can contain a handle. 2005-09-12 11:19:56 +00:00
Alexandre Julliard f8ee161a1b Fixed some traces to use the right printf format and avoid typecasts. 2005-09-12 10:30:05 +00:00
Alexandre Julliard e4b2a0bbbc Use Get/SetWindowLongPtr instead of Get/SetWindowLong where
appropriate.
2005-09-09 15:20:04 +00:00
Alexandre Julliard 20a1a203c6 Use a more portable scheme for storing the name of a critical
section.
2005-09-09 10:19:44 +00:00
Huw Davies 95a2cead20 Fix return value of ExtTextOut in the case when count == 0. 2005-09-08 18:55:07 +00:00
Huw Davies 2014da26fc Have ExtTextOut call into the font linking mechanism.
GetCharWidth, GetCharABCWidths and GetTextExtentPoint should return
the widths of a linked font's glyphs.
2005-09-08 12:40:20 +00:00
Huw Davies 90b897f00e Implement FontIsLinked. 2005-09-07 13:26:49 +00:00
Huw Davies 182e028956 get_glyph_index should return the nonexistent glyph for bitmap fonts
when a unicode character cannot be represented as a single byte in the
font's codepage.
2005-09-07 11:27:05 +00:00
Huw Davies 3915b16762 Add infrastructure for font linking. WineEngGetLinkedHFont will be
used by ExtTextOut to provide an HFONT that will contain a valid
glyph.
2005-09-07 09:21:50 +00:00
Marcus Meissner a42e6aefe1 Added DRAWPATTERNRECT Escape() 16<->32 mapper and stub in WINEPS. 2005-09-06 14:12:17 +00:00
Huw Davies e415baadfc Store the selected ppem in the GdiFont. 2005-09-06 14:04:01 +00:00
Huw Davies c682fcc3f4 Build a list of font links read in from the registry. 2005-09-06 09:24:07 +00:00
Alexandre Julliard cc4da88563 Explicitly import kernel32 in tests that use it. 2005-08-27 09:27:09 +00:00
Huw Davies 3433676fd7 Move a bunch of common code from the drivers into gdi. 2005-08-23 09:38:58 +00:00
Mike McCormack 79b29158e8 Fix gcc 4.0 warnings. 2005-08-22 10:19:34 +00:00
Glenn Wurster 005729588d Start to add some tests for basic palette operations. 2005-08-22 09:18:02 +00:00
Felix Nawothnig 87e878a699 Fix GetDIBits to retrieve RGB 555 as 16bit BI_RGB and RGB 565 as 16bit
BI_BITFIELDS.
2005-08-19 13:58:34 +00:00
Huw Davies 85cd13506d Simplify ExtTextOut a bit. Should be a nop. 2005-08-19 09:58:57 +00:00
Huw Davies a03adc7411 Cope better with mixed charset fonts. 2005-08-19 09:58:32 +00:00
Huw Davies 399e6911b3 A previous signed-ness fix broke display of non-ansi chars, fix this. 2005-08-15 14:50:36 +00:00
Vikram Kumar 43bc613f77 Added stub for EnableEUDC. 2005-08-15 09:45:40 +00:00