From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.help Subject: Re: Better image quality for doc view? Date: Wed, 1 Jun 2016 00:46:37 +0000 (UTC) Message-ID: References: <8737p062oq.fsf@mbork.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1464742302 18946 80.91.229.3 (1 Jun 2016 00:51:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Jun 2016 00:51:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 01 02:51:33 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b7uNg-0007VG-Hf for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Jun 2016 02:51:32 +0200 Original-Received: from localhost ([::1]:39039 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7uNf-0001iC-1l for geh-help-gnu-emacs@m.gmane.org; Tue, 31 May 2016 20:51:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7uMR-0001J0-W9 for help-gnu-emacs@gnu.org; Tue, 31 May 2016 20:50:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b7uMN-0006so-Kr for help-gnu-emacs@gnu.org; Tue, 31 May 2016 20:50:14 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:36604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7uMN-0006sD-1r for help-gnu-emacs@gnu.org; Tue, 31 May 2016 20:50:11 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1b7uMG-0006XD-JM for help-gnu-emacs@gnu.org; Wed, 01 Jun 2016 02:50:05 +0200 Original-Received: from mitsu.math.s.chiba-u.ac.jp ([133.82.132.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Jun 2016 02:50:04 +0200 Original-Received: from mituharu by mitsu.math.s.chiba-u.ac.jp with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Jun 2016 02:50:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 52 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 133.82.132.19 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/601.6.17 (KHTML, like Gecko) Version/9.1.1 Safari/601.6.17) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:110151 Archived-At: xiongtk gmail.com> writes: > > Marcin Borkowski mbork.pl> writes: > > > On 2016-05-29, at 20:12, xiongtk gmail.com> wrote: > > > >> The default doc view is not comparable in terms of quality of display > >> to other professional pdf viewers. But I want to at least see the words > >> clearly when I fit the document to half of my screen while I work on the > >> other half. I would like to ask for advises on how to improve the > >> display quality. > >> > >> I've tried to change 'doc-view-resolution, but it only make the default > >> image larger in size. The quality looks the same when re-sized. Should I > >> change the program that converts PDF files to PNG? > >> > >> Thanks in advance! > > > > Have you tried pdf-tools? > > https://github.com/politza/pdf-tools > > > > Hth, > I've just installed it. The quality is better, but some files are not > correctly converted(certain sentences are missing). I found that it does > not officially support OS X. Are you using some Retina display model? Then, which Emacs are you using on OS X? The NS port, which is bundled with the standard Emacs distribution, always displays images with magnification and interpolation because of lack of high-resolution image display support. As a result, all the images look blurry compared with the surrounding text on a Retina display. The Mac port, which is distributed separately from the standard distribution, has high-resolution image display support. Also, it modifies DocView mode so it asks external programs such as ghostscript to generate large images for high-resolution environments. https://bitbucket.org/mituharu/emacs- mac/src/7ab812f134e21ebbca355462888bfc2da4703a57/doc/emacs/macport.texi? at=master&fileviewer=file-view-default#macport.texi-447 If you want to try the Mac port, there's a precompiled binary package: https://github.com/railwaycat/homebrew-emacsmacport/releases YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp