Handle more cases of invalid line dash patterns in annotation borders
Reduce the number of calls to PDFView.getVisiblePages from updateViewarea
Merge pull request #4768 from Snuffleupagus/issue-4766

Handle more cases of invalid line dash patterns in annotation borders
Merge pull request #4772 from Snuffleupagus/fewer-getVisiblePages-calls

Reduce the number of calls to PDFView.getVisiblePages from updateViewarea