src/lib/gemfont.c 1.11

1.11 2010/04/06 00:58:56 kent
Adjusting lineHeight of font to be at least two pixels more than pixel height. This gets the chromosome band text to draw again in the ideagram.
Index: src/lib/gemfont.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/lib/gemfont.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -b -B -U 4 -r1.10 -r1.11
--- src/lib/gemfont.c	27 Mar 2010 04:23:08 -0000	1.10
+++ src/lib/gemfont.c	6 Apr 2010 00:58:56 -0000	1.11
@@ -196,9 +196,6 @@
 
 int font_line_height(struct font_hdr *f)
 /* How far to next line. */
 {
-int x = f->lineHeight;
-if (x == 0)
-   f->lineHeight = x = f->frm_hgt + 1 + (f->frm_hgt/5);
-return x;
+return f->lineHeight;
 }