mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
[Editor] Add a way to extract the outlines of a union of rectangles
The goal is to be able to get these outlines to fill the shape corresponding to a text selection in order to highlight some text contents. The outlines will be used either to show selected/hovered highlights.
This commit is contained in:
parent
d8424a43ba
commit
31d9b9f574
11 changed files with 777 additions and 12 deletions
|
@ -670,6 +670,7 @@ function checkRefTestResults(browser, id, results) {
|
|||
switch (task.type) {
|
||||
case "eq":
|
||||
case "text":
|
||||
case "highlight":
|
||||
checkEq(task, results, browser, session.masterMode);
|
||||
break;
|
||||
case "fbf":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue