b01267e746a100118ca7045113d78b5fa588e685
braney
  Fri May 30 17:10:30 2025 -0700
when a composite has dense tracks the way we deal with center labels
the draw routine leaves grek in the track when the decenders of the
center label have been drawn even though the center label is not
actually drawn, but hidden via CSS.
Now in this condition we're drawing slightly smaller fonts for the
center labels so they don't exceed the drawing box.  refs #29500

diff --git src/hg/hgTracks/hgTracks.h src/hg/hgTracks/hgTracks.h
index d2d4e1b0d81..67e42c3a8f0 100644
--- src/hg/hgTracks/hgTracks.h
+++ src/hg/hgTracks/hgTracks.h
@@ -1851,17 +1851,20 @@
  * UTR/noncoding, black otherwise. */
 
 void maybeNewFonts(struct hvGfx *hvg);
 /* Check to see if we want to use the alternate font engine (FreeType2). */
 
 Color colorFromCart(struct track *tg, Color color);
 /* Return the RGB color from the cart setting 'colorOverride' or just return color */
 
 unsigned getParaLoadTimeout();
 // get the parallel load timeout in seconds (defaults to 90)
 
 void maybeDrawQuickLiftLines( struct track *tg, int seqStart, int seqEnd,
                       struct hvGfx *hvg, int xOff, int yOff, int width,
                       MgFont *font, Color color, enum trackVisibility vis);
 /* Draw the indel regions as a highlight. */
+
+unsigned findBiggest(unsigned num);
+/* find biggest font not bigger than num */
 #endif /* HGTRACKS_H */