pdf-tools icon indicating copy to clipboard operation
pdf-tools copied to clipboard

Underline looks like strikethrough

Open sati-bodhi opened this issue 1 year ago • 2 comments

Describe the bug Underline markup looks like strike-thorough

Steps to Reproduce the behaviour

  1. Open pdf file in pdf-view.
  2. Select region (highlight a word)
  3. pdf-annot-add-underline-markup-annotation

Result:

Screenshot from 2023-01-07 20-28-55

What is the expected behaviour? Underline should be closer to the bottom of the characters.

Desktop Please complete the following information:

  • OS: Ubuntu 22.04
  • Emacs Version: 2802
  • Poppler Version: pdftocairo version 22.02.0

Your pdf-tools install Please complete the following information:

  • pdf-tools Version: [M-x package-list-packages -> Search for pdf-tools -> Hit Enter and copy all the details that pop up in the Help buffer]

Version 1.0.0

  • pdf-tools customization / configuration that you use
;;;; Org-pdftools
;; Run `pdftools-install` to initialize.

(use-package! org-pdftools
  :config
  (setq
   org-pdftools-root-dir #'~/Zotero/storage
   org-pdftools-search-string-separator "??")
  (with-eval-after-load 'org
    (org-link-set-parameters "pdftools"
                             :follow #'org-pdftools-open
                             :complete #'org-pdftools-complete-link
                             :store #'org-pdftools-store-link
                             :export #'org-pdftools-export)
    (add-hook 'org-store-link-functions 'org-pdftools-store-link))
  (pdf-loader-install)

(add-to-list 'pdf-annot-list-listed-types 'square)
  )

Additional context

  • If you are reporting a crash, please try and add the Backtrace / Stacktrace of the crash.
  • If you are reporting a bug, please try and attach an example PDF file where I can reproduce the bug.
  • If you can attach screenshots or recordings, that is a great help
  • Please try reproducing the bug yourself on Vanilla Emacs before reporting the problem.

sati-bodhi avatar Jan 07 '23 13:01 sati-bodhi