From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: doc-view zoom level Date: Wed, 28 Jan 2009 09:00:26 +0100 Message-ID: <87hc3jzwpx.fsf@thinkpad.tsdh.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1233129678 32008 80.91.229.12 (28 Jan 2009 08:01:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Jan 2009 08:01:18 +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 Jan 28 09:02:32 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LS5NN-0004tM-Ex for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Jan 2009 09:02:21 +0100 Original-Received: from localhost ([127.0.0.1]:52567 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LS5M5-00048b-Lu for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Jan 2009 03:01:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LS5Li-00047A-EC for help-gnu-emacs@gnu.org; Wed, 28 Jan 2009 03:00:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LS5Lh-00046f-KS for help-gnu-emacs@gnu.org; Wed, 28 Jan 2009 03:00:37 -0500 Original-Received: from [199.232.76.173] (port=39321 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LS5Lh-00046a-An for help-gnu-emacs@gnu.org; Wed, 28 Jan 2009 03:00:37 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:58423) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LS5Lg-0003x7-EQ for help-gnu-emacs@gnu.org; Wed, 28 Jan 2009 03:00:36 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LS5Lf-0003BX-Mk for help-gnu-emacs@gnu.org; Wed, 28 Jan 2009 03:00:35 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LS5Le-0006ZP-Tp for help-gnu-emacs@gnu.org; Wed, 28 Jan 2009 08:00:34 +0000 Original-Received: from dhcp98.uni-koblenz.de ([141.26.71.98]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Jan 2009 08:00:34 +0000 Original-Received: from tassilo by dhcp98.uni-koblenz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Jan 2009 08:00:34 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dhcp98.uni-koblenz.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:cTFx4padmhb/7l0pKvBl+19yQwc= X-detected-kernel: by mx20.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61718 Archived-At: Nurullah Akkaya writes: Hi Nurullah, > I am trying to read pdf's using doc-view. It is working great I'm happy to hear that! > but i can not figure out how to zoom in on the document. Normally you just have to hit `+' to zoom in and `-' to zoom out. This will modify the -r parameter (`doc-view-resolution') and reconvert the images. > i want to create the png's with bigger fonts. if it is possible. i > tried different -r options as stated in the documentation without any > luck. Hm, strange. Could you please try the conversion in a shell? I suspect that your GhostScript somehow ignores the -r option. The command is: $ gs -dSAFER -dNOPAUSE -sDEVICE=png16m -dTextAlphaBits=4 -dBATCH \ -dGraphicsAlphaBits=4 -dQUIET -r100 -sOutputFile=test.png \ my-doc.pdf Please try that with different -r values, maybe 50 and 150 and see if the resolutions of the images differ or if gs prints some helpful messages. I use GPL Ghostscript 8.63 here which works just fine. Bye, Tassilo -- VI VI VI - The Roman Number Of The Beast