Skip to content

Instantly share code, notes, and snippets.

View carlosgeos's full-sized avatar
🛵

Carlos Requena López carlosgeos

🛵
View GitHub Profile
@carlosgeos
carlosgeos / retina.patch
Last active October 19, 2019 01:40 — forked from jsks/retina.patch
YAMAMOTO Mitsuharu's patch for pdf-tools on MacOS https://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00648.html. Copy to pdf-tools ELPA folder and run `patch < retina.patch`
diff --git a/pdf-annot.el b/pdf-annot.el
index b0ff3c2..82cf122 100644
--- a/pdf-annot.el
+++ b/pdf-annot.el
@@ -981,6 +981,7 @@ other annotations."
(pdf-cache-renderpage-highlight
page (car size)
`("white" "steel blue" 0.35 ,@edges))
+ :width (car size)
:map (pdf-view-apply-hotspot-functions