summaryrefslogtreecommitdiff
path: root/render/box.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2002-09-26 21:38:33 +0000
committerJames Bursa <james@netsurf-browser.org>2002-09-26 21:38:33 +0000
commitfcbe2cebae28ef623dceb82ce9501027fea91fb5 (patch)
tree98c31a34081cc490422bdf6705d94c924a99b724 /render/box.h
parentf0fc6ca473ee9532c7a4ce9493ee304de1c6d474 (diff)
downloadnetsurf-fcbe2cebae28ef623dceb82ce9501027fea91fb5.tar.gz
netsurf-fcbe2cebae28ef623dceb82ce9501027fea91fb5.tar.bz2
[project @ 2002-09-26 21:38:32 by bursa]
New Unicode font handling and rendering code. svn path=/import/netsurf/; revision=39
Diffstat (limited to 'render/box.h')
-rw-r--r--render/box.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/render/box.h b/render/box.h
index 5165945b5..3df758a60 100644
--- a/render/box.h
+++ b/render/box.h
@@ -1,5 +1,5 @@
/**
- * $Id: box.h,v 1.10 2002/09/19 19:54:43 bursa Exp $
+ * $Id: box.h,v 1.11 2002/09/26 21:38:33 bursa Exp $
*/
#ifndef _NETSURF_RENDER_BOX_H_
@@ -8,6 +8,7 @@
#include <limits.h>
#include "libxml/HTMLparser.h"
#include "netsurf/render/css.h"
+#include "netsurf/riscos/font.h"
/**
* structures
@@ -43,6 +44,7 @@ struct box {
struct box * float_children;
struct box * next_float;
struct column *col;
+ struct font_data *font;
};
#define UNKNOWN_WIDTH ULONG_MAX
@@ -55,7 +57,7 @@ struct box {
void xml_to_box(xmlNode * n, struct css_style * parent_style, struct css_stylesheet * stylesheet,
struct css_selector ** selector, unsigned int depth,
struct box * parent, struct box * inline_container,
- const char *href);
+ const char *href, struct font_set *fonts);
void box_dump(struct box * box, unsigned int depth);
void box_free(struct box *box);