r5379 chris_y - /trunk/netsurf/amiga/plotters.c

netsurf at semichrome.net netsurf at semichrome.net
Sat Sep 20 15:06:28 BST 2008


Author: chris_y
Date: Sat Sep 20 09:06:28 2008
New Revision: 5379

URL: http://source.netsurf-browser.org?rev=5379&view=rev
Log:
Fix screen clear bug - now plain text files are readable.

Modified:
    trunk/netsurf/amiga/plotters.c

Modified: trunk/netsurf/amiga/plotters.c
URL: http://source.netsurf-browser.org/trunk/netsurf/amiga/plotters.c?rev=5379&r1=5378&r2=5379&view=diff
==============================================================================
--- trunk/netsurf/amiga/plotters.c (original)
+++ trunk/netsurf/amiga/plotters.c Sat Sep 20 09:06:28 2008
@@ -49,14 +49,14 @@
 	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 @@
  * 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));




More information about the netsurf-commits mailing list