svnno****@sourc*****
svnno****@sourc*****
2010年 5月 18日 (火) 23:04:12 JST
Revision: 1830 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1830 Author: dhrname Date: 2010-05-18 23:04:12 +0900 (Tue, 18 May 2010) Log Message: ----------- Modified Paths: -------------- branches/ufltima/dom/svg.js Modified: branches/ufltima/dom/svg.js =================================================================== --- branches/ufltima/dom/svg.js 2010-05-18 13:48:12 UTC (rev 1829) +++ branches/ufltima/dom/svg.js 2010-05-18 14:04:12 UTC (rev 1830) @@ -2820,13 +2820,25 @@ for (var i=0, tli=tt.length;i<tli;++i) { if (n < ptx.numberOfItems) { x = ptx.getItem(n).value; + if (!isYokogaki) { + x += fontSize * 0.5; + } } else if (n < tx.numberOfItems) { x = tx.getItem(n).value; + if (!isYokogaki) { + x += fontSize * 0.5; + } } if (n < pty.numberOfItems) { y = ptx.getItem(n).value; + if (isYokogaki) { + y += fontSize * 0.45; + } } else if (n < ty.numberOfItems) { y = ty.getItem(n).value; + if (isYokogaki) { + y += fontSize * 0.45; + } } if (n < ptdx.numberOfItems) { x += ptdx.getItem(n).value; @@ -3044,7 +3056,6 @@ style.width = "0px"; style.height = "0px"; style.marginTop = tar._isYokogaki ? -n+ "px" : "0px"; - style.textIndent = "0px"; style.lineHeight = n+ "px"; tar._tar.insertBefore(ti._tar[i], tar._tar.firstChild); }