diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-04-30 19:05:11 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-04-30 19:05:11 +0000 |
commit | 11a028442758a0e4cfe065d0649f79ad5430a04a (patch) | |
tree | 6d41a21988b32f8374750af7b46831a77a020649 /amiga/font.h | |
parent | 003f3537c6f6d45f9f04f04df98d502bfe45f550 (diff) | |
download | netsurf-11a028442758a0e4cfe065d0649f79ad5430a04a.tar.gz netsurf-11a028442758a0e4cfe065d0649f79ad5430a04a.tar.bz2 |
Don't open fonts until they are needed
svn path=/trunk/netsurf/; revision=12264
Diffstat (limited to 'amiga/font.h')
-rwxr-xr-x | amiga/font.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 <graphics/rastport.h> -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 |