Commit 9816c8a6 by Masaru Abe

テキスト表示で上が隠れる障害対応

parent b66af43a
......@@ -97,8 +97,9 @@ function getTextObjectImage(width, height, htmlData) {
context.font = fontSize + " " + "'" + fontFace + "'";
context.fillStyle = fontColor;
// 行間
// 行間
nextLinePosition = parseInt(fontSize.replace('px', '')) * (lineHeight / 100);
}
/*
......@@ -142,7 +143,9 @@ function getTextObjectImage(width, height, htmlData) {
// 初期描画位置を考慮
if (currentLine == 0) {
currentLine += nextLinePosition / 2;
//2014/02 フォントを大きくすると文字の上側が隠れる問題の対応
//currentLine += nextLinePosition / 2;
currentLine += nextLinePosition;
}
//長い文字列を考慮する
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment