The following patch fixes the problem of the incorrect string position
in a non-flipped view. behaviour is now the same as on OSX and OpenStep.

-bat. [simple when you finally spot it!]





*** NSStringDrawing.m.orig      Wed Jun 18 23:47:17 2003
--- NSStringDrawing.m   Wed Jun 18 23:39:10 2003
***************
*** 100,105 ****
--- 100,107 ----
      {
        DPSscale(ctxt, 1, -1);
        point.y = -point.y;
+       point.y -= [layoutManager usedRectForTextContainer:
+                       textContainer].size.height;
        [NSFont _setFontFlipHack: YES];
      }


_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to