From b322e5d8d686874e998d61b2fea75f5236f0216f Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 5 Sep 2009 11:58:13 +0000 Subject: More simple svn path=/trunk/netsurf/; revision=9539 --- amiga/font.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'amiga/font.c') diff --git a/amiga/font.c b/amiga/font.c index 4c84d1d3f..75d149a3b 100644 --- a/amiga/font.c +++ b/amiga/font.c @@ -190,6 +190,7 @@ bool nsfont_split(const plot_font_style_t *fstyle, if(!(ofont = ami_open_outline_font(fstyle))) return false; *char_offset = 0; + *actual_x = 0; for(i=0;iglm_X1; @@ -234,21 +235,12 @@ bool nsfont_split(const plot_font_style_t *fstyle, } /* - while(((*string != ' ')) && (string > ostr)) - { - * todo: calc size of preceding character * - utf8len = 1; - string -= utf8len; - co -= utf8len; - } -*/ - if(found == false) { *char_offset = utf8clen; *actual_x = tx; } - +*/ free(outf16); return true; -- cgit v1.2.3