CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/04/15 18:50:29
Modified files:
server : edit_text_character.cpp
Log message:
(display): don't choke when bounds are undefined (dynamic text, for
instance)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.54&r2=1.55
Patches:
Index: edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -b -r1.54 -r1.55
--- edit_text_character.cpp 15 Apr 2007 15:27:03 -0000 1.54
+++ edit_text_character.cpp 15 Apr 2007 18:50:29 -0000 1.55
@@ -15,7 +15,7 @@
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-/* $Id: edit_text_character.cpp,v 1.54 2007/04/15 15:27:03 strk Exp $ */
+/* $Id: edit_text_character.cpp,v 1.55 2007/04/15 18:50:29 strk Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -449,7 +449,10 @@
// m_x_offset and m_y_offset memebers in glyph records.
// Anyway, see bug #17954 for a testcase.
matrix m;
+ if ( ! def_bounds.is_null() && ! def_bounds.is_world() )
+ {
m.set_translation(def_bounds.get_x_min(), def_bounds.get_y_min());
+ }
display_glyph_records(m, this, m_text_glyph_records,
m_def->get_root_def());
_______________________________________________
Gnash-commit mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/gnash-commit