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 --- render/html.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'render/html.h') diff --git a/render/html.h b/render/html.h index f1ab9d86d..e6c322e14 100644 --- a/render/html.h +++ b/render/html.h @@ -28,6 +28,7 @@ #include #include "content/content_type.h" #include "css/css.h" +#include "desktop/plot_style.h" #include "render/parser_binding.h" struct box; @@ -197,11 +198,11 @@ bool html_redraw(struct content *c, int x, int y, bool text_redraw(const char *utf8_text, size_t utf8_len, size_t offset, bool space, - struct css_style *style, + const plot_font_style_t *fstyle, int x, int y, struct rect *clip, int height, - float scale, colour current_background_color, + float scale, bool excluded); #endif -- cgit v1.2.3