summaryrefslogtreecommitdiff
path: root/render/font.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2002-06-18 21:24:21 +0000
committerJames Bursa <james@netsurf-browser.org>2002-06-18 21:24:21 +0000
commit74ef206f532445a03a9463d4c0a5e0715e9808b4 (patch)
treee66380bb885014983388486e62785321a02d65de /render/font.h
parentce0d001eb13221644242270985975e967a32b297 (diff)
downloadnetsurf-74ef206f532445a03a9463d4c0a5e0715e9808b4.tar.gz
netsurf-74ef206f532445a03a9463d4c0a5e0715e9808b4.tar.bz2
[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
Diffstat (limited to 'render/font.h')
-rw-r--r--render/font.h3
1 files changed, 2 insertions, 1 deletions
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);