Commit Graph

157 Commits

Author SHA1 Message Date
Alexandre Julliard d8a9244fc4 Added function table to GDI objects for better encapsulation.
Removed some direct accesses to the bitmap structure.
Fixed handling of stock bitmap if selected in multiple DCs.
Some minor fixes to the DC function table.
2002-05-31 18:43:22 +00:00
Alexandre Julliard 55e845d11b Removed most inclusions of options.h.
Removed a few no longer used PROFILE_* functions.
2002-05-23 19:40:18 +00:00
Alexandre Julliard 0aa28b5b8d Export the debugging API from libwine instead of ntdll.
Removed debugres_[aw].
2002-05-17 02:55:48 +00:00
Alexandre Julliard ab246a679b Pass a PHYSDEV to EnumDeviceFont and release the GDI lock in
FONT_EnumInstance instead.
2002-04-14 19:42:43 +00:00
Alexandre Julliard ce73456d80 Fixed GetTextExtentPointI driver usage. 2002-04-05 21:23:36 +00:00
Huw D M Davies 5b01b50631 Implement GetTextExtentPointI and add support for ETO_GLYPH_INDEX. 2002-04-03 22:08:27 +00:00
Huw D M Davies f879cb9e7c Fixed font enumeration. 2002-04-03 21:17:05 +00:00
Dmitry Timoshkov 2903ca1bbb Implement GetGlyphIndices. Tweak GetCharacterPlacement to use it. 2002-04-03 20:41:14 +00:00
Alexandre Julliard e21c15e39d Changed the GDI driver interface to pass an opaque PHYSDEV pointer
instead of a DC structure.
Removed some direct accesses to the DC structure from the drivers.
Got rid the bitmap driver.
2002-03-28 22:22:05 +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
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
Patrik Stridvall 19d66cc1f6 Fixed some issues found by winapi_check. 2002-01-07 21:16:46 +00:00
Alexandre Julliard d7b76822ef Use MapLS/UnMapLS instead of SEGPTR_* macros. 2001-12-20 00:19:40 +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
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
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
Francois Gouget 551586e91b GetTextExtentExPointW: dump the string before modifying the pointer. 2001-09-24 01:12:08 +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
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
Bill Medland 06a49f67fe Minor fixes involving handling NULL pointers. 2001-08-24 19:12:56 +00:00
Alexandre Julliard f899ef07a6 Removed some unnecessary includes. 2001-07-23 00:04:00 +00:00
Patrik Stridvall 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Patrik Stridvall 17fd4e3816 Documentation name fixes. 2001-06-28 18:04:41 +00:00
Patrik Stridvall 3ca9823941 Documentation ordinal fixes. 2001-06-20 23:03:14 +00:00
Francois Gouget ee285b7ac8 Remove unnecessary single quoting of debugstr_xxx strings. 2001-05-11 20:03:40 +00:00
Marcus Meissner 67f0be15c5 Implemented GetCharABCWidths with GetCharWidth. 2001-04-23 18:11:58 +00:00
Dmitry Timoshkov 96cda94483 Add NULL check for lpnFit in GetTextExtentExPointW. 2001-04-16 19:33:51 +00:00
Huw D M Davies 26ee2ca445 Fix member names in NEWTEXTMETRICEX structs. 2001-04-04 00:09:53 +00:00
Huw D M Davies 39f54283fc Moved GetTextMetrics to unicode. 2001-03-16 16:43:14 +00:00
Huw D M Davies 916a1a6c72 Fix typo in OUTLINETEXTMETRIC definition. 2001-03-13 23:31:40 +00:00
Huw D M Davies 2aa85eed18 Change FONTOBJ to use LOGFONTW rather than LOGFONT16.
Updated parameters of DEVICEFONTENUMPROC.
2001-02-14 22:56:38 +00:00
Andreas Mohr c9ec884645 Documentation updates. 2001-01-24 19:37:13 +00:00
Marcus Meissner 46384145ed CreateFontIndirect() can get NULL pointers. 2000-12-29 19:40:43 +00:00
Alexandre Julliard 982a223f36 Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Patrik Stridvall 2b3aa616e8 Added/modified documentation for function arguments. 2000-12-01 23:58:28 +00:00
Alexandre Julliard 24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00
Alexandre Julliard 2239abb9f9 Allocate DC objects on the process heap, and removed WIN_DC_INFO
structure (based on a patch by Ken Coleman).
2000-11-05 02:05:07 +00:00
Gerald Pfeifer 1b490b42bf Fixed format strings. 2000-09-24 03:05:11 +00:00
Alexandre Julliard 2ad1a94d28 Backed out font codepage change. 2000-08-25 21:35:11 +00:00
Hidenori Takeshima 7901c0b505 Handle the codepage of fonts if supported by the graphics driver. 2000-08-20 20:08:35 +00:00
Alexandre Julliard 2a2321bbca Authors: Alexandre Julliard <julliard@codeweavers.com> (for Corel), Albert den Haan <albertd@corel.com>
Added syslevel locking for GDI operations.
Propagate the changes through the graphics code.
2000-08-19 21:38:55 +00:00
Patrik Stridvall 54fe8380a1 Fixed some issues reported by winapi_check. 2000-04-06 20:21:16 +00:00
Patrik Stridvall 2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Hidenori Takeshima e2905ea478 Fixes for i18n. 2000-03-26 14:43:22 +00:00
Alexandre Julliard aafd54dab9 Moved font resource functions out of the X11 driver. 2000-03-19 21:20:54 +00:00