From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: doc-view: Document quality and find-file Date: Mon, 17 Sep 2007 17:57:19 +0200 Message-ID: <4A631059-13B3-4D56-BAB7-058B1B85FE00@Web.DE> References: <87ejgxjp85.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1190044703 14332 80.91.229.12 (17 Sep 2007 15:58:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Sep 2007 15:58:23 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Amy Templeton Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 17 17:58:20 2007 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 1IXIzM-00009V-61 for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Sep 2007 17:58:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXIzK-0007i5-Tp for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Sep 2007 11:58:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IXIyS-0007QA-VU for help-gnu-emacs@gnu.org; Mon, 17 Sep 2007 11:57:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IXIyR-0007PY-Hf for help-gnu-emacs@gnu.org; Mon, 17 Sep 2007 11:57:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXIyR-0007PS-5t for help-gnu-emacs@gnu.org; Mon, 17 Sep 2007 11:57:23 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IXIyQ-00070W-ID for help-gnu-emacs@gnu.org; Mon, 17 Sep 2007 11:57:22 -0400 Original-Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate02.web.de (Postfix) with ESMTP id 90A479CB1191; Mon, 17 Sep 2007 17:57:21 +0200 (CEST) Original-Received: from [195.4.204.55] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.108 #197) id 1IXIyP-0006IA-00; Mon, 17 Sep 2007 17:57:21 +0200 In-Reply-To: <87ejgxjp85.fsf@gmail.com> X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX19ZNXD8ihMaERXx2thzs5/Pvt5XuOAIGefCe55d Q4vXucdOASxDPo6mgLjtBE7GN/WurdkleQHQCDCyOWKJ9gq6i3 gV9HiDPz7SPXsjB/1PTQ== X-Detected-Kernel: Linux 2.4-2.6 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:47643 Archived-At: Am 17.09.2007 um 17:17 schrieb Amy Templeton: > (1) Is there any way to increase the image quality? The letters of > the PDF > files seem to end up somewhat butchered, making some hard to > read. The xpdf suite also contains the programmes pdfinfo and pdffonts. The latter can be useful to determine whether the PDF file has real fonts (vector based fonts in PostScript or TrueType format [OpenType is some wrapper around PostScript or TrueType]) or just bitmaps from TeX. The "real fonts" are clear names while the TeX fonts seem to come from some cryptographic engine ... One option could be to correct the default resolution with which Ghostscript is converting the vector fonts in a PDF document to bitmaps ("-r100"). Maybe your screen has coarser or finer resolution, so you might update the value. (defcustom doc-view-ghostscript-options '("-dNOPAUSE" "-sDEVICE=png16m" "-dTextAlphaBits=4" "-dBATCH" "-dGraphicsAlphaBits=4" "-dQUIET" "-r100") "A list of options to give to ghostview." :type '(sexp) :group 'doc-view) Another cause could be that -dGraphicsAlphaBits=4" can make lines that should join end before the joint. Setting the numerical value of 4 to 1 can correct this behaviour. Another option might be to substitute the default output format "png16m" (best suited for 24 bit RGB displays) with any of "pnggray" for greyscale, "png256" for 8-bit colour, "png16" for 4-bit colour, or "pngmono" for black-and-white. They all won't show the same amount of anti-aliasing power! -- Greetings Pete "One person with a belief is a social power equal to ninety-nine who have only interests." - John Stuart Mill