diff options
Diffstat (limited to 'dw/textblock_iterator.cc')
-rw-r--r-- | dw/textblock_iterator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/textblock_iterator.cc b/dw/textblock_iterator.cc index c09d9a75..6cc8c81b 100644 --- a/dw/textblock_iterator.cc +++ b/dw/textblock_iterator.cc @@ -303,7 +303,7 @@ void Textblock::TextblockIterator::getAllocation (int start, int end, && word->content.text[start] == 0); } - allocation->y = textblock->lineYOffsetCanvas (line) + line->boxAscent - + allocation->y = textblock->lineYOffsetCanvas (line) + line->borderAscent - word->size.ascent; allocation->width = word->size.width; |