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/inc/hvGfx.h src/hg/inc/hvGfx.h index c96e57c..4d390c7 100644 --- src/hg/inc/hvGfx.h +++ src/hg/inc/hvGfx.h @@ -347,19 +347,19 @@ */ /* int hvGfxCurve(struct hvGfx *hvg, int x0, int y0, int x1, int y1, int x2, int y2, Color color, boolean isDotted); */ /* Draw a segment of an anti-aliased curve within 3 points (quadratic Bezier) * Return max y value. Optionally alternate dots. * Adapted trivially from code posted at http://members.chello.at/~easyfilter/bresenham.html */ /* Thanks to author * @author Zingl Alois * @date 22.08.2016 */ void hvGfxDottedLine(struct hvGfx *hvg, int x1, int y1, int x2, int y2, Color color, boolean isDash); /* Brezenham line algorithm, alternating dots, by 1 pixel or two (isDash true) */ -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. */ #endif