Commit Graph

70 Commits

Author SHA1 Message Date
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 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 58d5a0a786 Removed some unnecessary inclusions of wingdi.h and winuser.h 2000-07-29 21:58:17 +00:00
Andreas Mohr 2caee712a2 Spelling fixes. 2000-07-16 15:44:22 +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
John Elliot 7bfa21cb80 Some fonts may have no characters at all for some reason, avoid crashes. 2000-06-11 19:59:37 +00:00
Dmitry Timoshkov 2850b6628e Assign codepage for every X11 font suffix, and use it for converting
text to display.
2000-06-10 04:44:12 +00:00
Alexandre Julliard adcf7b455f Use the correct display for cached metrics file name.
Store metrics in specified config dir.
2000-05-15 02:47:25 +00:00
Patrik Stridvall 3d511617f4 Removed X_DISPLAY_MISSING. 2000-04-25 19:55:35 +00:00
Alexandre Julliard 227a0894d4 Removed a number of global handle allocations and critical section
initializations.
2000-04-08 21:06:06 +00:00
Francois Gouget 6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +00:00
Alexandre Julliard aafd54dab9 Moved font resource functions out of the X11 driver. 2000-03-19 21:20:54 +00:00
Rein Klazes a99fa8601b Include in the AddFontResourceA/W fixme message a pointer to the fonts
document. In this document tell the user how to find the needed tools.
2000-03-07 12:24:26 +00:00
Alexandre Julliard 00377a78b7 Store config file contents in the registry so we only have to load it
once per session.
Replaced PROFILE_EnumerateWineIniSection by PROFILE_EnumWineIniString.
Removed a few unnecessary/unused command-line options.
2000-02-19 20:50:00 +00:00
Alexandre Julliard 90476d6b4a Moved SystemHeap allocations to the process heap. 2000-02-16 22:47:24 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Alexandre Julliard 24ea884488 Backed out scalable bitmap change (gives ugly results). 2000-01-08 22:27:31 +00:00
Huw D M Davies c553924ddd Move DCFuncs ExtTextOut and GetTextExtentPoint to Unicode.
Map a few Unicode chars to the first 0xff in psdrv.
Don't expect x11drv to display Unicode chars yet.
1999-12-26 00:47:03 +00:00
Dmitry Timoshkov 2da48e3c87 Don't skip usable X fonts. Add support for koi8 fonts. 1999-12-25 22:47:09 +00:00
Bradley Baetz 7b5e33c6ac Give the app back the exact font name it asked for. 1999-11-28 20:16:37 +00:00
Ulrich Weigand d1682aab05 Removed some unaligned accesses. 1999-11-21 02:21:17 +00:00
Ulrich Czekalla e6ab9d308a Make sure that all calls use the extended structures which are a
superset of the regular structures.
1999-10-24 17:26:45 +00:00
Richard Cohen 8dde3c7f60 Various fixes for the X11 font mapper, particularly:
- size fonts with negative heights correctly
- calculate average width correctly.
1999-09-05 12:18:57 +00:00
Huw D M Davies 28896ee7bf For large font sizes call XLoadQueryFont with a 100 pixel high font
and rescale the metrics.
1999-07-24 12:10:23 +00:00
Alexandre Julliard 61fece0590 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-06-26 19:09:08 +00:00
Alexander Kanavin f26c89e83a Standard dialog boxes resources and OLE strings are now in cp1251 encoding
Font mapper does not anymore use fonts in -koi8-r encoding
Font mapper now recognises fonts in -windows-* encodings (these are
provided by xfstt TrueType server)
Font mapper now sees max 16384 fonts (was 2048)
1999-06-22 19:14:40 +00:00
Patrik Stridvall 1bb9403938 ANSI C fixes. 1999-05-08 15:47:44 +00:00
Alexandre Julliard f62b48712e Use $HOME instead of getpwuid for user's home directory. 1999-04-25 12:39:33 +00:00
Alexandre Julliard bc49a36f56 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
More appropriate default size for fonts with invalid sizes.
1999-04-25 10:57:03 +00:00
Patrik Stridvall 0f8bc5b5c7 Fixed ANSI compabillity. 1999-04-22 16:27:50 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Veksler Michael e94e35431e Removed winuser16.h from x11drv.h. 1999-03-22 12:41:26 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Patrik Stridvall ab121e7838 X11 driver changes. 1999-02-04 11:11:01 +00:00
Huw D M Davies 4a0d405f52 Reduce MAX_FONT_SIZE to 1000. 1999-02-02 10:13:14 +00:00
Pablo Saratxaga e4141dc574 Small patch. 1999-01-20 14:54:01 +00:00
Alexandre Julliard 638f169b1e Recovery of release 990110 after disk crash.
See Changelog for changes between 990103 and 990110.
1999-01-17 16:32:32 +00:00
Alex Korobka 01d1a6a03c Cleaned up font encoding handling. Added 'Ignore#' option to the
[fonts] section. Also, file with cached metrics now has the value of
$DISPLAY appended to the filename.
1998-12-26 19:42:02 +00:00
Ian Pilcher cc4e9cb43c Added ability to specify X fonts used for Helv and Tms Rmn typefaces
with DefaultSerif and DefaultSansSerif INI keys.
1998-12-14 16:39:29 +00:00
Huw D M Davies 7a31ef2dc7 XLFDs should be well-formed (14 hyphens) to match scalable fonts.
Stop slant field becoming wildcarded too early.
1998-12-14 12:58:10 +00:00
Huw D M Davies e82199121f Sanity check on font size. 1998-12-10 08:26:23 +00:00
Pablo Saratxaga b13f23e4fc Improved the handling of font encodings. 1998-12-09 14:51:48 +00:00
Ulrich Weigand 94632fcd68 Bugfix: -microsoft-symbol encoding was not recognized. 1998-12-07 10:36:56 +00:00
Huw D M Davies 9c68faadab Remove X_DC_INFO from DC and make it behave like any other PDEVICE. 1998-11-25 12:36:03 +00:00
Eric Warnke 3036c985bd Don't match against Symbol or Nil fonts. 1998-11-24 20:43:06 +00:00
Jesper Skov 5c3e457b16 egcs 'ambiguous else' warnings fixes. 1998-11-01 19:27:22 +00:00