}
}
-static int builtinFontHt(double fontsz)
+int builtinFontHt(double fontsz)
{
gdFontPtr fp = builtinFont(fontsz);
return fp->h;
}
-static int builtinFontWd(double fontsz)
+int builtinFontWd(double fontsz)
{
gdFontPtr fp = builtinFont(fontsz);
return fp->w;
#ifndef HAVE_GD_FREETYPE
extern void initDPI(graph_t *);
extern double textheight(int nlines, double fontsz);
+ extern int builtinFontHt(double fontsz);
+ extern int builtinFontWd(double fontsz);
#endif
extern codegen_info_t *first_codegen(void);
extern codegen_info_t *next_codegen(codegen_info_t * p);
return gdFontGiant;
}
}
-
-static int builtinFontHt(double fontsz)
-{
- gdFontPtr fp = builtinFont(fontsz);
- return fp->h;
-}
-static int builtinFontWd(double fontsz)
-{
- gdFontPtr fp = builtinFont(fontsz);
- return fp->w;
-}
#endif
static void gdgen_textpara(GVJ_t * job, pointf p, textpara_t * para)