Commit Graph

603 Commits

Author SHA1 Message Date
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
Andreas Mohr e15badb478 Cosmetics. 2001-10-21 15:18:15 +00:00
Francois Gouget 4e31b8b34b Fix tons of color conversion bugs.
Reorganize things more rationally and so that more code is shared.
2001-10-17 19:41:54 +00:00
Francois Gouget 88372a6aef Use the same color conversion algorithm as the DIB code (and Windows),
i.e. shifts, not MulDivs.
Fix the grayscale formula.
2001-10-17 17:45:33 +00:00
Francois Gouget e5ddd26dd7 When including config.h, include it first. 2001-10-14 16:18:52 +00:00
Francois Gouget 58b299521d Small typo fixes/updates. 2001-10-08 20:40:09 +00:00
Alexandre Julliard c8f3fed5cb Ignore RLE data that goes past the line end (found by Uwe Bonnes).
General cleanup of the RLE routines.
2001-10-04 18:16:37 +00:00
Alexandre Julliard 3c76b14474 Skip BitBlt DIB optimization if source and dest DCs have different
depths.
2001-10-03 18:45:41 +00:00
Huw D M Davies 6e24a0a46e Avoid calling RestoreDC with gdi lock. 2001-09-14 21:28:36 +00:00
Huw D M Davies bed56ddbc7 Release gdi lock before calling DeleteDC. 2001-09-14 00:11:16 +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
Jukka Heinonen 6b9d4ab65d Changing DIB color table now updates the DIB visible state. 2001-09-07 19:47:10 +00:00
Guy L. Albertelli 342b5a861a Prevent bomb when GDI_ObjPtr returns null object. 2001-09-07 15:28:10 +00:00
Gerard Patel e8829c01e6 Default bitmap is not subject to reference counting. 2001-08-21 17:03:39 +00:00
Alexandre Julliard 3036fef6a7 Refuse to select a bitmap that is already selected in another DC. 2001-08-20 19:19:18 +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 301df6b5cd Added names to standard critical sections (suggested by Andreas
Mohr).
2001-08-16 18:12:56 +00:00
Alexandre Julliard 2fe7c11014 Fixed win16drv initialisation. 2001-08-15 23:30:15 +00:00
Jeremy White 14366a927a Normalize the display name used to build the cached metric filename so
that ':0', ':0.0', and 'unix:0.0' all resolve to the same file.
2001-08-15 18:52:48 +00:00
Jörg Mayer e5b5af9d66 Fixed a few signed/unsigned and "unsigned < 0 always true" warnings. 2001-08-10 22:49:35 +00:00
Alexandre Julliard ab17f304d1 Fixed in_data/out_data mixup in Escape16 (thanks to Ladislav Sladecek). 2001-08-08 23:23:36 +00:00
Alexandre Julliard 9208301d16 Rewrote Escape to avoid calling down to Escape16.
Replaced Escape by ExtEscape in the DC function table.
2001-07-29 20:25:14 +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
Bill Medland 25e44dbf5c Don't inline perfect_graphics(). 2001-07-26 20:13:47 +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 5f728cae70 Removed HEAP_strdupA. 2001-07-24 21:45:22 +00:00
Alexandre Julliard f899ef07a6 Removed some unnecessary includes. 2001-07-23 00:04:00 +00:00
Alexandre Julliard 0dd55c44a2 Removed some direct accesses to GDI internal pen/brush/font
structures.
2001-07-22 23:34:21 +00:00
Alexandre Julliard 6bbc745dde Moved the 16-bit pointer to the DIB bits out of the driver-specific
structure and into the main bitmap structure. Removed
CreateDIBSection16 from the driver interface.
2001-07-22 23:13:08 +00:00
Alexandre Julliard 37e9503ae8 Moved server.h to include/wine. 2001-07-19 00:39:09 +00:00
Patrik Stridvall 33929be46f - Made sure that the files that contains the declarations
of implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-18 21:04:23 +00:00
Patrik Stridvall e9782fa1fc Documentation fixes. 2001-07-12 22:33:51 +00:00
Alexandre Julliard 704d035364 Fixed a few issues with tsx11 locking.
Always map the client window when moving out of iconic state.
2001-07-12 02:49:31 +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
Dmitry Timoshkov 36b4e1e2bf Replace some 16-bit calls by their 32-bit equivalents. 2001-06-26 19:34:36 +00:00
Jau-Horng Chen 8a820bc51a Added Traditional Chinese Support
Fixed sublang font size error when not using fixed-size font.
2001-06-25 21:01:00 +00:00
Dmitry Timoshkov 698ef15b19 Replace some 16-bit calls by their 32-bit equivalents. 2001-06-25 20:08:44 +00:00
Dmitry Timoshkov 8d7b7d830c Better separate the XShm using code. 2001-06-25 19:51:04 +00:00
Alexandre Julliard 0d83167209 Subtract DC origin from graphics exposure event coordinates. 2001-06-20 00:18:15 +00:00
Dmitry Timoshkov c660410bf8 Add System font to the set of default sans serif fonts. 2001-06-19 18:12:24 +00:00
Dmitry Timoshkov de70d2b2c7 Replace PROFILE_ functions by RegQueryValueExA in x11drv. 2001-06-19 03:32:44 +00:00
Alexandre Julliard 6d027e1fc2 Added counter for operations generating graphics exposures to the DC
struct, to avoid waiting for expose events when none were generated.
2001-06-11 20:24:57 +00:00
Patrik Stridvall 172cd1b967 Fixed some issues found by winapi_check. 2001-06-11 20:16:11 +00:00
Alexandre Julliard dc4fe7735b Create an X window for every window, including children.
Fixed non-client rectangle calculations in managed mode.
Added support for icon window in managed mode.
2001-06-04 21:55:17 +00:00
Dmitry Timoshkov 4328e51b1a Fixed some dll separation issues. 2001-05-22 19:18:06 +00:00