From e2556a65748373ebc1712888b303ee1072866bb3 Mon Sep 17 00:00:00 2001 From: Alexis Deveria Date: Fri, 28 Aug 2009 13:35:09 +0000 Subject: [PATCH] Fixed selection box size on font family change git-svn-id: http://svg-edit.googlecode.com/svn/trunk@493 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svgcanvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index 3c8c4b2b..7ea17b80 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -2600,7 +2600,7 @@ function SvgCanvas(c) else elem.setAttribute(attr, val); selectedBBoxes[i] = this.getBBox(elem); if(elem.nodeName == 'text') { - if((val+'').indexOf('url') == 0 || $.inArray(attr, ['font-size','x','y']) != -1) { + if((val+'').indexOf('url') == 0 || $.inArray(attr, ['font-size','font-family','x','y']) != -1) { elem = canvas.quickClone(elem); } }