Details
Description
When using the highlight markup annotation tools the resulting component behaves as a rectangle even now the highlight shape may be a complex polygon. This rectangular nature makes it hard to selected text that is not marked as highlighted but resides under the component block.
The way around this is in swing is to make the contains(x,y) method a little smarter. Basically if the mouse is contained in the box we then look a little further to check if the mouse coordinates are also contained in the highlight shape. This address mouse icon state and the propagation of mouse events.
The way around this is in swing is to make the contains(x,y) method a little smarter. Basically if the mouse is contained in the box we then look a little further to check if the mouse coordinates are also contained in the highlight shape. This address mouse icon state and the propagation of mouse events.
Activity
Patrick Corless
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 6.3 [ 13093 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #52051 | Wed Nov 01 10:58:47 MDT 2017 | patrick.corless | text selection of justified paragraph layouts. Buttery smooth... |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/graphics/text/PageText.java
MODIFY /icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/graphics/text/WordText.java |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Marking as complete.