diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2009-01-16 20:05:21 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2009-01-16 20:05:21 +0000 |
commit | cd4f5ebd08a3333e3ffe596f6beb6fffd2bd5e76 (patch) | |
tree | 1695b1f06873e5a5e6452e175ebce2edab4f2a01 /amiga/font.h | |
parent | ff6cfea10e4627224ab1398c256fb58dfadac85f (diff) | |
download | netsurf-cd4f5ebd08a3333e3ffe596f6beb6fffd2bd5e76.tar.gz netsurf-cd4f5ebd08a3333e3ffe596f6beb6fffd2bd5e76.tar.bz2 |
nsfont_width implemented for Unicode text
cache outline fonts for big speedup
still need to implement other text size functions
and also bold and italic fonts
svn path=/trunk/netsurf/; revision=6095
Diffstat (limited to 'amiga/font.h')
-rwxr-xr-x | amiga/font.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/amiga/font.h b/amiga/font.h index f4d0b5fa1..59dd7b6fe 100755 --- a/amiga/font.h +++ b/amiga/font.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 Chris Young <chris@unsatisfactorysoftware.co.uk> + * Copyright 2008,2009 Chris Young <chris@unsatisfactorysoftware.co.uk> * * This file is part of NetSurf, http://www.netsurf-browser.org/ * @@ -24,5 +24,8 @@ struct TextFont *ami_open_font(struct css_style *); void ami_close_font(struct TextFont *tfont); -void ami_unicode_text(struct RastPort *rp,char *string,ULONG length,struct css_style *style,ULONG x,ULONG y,ULONG c); +ULONG ami_unicode_text(struct RastPort *rp,char *string,ULONG length,struct css_style *style,ULONG x,ULONG y,ULONG c); + +void ami_init_fonts(void); +void ami_close_fonts(void); #endif |