From 11a028442758a0e4cfe065d0649f79ad5430a04a Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 30 Apr 2011 19:05:11 +0000 Subject: Don't open fonts until they are needed svn path=/trunk/netsurf/; revision=12264 --- amiga/font.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'amiga/font.h') diff --git a/amiga/font.h b/amiga/font.h index 398fa7c5a..0d534bafa 100755 --- a/amiga/font.h +++ b/amiga/font.h @@ -22,8 +22,12 @@ #include "desktop/plotters.h" #include -ULONG ami_unicode_text(struct RastPort *rp,const char *string,ULONG length,const plot_font_style_t *fstyle,ULONG x,ULONG y); +struct ami_font_node; + +ULONG ami_unicode_text(struct RastPort *rp, const char *string, + ULONG length, const plot_font_style_t *fstyle, ULONG x, ULONG y); void ami_font_setdevicedpi(int id); void ami_init_fonts(void); void ami_close_fonts(void); +void ami_font_close(struct ami_font_node *node); #endif -- cgit v1.2.3