From 7d93524509abb62291d18ce2e08367c3f36f3914 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 20 Sep 2008 14:06:28 +0000 Subject: Fix screen clear bug - now plain text files are readable. svn path=/trunk/netsurf/; revision=5379 --- amiga/plotters.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'amiga') diff --git a/amiga/plotters.c b/amiga/plotters.c index 38b572607..18ab1ec0a 100755 --- a/amiga/plotters.c +++ b/amiga/plotters.c @@ -49,14 +49,14 @@ const struct plotter_table amiplot = { NULL, //ami_group_end, NULL, //ami_flush, // optional ami_path, - true // option_knockout + false // option_knockout }; bool ami_clg(colour c) { SetRPAttrs(currp,RPTAG_BPenColor,p96EncodeColor(RGBFB_A8B8G8R8,c), TAG_DONE); - + Move(currp,0,0); ClearScreen(currp); return true; @@ -188,6 +188,9 @@ bool ami_text(int x, int y, const struct css_style *style, * system default charset and write the text using graphics.library functions. * * ami_unicode_text(currp,text,length,style,x,y,c); + * + * or, perhaps the ttengine.library version (far too slow): + * ami_tte_text(currp,text,length); */ Move(currp,x,y); Text(currp,buffer,strlen(buffer)); -- cgit v1.2.3