--- CustomViews/AKTableView.m.orig	2009-07-23 20:35:52.000000000 +0200
+++ CustomViews/AKTableView.m	2010-05-12 22:42:02.000000000 +0200
@@ -22,7 +22,9 @@
     int fontSize =
         [AKPrefUtils intValueForPref:AKListFontSizePrefName];
     NSFont *font = [NSFont fontWithName:fontName size:fontSize];
-    int newRowHeight = round([font defaultLineHeightForFont] + 1.0);
+    NSLayoutManager * lm = [[NSLayoutManager alloc] init];
+    int newRowHeight = round([lm defaultLineHeightForFont:font] + 1.0);
+    [lm release];
 
     [[[[self tableColumns] objectAtIndex:0] dataCell] setFont:font];
     [self setRowHeight:newRowHeight];

