Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_web
check
Commits
9816c8a6
Commit
9816c8a6
authored
Feb 12, 2014
by
Masaru Abe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
テキスト表示で上が隠れる障害対応
parent
b66af43a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
abvw/common/js/textObject.js
+5
-2
No files found.
abvw/common/js/textObject.js
View file @
9816c8a6
...
...
@@ -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;
}
//長い文字列を考慮する
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment