Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

text selection is incorrect when close to some math symbols #237

Open
Rehan-MALAK opened this issue Sep 17, 2023 · 3 comments
Open

text selection is incorrect when close to some math symbols #237

Rehan-MALAK opened this issue Sep 17, 2023 · 3 comments

Comments

@Rehan-MALAK
Copy link

Rehan-MALAK commented Sep 17, 2023

Describe the bug

text selection is incorrect when close to some math symbols

Steps to Reproduce the behaviour

  1. Download https://webusers.imj-prg.fr/~pierre.schapira/LectNotes/CatShv.pdf
  2. Go to page 31
  3. Impossible to select the word "coproduct" in the Definition 2.1.1 ii) when the mouse is over the word 'coproduct'
    (it is possible by selecting on the next line, on the 'or' word)

pdfview

What is the expected behaviour?

  1. open https://webusers.imj-prg.fr/~pierre.schapira/LectNotes/CatShv.pdf- directly in Firefox or Okular
  2. Go to page 31
  3. select the word "coproduct" in the Definition 2.1.1 ii)

Firefox :

firefox

Okular :

okular

Note that Evince is also not nice :

evince

Desktop

  • OS: Debian GNU/Linux trixie/sid
  • Emacs Version: GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.16.0) of 2023-09-05

Your pdf-tools install

  • pdf-tools 20230611.239

Additional context

Screenshots taken with

emacs -Q
and then in Eval minibuffer

(require 'package)
(package-initialize)
(use-package pdf-tools)
(pdf-loader-install)
@aikrahguzar
Copy link

This looks like an issue with poppler since evince is also affected.

@Rehan-MALAK
Copy link
Author

Thanks @aikrahguzar

I adapted the issue description and forwarded it to
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1435

@Rehan-MALAK
Copy link
Author

More precisely, it could be an issue with poppler-glib since okular is not affected and the poppler-glib-demo is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants