src/hg/lib/hCytoBand.c 1.7
1.7 2010/04/06 19:56:19 kent
Continued tuning of new font system.
Index: src/hg/lib/hCytoBand.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/hCytoBand.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -b -B -U 4 -r1.6 -r1.7
--- src/hg/lib/hCytoBand.c 17 Sep 2008 18:10:13 -0000 1.6
+++ src/hg/lib/hCytoBand.c 6 Apr 2010 19:56:19 -0000 1.7
@@ -112,9 +112,9 @@
* room put in band label. */
{
Color col = hCytoBandColor(band, hvg, isDmel, aColor, bColor, shades, maxShade);
hvGfxBox(hvg, x, y, width, height, col);
-if (height >= fontPixelHeight+2)
+if (height >= mgFontLineHeight(font))
{
char *s = abbreviatedBandName(band, font, width, isDmel);
if (s != NULL)
{