c73823892aa5384025c64a22b5da8e4332d38efd braney Wed Sep 30 14:53:48 2020 -0700 get the postscript driver to allow font specification. Use the correct names for fonts. diff --git src/hg/lib/hvGfx.c src/hg/lib/hvGfx.c index 55c0a3e..994beb6 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, char *fontFile) +void hvGfxSetFontMethod(struct hvGfx *hvg, unsigned int method, char *fontName, char *fontFile) /* Use the Free Type library to draw fonts. */ { -vgSetFontMethod(hvg->vg, method, fontFile); +vgSetFontMethod(hvg->vg, method, fontName, fontFile); }