Commit Graph

247 Commits

Author SHA1 Message Date
Alexandre Julliard ebe3c529b1 Janitorial: C booleans must not be compared against TRUE. 2004-12-09 14:07:59 +00:00
Eric Pouech 0a258964c2 Const correctness fixes. 2004-11-30 21:38:57 +00:00
Huw Davies 5763977496 For a 15/16 bpp dib we send RGB triples to the printer so the size
multiplier is 3 not 2.
2004-11-30 21:02:46 +00:00
Huw Davies a96a700cf2 Protect sscanfs with a "C" locale so that they still work with new
glibcs in a locale doesn't use a '.' as a decimal separator.
2004-11-28 14:59:13 +00:00
Eric Frias 296c8c0caf Fixed file handle leak. 2004-11-21 15:39:02 +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
Huw Davies 81a049bd7d Use 1/4" margins for some standard paper sizes.
Turn Type42 support off by default.
Bump the FileVersion.
2004-08-31 17:31:27 +00:00
Huw Davies 174e6a5d28 Change dialogs to use MS Shell Dlg rather than Helv or MS Sans Serif. 2004-08-24 18:33:01 +00:00
David Kredba b45744c817 Added Czech resources. 2004-08-16 20:02:09 +00:00
Alexandre Julliard b459952144 Avoid some non-portable makefile constructs, and get rid of the
ALTNAMES variable.
2004-08-11 23:59:06 +00:00
Marcus Meissner 6695417321 Check return value of get_bbox(). 2004-08-02 18:26:14 +00:00
Hajime Segawa 76e280b401 Added some Japanese translations. 2004-06-28 23:50:22 +00:00
Ivan Leo Puoti 3e42f6953e Changed my name, so update copyright info. 2004-05-27 02:25:13 +00:00
Huw Davies 4d00315345 When building PostScript paths with the *_PATH escapes, don't clip the
path building primitives.  The clipping comes into play when we
actually draw something.
2004-05-18 20:42:09 +00:00
Huw Davies 8c75ba82f0 The PostScript clip operator doesn't clear the current path, so after
the CLIP_TO_PATH escape we want to clear it ourselves.
2004-05-12 23:03:22 +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
Gerald Pfeifer 7a6d41ca1c Include <stdlib.h> to obtain a prototype of abs(). 2004-05-02 04:21:28 +00:00
Krzysztof Foltman 9a900aa279 Make sure ascent/descent values don't become negative after coordinate
mapping.
2004-04-29 20:01:23 +00:00
Alexandre Julliard bb133bd596 Fixed a couple of header files ordering issues. 2004-04-07 03:59:41 +00:00
José Manuel Ferrer Ortiz 24dd96a907 Updated Spanish translations. 2004-04-06 03:24:19 +00:00
Alexandre Julliard 9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Alexandre Julliard 83decd25ad Changed the CreateDC driver entry point to use an HDC instead of a DC
pointer.
2004-03-04 06:26:11 +00:00
Alexandre Julliard ebd24807fe Pass the gdiFont object to the SelectFont driver entry point so that
we don't need to look into the DC structure for it.
2004-03-04 04:05:04 +00:00
Alexandre Julliard 8d18b2a518 Pass the breakExtra value in the ExtTextOut driver call, since there
is no function to retrieve it from the HDC.
2004-03-04 01:42:57 +00:00
Alexandre Julliard 45468c06df Changed the GetTextExtentPoint graphics driver entry point to return
device coordinates.
Removed not used breakCount field in the DC structure.
2004-03-03 21:32:15 +00:00
Alexandre Julliard d3d773d574 Moved generic.ppd to dlls/wineps, and install it in datadir. 2004-02-28 01:50:15 +00:00
Patrik Stridvall 8f9b09e947 Fixed some issues found by winapi_check. 2004-02-27 21:32:54 +00:00
Alexandre Julliard b65d13605c Fixed callers of GetLocaleInfoW to use the correct buffer size. 2004-02-25 01:35:01 +00:00
Alexandre Julliard e04fe7da4e Moved hGCClipRgn handling to the graphics driver. 2004-02-13 20:26:27 +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
Huw Davies fe13d6a0a9 Make sure that the font ppem is always positive. Thanks to gslink. 2004-02-12 20:04:48 +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
Ivan Leo Murray-Smith 6fb62d0353 Resource updates. 2004-01-23 01:44:47 +00:00
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