diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2008-09-20 14:06:28 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2008-09-20 14:06:28 +0000 |
commit | 7d93524509abb62291d18ce2e08367c3f36f3914 (patch) | |
tree | 4041a22788472e4cace38e24eef5734935ce5985 | |
parent | 0fda4f509be96659000e79f7c38ec5d1ac3c336f (diff) | |
download | netsurf-7d93524509abb62291d18ce2e08367c3f36f3914.tar.gz netsurf-7d93524509abb62291d18ce2e08367c3f36f3914.tar.bz2 |
Fix screen clear bug - now plain text files are readable.
svn path=/trunk/netsurf/; revision=5379
-rwxr-xr-x | amiga/plotters.c | 7 |
1 files changed, 5 insertions, 2 deletions
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)); |