Commit Graph

480 Commits

Author SHA1 Message Date
Hidenori Takeshima dc71c0c954 Code cleanup.
Add checking for invalid DBCS trailer bytes.
2000-09-26 00:37:32 +00:00
Alexandre Julliard 072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +00:00
Hidenori Takeshima 2cc15088e0 Use appropriate charset if facenames of font is known.
Use CP_ACP if DEFAULT_CHARSET is requested.
2000-09-24 19:31:12 +00:00
Gerald Pfeifer 1b490b42bf Fixed format strings. 2000-09-24 03:05:11 +00:00
Damyan Ognyanoff ab965d9541 Added error correction when using symbol offsets. 2000-09-22 20:57:36 +00:00
Andreas Mohr 007fb24088 Added support for non-deletable system brushes and pens created by
USER.
2000-09-16 20:53:51 +00:00
Gerard Patel 0ca52b2e42 Fix a memory leak in X11DRV_GetTextExtentPoint. 2000-09-12 23:34:30 +00:00
Hidenori Takeshima 36456e64c2 Added support for cp949. 2000-09-07 18:37:32 +00:00
Hidenori Takeshima e3deda3711 Add jisx0212 encoding.
Remove FIXMEs for implemented DBCS handling.
2000-09-04 20:19:59 +00:00
Albert den Haan 618ce03ed3 Convert the Unicode Character id to a glyph id in
X11DRV_GetTextExtentPoint.
2000-08-29 03:51:45 +00:00
Albert den Haan 2ca7b74846 - enhanced reporting of unsupported X font encodings
- added -cp-*- data to font encoding lookup structures
2000-08-29 03:51:21 +00:00
Hidenori Takeshima 080957a599 implements DrawText for cp932.
-----
2000-08-26 20:26:13 +00:00
Andreas Mohr 217a682b4f Minor cosmetic changes. 2000-08-25 21:56:19 +00:00
Alexandre Julliard 2ad1a94d28 Backed out font codepage change. 2000-08-25 21:35:11 +00:00
Alexandre Julliard c1c94ec80c Cleaned up major ugliness in __lfCheckSum. 2000-08-23 19:15:02 +00:00
Alexandre Julliard 0baa4e0b3b Removed unnecessary calls to CLIPPING_UpdateGCRegion. Fixed PatBlt to
use DC_GetDCUpdate.
2000-08-22 20:01:47 +00:00
Hidenori Takeshima 7901c0b505 Handle the codepage of fonts if supported by the graphics driver. 2000-08-20 20:08:35 +00:00
Hidenori Takeshima 5b1b512020 Added internal charsets for supporting DBCS charsets. 2000-08-20 19:04:04 +00:00
Marcus Meissner 1c2ff71cef Set X11DRV_DeviceCaps.numColors according to doc (fixes Cubase VST24
startup problem).
2000-08-20 18:48:24 +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
Hidenori Takeshima b7392f5c2e Separate GetTextMetrics and implement it for SBCS/Unicode/cp932. 2000-08-18 23:44:58 +00:00
Dmitry Timoshkov 5138a35295 Append .DRV to name only if no extension present. 2000-08-18 23:43:37 +00:00
Hidenori Takeshima 67ccc0880c Fixed for DBCS(cp932/cp949) codepage conversion.
Implemented cp932 handling partly(but still incomplete).
Added supporting multiple fonts for DBCS handling.
2000-08-15 12:01:47 +00:00
Hidenori Takeshima c86cb24ec2 Added support for special treatments (use 2 or more fonts, codepage
conversion, etc...) for DBCS text.
2000-08-14 17:25:13 +00:00
Alexandre Julliard c7e7df8b17 Replaced all lstr* calls from inside Wine code by their str* equivalent. 2000-08-14 14:41:19 +00:00
Hidenori Takeshima d80ce30090 Added checking for broken font cache.
Added supporting for iso10646 encoding.
2000-08-14 13:25:43 +00:00
Alexandre Julliard 42d20f9dca Merged clipboard driver into USER driver.
Moved all ttydrv source files to dlls/ttydrv.
Load functions pointer for the USER driver from the graphics driver
dll with GetProcAddress.
2000-08-10 01:16:19 +00:00
Alexandre Julliard 5ab9d860f2 Removed some unnecessary #includes and dll dependencies. 2000-08-09 22:35:05 +00:00
Alexandre Julliard a007f3364a Moved a few non-standard headers into their respective dlls. 2000-08-09 00:54:58 +00:00
Alexandre Julliard 6113975a1e Moved struct32.c to windows directory. 2000-08-09 00:38:18 +00:00
Uwe Bonnes 52034b00eb X11DRV_DIB_SetImageBits_RLE8: break image lines. 2000-08-07 02:33:26 +00:00
Alexandre Julliard cb10fdab99 Replaced lstrlen/lstrcmp by libc equivalents everywhere we don't need
to trap exceptions.
2000-08-06 02:41:16 +00:00
Alexandre Julliard 93652e1a68 Moved a bunch of functions out of libwine/kernel/gdi into USER. 2000-08-04 04:21:02 +00:00
Alexandre Julliard b0efe28f6c Removed a few dependencies on GDI internals from USER dll. 2000-08-04 04:18:04 +00:00
Alexandre Julliard 15467bfb1f Moved MulDiv() and VGA routines out of GDI. 2000-08-01 22:03:18 +00:00
Alexandre Julliard 646c562f9c Cleaned up some more USER dependencies. 2000-07-31 23:32:47 +00:00
Alexandre Julliard 58d5a0a786 Removed some unnecessary inclusions of wingdi.h and winuser.h 2000-07-29 21:58:17 +00:00
Ove Kaaven 97e482bc95 Add X11DRV_DIB_UpdateDIBSection2 that takes a HBITMAP parameter. 2000-07-28 23:59:06 +00:00
Andreas Mohr 2caee712a2 Spelling fixes. 2000-07-16 15:44:22 +00:00
Stephane Lussier 96754f5ec6 New version of the patch from Francois Jacques with a modification of
my own that makes everybody happy :-)
2000-07-15 21:37:33 +00:00
Hidenori Takeshima 1dde1e536a Added DBCS/unicode encoding templates. 2000-07-15 21:28:05 +00:00
Drew Ronneberg f6e4096194 Ignore broken fonts when building cache file. 2000-07-15 19:43:33 +00:00
Alexandre Julliard d5d8480fa5 Backed out previous patch. 2000-07-10 10:59:35 +00:00
Francois Jacques 7d35413162 Updated X11DRV_DIB_GetDIBits to properly handle bottom-up DIBs
manipulation.
Corrected XGetSubImage arguments order.
2000-07-08 18:34:39 +00:00
Dave Hawkes d8459f322c MoveToEx: return TRUE even if there is no driver implementation. 2000-06-20 20:15:38 +00:00
Dmitry Timoshkov 4d4e121759 Do not assume that double byte font == unicode font. 2000-06-18 19:28:42 +00:00
Stephane Lussier 626691c4b8 Fixed memory access outside of the range for source bits in 24-bit bitmaps. 2000-06-18 17:17:31 +00:00
Ken Coleman 0571af43d4 Fixes to CreateDIBSection and other areas where biSizeImage is
incorrectly assumed to be correct if it non-zero.  This fixes a
crashing problem in Sid Meier's Alpha Centauri.
2000-06-16 21:48:02 +00:00
Alexandre Julliard efefecd000 Use the font default char for undefined characters when mapping from
Unicode.
2000-06-12 01:23:33 +00:00
John Elliot 7bfa21cb80 Some fonts may have no characters at all for some reason, avoid crashes. 2000-06-11 19:59:37 +00:00