[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSCell -_nonAutoreleasedTypingAttributes minor change.

From: Alexander Malmberg
Subject: Re: NSCell -_nonAutoreleasedTypingAttributes minor change.
Date: Sun, 11 Jan 2004 02:00:14 +0100

Michael Hanni wrote:
> Hi,
> Seemingly the baseline for string drawing in controls is one pixel too
> low. Maybe I'm seeing things, but this small patch for NSCell makes
> these strings center a little better. Some extra research might be
> necessary.

Most likely, yes, it needs to be investigated further, and it is
possible that it should be fixed by adjusting baseline calculations in
other places (or somewhere completely different; I've had problems in
the past with indented rectangles passed to the string drawing
functions; the text won't fit, and they can overrun the rectangle up or
down, and 'pick' the wrong direction for controls).

- Alexander Malmberg

reply via email to

[Prev in Thread] Current Thread [Next in Thread]