diff options
author | Sebastian Geerken <devnull@localhost> | 2014-08-08 22:51:36 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-08-08 22:51:36 +0200 |
commit | 8ed1dac050a856b58c41553727a3ffd36d64c80c (patch) | |
tree | ba5e40fd5aabd307e10d21a4f5c66b2ecf4b7ec8 | |
parent | ddfb59e41693a61e647d4273d2ed0a0c9bb0c464 (diff) |
RTFL.
-rw-r--r-- | dw/textblock_linebreaking.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dw/textblock_linebreaking.cc b/dw/textblock_linebreaking.cc index 792f7d8a..beae36da 100644 --- a/dw/textblock_linebreaking.cc +++ b/dw/textblock_linebreaking.cc @@ -394,12 +394,16 @@ Textblock::Line *Textblock::addLine (int firstWord, int lastWord, line->firstWord = firstWord; line->lastWord = lastWord; + + DBG_OBJ_ARRATTRSET_NUM ("lines", lineIndex, "firstWord", line->firstWord); + DBG_OBJ_ARRATTRSET_NUM ("lines", lineIndex, "lastWord", line->lastWord); + line->boxAscent = line->contentAscent = 0; line->boxDescent = line->contentDescent = 0; line->marginDescent = 0; line->breakSpace = 0; line->finished = false; - + bool regardBorder = mustBorderBeRegarded (line); line->leftOffset = misc::max (regardBorder ? newLineLeftBorder : 0, boxOffsetX () + leftInnerPadding |