From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: E Sabof Newsgroups: gmane.emacs.bugs Subject: bug#13887: 24.3; doc-view will render blurry images when image-magick is available Date: Wed, 6 Mar 2013 12:13:34 +0000 Message-ID: References: <8762153qc8.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bdc1272e451a904d740840e X-Trace: ger.gmane.org 1362572089 811 80.91.229.3 (6 Mar 2013 12:14:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Mar 2013 12:14:49 +0000 (UTC) Cc: 13887@debbugs.gnu.org To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 06 13:15:13 2013 Return-path: Envelope-to: geb-bug-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 1UDDFX-0004FF-TR for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Mar 2013 13:15:12 +0100 Original-Received: from localhost ([::1]:39247 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDDFC-0008WQ-7T for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Mar 2013 07:14:50 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDDF4-0008W0-Q8 for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2013 07:14:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDDEy-0002qw-Bf for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2013 07:14:42 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDDEy-0002qr-8R for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2013 07:14:36 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UDDFN-0003rG-KH for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2013 07:15:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: E Sabof Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Mar 2013 12:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13887 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13887-submit@debbugs.gnu.org id=B13887.136257204914747 (code B ref 13887); Wed, 06 Mar 2013 12:15:01 +0000 Original-Received: (at 13887) by debbugs.gnu.org; 6 Mar 2013 12:14:09 +0000 Original-Received: from localhost ([127.0.0.1]:33770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UDDEW-0003po-Nl for submit@debbugs.gnu.org; Wed, 06 Mar 2013 07:14:09 -0500 Original-Received: from mail-qa0-f54.google.com ([209.85.216.54]:51545) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UDDET-0003pA-HZ for 13887@debbugs.gnu.org; Wed, 06 Mar 2013 07:14:06 -0500 Original-Received: by mail-qa0-f54.google.com with SMTP id hg5so2462913qab.6 for <13887@debbugs.gnu.org>; Wed, 06 Mar 2013 04:13:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=m59yJcwLa2b/Up+qcOZGZiRLWkWgite5N41arWkv6gE=; b=oSp3d002xPPgPDu7mRNGhqM14nPPuvWxaakYwScEO8b7VgfQpn3LQOdM/fub9Xo4Yy FL4H5q+h+OhlshdWKKvncUCoZz1TXSskxMbunW4CC5mXHs96CGDflIvwqegpNp4sha2K CJe5s68PBGKzUTQCzCxBA4do16CK3gM4NvTmiQZESXK/9c9JBSgGf5IDSksyisq1h+hi LM71Ltpf9JeKrJhIczkvyw2yv56VXqmRu0kTJU4clBQxeYOKqh5PV1t3Vl9ze8FGxCPe xwlh4lh7klc0+QjTw93HEWWKymZvshM5laZssDSOLsohsIKlI9vXDtoNhadS8ZquS7Qd Vvxg== X-Received: by 10.49.74.10 with SMTP id p10mr46715156qev.35.1362572014274; Wed, 06 Mar 2013 04:13:34 -0800 (PST) Original-Received: by 10.49.70.233 with HTTP; Wed, 6 Mar 2013 04:13:34 -0800 (PST) In-Reply-To: <8762153qc8.fsf@thinkpad.tsdh.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72155 Archived-At: --047d7bdc1272e451a904d740840e Content-Type: text/plain; charset=ISO-8859-1 I've tried it, indeed it works much better. Might it be possible to store the the "native" size, and raise the resolution automatically when the zoom exceeds it? On a side note, might it be also possible to horizontally center the image? There is a pretty straight-forward way to do it, used in the about-emacs screen. Evgeni On Wed, Mar 6, 2013 at 8:05 AM, Tassilo Horn wrote: > E Sabof writes: > > > It tries to up-scale the available bitmap - leading to a loss of > > quality, instead of re-rendering the page from vector data. > > You mean, it up-scales when you hit +? That's a feature, because > up-scaling is much faster than reconverting. To make use of the > feature, you should set `doc-view-resolution' to some reasonably high > value. I use this > > (setq doc-view-resolution 200) > > and it works very well. > > Bye, > Tassilo > --047d7bdc1272e451a904d740840e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I've tried it, indeed it works much better. Might it b= e possible to store the the "native" size, and=A0raise=A0the reso= lution automatically when the zoom exceeds it?

On = a side note, might it be also possible to horizontally center the image? Th= ere is a pretty straight-forward way to do it, used in the about-emacs scre= en.

Evgeni


On Wed, Mar 6, 2013 at 8:05 AM, Tassil= o Horn <tsdh@gnu.org> wrote:
E Sabof <esabof@gmail.com> writes:

> It tries to up-scale the available bitmap - leading to a loss of
> quality, instead of re-rendering the page from vector data.

You mean, it up-scales when you hit +? =A0That's a feature, because
up-scaling is much faster than reconverting. =A0To make use of the
feature, you should set `doc-view-resolution' to some reasonably high value. =A0I use this

=A0 (setq doc-view-resolution 200)

and it works very well.

Bye,
Tassilo

--047d7bdc1272e451a904d740840e--