diff --git a/ChangeLog b/ChangeLog index 2b4b2baa1..578c5a133 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1999-05-25 Adam Fedor + + * Source/NSStringDrawing.m ([NSAttributesString -drawInRect:]): + Remove gsave/grestore and NSClipRect (to conform to Apple's + OPENSTEP NSString operation). + Tue May 25 8:50:00 1999 Richard Frith-Macdonald * Source/Model/IMConnectors.m: Use 'standard' function to set ivars diff --git a/Source/NSStringDrawing.m b/Source/NSStringDrawing.m index 86443f550..24650fcad 100644 --- a/Source/NSStringDrawing.m +++ b/Source/NSStringDrawing.m @@ -1238,9 +1238,6 @@ setupLine(GSTextLine *line, NSAttributedString *str, NSRange range, NSPoint point; NSView *view = [NSView focusView]; - PSgsave(); - NSRectClip(rect); - /* * Since [-drawAtPoint:] positions the top-left corner of the text at * the point, we locate the top-left corner of the rectangle to do the @@ -1253,7 +1250,6 @@ setupLine(GSTextLine *line, NSAttributedString *str, NSRange range, point.y = rect.origin.y + rect.size.height; [self drawAtPoint: point]; - PSgrestore(); } - (NSSize) size