[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSTextField problems
From: |
Serg Stoyan |
Subject: |
Re: NSTextField problems |
Date: |
Wed, 29 Jan 2003 20:38:09 +0200 |
Hello Alexander,
AM> > Take a look at following pictures please:
[snip]
AM> > On the pictures 1 and 3 bottom of the text is lower bottom side of
AM> > textfield. Isn't it a reason of exceptions? I'll look at code
AM> > probably tommorow.
AM>
AM> I don't think this has anything to do with the problems. The current
AM> typesetter places the gap between the "line height" and real "text
AM> height" above the text, which is probably what's causing the text to
AM> appear further down. (In other words, the text touches the lower
AM> edge of the line height rectangle.) I'll change this so the gap is
AM> below the text instead. (So the text touches the upper edge of the
AM> line height rectangle.)
Ok, I see. I thought it's related... If no, anyway it's annoying
behaviuor.
[snip]
AM> I should have been clearer. It isn't the point size of the text
AM> that's too high, it's the line height. Anyway, I could add some
AM> magic when placing the baseline when the container is too small to
AM> fit anything, but I'd prefer not to. I think moving the text up (in
AM> it's line height) will take care of this in all sane cases. :)
But line height depends on glyph height, doesn't it?
--
Serg Stoyan
- Re: NSTextField problems, (continued)
- Re: NSTextField problems, Enrico Sersale, 2003/01/28
- Re: NSTextField problems, Alexander Malmberg, 2003/01/28
- Re: NSTextField problems, Alexander Malmberg, 2003/01/28
- Re: NSTextField problems, Enrico Sersale, 2003/01/28
- Re: NSTextField problems, Serg Stoyan, 2003/01/28
- Re: NSTextField problems, Enrico Sersale, 2003/01/28
- Re: NSTextField problems, Alexander Malmberg, 2003/01/29
- Re: NSTextField problems, Enrico Sersale, 2003/01/29
- Re: NSTextField problems, Alexander Malmberg, 2003/01/29
- Re: NSTextField problems, Alexander Malmberg, 2003/01/29
- Re: NSTextField problems,
Serg Stoyan <=