Lionel Ulmer
1814948705
Do not crash when trying to load bad fonts.
2003-07-09 04:18:22 +00:00
Ove Kaaven
ecc3f12af9
Fixed a memory allocation/corruption bug when growing the font cache.
2003-07-08 21:04:53 +00:00
Francois Gouget
9591836ffb
'sizeof type' is best avoided as it won't always compile (e.g. 'int
...
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Alexandre Julliard
9169729b0b
Merged font.h and path.h into gdi.h. Moved x11font.h to
...
dlls/x11drv. Removed a number of unnecessary #includes.
2002-12-03 19:18:41 +00:00
Huw Davies
94705862d6
Client side render fonts for XServers without the Render extension
...
using X11 core requests.
2002-11-14 22:31:34 +00:00
Patrik Stridvall
ba9dc78e39
Fixed mismatches between the Wine headers and the Microsoft headers.
2002-11-04 22:43:24 +00:00
Alexandre Julliard
e0315e4433
Converted x11drv to -DSTRICT.
2002-10-31 02:38:20 +00:00
Alexandre Julliard
9376fb30c5
Fixed a number of -DSTRICT warnings.
2002-10-31 02:12:18 +00:00
Malte Starostik
f9a486b10b
Added progress messages while building font metrics.
2002-10-17 01:22:56 +00:00
Alexandre Julliard
aface53759
Fixed a number of dll separation issues.
2002-08-28 22:35:23 +00:00
Patrik Stridvall
d016f819f1
Added include protection for unistd.h and sys/time.h.
2002-08-17 00:43:16 +00:00
Dave Hawkes
392c54e1c0
Fonts with an incomplete character set could cause a fault.
2002-08-09 19:50:20 +00:00
Alexandre Julliard
4144b5b8fc
Create the server directory and socket file in /tmp.
...
Use fcntl file locking to ensure exclusion on the server socket and to
better recover from crashes.
Flush the registry before closing the socket to avoid timeouts on the
client side.
Moved get_config_dir functionality to libwine.
2002-06-20 23:21:27 +00:00
Alexandre Julliard
78b041cf52
Better encapsulation of the font and metafile objects.
2002-06-04 01:02:51 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Vincent Béron
6a5ba8fba2
Fixed some more missing \n in traces.
2002-05-29 19:09:54 +00:00
James Juran
32886f6b88
Add missing \n to output messages.
2002-05-24 21:17:59 +00:00
Alexandre Julliard
5769d1de00
Better support for configure detection of missing types, added check
...
for ssize_t.
Removed a couple of no longer used portability functions.
Various portability fixes in port.h.
2002-04-26 19:05:15 +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
Hidenori Takeshima
6aadb22bfb
Use hard-coded font name bindings only with the ANSI_CHARSET (non-US
...
charsets with no font name shouldn't be bound to US charset).
2002-04-11 23:45:15 +00:00
Huw D M Davies
c2c8bf1bdd
If lfFaceName == "", then we patch up the names according to
...
lfPitchAndFamily. This is not very pretty I'm afraid...
2002-04-03 22:09:58 +00:00
Huw D M Davies
e1e51f9922
Don't calculate cached metrics or enumerate X11 fonts if we're using
...
client side fonts.
2002-04-03 21:18:50 +00:00
Patrik Stridvall
14c96c1017
Fixed some issues found by winapi_check.
2002-04-03 02:37:09 +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
Uwe Bonnes
6e5f6d0ce0
XFONT_GetAvgCharWidth: Always round up.
2002-01-29 16:48:20 +00:00
Huw D M Davies
6f7fc50424
Uses Xrender extension to allow client side font rendering.
...
Adds nice things like anti-aliased text.
2002-01-29 03:07:21 +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
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
Francois Gouget
58b299521d
Small typo fixes/updates.
2001-10-08 20:40:09 +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
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
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
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
5f728cae70
Removed HEAP_strdupA.
2001-07-24 21:45:22 +00:00
Alexandre Julliard
37e9503ae8
Moved server.h to include/wine.
2001-07-19 00:39:09 +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
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
Marcus Meissner
3f1ed52d8b
Implemented 64bit file size handling.
...
Removed several unneeded sys/stat.h includes.
2001-05-14 20:09:37 +00:00
Francois Gouget
ee285b7ac8
Remove unnecessary single quoting of debugstr_xxx strings.
2001-05-11 20:03:40 +00:00
Alexandre Julliard
c559735bf8
Renamed display to gdi_display where it is used for GDI operations, to
...
allow supporting multiple X connections.
2001-05-11 00:17:47 +00:00
Dmitry Timoshkov
a4d215ae3d
Add MS Shell Dlg font to the set of default sans serif fonts.
2001-04-16 18:55:02 +00:00
Alexandre Julliard
26320d1f75
Cleanup properly on x11drv unloading.
...
Moved --synchronous option into config file.
Removed --desktop, --display and --language command-line options.
2001-03-23 23:45:45 +00:00
Huw D M Davies
39f54283fc
Moved GetTextMetrics to unicode.
2001-03-16 16:43:14 +00:00
Alexandre Julliard
566a52ad8c
Changed isolated for loops to while loops (based on a patch by Andreas
...
Mohr).
2001-03-05 19:34:17 +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