From 2565a37a52a5c714e7c6bbd1808db0d6d37c6ea3 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 21 Jul 2009 10:59:53 +0000 Subject: Refactor text plotter and other font functions to remove dependency on CSS. svn path=/trunk/netsurf/; revision=8641 --- amiga/font.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'amiga/font.h') diff --git a/amiga/font.h b/amiga/font.h index 151d10d91..e62be85a4 100755 --- a/amiga/font.h +++ b/amiga/font.h @@ -19,7 +19,7 @@ #ifndef AMIGA_FONT_H #define AMIGA_FONT_H -#include "css/css.h" +#include "desktop/plotters.h" #include #define NSA_NORMAL 0 @@ -27,9 +27,8 @@ #define NSA_BOLD 2 #define NSA_BOLDITALIC 3 -struct TextFont *ami_open_font(struct css_style *); void ami_close_font(struct TextFont *tfont); -ULONG ami_unicode_text(struct RastPort *rp,const char *string,ULONG length,const struct css_style *style,ULONG x,ULONG y,ULONG c); +ULONG ami_unicode_text(struct RastPort *rp,const char *string,ULONG length,const plot_font_style_t *fstyle,ULONG x,ULONG y); void ami_init_fonts(void); void ami_close_fonts(void); -- cgit v1.2.3