From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: DocView resolution for PDF on WQHD Date: Tue, 19 Jun 2018 15:13:24 +0700 Message-ID: References: <2E649B12-6BB8-4224-93DC-B39AD0A465DA@scratch.space> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1529395931 25021 195.159.176.226 (19 Jun 2018 08:12:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 19 Jun 2018 08:12:11 +0000 (UTC) Cc: help-gnu-emacs To: van@scratch.space Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 19 10:12:07 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVBkF-0006LV-0j for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Jun 2018 10:12:07 +0200 Original-Received: from localhost ([::1]:39941 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVBmK-0004SH-Ky for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Jun 2018 04:14:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVBlh-0004RU-Gj for help-gnu-emacs@gnu.org; Tue, 19 Jun 2018 04:13:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVBlg-0004VD-Kw for help-gnu-emacs@gnu.org; Tue, 19 Jun 2018 04:13:37 -0400 Original-Received: from mail-ot0-x22a.google.com ([2607:f8b0:4003:c0f::22a]:44159) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVBlg-0004Uy-Eu for help-gnu-emacs@gnu.org; Tue, 19 Jun 2018 04:13:36 -0400 Original-Received: by mail-ot0-x22a.google.com with SMTP id w13-v6so21575055ote.11 for ; Tue, 19 Jun 2018 01:13:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=oIvDxlG8Mhob0B65xVUtoncqbNLCM6r89tJ81JgNHqI=; b=P8O0clcXKLzKKZj92j8Lyyz3XaXDsQrPTfgBrmoqpjYR46TWLHuAfIwVNMkw0KMgq/ tdBTN/gGU9ENbYU1r/Tph4xmExnCoS4WDcabKtgMprv2wB2Ysy1TrH8M/7Z6E3H02/C+ 76Q4zLPiElZYUAzBjEAGHmRfDf0+PNM//nIyEDTomW3qL0D/gmDAKPxKZhDc//DXif0v XPwIlbatSlDMvkcTy0PT6wULSaBRxcBWRpsokbLm+Er/sPX49AMAOGntFURTd+daGYUI DjTkXWWjx4yYRG41l+kOXYoQr0DqjJDb00q17Wj1LrrSwnK+v3uGmpzQ0/sKyC0/yFZF Yy1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=oIvDxlG8Mhob0B65xVUtoncqbNLCM6r89tJ81JgNHqI=; b=BhUB6yfnrNA4VAkh4L5eEExK8IrixJjYwXyF30FQS9iN/ycoKuTTDmah1he1B1fe4f IWOExNjrHEKCIHVJ2b+MMYT1VvvQH2ixeiszBSzoguOwy8LLKzRyEy8cClqLednGKuX7 ZTbZ/X6GPZpp4cD2iwPFU5L2YVOmiVIVgXX75QMc/EUgVwce/zPwRJMpKOIdfwzlOXh9 I2uTcm80fIQEVV10GUphA36HMYYzhIGY8C0o3FoK7fW/uSHMKB240T6ER2Svi2YMyEIp FiPu6QZ1E5UVBhJ8UCpZiRyhseyjGYZtVM/508k5yDeHvCC5yb0HJRNrNFpldme3lOwo WkpQ== X-Gm-Message-State: APt69E020cckoAsiG74zzpESRrxUdgwJBFZkEnNG6pYQx3mvv59bLaMg En8zYQn8+DQdVBt3v2ybMAo6VNcx68+HnT6YOxl4Fw== X-Google-Smtp-Source: ADUXVKIxoS633egMEU/7x+n0bnFXtZtwsjqucR7IuKr7DAktrYPGrMAqCeaDFaWrtjggtr52tGZDJyIq8ra/ZyPcDYs= X-Received: by 2002:a9d:734:: with SMTP id 49-v6mr10458113ote.43.1529396015574; Tue, 19 Jun 2018 01:13:35 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c0f::22a X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117213 Archived-At: On Tue, Jun 19, 2018 at 11:29 AM Van L wrote: > At about the time when src/macfont.h entered the source code I first expe= rienced PDF viewing inside NetBSD GNU Emacs and was blown away by the crisp= ness. I suppose HiDPI is a 4k, 5k, 8k display. It=E2=80=99s not that simple. There are many factors in play. First, there is the pixel count. This is what WQHD, 4k, 5k, 8k, and explicitly stated pixel counts such as 2560=C3=971440 refer to. Second, there is the screen diagonal or screen size, usually expressed in inches. Given a pixel count and a diagonal, one can calculate the linear pixel density: ld =3D sqrt(w^2 + h^2) / diag. Third, there is the eye to screen distance, which can be measured in meters, feet, or arm=E2=80=99s lengths. A desktop monitor is normally one arm=E2=80=99s length (=E2=89=8870cm) from the eye; a laptop, tablet, or pho= ne screen is usually at about half that distance; and a cinema screen might be as far as twenty meters away. Given a linear pixel density and eye to screen distance, one can approximate the angular pixel density: ad =3D ld / dist. Perceived crispness of the image, and what HiDPI is really about, is a function of the angular pixel density. A typical desktop monitor is about 100 dpi at arm=E2=80=99s length. A HiDPI monitor is about 200 dpi at arm=E2=80=99s length.