all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Neal Becker <ndbecker2@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Improving DocView quality for PDFs?
Date: Wed, 16 Oct 2024 14:55:06 -0400	[thread overview]
Message-ID: <vep26d$jon$1@ciao.gmane.io> (raw)
In-Reply-To: CANVbq5nUCFu=xCg0BEq+Tnr6_Xa5CDVMZBBCZ4bq=0eg9j=_rA@mail.gmail.com

Kristoffer Balintona wrote:

> On Sun, Oct 13 2024, Neal Becker wrote:
> 
>> Kristoffer Balintona wrote:
>>
>>> On Mon, Oct 07 2024, Christopher Howard wrote:
>>>
>>>> Hi, I like viewing PDFs inside Emacs using DocView, but the quality is
>>>> noticeable lower than in Evince. It looks blocky, like it needs
>>>> aliasing or something. Could I improve this with some setting changes?
>>>> I see some variables like Doc View Ghostscript Options but I don't know
>>>> what options I need to pass in. I see some discussions about this on
>>>> the Internet but they are very old discussions with unclear guidance.
>>>>
>>>> I am running GNU Emacs 30.0.91 (build 10, x86_64-pc-linux-gnu, GTK+
>>>> Version 3.24.41, cairo version 1.18.0) of 2024-10-04.
>>>
>>> Hi,
>>>
>>> Have you given pdf-tools
>>> (https://github.com/vedang/pdf-tools?tab=readme-ov-file#about-pdf-tools)
>>> a go yet? If you haven't heard of it, I think this is the go-to Emacs
>>> PDF viewer for many users because it is very fast and supports many
>>> features that non-Emacs PDF viewers support, like making and viewing
>>> annotations as well as jumping to different points in a document's
>>> outline (though that requires certain metadata to be present in the
>>> document).
>>>
>>> If you want to stick with the built-in DocView, I don't have any tips
>>> there since I use pdf-tools's pdf-view-mode in place of it.
>>>
>>
>> Interesting.  I'm also trying pdf-tools.  But how do I know if emacs is
>> using it?
>>
> 
> Well, the pdf-tools repository[1] details the installation procedure
> well: you should call `M-x pdf-tools-install'. After that, you can open
> up a PDF and its major mode should be `pdf-view-mode'.
> 
> If it isn't already in that mode but works if you directly invoke `M-x
> pdf-view-mode', then it'll probably be a problem with your config.
> 
> Footnotes:
> [1] 
> [https://github.com/vedang/pdf-tools?tab=readme-ov-file#installing-pdf-tools-elisp-code
> 

Thanks!  Now I got it!  I was confused because my OS (Fedora) has a package 
called pdf-tools, which is something different.




  reply	other threads:[~2024-10-16 18:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-07 15:52 Improving DocView quality for PDFs? Christopher Howard
2024-10-07 16:11 ` Kristoffer Balintona
2024-10-07 16:33   ` Christopher Howard
2024-10-13 19:37   ` Neal Becker
2024-10-14  0:51     ` Kristoffer Balintona
2024-10-16 18:55       ` Neal Becker [this message]
2024-10-08  2:30 ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-10-14  1:02 ` Rudolf Adamkovič
  -- strict thread matches above, loose matches on Subject: below --
2024-10-07 15:52 Christopher Howard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='vep26d$jon$1@ciao.gmane.io' \
    --to=ndbecker2@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.