CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/06/13 02:59:27
Modified files: . : ChangeLog testsuite/misc-ming.all: DefineEditTextTest.c Log message: * testsuite/misc-ming.all/DefineEditTextTest.c: Apply transformation to text characters. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3517&r2=1.3518 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextTest.c?cvsroot=gnash&r1=1.5&r2=1.6 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.3517 retrieving revision 1.3518 diff -u -b -r1.3517 -r1.3518 --- ChangeLog 13 Jun 2007 02:49:32 -0000 1.3517 +++ ChangeLog 13 Jun 2007 02:59:26 -0000 1.3518 @@ -1,5 +1,10 @@ 2007-06-13 Sandro Santilli <[EMAIL PROTECTED]> + * testsuite/misc-ming.all/DefineEditTextTest.c: + Apply transformation to text characters. + +2007-06-13 Sandro Santilli <[EMAIL PROTECTED]> + * gui/gtk.cpp, server/FreetypeRasterizer.cpp, server/fontlib.cpp, server/movie_root.cpp, server/text.cpp: Reduced verbosity. Index: testsuite/misc-ming.all/DefineEditTextTest.c =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextTest.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -b -r1.5 -r1.6 --- testsuite/misc-ming.all/DefineEditTextTest.c 12 Jun 2007 16:38:36 -0000 1.5 +++ testsuite/misc-ming.all/DefineEditTextTest.c 13 Jun 2007 02:59:27 -0000 1.6 @@ -106,7 +106,7 @@ //Ming_setScale(20.0); /* so we talk twips */ mo = newSWFMovie(); - SWFMovie_setRate(mo, 24); + SWFMovie_setRate(mo, 12); //SWFMovie_setDimension(mo, 12560, 9020); /********************************************* @@ -127,11 +127,26 @@ SWFBrowserFont bfont = newSWFBrowserFont("_sans"); SWFFont efont = loadSWFFontFromFile(font_file); - it = add_text_field(mo, (SWFBlock)bfont, "Hello world"); - it = add_text_field(mo, (SWFBlock)efont, "Hello world"); - SWFDisplayItem_moveTo(it, 0, 30); + it = add_text_field(mo, (SWFBlock)bfont, "Hello device font world"); + SWFDisplayItem_setName(it, "dtext"); + SWFDisplayItem_moveTo(it, 60, 60); + it = add_text_field(mo, (SWFBlock)efont, "Hello embedded font world"); + SWFDisplayItem_setName(it, "etext"); + SWFDisplayItem_moveTo(it, 60, 120); } + SWFMovie_add(mo, newSWFAction("offset = 1; count=0;" + "onEnterFrame = function() {" + " if ( ++count > 10 ) { count = 0; offset = -offset; }" + " etext._y += offset;" + " etext._x += offset;" + //" etext._rotation += offset;" + " dtext._y += offset;" + " dtext._x += offset;" + //" dtext._rotation += offset;" + "};" + )); + /***************************************************** * * Output movie _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit