GNU bug report logs - #50958
27.2; Very blurry svg rendering on Retina screen

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Carlos Pita <carlosjosepita@HIDDEN>; dated Sat, 2 Oct 2021 07:26:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 50958 <at> debbugs.gnu.org:


Received: (at 50958) by debbugs.gnu.org; 3 Oct 2021 09:54:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 03 05:54:21 2021
Received: from localhost ([127.0.0.1]:32902 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mWyCL-0005lG-2S
	for submit <at> debbugs.gnu.org; Sun, 03 Oct 2021 05:54:21 -0400
Received: from outbound.soverin.net ([116.202.126.228]:60389)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alan@HIDDEN>) id 1mWyCJ-0005kv-3s
 for 50958 <at> debbugs.gnu.org; Sun, 03 Oct 2021 05:54:19 -0400
Received: from smtp.soverin.net (unknown [10.10.3.28])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
 (No client certificate requested)
 by outbound.soverin.net (Postfix) with ESMTPS id 3337D2E4;
 Sun,  3 Oct 2021 09:54:08 +0000 (UTC)
Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.142]) by
 soverin.net
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin;
 t=1633254847; bh=4nwecrDsJYNFWnFVHx0v41bqXo10oAZaog6K077qbk8=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
 b=aaaN0EA/pzKNOo1HHTR9tLchCxpVt3VRyr5w9oElFdBrLVhckRhmDlbBxfrTD8zwj
 TuPdGMbJpt/maCCzGPT+K+OUIRJVgnIrZkf5dFbcVEx/ODFBMaV18pcx+tE/Z1YJgb
 Pev4rTtEoM+wXTm0YGfFYTakdMm6zZ7MOOD8cCBm/vu7uMR89SBUkUeZqVomcPWBBf
 9xpD+UDOpTJObOXmpTpAKHpOC5uGJGsif1lBjESJn8HL+5hiKSfqWXBG3JzLQ9Z9TS
 CGQkONYRIiFgqgwuwBN+ojlG4ufnJojpfGC9dxgVNYOd3fKVHLFjthYImxO4zaVC8+
 RqGpd52nZxbig==
Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95-RC2)
 (envelope-from <alan@HIDDEN>) id 1mWxq1-000TGa-5C;
 Sun, 03 Oct 2021 10:31:17 +0100
Date: Sun, 3 Oct 2021 10:31:17 +0100
From: Alan Third <alan@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#50958: 27.2; Very blurry svg rendering on Retina screen
Message-ID: <YVl4ZXOJo+e9keOB@HIDDEN>
Mail-Followup-To: Alan Third <alan@HIDDEN>,
 Lars Ingebrigtsen <larsi@HIDDEN>,
 Carlos Pita <carlosjosepita@HIDDEN>, 50958 <at> debbugs.gnu.org
References: <3A8EA058-D2F0-4FF8-9C36-ACF7598EB657@HIDDEN>
 <87bl47vlrg.fsf@HIDDEN>
 <94C4C008-4D58-46FF-9985-F4C0F6D01CEB@HIDDEN>
 <87ilyetrjn.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87ilyetrjn.fsf@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 50958
Cc: Carlos Pita <carlosjosepita@HIDDEN>, 50958 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Sun, Oct 03, 2021 at 10:56:44AM +0200, Lars Ingebrigtsen wrote:
> Carlos Pita <carlosjosepita@HIDDEN> writes:
> 
> > But other related issues remain:
> >
> > * doc-view still renders low-resolution svg.
> > * doc-view still renders low-resolution pdf (which is not the topic of
> > this issue but may be relevant).
> 
> Perhaps Alan has some comments here -- he did the work to get HiDPI
> rendering to work for SVGs, so I've added him to the CCs.

I think docview uses external applications to render the files to png
and it has its own setting for DPI (doc-view-resolution), which on a
hi-dpi screen is a bit low.

IIRC docview is a bit strange because you don't set the dpi to the
screen's dpi, the actual value you want to use depends on various
factors, like how large your window is and whether you zoom in on the
image or not.
-- 
Alan Third




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50958; Package emacs. Full text available.

Message received at 50958 <at> debbugs.gnu.org:


Received: (at 50958) by debbugs.gnu.org; 3 Oct 2021 08:56:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 03 04:56:55 2021
Received: from localhost ([127.0.0.1]:60987 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mWxIl-0008EA-8W
	for submit <at> debbugs.gnu.org; Sun, 03 Oct 2021 04:56:55 -0400
Received: from quimby.gnus.org ([95.216.78.240]:45614)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1mWxIj-0008Dj-9P
 for 50958 <at> debbugs.gnu.org; Sun, 03 Oct 2021 04:56:53 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=SY5yuDOMJ1Lst1aWkF38Hp8EzhKQhXDThEbCd3GJnJU=; b=g5E7HZfbMwiBAkkKcC1ANUWkFT
 kTVpFBpMf+/W27Dv75GCCMfam5BveULs8EfgCC6zl7u0EMJQIL0AjVanNr/GlnREN5drmbBc9KKJ/
 dEAkjmUicYAmVp/J155I/gYQV08sJndnzTHFhU77ba4WhgXY8oxJP4BMaqnCJePrGvUA=;
Received: from [84.212.220.105] (helo=elva)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1mWxIa-00050T-Hn; Sun, 03 Oct 2021 10:56:46 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Carlos Pita <carlosjosepita@HIDDEN>
Subject: Re: bug#50958: 27.2; Very blurry svg rendering on Retina screen
References: <3A8EA058-D2F0-4FF8-9C36-ACF7598EB657@HIDDEN>
 <87bl47vlrg.fsf@HIDDEN>
 <94C4C008-4D58-46FF-9985-F4C0F6D01CEB@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEXV0sWam15SUTZJ
 SDn////hmNOxAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+UKAwgzAV8nk8AAAAGwSURBVDjLlZPRcQMx
 CERRKhBcAwYaiKH/3rIgKfbEcWaiD59PTywL4oj+XPPH65zjzcF3gOgtIOLJWFB9AXq5uqkZi9VS
 nsRQYhZhcRVtwHjSBlxbwboCTBWpISwgJqFqXAGQNOzqAgiAAvMKKfBBhGQl7vhttWgALRgST886
 rpIAuoEHItxru3MjUXeP3e/sFq4rh7ZUAchgBSRRg4fd54qw3s/INBMdYnobDTxyL6i0HL+AciyQ
 XJdxpX4DQauri9URgvUNQrmk0F0poNchipshFKvz45OYJoo4ATxGAb5uEJsQ21IIGFzPKrZAnOQD
 4KojVgM1JGzXoXjp/4ocNFzt2MKbdkTZCPRnt6VysDVQ3Mepo32xamXRJEdL176XLxR4VUhScvij
 jWhXW4kkdOiAnirL5Z4wbxiFZrjvmosDEIwR9Y4A2AFZ42PqHYLJYcb9RBkhmES1OBrhd8F1lBck
 ol3CmrSqQ+ALxiifFtxWu8EhhbTxjPorgyMSe4BqG9SKDZJVaI9d7OrrXsm2Vj0rxNMWy3Oya8R2
 cSg+XPm+lFP5s91HnwE8f1+U/wVf0yKJkQc60ugAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMTAt
 MDNUMDg6NTE6MDErMDA6MDA1+pIjAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTEwLTAzVDA4OjUx
 OjAxKzAwOjAwRKcqnwAAAABJRU5ErkJggg==
X-Now-Playing: Cat Power's _You Are Free_: "Speak For Me"
Date: Sun, 03 Oct 2021 10:56:44 +0200
In-Reply-To: <94C4C008-4D58-46FF-9985-F4C0F6D01CEB@HIDDEN> (Carlos Pita's
 message of "Sat, 2 Oct 2021 12:52:18 -0300")
Message-ID: <87ilyetrjn.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Carlos Pita <carlosjosepita@HIDDEN> writes: > But other
 related issues remain: > > * doc-view still renders low-resolution svg. >
 * doc-view still renders low-resolution pdf (which is not the topic of >
 this issue but may be relevant). 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50958
Cc: Alan Third <alan@HIDDEN>, 50958 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Carlos Pita <carlosjosepita@HIDDEN> writes:

> But other related issues remain:
>
> * doc-view still renders low-resolution svg.
> * doc-view still renders low-resolution pdf (which is not the topic of
> this issue but may be relevant).

Perhaps Alan has some comments here -- he did the work to get HiDPI
rendering to work for SVGs, so I've added him to the CCs.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50958; Package emacs. Full text available.

Message received at 50958 <at> debbugs.gnu.org:


Received: (at 50958) by debbugs.gnu.org; 2 Oct 2021 15:52:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 02 11:52:34 2021
Received: from localhost ([127.0.0.1]:60339 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mWhJR-00070m-Un
	for submit <at> debbugs.gnu.org; Sat, 02 Oct 2021 11:52:34 -0400
Received: from mail-qv1-f51.google.com ([209.85.219.51]:43780)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <carlosjosepita@HIDDEN>) id 1mWhJP-0006zx-Sl
 for 50958 <at> debbugs.gnu.org; Sat, 02 Oct 2021 11:52:32 -0400
Received: by mail-qv1-f51.google.com with SMTP id k3so2833107qve.10
 for <50958 <at> debbugs.gnu.org>; Sat, 02 Oct 2021 08:52:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:subject:from:in-reply-to:date:cc
 :content-transfer-encoding:message-id:references:to;
 bh=Nc/joLpoSASini+B5FOmR5kD+QkxLpDDlrWmGRstd9Q=;
 b=S05a97y8ycZM4T2I2d5PIixhejxcPIhBft6Expel0ThX/igqwxAjBdpdcx2IJEK5zV
 NEQ+bd/ZDjV+2+g/YzfSsXO0pkrgslOZQLF2bnD+PgbNVqFfbpeIVW3te2hiS5jqPDL8
 7Aaks5j0PMw63TfmgvxaG8yJ2qdnLvN3gXqKqYRl+ztGWCQbbD54GAkXVDEfqJxrkvlG
 0sWOEtv3pz0qGGUkYSImsZRGKFwt99+5WZxNov5O+KVT6p3ftfS2nfI7DE+UFTkm8Scw
 5m+LAbqo84VPQQTd9QXmcWONB2R2Oc5rUPXmAWHNf3tyFT7zwLfx6BRjvlfx4n5UK4tF
 1TeQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc
 :content-transfer-encoding:message-id:references:to;
 bh=Nc/joLpoSASini+B5FOmR5kD+QkxLpDDlrWmGRstd9Q=;
 b=dCPzU5JNuJeTU6MY3QEEYt/hPEcD8feNH8OZFXSwI82ckMUIs/N5qQsoAg/WrJ8/LB
 ffz1QFsApXgDVSrw8H/T2bdLjgLtIkEUJdhx16mUH8kVzHBcpaL428+tkNrOOArX0gKC
 yW1+qOD2ryKBPANUQkK8t3kbfZcCAQ2vX5xCsP9Cmjn/Fo6upnLL4kZJN+WYwYzDQmqR
 c7KDj3WDnKGhDNymaL+vnRknSPAUJxJ+UUJC5pfuOJC+9O1i7pN/zkXzBWLLF/jP+Tb/
 C7O5NJkZn7Wm0hj5PGte6sEHD5ZWlZxXsV4Yt6Mw7F/2LQaHHwrNJnRTIjJwEON0mMYh
 GvRg==
X-Gm-Message-State: AOAM530X0gianr7Csu7gcfUSI/fI/aTJs4eyNo8/mwAu8UgQ6QHRH9AI
 ZA0MaLEL764izSgJUdmwHPw=
X-Google-Smtp-Source: ABdhPJxptvRmEPgXTtJgRmSu6tTCNUesx8ZPESP21xNFNhq9D2Djl8ApgE3fU29rkwK8IkDxlRMMPA==
X-Received: by 2002:a0c:8e8e:: with SMTP id x14mr14054849qvb.67.1633189946241; 
 Sat, 02 Oct 2021 08:52:26 -0700 (PDT)
Received: from smtpclient.apple ([186.136.138.53])
 by smtp.gmail.com with ESMTPSA id l11sm2168259qkl.56.2021.10.02.08.52.24
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Sat, 02 Oct 2021 08:52:25 -0700 (PDT)
Content-Type: text/plain;
	charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
Subject: Re: bug#50958: 27.2; Very blurry svg rendering on Retina screen
From: Carlos Pita <carlosjosepita@HIDDEN>
In-Reply-To: <87bl47vlrg.fsf@HIDDEN>
Date: Sat, 2 Oct 2021 12:52:18 -0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <94C4C008-4D58-46FF-9985-F4C0F6D01CEB@HIDDEN>
References: <3A8EA058-D2F0-4FF8-9C36-ACF7598EB657@HIDDEN>
 <87bl47vlrg.fsf@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 50958
Cc: 50958 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

> SVG rendering on HiDPI screens has been improved in Emacs 28 -- could
> you try that instead to see whether it fixes the problem?

Sure Lars, I was going to do it anyway because of other issues with =
pdf-tools.

It indeed fixes part of the problem:

* LaTeX previews in org-mode are high resolution now.
* Also adds the frame-scale-factor function that=E2=80=99s used by the =
fix to pdf-tools [1] blurry rendering.

But other related issues remain:

* doc-view still renders low-resolution svg.
* doc-view still renders low-resolution pdf (which is not the topic of =
this issue but may be relevant).

Best regards,
Carlos

---

[1] =
https://github.com/vedang/pdf-tools/commit/f771c93781b3135200cae6dbc8e45db=
b887f77b1






Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50958; Package emacs. Full text available.

Message received at 50958 <at> debbugs.gnu.org:


Received: (at 50958) by debbugs.gnu.org; 2 Oct 2021 09:06:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 02 05:06:36 2021
Received: from localhost ([127.0.0.1]:57824 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mWaya-0003KE-NV
	for submit <at> debbugs.gnu.org; Sat, 02 Oct 2021 05:06:36 -0400
Received: from quimby.gnus.org ([95.216.78.240]:35206)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1mWayZ-0003Jv-MX
 for 50958 <at> debbugs.gnu.org; Sat, 02 Oct 2021 05:06:36 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=YhyWgAAgdbkOsCuG/KZ0jt8vOUFdzGfAqhSBuglt/pg=; b=UUZbYeBVnwWNaX5U+QJXAff/wp
 V1LGuNszxtUCCpzvYZ5wbvS6Kl395hP/2yy9qeSTmneqXASini4CB9MadMHwGYQNZx5ORhfz3jbbY
 8P2diqc5B/KCojY9cmkrJeNzbtCsMbJ3ZpYk8XpQDpMLlNzWbF6j8xA1wfKmH5Nwu+EE=;
Received: from [84.212.220.105] (helo=elva)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1mWayR-0005ao-U5; Sat, 02 Oct 2021 11:06:30 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Carlos Pita <carlosjosepita@HIDDEN>
Subject: Re: bug#50958: 27.2; Very blurry svg rendering on Retina screen
References: <3A8EA058-D2F0-4FF8-9C36-ACF7598EB657@HIDDEN>
X-Now-Playing: Liquid Liquid's _Dig We Must_: "Dig We Must"
Date: Sat, 02 Oct 2021 11:06:27 +0200
In-Reply-To: <3A8EA058-D2F0-4FF8-9C36-ACF7598EB657@HIDDEN> (Carlos Pita's
 message of "Sat, 2 Oct 2021 04:25:20 -0300")
Message-ID: <87bl47vlrg.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Carlos Pita <carlosjosepita@HIDDEN> writes: > I'm having
 a hard time getting org-mode LaTeX preview to render without > excesive
 blurriness.
 SVG rendering on HiDPI screens has been improved in Emacs 28 -- could you
 try that instead to see whether it fixes the problem? 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50958
Cc: 50958 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Carlos Pita <carlosjosepita@HIDDEN> writes:

> I'm having a hard time getting org-mode LaTeX preview to render without
> excesive blurriness. 

SVG rendering on HiDPI screens has been improved in Emacs 28 -- could
you try that instead to see whether it fixes the problem?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50958; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Oct 2021 07:25:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 02 03:25:35 2021
Received: from localhost ([127.0.0.1]:57767 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mWZOo-0000ji-Jn
	for submit <at> debbugs.gnu.org; Sat, 02 Oct 2021 03:25:35 -0400
Received: from lists.gnu.org ([209.51.188.17]:45892)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <carlosjosepita@HIDDEN>) id 1mWZOl-0000jZ-9A
 for submit <at> debbugs.gnu.org; Sat, 02 Oct 2021 03:25:34 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:43990)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <carlosjosepita@HIDDEN>)
 id 1mWZOl-0004CE-2k
 for bug-gnu-emacs@HIDDEN; Sat, 02 Oct 2021 03:25:31 -0400
Received: from mail-vs1-xe36.google.com ([2607:f8b0:4864:20::e36]:38641)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <carlosjosepita@HIDDEN>)
 id 1mWZOi-0001Ce-PO
 for bug-gnu-emacs@HIDDEN; Sat, 02 Oct 2021 03:25:30 -0400
Received: by mail-vs1-xe36.google.com with SMTP id y141so13908534vsy.5
 for <bug-gnu-emacs@HIDDEN>; Sat, 02 Oct 2021 00:25:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:content-transfer-encoding:mime-version:subject:message-id:date
 :to; bh=bXVFrKgI49lduCe3Vs2z19Od+8TmRbTH0eU5iM/XXFc=;
 b=lS6CdhcAC3y+J9Ii6DAM2Lk4Y1boGOuSl0SixclGpcOksgWxl4cUUW9E77nY8W4qOa
 20riJCqxxNzj8TSfkQmL7c/eaeeiy7XVtV26nydrmivcyzP733SowY+NZKzmegSCZzVo
 SMuNb2bjaClwUE0oNPS7unJcZnkGtFoai13vCK8vvvi9hJHgmXsxFEt89hPYjCTCMZ7b
 8JCrxtLe2oR5eXOWiVdlyK3R0KL7eRCjUU7/RqLwKhBmySTHFYcvTDA2yHEj/MGFbj1U
 Ozl/4lGR2Z3BhwnDQUk4iP05MoL2+XxCG0xjo5ZMRGz1bS5ro1DlCZ3JqztcuwoWTKJp
 BKFw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:content-transfer-encoding:mime-version
 :subject:message-id:date:to;
 bh=bXVFrKgI49lduCe3Vs2z19Od+8TmRbTH0eU5iM/XXFc=;
 b=792CqfVscb91FLIhg8QrK/tRO146R+A9NdpSlXhpikJeugtDvgBwo0bNYfWdebYtv6
 q3pSLFpl0xLANLEkWZ3OVTeGfIUqpbp3sJd6vvNxTOfy5uYlhIMc+Qi4RxP06pXiifUe
 ldvErLTito1mZa20KBlhZuYOb7JyqE+uRY+kHOxEwa1Vc4677HqUaQjDL5Wg15DG0aVt
 JTZftIT365mMTU/ephd0LAPM5T7yoIP9p+Cv6QZVydrp311UzaslWp4xnPn/xold/sCg
 x4lDD2P0ReXsQAOt0K4vuctxlakoEdO/ZQbHPaK9PuHl2Rwqu4b4eRaD2340uJurUans
 SI6Q==
X-Gm-Message-State: AOAM531lcaD0xpUoJH7kGYAhOx4yZHPiWDk3VLPUjNiXYvfJzFEK3JMQ
 FWluIaKkOkRW9hXXqVOfAZ0bHXHR7LvxXQ==
X-Google-Smtp-Source: ABdhPJwpbbRCVJlSEhVm1YUu1DcjrDVlpgBYZh33uHJZRXSb0PwQ8s/uSLkm05Okq2oZ1wv1A+3XzA==
X-Received: by 2002:a67:7284:: with SMTP id n126mr20089vsc.26.1633159525226;
 Sat, 02 Oct 2021 00:25:25 -0700 (PDT)
Received: from smtpclient.apple ([186.136.138.53])
 by smtp.gmail.com with ESMTPSA id m184sm3966253vsc.6.2021.10.02.00.25.23
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Sat, 02 Oct 2021 00:25:24 -0700 (PDT)
From: Carlos Pita <carlosjosepita@HIDDEN>
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
Subject: 27.2; Very blurry svg rendering on Retina screen
Message-Id: <3A8EA058-D2F0-4FF8-9C36-ACF7598EB657@HIDDEN>
Date: Sat, 2 Oct 2021 04:25:20 -0300
To: bug-gnu-emacs@HIDDEN
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Received-SPF: pass client-ip=2607:f8b0:4864:20::e36;
 envelope-from=carlosjosepita@HIDDEN; helo=mail-vs1-xe36.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-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hi all,

I'm having a hard time getting org-mode LaTeX preview to render without
excesive blurriness. I started with a default configuration of emacs
27.2 from https://emacsformacosx.com/. Since that build doesn't support
svg rendering, I moved to emacs 27.2 from
https://github.com/d12frosted/homebrew-emacs-plus, which is compiled
with svg support. But the rendering ended up being as blurry as with
png. So I opened the particular svg files that the org-mode backend was
producing in the stock Preview app and they look just fine. I also
opened them with doc-view and they look as bad as in org-mode. So is
this a known issue? Some part seems to have the wrong idea of the actual
resolution of my device.

Best regards,
Carlos

---

In GNU Emacs 27.2 (build 1, x86_64-apple-darwin20.6.0, NS appkit-2022.60 =
Version 11.6 (Build 20G165))
 of 2021-10-02 built on Carloss-MacBook-Pro.local
Windowing system distributor 'Apple', version 10.3.2022
System Description:  macOS 11.6

Recent messages:
Loading ns-auto-titlebar...done
Loading org-roam-db...done
Loading paren...done
Loading winner...done
Clearing removed files...done
Processing modified files...done
Loading /Users/carlos/.emacs.d/recentf...done
Cleaning up the recentf list...done (0 removed)
Loading dired-x...done
For information about GNU Emacs and the GNU system, type C-h C-a.
user-error: The mark is not set now, so there is no region
Configured using:
 'configure --disable-dependency-tracking --disable-silent-rules
 --enable-locallisppath=3D/usr/local/share/emacs/site-lisp
 --infodir=3D/usr/local/Cellar/emacs-plus@27/27.2/share/info/emacs
 --prefix=3D/usr/local/Cellar/emacs-plus@27/27.2 --with-xml2 =
--with-gnutls
 --without-dbus --with-imagemagick --with-modules --with-rsvg --with-ns
 --disable-ns-self-contained'

Configured features:
RSVG IMAGEMAGICK GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS XIM NS MODULES THREADS JSON PDUMPER LCMS2 GMP

Important settings:
  value of $LC_CTYPE: UTF-8
  value of $LANG: en_AR.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  display-fill-column-indicator-mode: t
  flymake-mode: t
  pdf-occur-global-minor-mode: t
  recentf-mode: t
  my-fill-mode: t
  delete-selection-mode: t
  winner-mode: t
  show-paren-mode: t
  org-roam-db-autosync-mode: t
  outline-minor-mode: t
  ns-auto-titlebar-mode: t
  ido-ubiquitous-mode: t
  ido-everywhere: t
  global-company-mode: t
  company-mode: t
  electric-pair-mode: t
  cua-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  auto-fill-function: do-auto-fill
  transient-mark-mode: t

Load-path shadows:
/Users/carlos/.emacs.d/elpa/magit-20210928.1325/magit-section-pkg hides =
/Users/carlos/.emacs.d/elpa/magit-section-20210829.1849/magit-section-pkg

Features:
(shadow sort flyspell ispell mail-extr emacsbug message rfc822 mml
mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs
mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader sendmail
mail-utils display-fill-column-indicator checkdoc lisp-mnt flymake-proc
flymake warnings thingatpt visual-fill-column pdf-occur ibuf-ext ibuffer
ibuffer-loaddefs tablist tablist-filter semantic/wisent/comp
semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util
semantic semantic/tag semantic/lex semantic/fw mode-local cedet dired-x
dired dired-loaddefs pdf-isearch let-alist pdf-misc imenu pdf-tools
compile pdf-view bookmark text-property-search pp jka-compr pdf-cache
pdf-info tq pdf-util pdf-macs image-mode exif recentf tree-widget
exec-path-from-shell doom-themes-ext-org doom-themes-ext-visual-bell
face-remap cl-extra help-mode company-oddmuse company-keywords
company-etags etags fileloop xref project company-gtags
company-dabbrev-code company-dabbrev company-files company-clang
company-capf company-cmake company-semantic company-template
company-bbdb doom-solarized-light-theme doom-themes doom-themes-base
delsel winner paren org-roam-migrate org-roam-mode org-roam-capture
org-roam-node org-roam-db org-roam-utils org-roam-compat org-roam
org-capture org-element avl-tree generator org-id org-refile org ob
ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src
ob-comint org-pcomplete pcomplete comint ansi-color ring org-list
org-faces org-entities time-date noutline outline easy-mmode org-version
ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat org-macs
org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs
emacsql-sqlite url-http url-auth mail-parse rfc2231 rfc2047 rfc2045
mm-util ietf-drums mail-prsvr url-gw nsm rmc puny url url-proxy
url-privacy url-expand url-methods url-history url-cookie url-domsuf
url-util mailcap advice emacsql emacsql-compiler magit-section rx f dash
s ns-auto-titlebar ido-completing-read+ memoize cus-edit wid-edit
minibuf-eldef ido company edmacro kmacro pcase elec-pair cua-base
cus-start cus-load finder-inf info package easymenu browse-url
url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv
bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame minibuffer cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads kqueue cocoa ns
lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 415683 26926)
 (symbols 48 29562 2)
 (strings 32 125515 3321)
 (string-bytes 1 3620467)
 (vectors 16 43369)
 (vector-slots 8 768323 28868)
 (floats 8 384 234)
 (intervals 56 331 0)
 (buffers 1000 16))





Acknowledgement sent to Carlos Pita <carlosjosepita@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#50958; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 3 Oct 2021 10:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.