2005-07-28 Kristian Høgsberg <firstname.lastname@example.org>
* poppler/TextOutputDev.cc (TextBlock::visitSelection): Assign start and stop coordinates in one place so we don't assign the same point to both in some corner cases. (TextWord::visitSelection): Initialize begin to len, not len + 1 to fix crash. (TextWord::visitSelection, TextLine::visitSelection): Change selection trigger; now midpoint of glyph must be included in selection area for glyph to be in selection.
Showing with 67 additions and 60 deletions