Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Line height in message list is too big

#75

The line height for my favorite font is too big in MailMate when compared with Apple Mail. An example is attached; you can see MailMate is 2 pixels taller than Apple Mail, which makes a big difference in lists.

Reported by Nicholas Riley · March 2nd, 2011 @ 01:09 AM

State: accepted
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny
    • State changed from new to accepted

    I'll look into the code handling this. When/if it will be fixed is going to depend on how tricky it'll be (without hardcoding sizes).

    By the way: What is the font and the size used?

    March 2nd, 2011 @ 08:08 AM

  2. Nicholas Riley
    Nicholas Riley

    Yeah, I realize font measurement is really a pain. However given Mail does it right, I hope it'd be doable.

    I posted the font at http://dl.dropbox.com/u/1583683/Rosie.ttf (above is 12 point). It was free from somewhere years ago but the web site seems to have disappeared.

    March 3rd, 2011 @ 07:50 PM

  3. benny
    benny

    Thanks for the font. I can reproduce what you see, but despite some experimentation I have not yet found a solution which works for all fonts. And it is not just a question of row height, but also the vertical placement of the fonts. I'll have to postpone it for now, but I'll get back to it at some point.

    To any viewers of this ticket: If you know any example code for setting the row height for an NSFont in an NSTableView which works at least as well as it does in Apple Mail, then I would very much like to see it.

    March 4th, 2011 @ 12:29 PM

  4. benny
    benny
    • State changed from accepted to fixcommitted

    A long time ago I added an option to control the line height delta in the “Fonts” panel (“Format ▸ Show Fonts”). This ticket was never updated. Sorry about that.

    (It is still an open question how Apple Mail handles this.)

    October 9th, 2013 @ 09:11 AM

  5. benny
    benny
    • State changed from fixcommitted to fixreleased

    October 17th, 2013 @ 02:27 PM

  6. fnurl
    fnurl

    Just read this and found out about the "line height delta" in the Fonts panel. I wish more apps had that :) Thanks!

    August 6th, 2015 @ 06:37 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.