Alexandre Julliard
294c8af60b
Removed some unnecessary inclusions of gdi.h.
2004-01-20 22:48:57 +00:00
Alexandre Julliard
50a783f734
Get rid of some direct accesses to the DC structure from outside GDI.
2004-01-20 22:04:00 +00:00
Alexandre Julliard
32f1ac3a66
Use the exported FONTENUMPROCW as parameter in the EnumDeviceFonts
...
driver function instead of defining a private function type.
2004-01-18 23:35:12 +00:00
Alexandre Julliard
b89525fb06
Removed the bitsPerPixel field in the generic DC structure, and leave
...
it up to the graphics driver to define it if necessary.
2004-01-18 22:20:17 +00:00
Alexandre Julliard
7342390852
Get rid of the global INTERNAL_[XY]WSTODS macros.
2004-01-15 06:19:35 +00:00
Vincent Béron
431a96f43a
Get rid of a W->A crosscall (ResetDCA->ResetDCW).
2004-01-13 01:06:44 +00:00
Vincent Béron
446368333c
CreateDC is Unicode now, change the spec file accordingly.
2004-01-12 21:08:31 +00:00
Huw Davies
6e5ab4551a
Run length and ascii85 encode image data.
2003-12-08 21:40:27 +00:00
Huw Davies
40774be857
Let PSDRV_WriteSpool cope with strings longer than 0xffff bytes.
2003-12-04 20:54:05 +00:00
Rein Klazes
e617a9c528
Include ft2build.h before freetype/freetype.h. Libfreetype 2.1.7
...
requires this.
2003-11-19 02:18:13 +00:00
Huw Davies
ef2ac7acc3
Scale the OUTLINETEXTMETRIC's bounding box with the font size.
...
Fix wineps's font downloaders to cope with this behaviour.
2003-11-12 22:42:55 +00:00
Huw Davies
4a8c8e4e1b
Handle multicopy printing correctly.
2003-11-11 20:41:14 +00:00
Gerald Pfeifer
149bb9e625
Fix format strings in T42_download_header() and T42_download_glyph().
2003-11-11 20:40:27 +00:00
Dmitry Timoshkov
b95693c632
Constify strings.
2003-11-11 00:30:42 +00:00
Huw Davies
5722f67bb6
GetTextExtentPoint already adds char_extra so don't add it on again.
2003-11-11 00:28:51 +00:00
Huw Davies
9fb3f4e0d7
Update the visrgn in ResetDC so that GetClipBox works correctly after
...
a change in paper size/orientation.
2003-11-09 00:26:50 +00:00
Huw Davies
83d6e26b31
Support for duplex printing.
2003-11-05 00:37:47 +00:00
Huw Davies
dfdb7cf659
Fix the return value of StretchDIBits.
2003-11-03 22:14:46 +00:00
Huw Davies
c346a8be6f
Implement PSDRV_PaintRgn (also gets us FillRgn, FrameRgn and FillPath
...
for free).
2003-11-03 22:14:30 +00:00
Hans Leidekker
a2977cf5b8
Added Dutch translations.
2003-10-27 22:04:36 +00:00
Ivan Leo Murray-Smith
5f51bcf868
Added Italian resources.
2003-10-24 04:19:20 +00:00
Dimitrie O. Paun
fbdfd910c1
Remove SYMBOLFILE and LDDLLFLAGS from Makefiles.
2003-10-11 01:09:15 +00:00
Dimitrie O. Paun
8b255842ec
Remove the obsolete pascal16 (replaced by pascal -ret16).
2003-09-26 04:32:19 +00:00
Vincent Béron
bf5f07a5b4
Yet another batch of French resources updates.
2003-09-22 21:16:56 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
José Manuel Ferrer Ortiz
5069edc2de
More Spanish translations.
2003-08-23 23:04:49 +00:00
Dmitry Timoshkov
3a910c7d1f
Convert CreateDC to unicode in the driver interface.
2003-08-12 20:42:18 +00:00
Patrik Stridvall
ba78aac406
Fixed some issues found by winapi_check.
2003-08-08 21:07:23 +00:00
Dmitry Timoshkov
4e1ef0c114
For all DLLs with defined DllMain and which do not require
...
DLL_THREAD_ATTACH/DLL_THREAD_DETACH notifications, call
DisableThreadLibraryCalls() in order to slightly improve performance
on thread creation/exiting.
2003-06-30 20:53:48 +00:00
Marcelo Duarte
de08661413
- Localization to Portuguese of Brazil
...
- Revision and addition of missing resources
- Minor typo fix and codepage fix in programs/winefile resource.
2003-06-30 20:22:35 +00:00
Huw Davies
a3c10cf1e0
Make sure we update dc->bitsPerPixel.
2003-06-23 20:52:22 +00:00
Huw Davies
14c90e8e5f
For PostScript versions < 2.015 we need to explicitly allocate space
...
for the 'glyf' array.
To conserve VM, we only allow up to two fonts to be downloaded before
reclaiming their VM.
2003-06-23 19:57:08 +00:00
Rok Mandeljc
e36fa4551a
Updated a bunch of translations for Slovenian language.
2003-06-16 01:32:09 +00:00
Huw Davies
69c7164977
Look up the printer's port in the registry if neither CreateDC or
...
StartDoc specify one.
Photoshop 7 has a bug that results in cbInput being 2 less than the
length of the string rather than 2 more. So use the WORD at
in_data[0] instead.
2003-05-20 02:24:50 +00:00
Huw Davies
6124a02733
CUPS uses the ppd file to store the default paper size, so we'll read
...
it from here.
If the ppd doesn't contain an explicit resolution then default to
300dpi.
2003-05-20 02:22:25 +00:00
Huw Davies
4bc46368d5
Don't add spaces in the PostScript between every pixel - this made
...
debugging easier but results in an awful lot of whitespace being sent
to the printer.
Don't generate the %%Orientation DSC comment. The cups pstops filter
tries to rotate the image by 90degs when to it sees this comment.
Stop a crash if the document title is NULL.
2003-05-19 23:21:56 +00:00
Huw Davies
5e63af58a0
Reset the escapement back to zero before retrieving the outline (we're
...
already in a rotated coordinate system).
2003-05-19 23:20:44 +00:00
Huw Davies
7f45ed2ce2
Fix handling of text align modes for rotated text.
2003-05-19 23:20:11 +00:00
Huw Davies
a45df5d991
Rework clipping so that the PS clip path is only set just before any
...
graphics output event. Doing it this way means we don't ever need to
call initclip which is a Good Thing.
2003-05-19 19:06:47 +00:00
Alexandre Julliard
e048adab83
List 16-bit spec files explicitly to avoid problems with some versions
...
of make.
2003-03-23 20:00:02 +00:00
Marcus Meissner
26b9bcaba3
Was using the wrong define for the CUPS soname.
2003-03-07 20:36:08 +00:00
Andrew John Hughes
f1028ea28b
- DeviceCapabilities16 now calls PSDRV_DeviceCapabilities.
...
- ExtDeviceMode16 now calls PSDRV_ExtDeviceMode.
- Extended switch statement in DeviceCapabilities to handle new
options.
- Added comments to functions.
2003-01-31 03:24:33 +00:00
Francois Gouget
9b0b1e078a
Remove (POINTER)NULL casts.
2003-01-14 23:43:41 +00:00
Dan Kegel
0fd521fee3
Change RECT to use LONG to match win32 standard headers and fix format
...
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Francois Gouget
3efacb0acf
Remove extra #include directives from winspool.h.
2003-01-07 23:09:22 +00:00
Dimitrie O. Paun
297f3d898d
Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them.
2003-01-07 20:36:20 +00:00
Alexandre Julliard
69e711ef01
wineps16.dll should be named .drv.
2002-12-23 02:07:20 +00:00
Alexandre Julliard
dbf8b78acd
Added .spec.def files.
2002-12-12 22:04:04 +00:00
Alexandre Julliard
ada5e6521b
Implemented import libraries; on Unix we import the .def file
...
directly, on Mingw we use it to build the .a library.
2002-12-12 22:03:14 +00:00
Alexandre Julliard
435e2e63f4
winnt.h should not be self-contained, it must depend on windef.h so
...
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00
Huw Davies
bc71031240
Proper handling of SetTextCharacterExtra.
2002-11-15 01:02:16 +00:00
Huw Davies
a4c3ed02ee
Implemented Escapes *_PATH and POSTSCRIPT_IGNORE.
2002-11-15 00:02:13 +00:00
Huw Davies
97aed7a5dd
Fix PSDRV_DrawArc to work properly with logical coords.
2002-11-13 23:52:29 +00:00
Huw Davies
5d275962eb
Instead of trying to download the Type 42 glpyh metrics incrementally
...
(which most printers don't seem to understand), we'll download the
whole hmtx table in one go (sigh) unless it's larger than 64K in which
case we'll go back to using a Type 1 font.
2002-11-13 23:51:44 +00:00
Huw Davies
e24ed54029
We can't cache the unscaled font's hfont, since the mapping mode may
...
change. This resulted in some glyphs being downloaded at the wrong
size.
2002-11-13 23:50:44 +00:00
Marcus Meissner
f061f76704
Do not link against -lcups directly, but dynamically load it if
...
present (just like freetype etc.)
2002-11-12 02:22:24 +00:00
Alexandre Julliard
1e1313d54c
Made the dll entry point default to DllMain and removed most of the
...
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Marcus Meissner
0f53dbf32b
Specify existing extra size of WINEPS Devmode structure.
...
Make ExtDeviceMode16 in WINEPS return the correct size.
2002-11-04 22:37:57 +00:00
Dmitry Timoshkov
601a3abec1
Fix some types and function prototypes according to Platform SDK
...
definitions.
2002-10-31 01:04:39 +00:00
Vincent Béron
d1d586e2a9
Bring some French resources in sync with English ones.
2002-10-23 23:34:32 +00:00
Alexandre Julliard
b34fb35b31
Fixed warnings caused by conversion to -DSTRICT.
2002-10-18 23:48:57 +00:00
Alexandre Julliard
0ca051e555
Fixed wownt32.h to make it usable from inside Wine, and use it to
...
avoid some duplication of the handle conversion macros.
2002-10-17 16:43:42 +00:00
Michael Stefaniuc
e149b37f3a
Finish the conversion of HWND to a void*.
2002-09-06 20:40:42 +00:00
Patrik Stridvall
1ee88a2bfb
Removed trailing white space.
2002-08-28 23:43:43 +00:00
Patrik Stridvall
d016f819f1
Added include protection for unistd.h and sys/time.h.
2002-08-17 00:43:16 +00:00
Huw D M Davies
933733ce5b
Get the initial paper size from the locale info.
2002-08-15 23:20:19 +00:00
Huw D M Davies
238b4da314
Correct font size for non MM_TEXT modes.
2002-08-14 21:06:26 +00:00
Rafael Kitover
ac81d02a58
Portability fixes for Cygwin.
2002-07-31 20:04:20 +00:00
Carl Sopchak
0e8da89122
Pass "Manual Feed" as short input slot name.
2002-07-10 20:33:24 +00:00
Alexandre Julliard
5ee1599d59
Replaced LPTODP/DPTOLP macros by calls to LPtoDP/DPtoLP (with the help
...
of Huw Davies).
2002-06-25 23:29:51 +00:00
Huw D M Davies
ae4278ee59
Added Type 1 and Type 42 font downloading.
...
Misc bug fixes.
2002-06-24 23:44:18 +00:00
Huw D M Davies
7a6ea91913
Handle dmScale.
2002-06-24 23:41:55 +00:00
Huw D M Davies
22ae3bd167
psdrv doesn't care about hGCClipRgn, just use GetClipRgn instead.
2002-06-24 23:40:54 +00:00
Huw D M Davies
4aa2c81db2
Get rid of a few thousand useless TRACE lines.
2002-06-24 23:40:01 +00:00
Huw D M Davies
eee03b0ea5
Added afm weight "NORMAL".
2002-06-24 23:38:51 +00:00
Alexandre Julliard
77afd6c47e
Made some more spec file entries optional or unnecessary.
...
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +00:00
Alexandre Julliard
d3cab1857a
Moved DC origin into device-specific structure.
...
Fixed handling of DC origin in X11 driver.
2002-06-10 22:52:47 +00:00
Won-kyu Park
ff4f41d81e
Added Korean resources.
2002-06-10 02:32:31 +00:00
Alexandre Julliard
7cae558bdc
Removed some more trailing whitespace.
2002-06-01 02:55:48 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Alexandre Julliard
7fbd74ea55
Replaced the GET/PUT_UA macros by memcpy. Fixed a few big-endian
...
issues.
2002-05-23 02:53:10 +00:00
Alexandre Julliard
67e8dc6861
Added configure check for the soname of libraries that we load
...
dynamically. Added a few other configure macros, and moved all macros
into aclocal.m4.
2002-05-20 18:29:58 +00:00
Andreas Mohr
012478c9d3
Spelling stuff.
2002-05-20 18:01:44 +00:00
Alexandre Julliard
2ab7625934
Removed most imports of ntdll since we no longer import Wine internal
...
functions from there.
2002-05-17 03:37:12 +00:00
Alexandre Julliard
ad53383f9b
Added winebuild support for generating a .dbg.c file containing the
...
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard
67371bcc8d
Added -res option to specify resources on winebuild command-line.
...
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard
32459912dc
Moved imports specification from the .spec into the Makefile so that
...
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Alexandre Julliard
92b376d61d
Moved parts of the DC initialisation and bitmap selection out of the
...
drivers into the common code.
2002-05-07 02:08:46 +00:00
Alexandre Julliard
dec2cee2fb
Removed some direct accesses to the DC structure.
2002-05-02 01:39:48 +00:00
Alexandre Julliard
7418d39f5a
Export a few more 16-bit GDI functions. Finished wineps separation.
2002-04-17 16:51:47 +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
Huw D M Davies
b88f72465a
Implement ResetDC and PHYSICALOFFSET[X|Y] devcaps.
...
Fixes to MergeDevmodes.
2002-04-06 00:12:42 +00:00
Huw D M Davies
7526fc5f92
Changed default paper size to letter.
2002-04-06 00:04:31 +00:00
Huw D M Davies
18036cb5a1
Make ExtDeviceMode dialog use unicode property sheet functions.
2002-04-05 23:59:43 +00:00
Huw D M Davies
d14b2f0f0b
Load libfreetype.so on the fly with dlopen and friends.
2002-04-03 20:02:39 +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
c1bfca04e1
Changed builtin dlls file names to make it clear they are not normal
...
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +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
Patrik Stridvall
57e5784c21
Move __stdcall/__cdecl to the right place.
2002-02-02 18:42:11 +00:00