From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Neal Becker Newsgroups: gmane.emacs.help Subject: Re: Improving DocView quality for PDFs? Date: Sun, 13 Oct 2024 15:37:47 -0400 Message-ID: References: <87wmijewqs.fsf@librehacker.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6161"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: KNode/4.14.10 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 13 21:38:50 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t04QU-0001Ug-6K for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 13 Oct 2024 21:38:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t04Pj-0006c9-5s; Sun, 13 Oct 2024 15:38:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t04Ph-0006bo-8F for help-gnu-emacs@gnu.org; Sun, 13 Oct 2024 15:38:01 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t04Pf-000272-Rw for help-gnu-emacs@gnu.org; Sun, 13 Oct 2024 15:38:00 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1t04Pb-0000gX-EI for help-gnu-emacs@gnu.org; Sun, 13 Oct 2024 21:37:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Received-SPF: pass client-ip=116.202.254.214; envelope-from=geh-help-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 3 X-Spam_score: 0.3 X-Spam_bar: / X-Spam_report: (0.3 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148152 Archived-At: 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?