Another small issue in NSPrintOperation (that I just worked around in
my code).
If NSPrintScalingFactor is not set, printing will fail in
[NSPrintOperation -_printPaginateWithInfo:knowsRange:]:
info->printScale = [[dict objectForKey: NSPrintScalingFactor]
doubleValue];
In this line, the Dictionary will return nil and the doubleValue ends
up undefined or 0. It should be 1.0.
I suggest something like:
if ([dict objectForKey: NSPrintScalingFactor])
info->printScale = [[dict objectForKey: NSPrintScalingFactor]
doubleValue];
else
info->printScale = 1.0;
Best wishes,
Georg Fleischmann
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep