Jakob Eriksson
9ed61de9a2
Get rid of HeapAlloc casts.
2005-03-24 21:01:35 +00:00
Marcus Meissner
a34c23498f
Check for overflows with ClrUsed.
2005-02-14 11:08:22 +00:00
Huw Davies
6c1e2480e8
Scale the patterns so that they're rendered at 300dpi.
...
Create the image dictionary once, rather than every time the PaintProc
is called - should speed printing up somewhat.
2004-11-02 19:25:51 +00:00
Marcus Meissner
2f4b33c904
Make sure PostScript floats are printed with LC_NUMERIC="C".
2004-10-05 22:31:14 +00:00
Hans Leidekker
719a789792
Fix signed/unsigned comparison warnings.
2004-09-22 02:46:38 +00:00
Francois Gouget
cfc3943c5f
Make our ascii strings static const.
...
Remove a couple string variables that were used only once and use the
string literal directly.
2004-05-04 04:13:05 +00:00
Huw Davies
780667fe1e
Bracket code inserted by the PASSTHROUGH escapes by
...
%%{Begin,End}Document. This stops cups' pstops becoming confused if it
comes across an %%EOF in an imported eps file.
The hack in PSDRV_Rectangle to fix eps files in office2k turns out to
be almost what Windows really does - update the code and the comment
to match Windows behaviour more precisely.
2004-02-12 20:05:22 +00:00
Blake Leverett
60eb3c9084
Printing a dashed line causes all later solid lines in postscript
...
output to be dashed.
2004-01-23 02:11:29 +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
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
Huw Davies
4a8c8e4e1b
Handle multicopy printing correctly.
2003-11-11 20:41:14 +00:00
Dmitry Timoshkov
b95693c632
Constify strings.
2003-11-11 00:30:42 +00:00
Huw Davies
83d6e26b31
Support for duplex printing.
2003-11-05 00:37:47 +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
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
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
Dimitrie O. Paun
297f3d898d
Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them.
2003-01-07 20:36:20 +00:00
Huw Davies
a4c3ed02ee
Implemented Escapes *_PATH and POSTSCRIPT_IGNORE.
2002-11-15 00:02:13 +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
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +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
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
Ian Pilcher
061cfa80a7
Removed ANSI encoding stuff.
2001-08-10 22:30:16 +00:00
Ian Pilcher
c4e40d8f9e
Remove previously disabled code.
2001-08-09 21:36:56 +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
Ian Pilcher
42e052d405
Rewrite TrueType font metric parsing code.
2001-07-26 21:42:45 +00:00
Ian Pilcher
020146619c
Read/calculate average character width for all fonts.
...
Work directly with 16-bit WCHARs; don't convert to CP1252.
2001-07-19 00:30:43 +00:00
Huw D M Davies
d4b933e7d2
Take into account unprintable margins in psdrv.
2001-01-28 23:13:45 +00:00
Alexandre Julliard
2239abb9f9
Allocate DC objects on the process heap, and removed WIN_DC_INFO
...
structure (based on a patch by Ken Coleman).
2000-11-05 02:05:07 +00:00
Dimitrie O. Paun
84bde6a4a4
Separate wineps out of Wine's core.
2000-05-30 20:27:23 +00:00