svnno****@sourc*****
svnno****@sourc*****
2009年 5月 20日 (水) 21:47:22 JST
Revision: 1180
http://svn.sourceforge.jp/view?root=sie&view=rev&rev=1180
Author: dhrname
Date: 2009-05-20 21:47:22 +0900 (Wed, 20 May 2009)
Log Message:
-----------
チケット#15015「文字が縦にずれている」を修正
Ticket Links:
:-----------
http://sourceforge.jp/projects/sie/tracker/detail/15015
Modified Paths:
--------------
branches/04x/048/sie.js
Modified: branches/04x/048/sie.js
===================================================================
--- branches/04x/048/sie.js 2009-05-20 12:16:05 UTC (rev 1179)
+++ branches/04x/048/sie.js 2009-05-20 12:47:22 UTC (rev 1180)
@@ -454,9 +454,9 @@
tancx = tancy = textLength / 2;
}
if (this.paint.writingMode.indexOf("tb") === 0) { //縦書きならば、x座標に影響を与えない
- tancx = 0;
+ tancx = -fontSize * 0.04; //さらにディセンダの調整を行う
} else {
- tancy = 0;
+ tancy = -fontSize * 0.04;
}
tts.left = ptm.x - tancx;
tts.top = ptm.y - tancy;