From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Van L Newsgroups: gmane.emacs.help Subject: Re: DocView resolution for PDF on WQHD Date: Tue, 19 Jun 2018 01:26:46 +1000 Message-ID: References: <2E649B12-6BB8-4224-93DC-B39AD0A465DA@scratch.space> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1529335521 11589 195.159.176.226 (18 Jun 2018 15:25:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 18 Jun 2018 15:25:21 +0000 (UTC) Cc: help-gnu-emacs To: Yuri Khan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 18 17:25:16 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fUw1s-0002tP-FL for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Jun 2018 17:25:16 +0200 Original-Received: from localhost ([::1]:35323 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUw3y-0004BC-3F for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Jun 2018 11:27:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUw3X-0004B7-TP for help-gnu-emacs@gnu.org; Mon, 18 Jun 2018 11:27:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUw3S-0001qe-Lx for help-gnu-emacs@gnu.org; Mon, 18 Jun 2018 11:26:59 -0400 Original-Received: from relay6-d.mail.gandi.net ([217.70.183.198]:43133) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fUw3S-0001qJ-FH for help-gnu-emacs@gnu.org; Mon, 18 Jun 2018 11:26:54 -0400 X-Originating-IP: 61.69.194.203 Original-Received: from epi.local (C-61-69-194-203.for.connect.net.au [61.69.194.203]) (Authenticated sender: van@scratch.space) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 94285C0002; Mon, 18 Jun 2018 15:26:55 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.3124) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.198 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117200 Archived-At: Thanks, > (setq doc-view-resolution 192) I was able to find 'resolution' in M-x customize. For WQHD I calculated (/ (sqrt (+ (* 2560 2560) (* 1440 1440) )) 25) ; which is approx. 118 PPI=C2=B9 and the out of the box setting is 100. Setting 'Doc View Resolution' to 192 and reloading the PDF doesn=E2=80=99t= improve the font rendering. See=C2=B2 for side-by-side comparison.=20 On the right side is the inferior Emacs=E2=80=99s PDF view. =E2=80=94=20 =C2=B9 https://en.wikipedia.org/wiki/HiDPI =C2=B2 http://emacs.scratch.space/public/Doc-View-Resolution-192-PPI.png=