7216fbf3ffc72cb77bf509c0bffe719a1daa0ed5 braney Sun Sep 6 16:20:34 2020 -0700 first cut at using FreeType for font support diff --git src/hg/lib/hvGfx.c src/hg/lib/hvGfx.c index 6ef915e..3698bb1 100644 --- src/hg/lib/hvGfx.c +++ src/hg/lib/hvGfx.c @@ -281,15 +281,21 @@ dots = delta_y+1; 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) +/* Use the Free Type library to draw fonts. */ +{ +vgSetFontMethod(hvg->vg, method); +}