Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Z zathura-pdf-mupdf
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 15
    • Issues 15
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pwmtpwmt
  • zathura-pdf-mupdf
  • Merge requests
  • !8

Add new plugin to highlight proper selected text between two points

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Rahul Aggarwal requested to merge rahulaggarwal965/zathura-pdf-mupdf:feature/selection into develop Nov 05, 2022
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 3

This PR utilizes the fitz module from mupdf to extract a list of rectangles representing the current selection between two points. This will be used to close zathura#26 (closed)

It will

  1. Extracts the text if the text has not been extracted already. It stores this so we do not recompute for every page.
  2. uses fz_highlight_selection to get a list of quads
  3. Returns them through the plugin-api (and accounts for possible errors).
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/selection