mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 11:51:27 +00:00
fix output of postscript on mingw32
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22536 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bbb18e8c10
commit
f3a8250f88
2 changed files with 13 additions and 4 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,17 +1,22 @@
|
|||
2005-02-13 Fred Kiefer <FredKiefer@gmx.de>
|
||||
2006-02-22 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/gsc/GSStreamContext.m: Fix opening of file on mingw32
|
||||
Don't log where we are printingf to unless debugging is on.
|
||||
|
||||
2006-02-13 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/cairo/CairoGState.m (-copyWithZone:): Handle more of the
|
||||
state parameters in copy.
|
||||
* Source/cairo/CairoGState.m (-compositerect:op:): Protect
|
||||
operator setting with save/restore.
|
||||
|
||||
2005-02-12 Fred Kiefer <FredKiefer@gmx.de>
|
||||
2006-02-12 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/cairo/CairoGState.m (-compositeGState:...fraction:): Deal
|
||||
with flipped views. Also some cleanup in the whole file and a hack
|
||||
to set alpha.
|
||||
|
||||
2005-02-11 Fred Kiefer <FredKiefer@gmx.de>
|
||||
2006-02-11 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/cairo/CairoGState.m (-DPSImage::::::::): Handle missing
|
||||
parameters, row end padding and destroy the temporary image at the
|
||||
|
|
|
@ -83,8 +83,12 @@ fpfloat(FILE *stream, float f)
|
|||
if (info && [info objectForKey: @"NSOutputFile"])
|
||||
{
|
||||
NSString *path = [info objectForKey: @"NSOutputFile"];
|
||||
NSLog(@"Printing to %s", [path fileSystemRepresentation]);
|
||||
NSDebugLLog(@"GSContext", @"Printing to %@", path);
|
||||
#if defined(__MINGW32__)
|
||||
gstream = _wfopen([path fileSystemRepresentation], L"wb");
|
||||
#else
|
||||
gstream = fopen([path fileSystemRepresentation], "w");
|
||||
#endif
|
||||
if (!gstream)
|
||||
{
|
||||
NSDebugLLog(@"GSContext", @"%@: Could not open printer file %@",
|
||||
|
|
Loading…
Reference in a new issue