From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Kristoffer Balintona Newsgroups: gmane.emacs.help Subject: Re: Improving DocView quality for PDFs? Date: Mon, 7 Oct 2024 18:11:18 +0200 Message-ID: References: <87wmijewqs.fsf@librehacker.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34219"; mail-complaints-to="usenet@ciao.gmane.io" To: Christopher Howard , Help Gnu Emacs Mailing List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 08 06:45:43 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 1sy26R-0008pF-1B for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 08 Oct 2024 06:45:43 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sy25q-0001EH-Hy; Tue, 08 Oct 2024 00:45:06 -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 1sxqKS-0000um-75 for help-gnu-emacs@gnu.org; Mon, 07 Oct 2024 12:11:24 -0400 Original-Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sxqKQ-0005cJ-Fm for help-gnu-emacs@gnu.org; Mon, 07 Oct 2024 12:11:23 -0400 Original-Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-53995380bb3so5545879e87.1 for ; Mon, 07 Oct 2024 09:11:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728317479; x=1728922279; darn=gnu.org; h=content-transfer-encoding:to:subject:message-id:date:mime-version :references:in-reply-to:from:from:to:cc:subject:date:message-id :reply-to; bh=OedWOBPEEap9gCxpso4b6KpTFt1HTkzVduxU9WlVVWk=; b=XE+C+ek7uuozTAKWCVQP3sP1uCb9gilnDUDjdIlcnjvPB3YRnv/vBFRl/KgxfvnUMl KMExOrGKbM9953DVQmpDL1mQfKTohWDx+zS0Hntd8SrpCz0uoxlrIbEpq9fzhZA26Iol vkqcq/ZpvnrmFtTdOoLBKLaWsn8LHmxDznyGpVxxm1UQn7FNnInXNHNsLuEJ1Bg9+3N6 m68DmLqcGCMChpuqyJFbw5wAG+iJoimvw8YyzYKrazCxsdD51AGX1wHbnhwEx4yIVbLj qmlnf8hRmc83PoY/GYYdd1FOwVzDgv+7xppHztRj60nih+0F4rPj6FLJ99V3sLTfItKH 245Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728317479; x=1728922279; h=content-transfer-encoding:to:subject:message-id:date:mime-version :references:in-reply-to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=OedWOBPEEap9gCxpso4b6KpTFt1HTkzVduxU9WlVVWk=; b=mZmBE6ouxf4RNLf3qWFh55a9Rlwkm7amScw8NxPBhqGuYXNLVoXzcrbXqM5HF/jicX qADUtE2e699P8aSWsTynQrmx9Ldr2NG5xZIAcR3QfSGAOQDxQlIw3nQZLLPoPuh1pYXs l7qif5Lu4kibQ3D3huI4B/HWelNTEwuiiRYIfG782X4CsKwKlHiF66Y0rbRoBRfv3i50 Q3kPNbtsTqP9MGqSfoO8ti70limQgy5oSQOvgZcqaeP9fMPAgu+Yd+MKuCf6zbQLmFlG Vl3j17XYhNo9izkIHOSH0On2ezDnW2lrQJeM5qfQ7HXAxmxc7k7+bzTirof+NzA7hUwa wduw== X-Forwarded-Encrypted: i=1; AJvYcCWI2OX4Lf/eNmzidRtG99YQvjR57Du95KLy/GhR4nfj+Vue+ISzwSJ+arteOQrC3U9N5OuJd5c+CPnuWVEXIQ==@gnu.org X-Gm-Message-State: AOJu0YyLTu1e5JklTFCl9GJbEYEGNY9Rd6FjtUW8lm8V9azL1vLDNEeI TunNDXT4QYftzdUrBragrUu4snxuiic8tsdNFYwGjXs2Q+yzI1QB7ry9erH7aNCHbmGXBkwiDO5 9KMydZH0K3Jw4+t3cO4nSwYfRs0sHRHbe X-Google-Smtp-Source: AGHT+IHPZ2bwhwzQIj/Np4myPWfNgrakk1uo/pTYuwXJg1c7Dxrv7AfUmaPMTPAw/W787Mv2hWMCvWwjmP5rGhYMASE= X-Received: by 2002:a05:6512:2256:b0:536:542d:d7e8 with SMTP id 2adb3069b0e04-539ab85c002mr6581716e87.8.1728317479190; Mon, 07 Oct 2024 09:11:19 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 7 Oct 2024 18:11:18 +0200 In-Reply-To: <87wmijewqs.fsf@librehacker.com> Received-SPF: pass client-ip=2a00:1450:4864:20::132; envelope-from=krisbalintona@gmail.com; helo=mail-lf1-x132.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 08 Oct 2024 00:45:03 -0400 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:148128 Archived-At: On Mon, Oct 07 2024, Christopher Howard wrote: > Hi, I like viewing PDFs inside Emacs using DocView, but the quality is no= ticeable lower than in Evince. It looks blocky, like it needs aliasing or s= omething. Could I improve this with some setting changes? I see some variab= les 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+ Versi= on 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=3Dreadme-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. --=20 Take care, Kristoffer