From f459052ef8d42041d582113cbf62cfe8912ebc1a Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sat, 12 Oct 2002 13:05:16 +0000 Subject: [project @ 2002-10-12 13:05:16 by bursa] Speed improvements in layout_line() (call Font_ScanString much less). svn path=/import/netsurf/; revision=43 --- riscos/font.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'riscos/font.h') diff --git a/riscos/font.h b/riscos/font.h index 21e44bc24..36684d197 100644 --- a/riscos/font.h +++ b/riscos/font.h @@ -1,5 +1,5 @@ /** - * $Id: font.h,v 1.3 2002/10/08 11:15:29 bursa Exp $ + * $Id: font.h,v 1.4 2002/10/12 13:05:16 bursa Exp $ */ #ifndef _NETSURF_RISCOS_FONT_H_ @@ -40,5 +40,7 @@ void font_position_in_string(const char* text, struct font_data *font, struct font_set *font_new_set(void); struct font_data *font_open(struct font_set *set, struct css_style *style); void font_free_set(struct font_set *set); +char * font_split(struct font_data *data, const char * text, unsigned int length, + unsigned int width, unsigned int *used_width); #endif -- cgit v1.2.3