50214f805964207ffae51a783513167cb51f5e2e
braney
  Tue Sep 29 17:49:32 2020 -0700
support font choice in freetype font support

diff --git src/hg/lib/hvGfx.c src/hg/lib/hvGfx.c
index 3698bb1..55c0a3e 100644
--- src/hg/lib/hvGfx.c
+++ src/hg/lib/hvGfx.c
@@ -282,20 +282,20 @@
     while (--dots >= 0)
         {   
         if (dots % dotFreq)
             hvGfxDot(hvg,x1,y1,color);
         duty_cycle += delta_x;
         y1+=incy;
         if (duty_cycle > 0)
             {   
             duty_cycle -= delta_y;        /* update duty cycle */
             x1 += 1;
             }   
         }   
     }   
 }   
 
-void hvGfxSetFontMethod(struct hvGfx *hvg, unsigned int method)
+void hvGfxSetFontMethod(struct hvGfx *hvg, unsigned int method, char *fontFile)
 /* Use the Free Type library to draw fonts. */
 {
-vgSetFontMethod(hvg->vg, method);
+vgSetFontMethod(hvg->vg, method, fontFile);
 }