Commit Graph

256 Commits

Author SHA1 Message Date
Vincent Béron 82ceaca3ec Fix compilation with ICU after introduction of gdi_private.h. 2004-01-16 02:01:32 +00:00
Alexandre Julliard 7342390852 Get rid of the global INTERNAL_[XY]WSTODS macros. 2004-01-15 06:19:35 +00:00
Alexandre Julliard 6ec42c0c3b Moved a bunch of definitions from gdi.h into a new gdi_private.h to
make sure we don't use them outside of gdi32.
2004-01-15 00:35:38 +00:00
Alexandre Julliard 85dcf1e1a0 Moved SetDrawable, StartGraphicsExposures and EndGraphicsExposures
functionality to x11drv escapes so that we don't have to access the DC
structure directly.
2004-01-14 04:53:11 +00:00
Alexandre Julliard 53145d96f6 Moved some code around to avoid exporting DIB functions from gdi32. 2004-01-13 23:31:46 +00:00
Marcus Meissner 219731197a Added stub for EnumICMProfilesA/W. 2004-01-13 05:20:17 +00:00
Eric Pouech 5bf3a2669b Made wine_get_unix_file_name take a Unicode string pointer. 2004-01-05 23:42:09 +00:00
Marcus Meissner 7d7ce505f4 Older versions of freetype do not have FT_Get_First_Char. 2003-12-15 19:50:59 +00:00
Huw Davies c91c868692 If a font has a version 0 OS2 table then Windows uses ANSI_CHARSET if
the first charcode < 0x100, else it uses SYMBOL_CHARSET.  Based on a
patch by Rein Klazes.
2003-12-10 00:36:22 +00:00
Huw Davies 6d4fc7efe6 If usWinAscent + usWinDescent == 0 then use the Ascender and Descender
values instead.
2003-12-08 21:53:15 +00:00
Huw Davies 1025ff0c9b Implement CopyEnhMetaFileW. 2003-12-01 22:42:56 +00:00
Mike McCormack 7eab865d99 Use the handle deletion mechanism in wmfs. 2003-11-26 03:38:11 +00:00
Huw Davies 9e8ce63e2e Let enhmetafiles reuse gdi handles. This works by a dc 'registering'
with an object that it wants to know when the object is deleted. Until
the dc gets delete notification it's free to assume that it doesn't
need to write the create record for that object again.  Upon receiving
the delete notification it writes the DeleteObject record. Windows
seems to do it this way too.
2003-11-25 05:03:09 +00:00
Rein Klazes e617a9c528 Include ft2build.h before freetype/freetype.h. Libfreetype 2.1.7
requires this.
2003-11-19 02:18:13 +00:00
Alexandre Julliard f9be2f3d21 Removed some unnecessary includes. 2003-11-17 20:31:29 +00:00
Huw Davies ef2ac7acc3 Scale the OUTLINETEXTMETRIC's bounding box with the font size.
Fix wineps's font downloaders to cope with this behaviour.
2003-11-12 22:42:55 +00:00
Dmitry Timoshkov bec6cfe0d0 Constify strings. 2003-11-11 20:39:34 +00:00
Huw Davies 6e12807b55 Load any TrueType fonts that fontconfig knows about. 2003-11-09 00:30:13 +00:00
Vincent Béron bd699e5edc Implemented GetDCPenColor and GetDCBrushColor. 2003-11-05 23:25:37 +00:00
Ulrich Czekalla 16ff6689df Implemented SetDCPenColor and SetDCBrushColor. 2003-11-05 01:43:57 +00:00
Marcus Meissner d9b1bb7152 Use freetype 2.0 defines for font encodings instead of misuse of
MS_MAKE_TAG.
2003-10-28 00:08:28 +00:00
Alexandre Julliard b83789fdc3 Updated some of the generated tests. 2003-10-24 04:45:35 +00:00
Dave Belanger 46329e83f0 Fix EMF driver UpdateBBox routine. The EMF bounding box must be stored
in device coordinates in the metafile.
2003-10-22 03:02:08 +00:00
Marcus Meissner b1b1e297ef Specify fourcc codes for encodings directly, instead of using changing
enum names.
2003-10-15 20:51:22 +00:00
Dave Belanger 2925d6ad17 Improved selection of freetype face charmap. 2003-10-15 02:33:55 +00:00
Dave Belanger 53f2e61e37 Implemented BitBlt, StretchBlt and SetDIBitsToDevice EMF driver
callbacks.
Cleaned up redundant code in EMFDRV_StretchDIBits.
2003-10-15 02:33:15 +00:00
Dmitry Timoshkov 2581db8f6a Fixed some problems found while compiling and linking Wine under
Cygwin.
2003-10-14 05:27:43 +00:00
Dave Belanger 9973af57e9 Implementation of underline and strikeout text in xrender. 2003-10-11 05:24:22 +00:00
Dimitrie O. Paun fbdfd910c1 Remove SYMBOLFILE and LDDLLFLAGS from Makefiles. 2003-10-11 01:09:15 +00:00
Dave Belanger 3da1e24643 Implementation of SetTextJustication EMF driver callback. 2003-10-10 00:06:59 +00:00
Dave Belanger 43e8471a55 Improved font glyph transformation support in GetGlyphOutline. 2003-10-10 00:06:35 +00:00
Dave Belanger 5735c58eb1 Improved the bounding box calculation for the EMF driver ExtTextOut
metarecord. It takes the text alignment into account.
2003-10-09 19:44:35 +00:00
Dave Belanger 36a6c740c4 Implementation of EMF driver OffsetViewportOrg and OffsetWindowOrg
callbacks using the EMR_SETVIEWPORTORGEX and EMR_SETWINDOWORGEX
metarecords respectively.
2003-10-09 04:42:45 +00:00
Dave Belanger 633e379eb9 Implementation of SetPixel metarecord. 2003-10-08 22:34:15 +00:00
Dave Belanger a7bbf47f1b Avoid excessive heap memory reallocation when generating EMF
metarecords in memory.
2003-10-08 22:33:35 +00:00
Francois Gouget 61ef356347 Some spelling fixes. 2003-10-08 19:09:44 +00:00
Dave Belanger d1fa4b2d73 Spit out EMR_RESTOREDC metarecords with -1 as argument as long as we
don't get to the saved state we want.
2003-10-07 03:32:28 +00:00
Dave Belanger 78711dd6f5 Improved generation of font signature from freetype face charmaps. 2003-10-04 04:15:47 +00:00
Dave Belanger f0d96a2619 Face families are in the top 4 bits of lfPitchAndFamily, so mask with
0xF0 before testing.
2003-10-04 04:00:08 +00:00
Dave Belanger 325f646fdc Implemented the SetArcDirection metarecord in EMF driver. 2003-10-04 03:08:25 +00:00
Jon Griffiths 4c1fa161a3 Documentation updates. 2003-10-01 03:20:21 +00:00
Daniel Marmier a613de2a22 Use #ifdef instead of #if for all feature tests.
Check that _MSC_VER is defined before using it.
2003-09-30 00:33:47 +00:00
Dimitrie O. Paun 8b255842ec Remove the obsolete pascal16 (replaced by pascal -ret16). 2003-09-26 04:32:19 +00:00
Alexandre Julliard 16cd86197a Moved DLLFLAGS to a separate variable instead of including it in
DEFS.
2003-09-24 19:01:44 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard 038ede8474 Avoid heap reallocation each time a metarecord is written in memory
(based on a patch by Warren Baird).
2003-09-03 00:18:33 +00:00
Dave Belanger 549e247844 Implementation of SelectPalette and RealizePalette in the metafile
driver.
2003-08-30 00:15:12 +00:00
Warren Baird 2c754a6ec0 Save the ext alignment information in a 8-bytes metarecord as it
should be.
2003-08-30 00:13:34 +00:00
Alexandre Julliard 19b6a49845 Allocate DebugInfo field for all critical sections (based on a patch
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Dmitry Timoshkov 3a910c7d1f Convert CreateDC to unicode in the driver interface. 2003-08-12 20:42:18 +00:00