From 74ef206f532445a03a9463d4c0a5e0715e9808b4 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Tue, 18 Jun 2002 21:24:21 +0000 Subject: [project @ 2002-06-18 21:24:21 by bursa] Improved inline and float layout, new CSS properties, better debug output. svn path=/import/netsurf/; revision=20 --- render/font.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'render/font.h') diff --git a/render/font.h b/render/font.h index 4d789a208..2ab98aaef 100644 --- a/render/font.h +++ b/render/font.h @@ -1,5 +1,5 @@ /** - * $Id: font.h,v 1.2 2002/05/11 15:22:24 bursa Exp $ + * $Id: font.h,v 1.3 2002/06/18 21:24:21 bursa Exp $ */ /** @@ -24,4 +24,5 @@ font_id font_add(struct font_set * font_set, const char * name, unsigned int wei void font_set_free(struct font_set * font_set); struct font_split font_split(struct font_set * font_set, font_id id, const char * text, unsigned long width, int force); +unsigned long font_width(struct css_style * style, const char * text, unsigned int length); -- cgit v1.2.3